Commit Graph

390 Commits

Author SHA1 Message Date
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
50c18f1198 Clean up dgram tests and wrap in namespace 2016-09-08 12:53:47 +08:00
TonyYang
3c46cd861a Typo word for util_tests 2016-09-08 12:47:44 +08:00
TonyYang
4e6e9396e9 Typo word for util_tests 2016-09-08 12:47:13 +08:00
TonyYang
12f5f37cb2 Clean up util tests and wrap in namespace 2016-09-08 12:41:07 +08:00
TonyYang
9567ccc5e3 Clean up util tests and wrap in namespace 2016-09-08 12:38:02 +08:00
TonyYang
6afd61e5e1 Correct indent of comments of path testcases 2016-09-08 12:29:07 +08:00
TonyYang
39ff73a28b Correct indent of comments of path testcases 2016-09-08 12:25:14 +08:00
TonyYang
4429e003ce Clean up childProcess tests and wrap in namespace 2016-09-08 12:21:13 +08:00
TonyYang
ce5cb27b43 Clean up childProcess tests and wrap in namespace 2016-09-08 12:18:51 +08:00
TonyYang
02afdc49e5 Clean up fs tests and wrap in namespace 2016-09-08 12:08:36 +08:00
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
hriss95
e58c63689e Node.d.ts: Update definitions for module "crypto" (#11026) 2016-09-07 19:36:12 +09:00
hriss95
ef2754d9de Node.d.ts: Update "constants" module (#11022) 2016-09-07 19:34:00 +09:00
IIIMADDINIII
f15deaa4ee Completed NodeBuffer.Compare and Process.nextTick definition (#11008) 2016-09-07 19:24:51 +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
Masahiro Wakame
5bf030ac72 suppress error about node/node-tests.ts with --target es5 (#11056) 2016-09-07 00:20:08 +09:00
hriss95
8caf4a5724 Node.d.ts: Update definitions for module "dns" (#10990) 2016-09-07 00:19:55 +09:00
hriss95
15c0df84ce Node.d.ts: Update definitions for module "util" (#10989) 2016-09-07 00:19:06 +09:00
hriss95
3be6a88598 Node.d.ts: Update definitions for module "fs" (#10987) 2016-09-07 00:12:01 +09:00
hriss95
2bf1d27063 Node.d.ts: Update definitions for module "os" (#10986) 2016-09-07 00:11:18 +09:00
hriss95
700d3aa998 Node.d.ts: Update definitions for module "dgram" (#10982) 2016-09-07 00:05:45 +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
Alejandro Sánchez
2966b1b8ba Fix #10919 - Added IterableIterator forward declaration to enable compilation on targets lower than es2015 (#10943)
* Fix #10919

* Fix IterableIterator<T> is not an Array type error for test when targetting lower than es2015

* Revert "Fix IterableIterator<T> is not an Array type error for test when targetting lower than es2015"

This reverts commit ce1108c87574dca0a47801bf4e7cf818aafae1b4.
2016-09-06 23:31:02 +09:00
hriss95
6013c413c2 Node.d.ts: Update definitions for module "domain" (#10965)
* Node.d.ts: Update definitions for module "domain"

* Node.d.ts: Update definitions for module "domain"
2016-09-06 23:18:35 +09:00
hriss95
6866455f51 Node.d.ts: Introduce module "timers" (#10964) 2016-09-06 23:17:33 +09:00
hriss95
ef8a45b6e5 Node.d.ts: Update definitions for module "repl" (#10958) 2016-09-06 23:13:49 +09:00
hriss95
76a497660f Node.d.ts: Update definitions for module "http" (#10954) 2016-09-06 23:10:30 +09:00
kfickel
49870cb1d4 Fixed node.js-crypto-typings Verify.verify and Signer.sign (#10930)
source for Verify
https://nodejs.org/dist/latest-v6.x/docs/api/crypto.html#crypto_verifier_verify_object_signature_signature_format
source for Signer
https://nodejs.org/dist/latest-v6.x/docs/api/crypto.html#crypto_sign_sign_private_key_output_format
2016-09-06 22:44:37 +09:00
Burt Harris
723e5c7a2d Merge branch 'master' into NodeJS.EventEmitter.6 2016-08-30 19:11:19 -07:00
Burt Harris
69eaae71c0 Extend from NodeJS.EventEmitter, not implement.
Corrects errors when new methods added to EventEmitter.

Since EventEmitter is really a class with behavior, it should be extended, rather
than implemented as an interface.   This enables new behavior to be inherited, e.g.
EventListener.prependListener() was added in Node 6.
2016-08-30 19:02:01 -07:00
Alejandro Sánchez
67827a1e39 Added entries, includes, keys and values to Buffer (#10809) 2016-08-30 23:19:56 +09:00
poseidonCore
75cf3ac5ed Worker.send and ChildProcess.send should return Booleans (#10866)
https://nodejs.org/dist/latest-v6.x/docs/api/all.html#child_process_child_send_message_sendhandle_options_callback
https://nodejs.org/dist/latest-v6.x/docs/api/all.html#cluster_worker_send_message_sendhandle_callback
2016-08-30 22:10:55 +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
Burt Harris
c3e56c6618 Back-out whitespace change 2016-08-29 12:29:04 -07:00
Burt Harris
14e42e38d5 Initial fix for #10815, but...
Adding the new methods to the interface causes test failures in a number of other modules...
2016-08-29 12:12:13 -07:00
Burt Harris
92604e3645 Test case for Issue #10815:
NodeJS.EventEmitter extended in Node 6.
2016-08-29 12:05:58 -07:00
TonyYang
c3d4297431 Add module "process" for Node v4 2016-08-27 00:43:42 +08:00
Ron Buckton
d8fbf8375f Merge pull request #10810 from hriss95/module-process
Add module 'process' to node.d.ts
2016-08-26 09:34:44 -07:00
Hristian Hristov
026d566346 Node.d.ts: Change definition for module process to be consistent with other declarations 2016-08-26 13:04:25 +01: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
Hristian Hristov
2ebcbf7447 Add module 'process' 2016-08-24 16:13:49 +01:00