Commit Graph

621 Commits

Author SHA1 Message Date
Benjamin Lichtman
df175aa50b
Merge pull request #34312 from SimonSchick/feat/node-v11.13
feat(node): v11.13
2019-04-01 12:37:09 -07:00
Benjamin Lichtman
22a72ce15c
Merge pull request #34327 from maxmellen/https-server-no-args
@types/node Improve https and tls types
2019-04-01 12:31:51 -07:00
Benjamin Lichtman
675ba64918
Merge pull request #34285 from KSXGitHub/node.improve-spawn-by-adding-overloads
Add overloads to child_process.spawn for better type inference
2019-04-01 12:12:21 -07:00
Gerhard Stöbich
0c20777689 [node] correct process.send() and callback of cp.send()/cp.worker.send() (#34337) 2019-03-29 21:22:36 -07:00
Simon Schick
498e7e6ce3 fixup! fixup! feat(node): v11.13 2019-03-29 22:38:12 +01:00
Maximilien Mellen
2bc45778bf Use SecureContextOptions in httpsServer.addContext 2019-03-29 17:32:15 +01:00
Maximilien Mellen
f45c277760 Allow initializing tls.Server with no args 2019-03-29 17:31:54 +01:00
Maximilien Mellen
4277a6e538 Allow initializing https.Server with no args 2019-03-29 17:30:18 +01:00
khai96_
856e1ca756 Fix linter 2019-03-29 17:30:22 +07:00
khai96_
0237165eb1 Make ChildProcessWithoutNullStreams a ChildProcess 2019-03-29 16:14:19 +07:00
khai96_
372efcb075 Allow null to be in options.stdio array
ref: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34285#discussion_r270306571
2019-03-29 15:20:27 +07:00
khai96_
5c7154f976 Make 'options' parameter of type 'SpawnOptions' mandatory
ref: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/34285#discussion_r270306317
2019-03-29 15:09:37 +07:00
Gerhard Stöbich
cd3f215693 [node] various http2 fixes (#34262)
* [node] various http2 fixes

* remove removeListener() overloads
2019-03-29 00:39:17 -07:00
Simon Schick
ccd9ac532a fixup! feat(node): v11.13 2019-03-29 02:54:31 +01:00
Simon Schick
e6625ba155 feat(node): v11.13 2019-03-29 02:15:14 +01:00
khai96_
7fb3a5d988 Fix linting 2019-03-28 15:47:00 +07:00
khai96_
054c167034 If the child was spawned with stdio[1] set to anything other than 'pipe', then this will be null. 2019-03-28 14:13:30 +07:00
khai96_
1c0a95035b Add overloads to child_process.spawn for better type inference
- Without options.stdio, cp.{stdin,stdout,stderr} should not be null
2019-03-28 14:03:44 +07:00
Simon Schick
923fe86451 feat(node): v11.12 (#33967)
* feat(node): v11.12

* fixup! feat(node): v11.12

* fixup! Merge branch 'master' into feat/node-11.12
2019-03-26 13:21:05 -07:00
Gerhard Stöbich
716ad14d15 [node] crypto.Verify and Signer should be classes (#34223)
* [node] crypto.Verify and Signer should be classes

* convert more crypto interfaces to classes

* replace redundant type checks by a comment
2019-03-26 08:58:19 -07:00
AlexOwl
dfc313721a Fix createConnection params in node/http2.d.ts (#34197)
* Fix createConnection params in http2.d.ts

*  Fix createConnection params in v10/http2.d.ts
2019-03-25 13:41:51 -07:00
Sheetal Nandi
267d3bd97b
Merge pull request #34095 from nwtgck/remove-allow-http1-from-server-options
[node] Remove allowHTTP1 from http2.ServerOptions
2019-03-22 12:02:26 -07:00
Sheetal Nandi
2628cdcbe8
Merge pull request #34085 from kjin/inspector-newer
[node] bump inspector types to 7.0 and make generation script more type-safe
2019-03-22 11:58:34 -07:00
Ryo Ota
fcf24503eb Remove allowHTTP1 from http2.ServerOptions 2019-03-22 18:52:58 +09:00
Kelvin Jin
5d15af5c7a [node] bump inspector types to 7.0 2019-03-21 14:16:36 -07:00
Kelvin Jin
6e5fb35895 [node] upgrade inspector generation source 2019-03-21 14:16:34 -07:00
Gerhard Stoebich
44797ba9e9 fix review findings 2019-03-20 08:27:21 +01:00
Gerhard Stoebich
669f49f4dd [node] add util.types.isBigInt64Array, isBigUint64Array and isModuleNamespaceObject 2019-03-20 00:53:49 +01:00
Gerhard Stoebich
619453a740 [node] Add stream options autoDestroy, emitClose, defaultEncoding 2019-03-19 23:34:08 +01:00
Gerhard Stöbich
3d3b075589 [node] fix static-this lint issues (#33965) 2019-03-18 08:42:58 -07:00
Nathan Shively-Sanders
e8b76b6884 Cleanup from tslint 5.14 2019-03-13 10:00:20 -07:00
Andrew
b9a3c70030 add detached to ForkOptions (#33818)
* add detached to ForkOptions

* update v10

* update definition of ForkOptions for node v11

* update for v9
2019-03-12 16:33:32 -07:00
Tyrone Dougherty
b32984c30a Add maxHeadersCount and headersTimeout properties to HTTPS module in @types/node (#33764)
* Add maxHeadersCount and headersTimeout properties to the https module within @types/node

* Update typing for Node HTTP/S Server's maxHeadersCount property to include null, and add link to documentation

* Add type definitions for Node's HTTP/S Server headersTimeout and maxHeadersCount properties to Node v10

* Add tests for maxHeadersCount and headersTimeout properties

* Fix tests for HTTP Server types

* Update node version in docs for node v10

* Update doc link to be formatted with JSDoc
2019-03-12 10:47:06 -07:00
Simon Schick
1eeccafd4e chore(node): reduce usage of Function (#33527) 2019-03-11 14:06:23 -07:00
Nathan Shively-Sanders
d2a06ce413
Merge pull request #33687 from SimonSchick/feat/node-v11.11
feat(node): v11.11
2019-03-08 15:01:07 -08:00
Nathan Shively-Sanders
d3f33ba62c
Merge pull request #33528 from SimonSchick/fix/node-map-declare
fix(node): add `Map` forward declare
2019-03-08 14:56:26 -08:00
Simon Schick
bac1373412 feat(node): v11.11 2019-03-07 13:01:24 +01:00
Simon Schick
fdf8237ec0 fix(node): add Map forward declare 2019-03-02 22:26:38 +01:00
Thanik Bhongbhibhat
1649966376 [@types/node]: Add argument types for net.Server.close callback 2019-03-01 19:23:55 -08:00
Jesse Trinity
2e0bf4801f
Merge pull request #33177 from Flarna/node-fix-SharedArrayBuffer-forward-declaration
[node] fix forward declaration of SharedArrayBuffer
2019-03-01 17:49:20 -08:00
Jesse Trinity
ddbd8f6524
Merge pull request #33045 from Flarna/node-spawnsync-error
[node] Make SpawnSyncReturns.error optional
2019-03-01 17:48:30 -08:00
Jesse Trinity
d110ce3f0e
Merge pull request #33325 from j-oliveras/nodejs_buffer_transcode_function
[@types/node]: buffer module, add transcode function
2019-03-01 17:46:40 -08:00
Jesse Trinity
82aeb01468
Merge pull request #33195 from OliverJAsh/oja/node/correct-unhandled-rejection-reason-param-4
Node: specify `UnhandledRejectionListener` `reason` param type
2019-03-01 17:45:10 -08:00
Jesse Trinity
c1c946c221
Merge pull request #33176 from jstewmon/hrtime-bigint
add process.hrtime.bigint() to node v10
2019-03-01 17:17:43 -08:00
Jesse Trinity
bbb73a39d3
Merge pull request #33137 from panva/node-crypto-key-objects
node crypto - generateKeyPair(Sync) types for returning KeyObjects
2019-03-01 17:16:48 -08:00
Jesse Trinity
fa9ea7307b
Merge pull request #33081 from kei-ito/request-path
[node] Add ClientRequest.prototype.path
2019-03-01 17:16:00 -08:00
Jesse Trinity
831307787e
Merge pull request #33127 from SimonSchick/feat/node-11.10
feat(node): v11.10
2019-03-01 12:45:19 -08:00
Jordi Oliveras Rovira
00696ce1a7 [Node v7 to v11] Make TranscodeEncoding type with the valid encodings of transcode. 2019-02-28 20:33:54 +01:00
Gerhard Stoebich
c37f77d05d [node] Make SpawnSyncReturns.error optional 2019-02-28 20:31:34 +01:00
Jordi Oliveras Rovira
69eb229805 Merge branch 'master' into nodejs_buffer_transcode_function 2019-02-28 19:43:40 +01:00