Commit Graph

526 Commits

Author SHA1 Message Date
Christian d'Heureuse
69ec048026 [node] fix parameter name of tls.connect() (#31494)
The callback parameter of `tls.connect(options[, callback])` is for the `secureConnect` event, not for the `secureConnection` event, and should therefore be named `secureConnectListener` instead of `secureConnectionListener`.
2018-12-19 10:11:12 -08:00
Nathan Shively-Sanders
26a0f42e6f
Merge pull request #31411 from jeffkenney/node-fix-console
[node] add/fix console methods for node 8+
2018-12-18 13:32:21 -08:00
Jeff Kenney
967265a2ce [node] add/fix console methods for 10.x 2018-12-14 22:53:24 -08:00
Jeff Kenney
9f88ee6e80 [node] add/fix console methods for 9.x 2018-12-14 22:53:19 -08:00
Jeff Kenney
bda5344c41 [node] add/fix console methods for 8.x 2018-12-14 22:53:19 -08:00
Gerhard Stoebich
73df157ff4 [node] add setHost to http.ClientRequestArgs 2018-12-14 14:24:13 +01:00
Jesse Trinity
69d2a38cd9
Merge pull request #31138 from kjin/inspector-new
[node] add node inspector protocol extensions
2018-12-13 11:16:08 -08:00
Jesse Trinity
ca42826e34
Merge pull request #31177 from BendingBender/node-worker-threads
Add types for experimetal worker_threads module
2018-12-12 14:57:42 -08:00
Kelvin Jin
b6ed9ced63 [node] add trace_events type definitions 2018-12-12 11:05:13 -08:00
Dimitri Benin
354829f2f7 Add types for experimental worker_threads module 2018-12-12 08:46:44 +01:00
Kelvin Jin
d4a69ca49c [node] add node inspector protocol extensions 2018-12-06 13:18:22 -08:00
Gerhard Stoebich
c2e36d8f4b [node] add some more elements to IncomingHttpHeaders 2018-11-30 12:01:59 +01:00
Mine Starks
c11fada964
Merge pull request #30902 from Flarna/node_alpn
[node] Add missing alpnProtocol and createConnection
2018-11-29 09:59:25 -08:00
Gerhard Stoebich
eba6a5aa15 [node] Add missing alpnProtocol and createConnection 2018-11-28 21:32:20 +01:00
isLishude
10e411b09e Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2018-11-25 12:17:51 +08:00
Ulrich Buchgraber
73cfb3d8b8 Add spawn() overload which takes options but no args 2018-11-20 22:45:18 +01:00
islishude
67b864b0bd chore: styling code 2018-11-19 11:09:15 +08:00
islishude
cd38ae33de [node]: add props to repl.Context 2018-11-17 12:41:11 +08:00
Ron Buckton
7e4d4b5795 [node] Add additional REPLServer members 2018-11-14 22:28:33 -08:00
samuela
18f21659bb [@types/node] ChildProcess code and signal can be null (#30299)
* ChildProcess `code` and `signal` can be null

According to https://github.com/nodejs/node/blob/master/lib/internal/child_process.js#L207 and in particular https://github.com/nodejs/node/blob/master/lib/internal/child_process.js#L246, it's possible for either the `code` or `signal` values to be null.

* add samuela to the authors list

* show some love to the other instances
2018-11-14 17:49:36 -08:00
Maxim Makarov
d70a9a1d9e passphrase is optional in signer (#30360) 2018-11-14 16:11:16 -08:00
Gerhard Stöbich
7b4f51a2d9 node: Update http2 types for node 10 (#30425) 2018-11-13 11:10:07 -08:00
Ron Buckton
d6682eac8e Improves node 'repl' types 2018-11-12 14:54:45 -08:00
Gerhard Stöbich
23568c0bd7 [node] add crypto.generateKeyPair (#30346) 2018-11-09 14:26:21 -08:00
Gerhard Stöbich
766a66b46b [node] Add missing console constructor variants (#30359)
* [node] Add missing console constructor variants

* fix lint
2018-11-09 08:49:53 -08:00
johan13
a58db39980 Update the signature of fsPromises.mkdir (#30195)
Add support for passing an object as the second argument to fsPromises.mkdir.
This commit also updates the name and doc for the same argument to fs.mkdir.
2018-11-07 08:57:58 -08:00
Anton Halim
8b57561d6f Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into fix-typo-paramter 2018-11-01 00:12:11 -07:00
Jeremie Rodriguez
3b647f0a80 [node] Fix typo in BasePrivateKeyEncodingOptions interface used in generateKeyPairSync function (#30066) 2018-10-29 10:40:36 -07:00
Anton Halim
bfc8e1cfb0 Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped into fix-typo-paramter 2018-10-23 00:03:19 -07:00
Andy
d8bab0f3be
More fixes from dtslint improvements (2) (#29799) 2018-10-17 12:59:50 -07:00
Anton Halim
967c1a969c Merge branch 'master' into fix-typo-paramter 2018-10-16 15:31:52 -07:00
Simon Schick
df80e09009 feat(node): 10.12 (#29689) 2018-10-15 16:05:08 -07:00
Anton Halim
b0f1c3ad71 Fix typo of paramter 2018-10-14 21:55:18 -07:00
Piotr Roszatycki
f5d631db0b node: setImmediate returns Immediate (#29599)
* node: setImmediate returns Immediate

* node: defined Timer and Immediate internal classes

* node: better compatiblity with Timer interface

* node: return Timeout rather than Timer
2018-10-10 09:38:51 -07:00
Piotr Roszatycki
1dcb4dba95 node: console.timeLog (#29600) 2018-10-10 09:28:07 -07:00
Simon Schick
389797ccb6 fix(node): fix version headers (#29393)
* fix(node): fix version headers

* fix(node): define dummy interface for Set/ReadonlySet
2018-10-09 11:47:57 -07:00
Michael Lumish
57c23e7369 @types/node: Add missing 'verbatim' option in dns.resolve (#29488)
* @types/node: Add missing 'verbatim' option in dns.resolve

* Add dns.lookup verbatim option for Node 8 types
2018-10-08 14:31:03 -07:00
Joel Einbinder
d65f42a18a fix(node): stdio streams can have more than three items (#29387)
* fix(node): stdio streams is not a tuple

* add to all node versions
2018-10-03 11:45:43 -07:00
Simon Schick
df782384c2 fix(node): revert remaining common var to const globals (#29391) 2018-10-02 16:19:59 -07:00
Olivier Favre
5d58b659a4 node: Export Http2ServerRequest and Http2ServerResponse as class (#29173) 2018-10-02 10:13:49 -07:00
Rocco
7544a6f80d revert const require, module and process to var 2018-09-28 18:26:56 +02:00
Simon Schick
d919839619 fix(node): make console var again 2018-09-27 16:37:28 +02:00
Simon Schick
2c2446db24 fixup! fixup! fixup! fixup! fixup! fixup! chore(node): apply lint 2018-09-26 12:25:25 +02:00
Simon Schick
7150c8b570 fixup! fixup! fixup! fixup! fixup! chore(node): apply lint 2018-09-25 13:45:49 +02:00
Simon Schick
c487b883ae fixup! fixup! fixup! fixup! chore(node): apply lint 2018-09-25 02:05:58 +02:00
Simon Schick
93819a97f9 fixup! fixup! chore(node): apply lint 2018-09-24 17:34:50 +02:00
Simon Schick
2b7def6f58 fixup! chore(node): apply lint 2018-09-24 17:05:52 +02:00
Simon Schick
352f2a6a39 chore(node): apply lint 2018-09-24 15:54:20 +02:00
Simon Schick
e17d39e6b0 feat(node): 10.11 2018-09-24 13:27:45 +02:00
Jesse Trinity
4022bfef0b
Merge pull request #28900 from ljharb/buffer_constructor
`node`: [fix] node buffers have a `constructor` property
2018-09-21 16:16:22 -07:00