Commit Graph
24 Commits
Author SHA1 Message Date
Paul van Brenk 40e416a33c Merge master into typings-2.0 2016-11-29 16:51:33 -08:00
Julien CROUZET fb7fbd28b4 isTTY is optional 2016-11-21 12:00:08 +01:00
Julien CROUZET b72a93a227 isTTY property on ReadableStream and WriteableStream 2016-11-21 11:47:33 +01:00
Flarna 5ce9b5b534 Add process.mainModule, improve NodeModule
Add mainModule in process. See https://nodejs.org/dist/latest-v6.x/docs/api/process.html#process_process_mainmodule

improve require.main See https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_accessing_the_main_module

improve NodeModule See https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_module_children and https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_module_parent
2016-11-04 15:50:58 +01:00
FlarnaandMasahiro Wakame 45c5bcd854 Add process.mainModule, improve NodeModule (#12257)
* Add process.mainModule, improve NodeModule

Add mainModule in process. See https://nodejs.org/dist/latest-v6.x/docs/api/process.html#process_process_mainmodule

improve require.main see https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_accessing_the_main_module

improve NodeModule see https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_module_children and https://nodejs.org/dist/latest-v6.x/docs/api/modules.html#modules_module_parent

* Correct require.main and NodeModule
2016-10-28 23:13:14 +09:00
zhengbli 5a5ababe92 Merge remote-tracking branch 'origin/master' into zhengbli_merge 2016-10-24 22:48:38 -07:00
zhengbli 62e37b17e1 Merge commit 'origin/master~100' into zhengbli_merge 2016-10-24 20:34:59 -07:00
Tim PerryandMasahiro Wakame 988a48ab2c Stop net.Server incorrectly extending net.Socket (#12056) 2016-10-19 21:53:45 +09:00
Arne SchubertandMasahiro Wakame 1a0f7cd07c Make the "undersore methods" to protected ones in the definitions (#11715)
* Make the undersore methods to protected ones

* Remove non-public _read method from Result-Stream
2016-10-10 19:15:23 +09:00
(´・ω・`)andMohamed Hegazy 522fd93942 Node: fix readline types (#11580) 2016-10-03 15:54:15 -07:00
TonyYangandMasahiro Wakame 684fa0d894 [node.d.ts] Correct NodeBuffer.toJSON type (#11177)
* Correct NodeBuffer.toJSON type

* Correct NodeBuffer.toJSON type in Node v4.x
2016-09-14 21:21:03 +09:00
TonyYangandMasahiro Wakame ab4e532fa2 Add new stuff (#11147)
* Add new stuff

* Correct indent style and variable type
2016-09-09 23:57:01 +09:00
TonyYangandMasahiro Wakame 98d009b227 [node] Test that imported and global console are same (#11062)
* Node.d.ts: Introduce module "console"

* Test that imported and global `console` are same

* Test that imported and global `console` are same

* declare module "console" for node v4
2016-09-07 20:42:29 +09:00
Nick ZeleiandMasahiro Wakame 03f3ca4333 added missing property to child_process (#10997)
added missing property to child_process
2016-09-07 00:26:30 +09:00
TonyYangandMasahiro Wakame 7996f3337d Process no exitCode (#10778)
According to [node.js v4 doc - exitCode](https://nodejs.org/dist/latest-v4.x/docs/api/process.html#process_process_exitcode), there is exitCode in Process.
2016-08-30 21:28:37 +09:00
TonyYangandGitHub c3d4297431 Add module "process" for Node v4 2016-08-27 00:43:42 +08:00
StevenandMasahiro Wakame 77bc119042 Add extra static members to the Node v4 Error class (#10747)
Defines `stackTraceLimit` and `captureStackTrace` as static members for
the Error class in Node v4 so their usage can be recognized.
2016-08-25 01:11:07 +09:00
TonyYangandGitHub 4c7ec69027 http.IncomingMessage no destroy
This is [Node v4.x document](https://nodejs.org/dist/latest-v4.x/docs/api/http.html#http_message_destroy_error), please refer this link.
2016-08-19 16:08:38 +08:00
Luke Venn 538d534a4f Added missing https AgentOptions to node 4 and 6 definitions 2016-08-01 17:12:48 +01:00
Vincent RouilleandMohamed Hegazy b54fdb6595 Fix nodejs StringDecoder definition (#10100) 2016-07-19 17:05:08 -07:00
JeremyandMasahiro Wakame 22bc90a0b2 Corrects readSync by making position argument optional. (#10029) 2016-07-09 15:30:47 +09:00
FlarnaandHoriuchi_H 7425c496f9 Add process.versions.modules to node 0.12, 4 and 6 (#9548) 2016-06-08 14:54:20 +09:00
Mohamed Hegazy 9081e075b7 Fix extend erro for NodeBuffer
With change https://github.com/Microsoft/TypeScript/pull/8515, `Uint8Array.fill` method now returns `this`.
Fixing definition of `NodeBuffer` to maintain extends relationship with `Uint8Array`
2016-05-23 17:25:06 -07:00
Masahiro Wakame eeede9d1ad split node-v4 definitions (#9341) 2016-05-15 01:59:20 +09:00