Commit Graph

508 Commits

Author SHA1 Message Date
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
Andrew Marcuse
44d87757f7 [node] Add process.release 2018-09-20 10:43:11 -04:00
Piotr Roszatycki
a649bec809 node: stream.finished: err is optional 2018-09-17 14:28:43 +02:00
Piotr Roszatycki
f4b9e5acaa node: stream.finished function 2018-09-17 14:28:43 +02:00
Simon Schick
9061b19a3c types(node): add changes from 10.10 (#28918)
Please fill in this template.

- [x] Use a meaningful title for the pull request. Include the name of the package modified.
- [x] Test the change in your own code. (Compile and run.)
- [x] Add or edit tests to reflect the change. (Run with `npm test`.)
- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#make-a-pull-request).
- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md#common-mistakes).
- [x] Run `npm run lint package-name` (or `tsc` if no `tslint.json` is present).

Select one of these and delete the others:


If changing an existing definition:
- [x] Provide a URL to documentation or source code which provides context for the suggested changes: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#2018-09-06-version-10100-current-targos
- [x] Increase the version number in the header if appropriate.
- [x] If you are making substantial changes, consider adding a `tslint.json` containing `{ "extends": "dtslint/dt.json" }`.

RE: #28708

Lets try this again.
2018-09-17 00:39:14 -07:00
Dyma
7cd6d7398c Node - missing property on IncomingHttpHeaders (#28929)
Missing referer property on IncomingHttpHeaders
see: https://tools.ietf.org/html/rfc4229
2018-09-17 00:38:28 -07:00
Jordan Harband
461d2d5dfa
revert < v9 changes, since they lack a type for the constructor itself 2018-09-14 14:25:57 -07:00
Jordan Harband
31519390e9
node: [fix] node buffers have a constructor property 2018-09-14 13:52:12 -07:00
Ryo Ota
8877c9d0ac @types/node: Add 'user-agent' field to IncomingHttpHeaders interface (#28497)
* Add 'user-agent' to IncomingHttpHeaders

* Add "'user-agent'?: string;" to the other versions
2018-08-30 09:09:02 -07:00
Armando Aguirre
97db952a30
Merge pull request #28352 from matthieusieben/patch-1
Fixed process.emit(Signals)
2018-08-28 13:10:52 -07:00
Daniel Rosenwasser
1bc03a3673
Merge pull request #28204 from Flarna/node-correct-cipher-decipher
[node] fix crypto cipher/decipher overloads and typos
2018-08-24 16:41:16 -07:00
Daniel Rosenwasser
93fe8104d6
Merge pull request #28351 from Flarna/node_add-util.formatWithOptions
[node] add util.formatWithOptions
2018-08-24 14:59:48 -07:00
Gerhard Stoebich
fcf71d5abe correct comments 2018-08-24 11:21:38 +02:00
Gerhard Stoebich
c4c0b9b6e3 correct type of format parameter 2018-08-24 10:41:25 +02:00
Gerhard Stoebich
5a41ffa9a8 [node] add util.formatWithOptions 2018-08-24 10:04:35 +02:00
Johan Levin
fdc6bde01e Add cidr property to NetworkInterfaceBase interface 2018-08-24 09:14:35 +03:00
Jonathan Stewmon
ae9730b579 callback err should be optional in promisify signatures without a result (#28307) 2018-08-23 16:36:13 -07:00
Kelvin Jin
9b5c17209f [node] bump inspector types (#28039) 2018-08-23 16:04:06 -07:00
Gerhard Stoebich
cdb8cf344c [node] fix crypto cipher/decipher overloads and typos 2018-08-23 23:55:24 +02:00