Commit Graph

95 Commits

Author SHA1 Message Date
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
1d50912b2b [node] Correct constants module for node v6 (#11140)
* Correct constants module

* Add tests for constants

* Typo namespace

* Recovery constants module and add two stuffs
2016-09-09 23:52:36 +09: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
hriss95
255697da9f Node.d.ts: Update definitions for module "tls" (#11025)
* Node.d.ts: Update definitions for module "tls"

* Node.d.ts: Update definitions for module "tls"

* Node.d.ts: Revert function connect changes

* Node: Update definitions and tests for module "tls"

* Node: Fix a typo in definitions for module "tls"
2016-09-09 22:48:55 +09:00
TonyYang
1845c1fba0 Clean up url tests and wrap in namespace 2016-09-09 10:59:14 +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
50c18f1198 Clean up dgram tests and wrap in namespace 2016-09-08 12:53:47 +08:00
TonyYang
4e6e9396e9 Typo word for util_tests 2016-09-08 12:47:13 +08:00
TonyYang
9567ccc5e3 Clean up util tests and wrap in namespace 2016-09-08 12:38:02 +08:00
TonyYang
39ff73a28b Correct indent of comments of path testcases 2016-09-08 12:25:14 +08:00
TonyYang
ce5cb27b43 Clean up childProcess tests and wrap in namespace 2016-09-08 12:18:51 +08:00
TonyYang
90d1979cbf Clean up fs tests and wrap in namespace 2016-09-08 11:55:57 +08:00
TonyYang
ef9f5203e0 Clean up cluster tests and wrap in namespace 2016-09-08 11:47:44 +08:00
TonyYang
6defe2049a Clean up cluster tests and wrap in namespace 2016-09-08 11:46:09 +08:00
TonyYang
fe7b6acc16 Clean up os tests and wrap in namespace 2016-09-08 11:33:02 +08:00
Zhengbo Li
8da7848758 Merge pull request #11066 from alejo90/move-fs-constants
Moved fs constants under constants as per documentation
2016-09-07 10:32:19 -07:00
TonyYang
e1eb4995d2 Clean up assert module 2016-09-08 00:24:06 +08:00
Alejandro Sánchez
69089fffa5 Moved fs constants under constants as per documentation and added tests for access and accessSync 2016-09-07 08:24:16 -06:00
hriss95
104dfb08ed Node: Add tests for "timers" module (#11080) 2016-09-07 20:47:11 +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
Masahiro Wakame
5bf030ac72 suppress error about node/node-tests.ts with --target es5 (#11056) 2016-09-07 00:20:08 +09:00
Alejandro Sánchez
fc931b26dd Made ErrnoException.errno a string as per NodeJS API documentation (#10970) 2016-09-06 23:46:48 +09:00
Burt Harris
723e5c7a2d Merge branch 'master' into NodeJS.EventEmitter.6 2016-08-30 19:11:19 -07:00
Alejandro Sánchez
67827a1e39 Added entries, includes, keys and values to Buffer (#10809) 2016-08-30 23:19:56 +09:00
Burt Harris
c3e56c6618 Back-out whitespace change 2016-08-29 12:29:04 -07:00
Burt Harris
92604e3645 Test case for Issue #10815:
NodeJS.EventEmitter extended in Node 6.
2016-08-29 12:05:58 -07:00
Alejandro Sánchez
69ecb66f73 Made node Buffer's lastIndexOf and indexOf conformant to node API 2016-08-23 08:24:37 -06:00
Paul van Brenk
71862ebcd6 Merge pull request #10652 from aleung/node-dgram
node.d.ts : dgram : Allow optional parameters to be omitted.
2016-08-18 10:55:14 -07:00
Leo Liang
b8e87fd530 node.d.ts : dgram : Allow option parameters to be omitted. 2016-08-17 01:35:43 +08:00
Lukas Zech
9bb6206f47 Add Buffer.swap16, Buffer.swap32 and Buffer.swap64 functions 2016-08-16 14:29:17 +02:00
Zach Bjornson
91d45c49a3 Add simplified constructor syntax for node streams (#10105)
See https://nodejs.org/api/stream.html#stream_simplified_construction for API reference.
2016-07-20 00:07:58 -07:00
Vincent Rouille
b54fdb6595 Fix nodejs StringDecoder definition (#10100) 2016-07-19 17:05:08 -07:00
Michael Huynh
6abf99dda1 Add extra static members to the Node Error class (#9618)
Defines `stackTraceLimit` and `captureStackTrace` as static members for
the Error class in Node so their usage can be recognised.
2016-06-14 00:40:55 +09:00
Gerhard Stöbich
7ae2edb6d3 Add tests 2016-06-08 09:09:49 +02:00
LongYinan
5b670ebf34 fix node fs.watch (#9446)
* fix node fs.watch

* add fs.watch test
2016-06-03 00:42:52 +09:00
jacky.chen
557f086186 Fixed the incorrect parameter type in the constructor of https.Agent (#9232) 2016-05-09 17:28:09 +09:00
Leon Yu
b8948c7009 fs.mkdtemp and fs.mkdtempSync (#9197) 2016-05-06 02:29:21 +09:00
Koki Takahashi
4f479b281c Node: Add Buffer.from() (#9125)
* Add tests about Buffer.from()

* Add definition about Buffer.from()
2016-05-01 22:50:06 +09:00
hellopao
1fa3e10e01 update cluster module for node.d.ts (#9074) 2016-04-23 23:39:14 +09:00
trevj
484e00f72f Node.js Buffer should be useable as a Uint8Array and is missing a constructor (#8919)
* make NodeBuffer extend Uint8Array

* add missing Buffer(ArrayBuffer) constructor

* add TODOs for missing Buffer methods
2016-04-12 23:20:33 +09:00
rhysd
292e56b5ac node.d.ts: Fix errors reported by 'tsc --target es6 --noImplicitAny' 2016-03-30 15:47:09 +09:00
rhysd
13bc8b8337 node.d.ts: Create tests for "vm" module 2016-03-30 14:58:30 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
John Vilk
aee0039a2d [node] Export Buffer and SlowBuffer from "buffer" module. 2016-02-04 19:40:44 -05:00
D062356
ef1741f3d6 Added missing indexOf function and constructor to buffer 2016-01-14 08:48:25 -08:00