Commit Graph

21 Commits

Author SHA1 Message Date
Kanchalai Tanglertsampan
1200f753d6 Merge branch 'master' into types-2.0
# Conflicts:
#	.gitignore
#	ajv/ajv.d.ts
#	angular-material/angular-material.d.ts
#	angular-protractor/angular-protractor.d.ts
#	angularjs/angular-tests.ts
#	angularjs/angular.d.ts
#	aws-sdk/aws-sdk.d.ts
#	electron-devtools-installer/electron-devtools-installer-tests.ts
#	electron-json-storage/electron-json-storage-tests.ts
#	electron-notifications/electron-notifications.d.ts
#	electron-notify/electron-notify.d.ts
#	electron-window-state/electron-window-state.d.ts
#	electron/electron-prebuilt.d.ts
#	enzyme/enzyme.d.ts
#	eventemitter3/eventemitter3-tests.ts
#	eventemitter3/eventemitter3.d.ts
#	graphql/graphql.d.ts
#	highcharts/highcharts.d.ts
#	immutable/immutable.d.ts
#	inquirer/inquirer.d.ts
#	jasmine/jasmine.d.ts
#	joi/joi.d.ts
#	jquery.dataTables/jquery.dataTables-tests.ts
#	jquery.dataTables/jquery.dataTables.d.ts
#	kafka-node/kafka-node.d.ts
#	kefir/kefir.d.ts
#	kendo-ui/kendo-ui.d.ts
#	koa/koa.d.ts
#	leaflet/leaflet.d.ts
#	lodash/lodash.d.ts
#	mapbox-gl/mapbox-gl.d.ts
#	material-ui/material-ui.d.ts
#	menubar/menubar.d.ts
#	mongodb/mongodb.d.ts
#	needle/needle-tests.ts
#	needle/needle.d.ts
#	noble/noble.d.ts
#	node/node.d.ts
#	pegjs/pegjs.d.ts
#	pixi.js/pixi.js.d.ts
#	polymer/polymer.d.ts
#	quill/quill-tests.ts
#	quill/quill.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-fa/react-fa-tests.tsx
#	react-fa/react-fa.d.ts
#	react-native/react-native.d.ts
#	react-select/react-select.d.ts
#	react/react.d.ts
#	threejs/three-vrcontrols.d.ts
#	threejs/three-vreffect.d.ts
#	toastr/toastr.d.ts
#	validator/validator.d.ts
#	webpack/webpack.d.ts
#	winston/winston.d.ts
2016-11-09 17:20:41 -08:00
Flarna
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 Perry
988a48ab2c Stop net.Server incorrectly extending net.Socket (#12056) 2016-10-19 21:53:45 +09:00
Arne Schubert
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
(´・ω・`)
522fd93942 Node: fix readline types (#11580) 2016-10-03 15:54:15 -07:00
TonyYang
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
TonyYang
ab4e532fa2 Add new stuff (#11147)
* Add new stuff

* Correct indent style and variable type
2016-09-09 23:57:01 +09:00
TonyYang
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 Zelei
03f3ca4333 added missing property to child_process (#10997)
added missing property to child_process
2016-09-07 00:26:30 +09:00
TonyYang
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
TonyYang
c3d4297431 Add module "process" for Node v4 2016-08-27 00:43:42 +08:00
Steven
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
TonyYang
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 Rouille
b54fdb6595 Fix nodejs StringDecoder definition (#10100) 2016-07-19 17:05:08 -07:00
Jeremy
22bc90a0b2 Corrects readSync by making position argument optional. (#10029) 2016-07-09 15:30:47 +09:00
Flarna
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