Ulrich Buchgraber
73cfb3d8b8
Add spawn() overload which takes options but no args
2018-11-20 22:45:18 +01:00
Ron Buckton
7e4d4b5795
[node] Add additional REPLServer members
2018-11-14 22:28:33 -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
Jeremie Rodriguez
3b647f0a80
[node] Fix typo in BasePrivateKeyEncodingOptions interface used in generateKeyPairSync function ( #30066 )
2018-10-29 10:40:36 -07:00
Simon Schick
df80e09009
feat(node): 10.12 ( #29689 )
2018-10-15 16:05:08 -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
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
93819a97f9
fixup! fixup! chore(node): apply lint
2018-09-24 17:34:50 +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
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
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
Gerhard Stoebich
5a41ffa9a8
[node] add util.formatWithOptions
2018-08-24 10:04:35 +02:00
Jonathan Stewmon
ae9730b579
callback err should be optional in promisify signatures without a result ( #28307 )
2018-08-23 16:36:13 -07:00
Gerhard Stoebich
cdb8cf344c
[node] fix crypto cipher/decipher overloads and typos
2018-08-23 23:55:24 +02:00
Gerhard Stöbich
374598de67
[node] Add http[s] request/get variants for 10.9.0 ( #28193 )
2018-08-23 10:41:25 -07:00
James Bromwell
1cfd23c618
[node] child_process stdio actually allows "inherit" ( #28075 )
2018-08-22 10:12:10 -07:00
Thomas den Hollander
d42a3e4e16
[node] Allow SharedArrayBuffer in Buffer.from ( #27933 )
...
* Move from namespace to static attributes
* Allow SharedArrayBuffer in Buffer.from
* Address comments
* Add SharedArrayBuffer to byteLength
* Fix tests
2018-08-15 08:25:20 -07:00
ikokostya
bd0f04155c
[node] Add dns.Resolver declaration ( #28102 )
...
* [node] Add dns.Resolver declaration
* Add test cases
* Improve test cases
2018-08-14 08:08:48 -07:00
Tim Schoenheider
3c8f15080c
add timeout to http.AgentOptions ( #27946 )
2018-08-13 09:11:44 -07:00
ikokostya
b3387d6338
[node] Update declarations for dns.resolveAny ( #27950 )
...
* [node] Update declarations for dns.resolveAny
* Fix dns.resolve test
* Add CNAME record type
* Use @deprecated tag for AnyRecordWithTtl interface
2018-08-10 15:39:39 -07:00
James Bromwell
b6bcd18205
[node] Fix typings for various child_process methods ( #28025 )
...
* node: add strong typing and a few missed types for methods on child_process
* node: child_process method stdio array can take null or undefined values
* node child_process: add back argv0 option for spawnSync, probably bad docs
2018-08-10 08:21:20 -07:00
Ron Buckton
9fe65ab328
[NodeJS] Fix 'this' type for stream options. ( #27788 )
...
* Fix 'this' type for stream options.
* Reverse max_old_space_size option
* PR Feedback
* Fix module augmentation in vinyl-fs
2018-08-03 11:57:42 -07:00
Louis-Dominique Dubeau
e425a450ce
node: add the 3rd parameter to URLSearchParams.forEach ( #27732 )
...
The documentation for [URLSearchParams.forEach][1] shows that the
callback function will be called with 3 parameters. This has been true
since Node 6. This commit adds a definition for the 3rd parameter to
the definition files for Node 6, 7, 8, 9 and 10.
[1]: https://nodejs.org/api/url.html#url_urlsearchparams_foreach_fn_thisarg
2018-07-31 15:43:02 -07:00
Michael Lumish
fb0db28895
@types/node: add missing properties to Http2Session ( #27588 )
...
* node types: add missing properties to Http2Session
Add "connecting" and "ping" properties to Http2Session
* Add NodeJS.TypedArray
2018-07-27 17:13:59 -07:00
Brian Crowell
21077b2657
[node]: Make stream destroy method signatures match ( #27608 )
...
* [node]: Make stream destroy method signatures match
The "destroy" option when creating streams has the same signature as the
_destroy method on the stream: a function accepting an optional error and a
callback which also takes an optional error.
* Fix tests affected by the change in stream definitions
2018-07-27 10:52:13 -07:00
Gerhard Stöbich
2bb44da669
[node] introduce TypedArray ( #27387 )
2018-07-24 10:08:06 -07:00
Daniel Rosenwasser
bd2b1d6be9
Merge pull request #26678 from DefinitelyTyped/strictAssert
...
Added 'strict' to the 'assert' module.
2018-07-05 15:59:21 -07:00
Jeff Jacobson
8d0b168575
[node] Added missing COPYFILE_* constants ( #27036 )
...
fixes #26534
2018-07-05 12:50:34 -07:00
Gerhard Stoebich
382f56c51d
[node] add crypto.scrypt and crypto.scryptSync
2018-06-26 18:04:09 +02:00
ZaneHannanAU
36a8cba524
[@types/node] Add tests for extended InspectOptions
2018-06-23 10:06:59 +10:00
ZaneHannanAU
11dac82bbe
rewrite tests to pass linter
...
```
ERROR: 1175:53 whitespace missing whitespace
ERROR: 1189:1 no-consecutive-blank-lines Consecutive blank lines are forbidden
ERROR: 1203:60 semicolon Missing semicolon
ERROR: 1204:58 semicolon Missing semicolon
ERROR: 1205:52 semicolon Missing semicolon
ERROR: 1206:74 semicolon Missing semicolon
ERROR: 1245:13 expect TypeScript@next compile error:
Cannot redeclare block-scoped variable 'arr'.
ERROR: 1255:13 expect TypeScript@next compile error:
Cannot redeclare block-scoped variable 'arr'.
```
2018-06-20 20:37:03 +10:00
ZaneHannanAU
1408e34280
Fix more tests
2018-06-20 20:04:39 +10:00
ZaneHannanAU
da64ac90bb
fix excess whitespace, fix new DataView
2018-06-20 19:03:33 +10:00
ZaneHannanAU
f08ee82ae4
Merge branch 'master' into ZaneHannanAU-patch-1
2018-06-20 17:25:10 +10:00
Daniel Rosenwasser
35b9eb2800
Added 'strict' to the 'assert' module.
2018-06-19 13:23:39 -07:00
ZaneHannanAU
bbab2bd291
Update crypto tests to use different ArrayBuffer types.
2018-06-19 16:12:45 +10:00
Nathan Shively-Sanders
ba6955eb3f
Merge pull request #26613 from ZaneHannanAU/patch-2
...
Missing definition for `dns.resolveAny` and `dns.resolve(domain, 'ANY')` in `@types/node`
2018-06-18 15:13:59 -07:00
ZaneHannanAU
169b206383
... fix spelling mistake
2018-06-18 11:48:35 +10:00
ZaneHannanAU
7521d75c2a
Fix references, add AnyTxtRecord
2018-06-18 10:52:32 +10:00
ZaneHannanAU
6edbf642ee
Add test for resolve(hostname, "ANY")
...
Test for `resolveAny` not added as other tests for the same haven't been added.
2018-06-18 10:34:39 +10:00
islishude
9e33d7d953
fix(node): fix ECDH.converKey()
2018-06-17 10:58:28 +08:00
Mine Starks
6397998e23
Merge pull request #26512 from Flarna/node_correct_http2_status
...
[node] Correct type of incoming http2 ':status' header
2018-06-13 09:31:01 -07:00