Commit Graph
28 Commits
Author SHA1 Message Date
Paul van BrenkandGitHub 9579267a28 Merge pull request #17564 from Flarna/node_async_hooks
[node] Add async_hooks module
2017-06-29 10:54:22 -07:00
Paul van BrenkandGitHub 4d12d79360 Merge pull request #17559 from brianjleeofcl/master
[node] Add missing properties in util.promisify and util.inspect
2017-06-28 11:42:05 -07:00
Flarna 743175f9f2 Merge remote-tracking branch 'upstream/master' into node_async_hooks 2017-06-28 20:39:44 +02:00
Paul van BrenkandGitHub fca29bc6e7 Merge pull request #17562 from kimushu/fix-writefilesync
Add fs.writeFile(Sync) / fs.appendFile(Sync) overloads and tests
2017-06-28 11:22:18 -07:00
kimu_shu 1b5e242876 Add overloads for writeFile, appendFile and appendFileSync 2017-06-28 21:55:08 +09:00
Flarna 0d8b5f7688 [node] Add async_hooks module
see https://nodejs.org/dist/latest-v8.x/docs/api/async_hooks.html
2017-06-28 10:30:47 +02:00
kimu_shu 1205f064bd Add fs.writeFileSync overloads and tests 2017-06-28 11:58:50 +09:00
Brian Lee a70a977fe4 Add additional tests 2017-06-27 17:22:48 -07:00
Sebastien PUECH 825083d238 Fixed the bind method for UDP. 2017-06-22 16:57:50 +02:00
Andy Hanson 96545154cc bittorrent-protocol: Use same default event handler as stream.Readable 2017-06-20 10:26:49 -07:00
Flarna f743880056 Merge remote-tracking branch 'upstream/master' into node_process_signals 2017-06-20 01:10:26 +02:00
Flarna 74fd1f601d - Added dedicated types for listeners to avoid unneeded copy/paste.
- Added overloads for listen() to cover issue discussed in latest comments of #16705
2017-06-20 01:01:48 +02:00
Nathan Shively-Sanders 4874667de9 Fix primitive weak type errors
These weak type errors were not caught in TS 2.4 RC. The final TS 2.4
will catch weak type errors with primitives, so this PR fixes those
now-caught errors.
2017-06-15 11:46:46 -07:00
Flarna 5686653759 * remove catch-all variants for on/once/... in Process
* add "newListener" | "removeListener" variants
* correct emit() functions for "cluster"
* add some tests
2017-06-13 22:08:10 +02:00
Nathan Shively-SandersandAndy cd62ed775d Add 'message' to process.on (#17137)
It was omitted by mistake in #16705
2017-06-12 16:36:37 -07:00
Boris ChernyandAndy 4b35f5c6d1 Node: Update and add missing options for util#inspect (#16804)
* inspect depth should be nullable

* add showProxy, maxArrayLength, and breakLength options for util#inspect
2017-06-02 09:25:49 -07:00
Leonard ThieuandMohamed Hegazy 3f95ea32d7 [node] Narrow down type that can be passed to url.format(). (#16850)
* Narrow down type that can be passed to url.format().

* Add format(URL).

* [node] Fix build error.
universal-analytics package has invalid tslint.json.

* [node] Fix build error.
universal-analytics package has invalid version number.
2017-06-01 12:05:57 -07:00
Matus GuraandMohamed Hegazy 2c2b9e42c8 [node] Added missing on net.Socket (#16810) 2017-05-31 22:59:11 -07:00
Arthur OzgaandGitHub f4aad91a85 Merge pull request #16419 from Flarna/node_crypto_randomfill
[node] Add crypto.randomFillSync() and crypto.randomFill()
2017-05-19 16:59:54 -07:00
Flarna 4abd596e3c [node] Add more constructor options to url.URLSearchParams 2017-05-10 13:09:25 +02:00
Flarna 97ba49c9d1 Add crypto.randomFillSync() and crypto.randomFill() 2017-05-09 17:56:56 +02:00
Parambir SinghandMohamed Hegazy 67b6964441 Add a few missing type definitions for node.js zlib module (#16311)
* Update index.d.ts

Add overloaded methods for zlib module that take a ZlibOptions parameter along with a callback.

* Add tests for new methods added to node’s zlib module definition.
2017-05-04 17:44:38 -07:00
ikokostyaandMohamed Hegazy 65989c0d61 @types/node: update dns.resolve* declarations (#16320)
* @types/node: update dns.resolve* declarations

Fixes: #11151

* review fixes
2017-05-04 17:44:11 -07:00
ikokostyaandMohamed Hegazy 90cd78deeb @types/node: fix dns.lookup() definitions (#15900)
* @types/node: fix dns.lookup() definitions

* fix optional family argument
2017-05-03 12:09:15 -07:00
kadler15 fd3da9791a Align test order 2017-03-25 11:14:49 -07:00
kadler15 330ccde014 Reverse signals and errno in node os.constants 2017-03-25 11:10:13 -07:00
AndyandGitHub 508b2e7869 node: Change "disconnet" to "disconnect" (#15375) 2017-03-24 16:43:33 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00