hriss95
ef2754d9de
Node.d.ts: Update "constants" module ( #11022 )
2016-09-07 19:34:00 +09:00
IIIMADDINIII
f15deaa4ee
Completed NodeBuffer.Compare and Process.nextTick definition ( #11008 )
2016-09-07 19:24:51 +09:00
hriss95
8caf4a5724
Node.d.ts: Update definitions for module "dns" ( #10990 )
2016-09-07 00:19:55 +09:00
hriss95
15c0df84ce
Node.d.ts: Update definitions for module "util" ( #10989 )
2016-09-07 00:19:06 +09:00
hriss95
3be6a88598
Node.d.ts: Update definitions for module "fs" ( #10987 )
2016-09-07 00:12:01 +09:00
hriss95
2bf1d27063
Node.d.ts: Update definitions for module "os" ( #10986 )
2016-09-07 00:11:18 +09:00
hriss95
700d3aa998
Node.d.ts: Update definitions for module "dgram" ( #10982 )
2016-09-07 00:05:45 +09:00
Alejandro Sánchez
fc931b26dd
Made ErrnoException.errno a string as per NodeJS API documentation ( #10970 )
2016-09-06 23:46:48 +09:00
Alejandro Sánchez
2966b1b8ba
Fix #10919 - Added IterableIterator forward declaration to enable compilation on targets lower than es2015 ( #10943 )
...
* Fix #10919
* Fix IterableIterator<T> is not an Array type error for test when targetting lower than es2015
* Revert "Fix IterableIterator<T> is not an Array type error for test when targetting lower than es2015"
This reverts commit ce1108c87574dca0a47801bf4e7cf818aafae1b4.
2016-09-06 23:31:02 +09:00
hriss95
6013c413c2
Node.d.ts: Update definitions for module "domain" ( #10965 )
...
* Node.d.ts: Update definitions for module "domain"
* Node.d.ts: Update definitions for module "domain"
2016-09-06 23:18:35 +09:00
hriss95
6866455f51
Node.d.ts: Introduce module "timers" ( #10964 )
2016-09-06 23:17:33 +09:00
hriss95
ef8a45b6e5
Node.d.ts: Update definitions for module "repl" ( #10958 )
2016-09-06 23:13:49 +09:00
hriss95
76a497660f
Node.d.ts: Update definitions for module "http" ( #10954 )
2016-09-06 23:10:30 +09:00
kfickel
49870cb1d4
Fixed node.js-crypto-typings Verify.verify and Signer.sign ( #10930 )
...
source for Verify
https://nodejs.org/dist/latest-v6.x/docs/api/crypto.html#crypto_verifier_verify_object_signature_signature_format
source for Signer
https://nodejs.org/dist/latest-v6.x/docs/api/crypto.html#crypto_sign_sign_private_key_output_format
2016-09-06 22:44:37 +09:00
Burt Harris
723e5c7a2d
Merge branch 'master' into NodeJS.EventEmitter.6
2016-08-30 19:11:19 -07:00
Burt Harris
69eaae71c0
Extend from NodeJS.EventEmitter, not implement.
...
Corrects errors when new methods added to EventEmitter.
Since EventEmitter is really a class with behavior, it should be extended, rather
than implemented as an interface. This enables new behavior to be inherited, e.g.
EventListener.prependListener() was added in Node 6.
2016-08-30 19:02:01 -07:00
Alejandro Sánchez
67827a1e39
Added entries, includes, keys and values to Buffer ( #10809 )
2016-08-30 23:19:56 +09:00
poseidonCore
75cf3ac5ed
Worker.send and ChildProcess.send should return Booleans ( #10866 )
...
https://nodejs.org/dist/latest-v6.x/docs/api/all.html#child_process_child_send_message_sendhandle_options_callback
https://nodejs.org/dist/latest-v6.x/docs/api/all.html#cluster_worker_send_message_sendhandle_callback
2016-08-30 22:10:55 +09:00
Burt Harris
14e42e38d5
Initial fix for #10815 , but...
...
Adding the new methods to the interface causes test failures in a number of other modules...
2016-08-29 12:12:13 -07:00
Hristian Hristov
026d566346
Node.d.ts: Change definition for module process to be consistent with other declarations
2016-08-26 13:04:25 +01:00
Hristian Hristov
2ebcbf7447
Add module 'process'
2016-08-24 16:13:49 +01:00
Alejandro Sánchez
69ecb66f73
Made node Buffer's lastIndexOf and indexOf conformant to node API
2016-08-23 08:24:37 -06:00
Paul van Brenk
71862ebcd6
Merge pull request #10652 from aleung/node-dgram
...
node.d.ts : dgram : Allow optional parameters to be omitted.
2016-08-18 10:55:14 -07:00
Leo Liang
612e4169c6
Change overload function order to help with resolution.
2016-08-18 22:56:13 +08:00
Paul van Brenk
bde37dcdfb
Merge pull request #10644 from lukas-zech-software/master
...
Add Buffer.swap16, Buffer.swap32 and Buffer.swap64 functions
2016-08-17 13:49:26 -07:00
Paul van Brenk
942c9fa697
Merge pull request #10648 from plantain-00/getCiphers-getCurves
...
add 3 missing methods in crypto module: getCiphers, getCurves and get…
2016-08-17 13:45:33 -07:00
TonyYang
75bfef43c6
destroy has a optional argument
2016-08-17 17:36:04 +08:00
TonyYang
5073eb65dc
http.IncomingMessage: destroy not found
...
Please refer to https://nodejs.org/api/http.html#http_message_destroy_error
2016-08-17 17:07:40 +08:00
Leo Liang
b8e87fd530
node.d.ts : dgram : Allow option parameters to be omitted.
2016-08-17 01:35:43 +08:00
york yao
a28758054f
add 3 missing methods in crypto module: getCiphers, getCurves and getHashes
2016-08-16 22:14:23 +08:00
Lukas Zech
9bb6206f47
Add Buffer.swap16, Buffer.swap32 and Buffer.swap64 functions
2016-08-16 14:29:17 +02:00
Paul van Brenk
b2a60d9e26
Merge pull request #10624 from erkie/master
...
Add path to fs.WriteStream
2016-08-15 15:24:44 -07:00
Erik Rothoff Andersson
9a2f1d6233
Path can be buffer
2016-08-15 22:24:58 +02:00
Erik Rothoff Andersson
e569feb83e
Add path to fs.WriteStream
2016-08-15 16:24:03 +02:00
Dawson Reid
db7a37d18c
#10185 The Transform class now overrides pause and resume to return a Transform specifically.
2016-08-13 09:44:16 -03:00
Dawson Reid
23ceec1daf
#10185 The Socket class now overrides the Duplex stream's pause and resume to return a Socket specifically.
2016-08-13 09:42:29 -03:00
Dawson Reid
f8d5764dbd
#10185 Duplex now overrides Readable pause and resume to return a Duplex stream specifically.
2016-08-13 09:40:43 -03:00
Dawson Reid
aa7bb9d752
#10185 Readable class pause and resume now return a Readable.
2016-08-13 09:38:02 -03:00
Dawson Reid
108c7a9dd1
#10185 ReadableStream pause and resume now returns a ReadableStream. ReadWriteStream pause and resume now return a ReadWriteStream.
2016-08-13 09:36:37 -03:00
wallverb
f1fe214803
Add cb to SNICallback
...
NodeJS doc: SNICallback(servername, cb) <Function> A function that will be called if the client supports SNI TLS extension. Two arguments will be passed when called: servername and cb. SNICallback should invoke cb(null, ctx), where ctx is a SecureContext instance. (tls.createSecureContext(...) can be used to get a proper SecureContext.) If SNICallback wasn't provided the default callback with high-level API will be used (see below).
2016-08-07 10:53:50 -04:00
Ivo Stratev
34f194bdda
forgot ; :D
2016-08-05 10:28:42 +03:00
Ivo Stratev
11d09cf341
Adding missing property exitCode from Process
2016-08-05 10:27:12 +03:00
TonyYang
fa5f6bf0cd
Update node.d.ts ( #10418 )
...
It misses "finished" property, please refer official site: https://nodejs.org/api/http.html#http_response_finished
2016-08-03 00:50:38 +09:00
Luke Venn
538d534a4f
Added missing https AgentOptions to node 4 and 6 definitions
2016-08-01 17:12:48 +01:00
Milan Burda
bf140ce89a
Add Electron specific versions to process.versions ( #10320 )
2016-07-29 00:24:22 +09:00
Zach Bjornson
91d45c49a3
Add simplified constructor syntax for node streams ( #10105 )
...
See https://nodejs.org/api/stream.html#stream_simplified_construction for API reference.
2016-07-20 00:07:58 -07:00
Wesley Wigham
005ea0faff
Add ref to ChildProcess ( #10189 )
...
It is the opposite of `unref` - it allows you to regain the reference that `unref` releases.
2016-07-19 23:57:09 -07:00
Nahuel Greco
38b09ae303
node.d.ts: added http.ServerResponse.setTimeout signature ( #10135 )
...
Added missing `http.ServerResponse.setTimeout` signature. The `setTimeout` method was added in node v0.9.12, see https://nodejs.org/api/http.html#http_response_settimeout_msecs_callback
2016-07-19 17:26:01 -07:00
Vincent Rouille
b54fdb6595
Fix nodejs StringDecoder definition ( #10100 )
2016-07-19 17:05:08 -07:00
lincoln
47b9697e0d
filename argument of fs.watch callback will be type of Buffer, if encoding ( #10112 )
...
option is set to 'buffer'
2016-07-19 16:33:12 -07:00