Commit Graph

346 Commits

Author SHA1 Message Date
Ron Buckton
60bb4edc54 Remove URL and URLSearchParams from nodeJS global 2018-04-27 10:26:27 -07:00
Ron Buckton
bffb032822 Add new types for node v10.0.0 2018-04-25 21:16:21 -07:00
Shude Li
a39131b390 feat(node-v8): add TextDecoder and TextEncoder for util module (#25221)
* feat(node-v8): add `TextDecoder` and `TextEncoder` for `util` module

* fix(node-v8): change  constructor's first param name

* style(node-v8): styling `TextDecoder`

* refact(node-v8): using class instead interface+var

* test(node-v8): add tests for util.TextDecoder and util.TextEncoder

* fix(node-v8): fix param type of TextDecoder.decode
2018-04-24 16:09:44 -07:00
Bruno Scheufler
aa93526d48 Node: Added missing windowsHide properties to SpawnOptions (revision) (#25122)
* Added missing windowsHide properties to SpawnOptions of child_process module

* Retrigger CI
2018-04-19 08:45:08 -07:00
Alexander T
dcf3384ac2 Microsoft/TypeScript#23155 - Type error in Buffer.from() (#24966) 2018-04-13 08:50:15 -07:00
Gerhard Stöbich
a9ae33a9f6 [node] Sync v8 and v9 (#24852)
* [node] Sync v8 and v9

* sync vm test added in v8 only
2018-04-10 12:19:17 -07:00
Mohsen Azimi
5193c7c6ed Add string option for vm.runIn*Context methods in Node.js typing (#24798)
* Add string option for vm.runIn*Context methods

* Add test

* lint
2018-04-10 10:15:37 -07:00
Khải
52670470e3 Change type of path.sep and path.delimiter in @types/node (#24833)
* Update type of path.sep and path.delimiter

* Change `path.sep` to `'\\' | '/'`
* Change `path.delimiter` to  `';' | ':'`

* Update index.d.ts

* Change types of path.sep and path.delimiter in types/node/{v8,v6}

* Change types of path.sep and path.delimiter in types/node/v7
2018-04-09 13:52:55 -07:00
Shude Li
92801a99e3 node@8: fix return type of Cipher. setAAD() and Cipher. setAutoPadding() (#24801)
* fix: fix return type of Cipher. setAAD() and Cipher. setAutoPadding()

* node@8: fix return types of Decipher.setAAD() and Decipher.setAutoPadding()

* fix: fix return types of Decipher.setAuthTag()
2018-04-09 10:45:10 -07:00
emzeroit
d518f489e7 Merge https://github.com/DefinitelyTyped/DefinitelyTyped 2018-04-06 15:12:31 -03:00
emzeroit
c974fcb070 [@types/node] Added authorization property to IncomingHttpHeaders. 2018-04-06 14:32:25 -03:00
Blair Zajac
4bcf0f6866 node: assert.fail() has never return type. 2018-03-30 23:47:08 -07:00
ikokostya
5a64d54d73 @types/node: Add url.domainToASCII, url.domainToUnicode 2018-03-27 17:54:26 +03:00
Mine Starks
166b1e778a
Merge pull request #24440 from frankschulz/master
Fix https.globalAgent.options in node package
2018-03-21 09:42:33 -07:00
Mine Starks
6f1d8d7096
Merge pull request #24422 from kjin/node-ah-9.6
[node] Bump async_hooks definitions to v8.10/v9.6
2018-03-21 09:30:34 -07:00
Mine Starks
8995fea587
Merge pull request #24072 from n-e/master
Fix: node: util/promisify: Allow null as the first argument for the callback
2018-03-21 09:03:54 -07:00
Frank Schulz
a36a10b2bf Add tests 2018-03-21 12:53:58 +01:00
Frank Schulz
2b5cfcfb05 Fix https type 2018-03-21 12:37:33 +01:00
Kelvin Jin
ef646be4a4 [node] Bump async_hooks definitions to v8.10/v9.6 2018-03-20 17:15:48 -07:00
Armando Aguirre
567545aec8
Merge pull request #23665 from vidartf/node-child
node: Add child_process options for Windows
2018-03-07 12:29:10 -08:00
Vidar Tonaas Fauske
063b3d77a8 node: Add windowsHide opt to v8 docs also 2018-03-07 16:35:42 +01:00
Steven
1700ece8de Add TlsSocket.getProtocol() to node (#24116) 2018-03-06 14:26:07 -08:00
Nicolas Even
9d5ace7819 Fix: node: util/promisify: Allow null as the first argument for the callback 2018-03-04 18:58:21 +01:00
Vidar Tonaas Fauske
3f9d7f0bca node: Add test for windowsHide option
Test for commit 685800783a
2018-02-15 13:08:20 +01:00
Vidar Tonaas Fauske
685800783a node: Add child_process Windows options
Add `windowsHide` to the appropriate options interfaces for node's
`child_process` functions. Following the documentation for node v9.5.0.
2018-02-15 13:04:43 +01:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Daniel Rosenwasser
27e260259e
Merge pull request #23615 from hoo29/master
[node] undo TlsOptions name change
2018-02-13 12:13:32 -08:00
Huw McNamara
d3045c2a59 undid TlsOptions name change node v8 2018-02-13 18:45:46 +00:00
Daniel Rosenwasser
4219597f8d
Merge pull request #23330 from kjin/http2-9.4
[node] Update http2 definitions for 9.4
2018-02-13 10:34:47 -08:00
Daniel Rosenwasser
86e2bc1cf0
Merge pull request #23486 from mentos1386/mentos1386-node-tty-class-fix
[NodeJS] TTY ReadStream Interface to Class fix
2018-02-13 10:31:42 -08:00
Huw McNamara
6c98b1f3d8 undid TlsOptions name change 2018-02-13 18:25:43 +00:00
Kelvin Jin
a25c336a59 [node] Update http2 definitions for 9.4 2018-02-12 16:54:37 -05:00
Daniel Rosenwasser
45e71c9c2b
Merge pull request #23393 from hoo29/master
[node] tidied up and de-duplicated tls related options
2018-02-10 10:34:57 -08:00
Ron Buckton
314132546a
Merge pull request #23374 from johan13/socket-return-types
[node] Fix return type of net.Socket methods
2018-02-08 20:10:45 -08:00
Flarna
97e17866e8 [node] Improve return type of fs.readdir() and fs.readdirsync() (#23440)
* [node] Improve return type of fs.readdir() and fs.readdirsync()

* additionally update v6
2018-02-08 07:33:55 -08:00
Ron Buckton
829640b173
Merge pull request #23427 from Alorel/patch-1
Add encoding option to node.readdir
2018-02-07 15:32:26 -08:00
Ron Buckton
eaa9ff9367
Merge pull request #23411 from glmdgrielson/require-resolve
[node] require.resolve update v8.9.0
2018-02-07 14:55:12 -08:00
Huw McNamara
289d1294d0 copy paaste RequestOptions 2018-02-07 21:14:52 +00:00
Huw McNamara
fb7accbd5e don't use pick. fixed tests 2018-02-07 19:31:40 +00:00
Tine Jozelj
4cc753241a fix(node): updated for v7 and v8 2018-02-07 17:46:35 +01:00
Tine Jozelj
20f76516d5 Merge branch 'master' into mentos1386-node-tty-class-fix 2018-02-07 17:31:26 +01:00
Huw McNamara
4fb702c02c changed local pick name 2018-02-06 20:03:20 +00:00
Huw McNamara
e00c71172a fixed deps, add local pick def 2018-02-06 19:21:36 +00:00
Huw McNamara
673020868e made changes to v9 2018-02-06 18:55:42 +00:00
Huw McNamara
613c514505 actioned comments 2018-02-06 18:40:40 +00:00
Denis Malinochkin
a593fd2d60 refactor(node): Remove duplicate line for the «addListener» method (#23449) 2018-02-06 08:47:31 -08:00
Arturas Molcanovas
92e408b5ab Merge branch 'master' into patch-1 2018-02-05 21:18:21 +00:00
Andy
b890bf4556
Fix node tests to be compatible with --esModuleInterop (#23437) 2018-02-05 13:08:34 -08:00
Arturas Molcanovas
760d1d490d Fix path docs 2018-02-05 20:53:26 +00:00
Arturas Molcanovas
d7479d6297 Use readdir types template from v9 2018-02-05 20:50:10 +00:00