Commit Graph

50 Commits

Author SHA1 Message Date
rhysd
292e56b5ac node.d.ts: Fix errors reported by 'tsc --target es6 --noImplicitAny' 2016-03-30 15:47:09 +09:00
rhysd
13bc8b8337 node.d.ts: Create tests for "vm" module 2016-03-30 14:58:30 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
John Vilk
aee0039a2d [node] Export Buffer and SlowBuffer from "buffer" module. 2016-02-04 19:40:44 -05:00
D062356
ef1741f3d6 Added missing indexOf function and constructor to buffer 2016-01-14 08:48:25 -08:00
Ilya Mochalov
39e510415c node: definition of the module "crypto" has been changed 2016-01-12 01:54:02 +05:00
Ilya Mochalov
c4947dc14b node: definition of the module "tty" has been changed 2016-01-10 13:08:31 +05:00
Masahiro Wakame
2e9d5db50e Merge pull request #7197 from chrootsu/node-events
node: signatures of module "events" have been changed
2015-12-23 17:15:14 +09:00
Masahiro Wakame
0e227a4716 Merge pull request #7225 from chrootsu/node-readline
node: signatures of module "readline" have been changed
2015-12-23 15:29:12 +09:00
Horiuchi_H
2048ff32d3 Merge pull request #7239 from rogierschouten/node-http-agent
http.RequestOptions.agent can also be a boolean
2015-12-22 19:14:08 +09:00
Ilya Mochalov
742aa93d86 node: signatures of module "events" have been changed 2015-12-18 01:59:54 +05:00
Rogier Schouten
1ebf010a1e http.RequestOptions.agent can also be a boolean
https://nodejs.org/api/http.html#http_http_request_options_callback
2015-12-17 11:31:43 +01:00
Rogier Schouten
725408f135 Add host and port to TlsOptions 2015-12-17 11:04:10 +01:00
Ilya Mochalov
9b6a4f0c87 node: signatures of module "readline" have been changed 2015-12-16 12:16:24 +05:00
Ilya Mochalov
0eef583c76 node: signatures of module "querystring" have been changed 2015-12-10 18:37:36 +05:00
Ilya Mochalov
d2e216ec4f node: signatures of module "os" have been changed 2015-12-05 16:37:35 +05:00
Takeshi Kurosawa
4ad9bef6cc Add assert.deepStrictEqual and assert.notDeepStrictEqual to node.d.ts
[io.js 1.2.0][1] added [deepStrictEqual][2] and [notDeepStrictEqual][3] to assert.

   [1]: https://github.com/nodejs/node/blob/v1.2.0/CHANGELOG.md#notable-changes
   [2]: https://nodejs.org/api/assert.html#assert_assert_deepstrictequal_actual_expected_message
   [3]: https://nodejs.org/api/assert.html#assert_assert_notdeepstrictequal_actual_expected_message
2015-11-22 13:25:47 +09:00
Horiuchi_H
c452e48ca2 Merge pull request #6185 from frankebersoll/master
Node.js: Added child_process.spawnSync
2015-10-09 16:21:15 +09:00
John Vilk
7fc487562c Updating write* methods to return offsets, fill to return the Buffer, and making isBuffer a type guard. 2015-10-08 02:50:40 -04:00
Frank Ebersoll
49a92ea837 Node.js: Added child_process.spawnSync 2015-10-07 16:55:39 +02:00
Panu Horsmalahti
45355cd1a5 Add more fs.write interfaces. 2015-09-09 13:15:35 +03:00
Alex Wilson
17146c4455 Update node's ReadLine.setPrompt to match new API
Fixes #5224
2015-08-08 12:54:49 -06:00
Kyle Gretchev
0e10cf0d52 Added node.d.ts reference for CI test 2015-08-04 21:25:45 -04:00
Kyle Gretchev
52ef0043e7 Converted imports to ES6 module syntax 2015-08-04 20:47:16 -04:00
Steve Ognibene
260acf401c Reviewed Buffer and path. Got started on fs. 2015-06-08 20:03:15 -04:00
bls
0d8680a11b Add tls.createSecureContext to node.js typing. 2015-06-04 17:46:55 +10:00
impinball
66a74b699d Test for fixed ErrnoException property 2015-03-19 03:27:37 -04:00
Masahiro Wakame
1d08e36fe3 Merge pull request #3800 from reppners/node
+ added missing typings to node path module including tests
2015-03-05 23:20:29 +09:00
reppners
6bfdd921c1 + added missing typings to node path module including tests 2015-03-05 11:19:07 +01:00
Rogier Schouten
369935805c Add http.Agent to node.js typings 2015-03-04 13:57:57 +01:00
atrakeur
a5c37c4ea3 Corrected Nodejs querystring (un)escape definitions 2015-02-13 23:09:36 +01:00
John Vilk
f5f114f1e6 Adding fs.(Read|Write)Stream.close().
It's undocumented, but it is present in the source code and programs rely on it.
2014-11-12 13:07:51 -05:00
John Jeffery
85d4788a3e Add buffer methods to crypto.Cipher and Decipher
See http://nodejs.org/api/crypto.html#crypto_class_cipher
and http://nodejs.org/api/crypto.html#crypto_class_decipher

for details.
2014-10-05 09:45:24 +10:00
John Jeffery
0eeb638c89 Fix bug: crypto.Decipher#update() returns string, not void 2014-10-05 09:27:32 +10:00
Steve
f281573224 node.d.ts support object type for Url.query 2014-09-27 10:51:03 +02:00
Rogier Schouten
b5acb56359 Improve Node dgram signatures. 2014-07-08 11:58:21 +02:00
basarat
dd5499cc0d feat(nodejs) added stronger typing for http status codes 2014-05-23 20:08:56 +10:00
Colin Snover
1789164e95 Add test of ClientRequest#setNoDelay interface
Uses an invalid address as request address to avoid actual HTTP requests (since it is not necessary to make a real request to test this interface).
2014-05-16 12:46:14 -05:00
Paul Loyd
1d451a05e1 node: NodeBuffer -> Buffer. Mark NodeBuffer as deprecated 2014-04-28 18:32:36 +02:00
John Purcell
325d35130f Merge branch master into listen_bug 2014-04-01 08:21:11 -04:00
John Purcell
cb01abe1b2 Return correct type from .listen() and .close(), expose .address() on http.Server 2014-03-26 14:54:22 -04:00
John Purcell
941d790d6f Update crypto.Hmac.update and crypto.Hmac.digest methods to the correct signature 2014-03-19 16:53:31 -04:00
Paul Loyd
e3b9fef277 node: fix signatures of readFile* 2014-03-17 14:55:17 +04:00
Bartvds
1c1a37c1e4 removed utf-8 BOM marker
for consistency
2014-01-24 18:51:21 +01:00
Nick Howes
073000951d Update util.inspect API.
Latest API has an options object as the second parameter
instead of separate parameters. The old API is still supported
so have added the new signature as an overload.

Updated node-tests.ts
2013-12-05 12:45:17 +00:00
Nick Howes
04ddf4ba31 Fix url.format() param type. 2013-12-03 13:20:56 +00:00
basarat
d0139df89d node : readable stream pipe can be piped further closes #1030 2013-09-10 19:32:21 +10:00
Panu Pitkämäki
bd6ddbdce2 Migrated a breaking change between Typescript 0.8 and 0.9: Syntax of external module imports now uses 'require'. 2013-08-07 15:49:36 +03:00
Andrew Gaspar
a350605002 Added test for EventEmitter class. 2013-03-31 05:26:08 -05:00
Andrew Gaspar
70fd40a1aa Added default assert definition and a second definition for writeFile. Also added a basic test file. Will be expanded more later. 2013-03-24 22:52:11 -05:00