TonyYang
90d1979cbf
Clean up fs tests and wrap in namespace
2016-09-08 11:55:57 +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
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
Ilya Mochalov
39e510415c
node: definition of the module "crypto" has been changed
2016-01-12 01:54:02 +05:00
Ilya Mochalov
c4947dc14b
node: definition of the module "tty" has been changed
2016-01-10 13:08:31 +05:00
Masahiro Wakame
2e9d5db50e
Merge pull request #7197 from chrootsu/node-events
...
node: signatures of module "events" have been changed
2015-12-23 17:15:14 +09:00
Masahiro Wakame
0e227a4716
Merge pull request #7225 from chrootsu/node-readline
...
node: signatures of module "readline" have been changed
2015-12-23 15:29:12 +09:00
Horiuchi_H
2048ff32d3
Merge pull request #7239 from rogierschouten/node-http-agent
...
http.RequestOptions.agent can also be a boolean
2015-12-22 19:14:08 +09:00
Ilya Mochalov
742aa93d86
node: signatures of module "events" have been changed
2015-12-18 01:59:54 +05:00
Rogier Schouten
1ebf010a1e
http.RequestOptions.agent can also be a boolean
...
https://nodejs.org/api/http.html#http_http_request_options_callback
2015-12-17 11:31:43 +01:00
Rogier Schouten
725408f135
Add host and port to TlsOptions
2015-12-17 11:04:10 +01:00
Ilya Mochalov
9b6a4f0c87
node: signatures of module "readline" have been changed
2015-12-16 12:16:24 +05:00
Ilya Mochalov
0eef583c76
node: signatures of module "querystring" have been changed
2015-12-10 18:37:36 +05:00
Ilya Mochalov
d2e216ec4f
node: signatures of module "os" have been changed
2015-12-05 16:37:35 +05:00
Takeshi Kurosawa
4ad9bef6cc
Add assert.deepStrictEqual and assert.notDeepStrictEqual to node.d.ts
...
[io.js 1.2.0][1] added [deepStrictEqual][2] and [notDeepStrictEqual][3] to assert.
[1]: https://github.com/nodejs/node/blob/v1.2.0/CHANGELOG.md#notable-changes
[2]: https://nodejs.org/api/assert.html#assert_assert_deepstrictequal_actual_expected_message
[3]: https://nodejs.org/api/assert.html#assert_assert_notdeepstrictequal_actual_expected_message
2015-11-22 13:25:47 +09:00
Horiuchi_H
c452e48ca2
Merge pull request #6185 from frankebersoll/master
...
Node.js: Added child_process.spawnSync
2015-10-09 16:21:15 +09:00
John Vilk
7fc487562c
Updating write* methods to return offsets, fill to return the Buffer, and making isBuffer a type guard.
2015-10-08 02:50:40 -04:00
Frank Ebersoll
49a92ea837
Node.js: Added child_process.spawnSync
2015-10-07 16:55:39 +02:00
Panu Horsmalahti
45355cd1a5
Add more fs.write interfaces.
2015-09-09 13:15:35 +03:00
Alex Wilson
17146c4455
Update node's ReadLine.setPrompt to match new API
...
Fixes #5224
2015-08-08 12:54:49 -06:00
Kyle Gretchev
0e10cf0d52
Added node.d.ts reference for CI test
2015-08-04 21:25:45 -04:00
Kyle Gretchev
52ef0043e7
Converted imports to ES6 module syntax
2015-08-04 20:47:16 -04:00
Steve Ognibene
260acf401c
Reviewed Buffer and path. Got started on fs.
2015-06-08 20:03:15 -04:00