Mehrdad Reshadi
263705d313
Update node.d.ts
2016-02-17 13:20:56 -08:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
Masahiro Wakame
366b936e62
Merge pull request #8089 from asgoth/feature/node-changes
...
Improves nodejs typings for Process & ChildProcess
2016-02-15 23:04:22 +09:00
Masahiro Wakame
fcc70f5cce
Merge pull request #7086 from r-ising/master
...
update node.d.ts (publicEncrypt & privateDecrypt)
2016-02-15 22:13:00 +09:00
Louis De Bevere
183ca9d7fb
Improves nodejs typings for Process & ChildProcess
2016-02-14 20:05:23 +01:00
John Vilk
aee0039a2d
[node] Export Buffer and SlowBuffer from "buffer" module.
2016-02-04 19:40:44 -05:00
Masahiro Wakame
1c56e368e1
Merge pull request #7763 from AyaMorisawa/node-cluster-overload-on
...
Overload cluster.on
2016-01-25 12:38:10 +09:00
Aya Morisawa
fd8deba964
Overload cluster.on
2016-01-25 00:02:58 +09:00
Aya Morisawa
f25f550bfb
Add missing semicolon
2016-01-24 23:36:49 +09: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
LongYinan
2b2353068b
add headersSent in ServerResponse
...
missing headersSent in ServerResponse
2015-12-25 12:46:57 +08: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
093a2b32d4
Merge pull request #7228 from thynson/pbkdf2
...
Allow pass buffer argument for pbkdf2 function
2015-12-23 15:38:22 +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
Masahiro Wakame
b04ca9062f
Merge pull request #7223 from f111fei/master
...
[node] parameter type of "signal" in process.kill
2015-12-23 15:20:01 +09:00
Horiuchi_H
2e658decf8
Merge pull request #7240 from rogierschouten/node-childprocess-fork-opts
...
Add all options to child_process.fork()
2015-12-22 19:14:45 +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
22997bee70
Add all options to child_process.fork()
...
https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options
2015-12-17 11:40:40 +01: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
LAN Xingcan
5d78b33357
Allow pass buffer argument for pbkdf2 function
2015-12-16 21:14:08 +08:00
Ilya Mochalov
9b6a4f0c87
node: signatures of module "readline" have been changed
2015-12-16 12:16:24 +05:00
f111fei
07b87e6064
#7152 [node] parameter type of "signal" in process.kill
2015-12-16 09:50:54 +08:00
Masahiro Wakame
5cb07b5371
Merge pull request #7078 from chrootsu/node-querystring
...
node: signatures of module "querystring" have been changed
2015-12-13 00:45:59 +09:00
Masahiro Wakame
dcecb9edd1
Merge pull request #7129 from csnover/patch-3
...
[node] export Stream as class, not interface
2015-12-10 23:43:20 +09:00
r-ising
4406eae2c1
update node.d.ts
...
in publicEncrypt- and privateDecrypt-function is passpharse and padding optional
2015-12-10 15:02:09 +01:00
Ilya Mochalov
0eef583c76
node: signatures of module "querystring" have been changed
2015-12-10 18:37:36 +05:00
Colin Snover
0ef797c135
[node] export Stream as class, not interface
...
require('stream').Stream in Node.js is a constructor.
2015-12-09 20:35:57 -06:00
r-ising
94cc10600a
update node.d.ts (publicEncrypt & privateDecrypt)
...
added rsa function to encrypt and decrypt
2015-12-07 14:31:58 +01: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
Joe Herman
f140e0fc12
node: Split to 0.12.x and 4.x. Added http.RequestOptions.
2015-11-05 17:50:31 -05:00
Masahiro Wakame
8cf8164641
Merge pull request #6587 from hakatashi/patch-1
...
Node: Fix punycode.ucs2.decode return type
2015-11-05 21:21:56 +09:00
Koki Takahashi
2726aa2da4
Node: Fix punycode.ucs2.decode return type
...
API Reference: https://nodejs.org/api/punycode.html#punycode_punycode_ucs2_decode_string
2015-11-03 23:05:31 +09:00
Joe Herman
2336533f9a
Updated net.connect, combined url.Url and url.UrlOptions.
2015-11-02 11:00:46 -05:00
Dekel Barzilay
e3f20e9a77
Added missing flag 'v8debug' to Global interface
...
'v8debug' is an optional flag that will be set in NodeJS globals upon using the 'debug-brk' command parameter.
We're using it to dynamically detect when app is running in debug-mode.
(When not on debug-mode, the 'v8debug' flag is undefined)
2015-10-25 16:32:26 +02:00
Masahiro Wakame
3395fd7096
Merge pull request #6245 from rschuchart/execfile-maxbuffer
...
fixed type of maxBuffer option to execFile
2015-10-13 02:32:33 +09:00
marvin
2708ec7029
fixed type of maxBuffer option to execFile
2015-10-11 12:16:55 +02:00
marvin
4ff80190f0
fixed execSync and execFileSync return type
2015-10-11 11:42:13 +02: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
Masahiro Wakame
b12863b7e4
Merge pull request #6078 from rschmukler/master
...
add objectMode to node stream.WritableOptions
2015-10-06 03:16:54 +09:00
Ryan Schmukler
811c2fe7d9
add objectMode to node stream.WritableOptions
...
references #5658 , references #5774
2015-09-30 19:55:06 -04:00
Eric N. Vander Weele
58a2e195ef
node: Update fs.create(Read|Write)Stream definition
...
This commit includes the following changes:
* Remove duplicate type definition for `fs.createReadStream`.
* Update `options` object typings for both functions to match the keys
and types specified in the Node.js v0.12.x documentation.
Links to the aforementioned functions are provided below for reference:
* http://nodejs.org/docs/latest-v0.12.x/api/fs.html#fs_fs_createreadstream_path_options
* http://nodejs.org/docs/latest-v0.12.x/api/fs.html#fs_fs_createwritestream_path_options
2015-09-29 21:36:33 -07:00
Bobby Powers
b34953791c
node: WritableStream.write() should use a union for Buffer|string
...
I'm converting a node program I originally wrote in JS to TS, and
without this, the following pattern causes tsc to error out (tested
under 1.6):
```
let buf = current.read(); // current is a ReadableStream
if (buf !== null)
output.write(buf);
```
With:
```
src/bin/cat.ts(28,17): error TS2345: Argument of type 'string | Buffer' is not assignable to parameter of type 'string'.
```
2015-09-25 16:08:16 -04:00
hansrwindhoff
73d4a4660b
Update node.d.ts
2015-09-22 22:02:13 -06:00