Commit Graph

19 Commits

Author SHA1 Message Date
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-Sanders
cd62ed775d Add 'message' to process.on (#17137)
It was omitted by mistake in #16705
2017-06-12 16:36:37 -07:00
Boris Cherny
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 Thieu
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 Gura
2c2b9e42c8 [node] Added missing on net.Socket (#16810) 2017-05-31 22:59:11 -07:00
Arthur Ozga
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 Singh
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
ikokostya
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
ikokostya
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
Andy
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