Commit Graph

32 Commits

Author SHA1 Message Date
Roberto Desideri
2fd1709e59 Remove myself from the authors (#20697) 2017-10-18 13:44:29 -07:00
Jeff Kenney
43a2660602 Fix node url and http/https request types (#18766)
* [node] url.format can take a string

* [node] http.request / https.request can take a string

* [node] reorder Url properties to match ordering in docs

* [node] DRY out the Url and UrlObject types

* [node] backport split Url / UrlObject types to v0 and v4

* remove 'any' union for UrlObject.query type
2017-10-17 12:00:46 -07:00
Daniel Imms
f5dc2b6e33 Remove self from maintainers (#20126) 2017-10-16 10:15:45 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Andy
a828ea02ac Normalize tsconfig.jsons (#19447) 2017-08-30 08:15:31 -07:00
Melvin Groenhoff
25ba611105 node: add ChildProcess killed property, add Worker send callback argument and fix some error events. (#19299) 2017-08-24 07:03:09 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Marc Ghorayeb
ad093c1036 [node] homogenize zlib input to Buffer or string and results to Buffer 2017-08-15 14:36:40 +02:00
Guy Bedford
da71d8ae2b stdin, stdout-specific property support for node v7 & 8 (#18895) 2017-08-14 13:30:36 -07:00
Dimitri Benin
5a3249593e [node] improve util.deprecate() typings, fix tests in v4 & v6 for TS >=2.3 (#18903)
* [node] improve util.deprecate() typings, fix tests in v4 & v6 for TS >=2.3

* [react-measure, react-svg-pan-zoom] fix lint errors

* [node] change deprecate() typings in v7, too
2017-08-14 11:18:10 -07:00
Andy
af8b0d1294 FIx new lint errors (#18382) 2017-07-25 10:34:23 -07:00
Daniel Imms
527914c2a3 node: Fix net.Socket definition (#18275)
v0.12.x: https://nodejs.org/docs/latest-v0.12.x/api/net.html#net_new_net_socket_options
v4: https://nodejs.org/dist/latest-v4.x/docs/api/net.html#net_new_net_socket_options
v6: https://nodejs.org/dist/latest-v6.x/docs/api/net.html#net_new_net_socket_options
v7: https://nodejs.org/dist/latest-v7.x/docs/api/net.html#net_new_net_socket_options
v8: https://nodejs.org/api/net.html#net_new_net_socket_options
2017-07-21 09:41:56 -07:00
Ryota Kameoka
da17482087 Fix type definition for REPL module of Node.js (#18021)
* Fix signature for repl.start() function

* Complete type definition for REPLServer.context property
2017-07-17 12:25:30 -07:00
Ryan Cavanaugh
000e7a1135 Merge pull request #17978 from cjbarth/node/read-file-sync
NODE: Correct signature for readFileSync
2017-07-13 19:03:26 -07:00
Barth, Christopher
4b8d8cea4d Update tests 2017-07-13 10:38:41 -04:00
Barth, Christopher
e373c4db6c Add tests and include readFile changes 2017-07-13 09:07:38 -04:00
Barth, Christopher
124a0e72b2 Use unions to express all possible options 2017-07-12 11:53:08 -04:00
Barth, Christopher
f358dd164f NODE: Correctly allow emit for any type of event for implementors or extendors of EventEmitter 2017-07-12 11:28:18 -04:00
Barth, Christopher
0efb818c96 Correct signature for readFileSync 2017-07-12 10:33:31 -04:00
Jarrad Whitaker
c238232c3e change throws and doesNotThrow to use overload syntax 2017-07-11 18:47:05 +10:00
Jarrad Whitaker
d0c01b30a6 loosen assert.fail 2017-07-11 18:47:05 +10:00
Ron Buckton
4a5d968797 Merge pull request #17809 from McClellandLaboratories/patch-1
Adding missing readline createInterface options
2017-07-07 16:08:39 -07:00
McClelland Laboratories
277f220679 Added requested change 2017-07-07 15:44:24 -07:00
McClelland Laboratories
3a40993a4d Updated createInterface Function
Added historySize?: number;,  prompt?: string;, crlfDelay?: number;, and removeHistoryDuplicates?: boolean; to createInterfaceFunction
2017-07-06 11:37:34 -07:00
McClelland Laboratories
af374b95e3 Removed trailing whitespaces
Removed trailing whitespaces
2017-07-06 11:34:39 -07:00
McClelland Laboratories
3b2c21cf21 Adding missing readline createInterface options
prompt?: string;
crlfDelay?: number;
removeHistoryDuplicates?: boolean;
2017-07-06 11:14:34 -07:00
Barth, Christopher
1b3d820038 Correctly allow emit for any type of event for node worker 2017-07-06 14:03:55 -04:00
kimu_shu
ff3da11908 Make callback parameter mandatory 2017-06-28 23:02:55 +09:00
kimu_shu
1b5e242876 Add overloads for writeFile, appendFile and appendFileSync 2017-06-28 21:55:08 +09:00
kimu_shu
1205f064bd Add fs.writeFileSync overloads and tests 2017-06-28 11:58:50 +09:00
Konstantin Ikonnikov
552da47d0c [node] Add definition for Node.js v8 2017-06-07 15:53:17 +03:00