Commit Graph

58 Commits

Author SHA1 Message Date
Michael Huynh
6abf99dda1 Add extra static members to the Node Error class (#9618)
Defines `stackTraceLimit` and `captureStackTrace` as static members for
the Error class in Node so their usage can be recognised.
2016-06-14 00:40:55 +09:00
Gerhard Stöbich
7ae2edb6d3 Add tests 2016-06-08 09:09:49 +02:00
LongYinan
5b670ebf34 fix node fs.watch (#9446)
* fix node fs.watch

* add fs.watch test
2016-06-03 00:42:52 +09:00
jacky.chen
557f086186 Fixed the incorrect parameter type in the constructor of https.Agent (#9232) 2016-05-09 17:28:09 +09:00
Leon Yu
b8948c7009 fs.mkdtemp and fs.mkdtempSync (#9197) 2016-05-06 02:29:21 +09:00
Koki Takahashi
4f479b281c Node: Add Buffer.from() (#9125)
* Add tests about Buffer.from()

* Add definition about Buffer.from()
2016-05-01 22:50:06 +09:00
hellopao
1fa3e10e01 update cluster module for node.d.ts (#9074) 2016-04-23 23:39:14 +09:00
trevj
484e00f72f Node.js Buffer should be useable as a Uint8Array and is missing a constructor (#8919)
* make NodeBuffer extend Uint8Array

* add missing Buffer(ArrayBuffer) constructor

* add TODOs for missing Buffer methods
2016-04-12 23:20:33 +09:00
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