Commit Graph

31 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
(´・ω・`)
522fd93942 Node: fix readline types (#11580) 2016-10-03 15:54:15 -07:00
TonyYang
012b7f1072 [node] Format test definition (#11308)
* Format test definition in v4.x

* Format test definition in v6.x
2016-09-19 16:24:01 +09:00
TonyYang
9d4d9924f1 [node] Clean up tls_tests and wrap in namespace (#11248)
* Clean up tls_tests and wrap in namespace for v6.x

* Clean up tls_tests and wrap in namespace for v4.x
2016-09-19 15:10:19 +09:00
TonyYang
48f9040fcc [node-tests.ts] Clean up crypto_tests and wrap in namespace (#11242)
* Clean up crypto_tests tests and wrap in namespace

* Clean up crypto_tests and wrap in namespace

* Use let to declares a block scope local variable

* Use let to declares a block scope local variable
2016-09-15 22:44:31 +09:00
TonyYang
62f98f1a3b [node-tests.ts] Clean up http_tests and net_tests (#11240)
* Clean up http_tests and net_tests

* Clean up fs tests and wrap in namespace
2016-09-15 22:43:21 +09:00
TonyYang
d685402549 [node-tests.ts] The test should test type, not function (#11238)
* The test should test type, not function

* The test should test type, not function
2016-09-15 22:42:34 +09:00
TonyYang
a72353df24 [node-tests.ts] A test should move to events_tests in node (#11237)
* A test should move to events_tests in node v6.x

* A test should move to events_tests in node v4.x
2016-09-15 22:42:17 +09:00
TonyYang
d1171f6895 [node.d.ts] Implement function tests for assert (#11175)
* Implement function tests for assert

* Implement function tests for assert - Node v4.x
2016-09-14 21:20:31 +09:00
Sheetal Nandi
0c5c7a2d2b Merge pull request #11093 from TonyPythoneer/patch-9
[node] Clean up testcase of assert
2016-09-09 16:00:37 -07:00
Sheetal Nandi
1109afea97 Merge pull request #11131 from TonyPythoneer/patch-17
[node] Clean up url tests and wrap in namespace
2016-09-09 12:39:40 -07:00
TonyYang
fc1b3e11df [node] imported and global process are same (#11092)
* imported and global process are same

* imported and global process are same
2016-09-09 23:33:18 +09:00
TonyYang
39cfebd6f8 Clean up url tests and wrap in namespace 2016-09-09 10:57:16 +08:00
Sheetal Nandi
40adfa30aa Merge pull request #11102 from TonyPythoneer/patch-10
[node] Clean up cluster tests and wrap in namespace
2016-09-08 10:16:13 -07:00
Sheetal Nandi
bbf2bb1f01 Merge pull request #11103 from TonyPythoneer/patch-11
[node] Clean up fs tests and wrap in namespace
2016-09-08 10:15:56 -07:00
Sheetal Nandi
df9755325f Merge pull request #11104 from TonyPythoneer/patch-12
[node] Clean up childProcess tests and wrap in namespace
2016-09-08 10:14:08 -07:00
Sheetal Nandi
f16104e02b Merge pull request #11105 from TonyPythoneer/patch-13
[node] Correct indent of comments of path testcases
2016-09-08 10:13:53 -07:00
Sheetal Nandi
8e760c7dbd Merge pull request #11108 from TonyPythoneer/patch-15
[node] Clean up util tests and wrap in namespace
2016-09-08 10:09:14 -07:00
TonyYang
5925d3792b Update node-4-tests.ts 2016-09-08 12:56:44 +08:00
TonyYang
3c46cd861a Typo word for util_tests 2016-09-08 12:47:44 +08:00
TonyYang
12f5f37cb2 Clean up util tests and wrap in namespace 2016-09-08 12:41:07 +08:00
TonyYang
6afd61e5e1 Correct indent of comments of path testcases 2016-09-08 12:29:07 +08:00
TonyYang
4429e003ce Clean up childProcess tests and wrap in namespace 2016-09-08 12:21:13 +08:00
TonyYang
02afdc49e5 Clean up fs tests and wrap in namespace 2016-09-08 12:08:36 +08:00
TonyYang
79c00498a1 Clean up cluster tests and wrap in namespace 2016-09-08 11:49:34 +08:00
TonyYang
97c9fd0050 Clean up assert module 2016-09-08 00:33:38 +08: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
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
Vincent Rouille
b54fdb6595 Fix nodejs StringDecoder definition (#10100) 2016-07-19 17:05:08 -07:00
Masahiro Wakame
eeede9d1ad split node-v4 definitions (#9341) 2016-05-15 01:59:20 +09:00