Commit Graph

146 Commits

Author SHA1 Message Date
Masahiro Wakame
6cb03f80c4 Merge pull request #3862 from ericlu88/node
Expose execFileSync in node typing
2015-03-15 23:03:06 +09:00
Eric Lu
2a5047b298 Expose execFileSync in node typing 2015-03-13 10:22:56 -07:00
Rogier Schouten
aaa8820f26 Improved typings for http.ClientRequest, http.ClientResponse, http.request() and http.get(). 2015-03-11 15:21:37 +01:00
Masahiro Wakame
1d08e36fe3 Merge pull request #3800 from reppners/node
+ added missing typings to node path module including tests
2015-03-05 23:20:29 +09:00
Masahiro Wakame
168d74e7c4 Merge pull request #3787 from rogierschouten/node-http-agent
Add http.Agent to node.js typings
2015-03-05 22:21:29 +09:00
Masahiro Wakame
99309c89eb Merge pull request #3737 from kanreisa/master
Fix some incorrect types of socket.io.d.ts / node.d.ts.
2015-03-05 21:50:46 +09:00
reppners
6bfdd921c1 + added missing typings to node path module including tests 2015-03-05 11:19:07 +01:00
Rogier Schouten
369935805c Add http.Agent to node.js typings 2015-03-04 13:57:57 +01:00
Yuki KAN
819aa8bc55 node.d.ts: child_process#send() 2nd argument is optional 2015-02-28 09:34:04 +09:00
nojaf
cc0422bd72 Removed duplicate member 2015-02-27 07:54:52 +01:00
nojaf
79509620fd Added execSync to child_process 2015-02-27 07:51:31 +01:00
atrakeur
a5c37c4ea3 Corrected Nodejs querystring (un)escape definitions 2015-02-13 23:09:36 +01:00
vvakame
293a11e1da fix line feed char 2015-02-10 08:45:33 +09:00
vvakame
a40f8fc044 bump node.js version 2015-02-10 00:07:01 +09:00
Masahiro Wakame
6eff3558be Merge pull request #3226 from mikaturunen/master
Fixed the 'os' modules tmpdir function declaration.
2014-11-26 20:08:05 +09:00
Mika Turunen
6f12067113 'os' modules tmpdir function name fixed for 0.10.1 definitions. 2014-11-25 21:25:28 +02:00
Mika Turunen
6c6a5cce6d Fixed the 'os' modules tmpdir function declaration. 2014-11-25 21:07:31 +02:00
Biswarup Pal
1e9c0dbf35 Fixed the callback function parameter type in https.request and https.get 2014-11-25 15:36:26 +05:30
Paulo Cesar
f750d0eb0a child_process parameters are optional 2014-11-19 16:50:59 -02:00
John Vilk
f5f114f1e6 Adding fs.(Read|Write)Stream.close().
It's undocumented, but it is present in the source code and programs rely on it.
2014-11-12 13:07:51 -05:00
heroboy
f8cc8f8724 add nodejs missing Socket.unref() and Socket.ref()
see http://nodejs.org/dist/v0.10.1/docs/api/net.html#net_socket_unref
2014-10-10 14:35:57 +08:00
Masahiro Wakame
68ea462692 Merge pull request #2877 from Jxck/master
add node util.js interface based on v0.11
2014-10-06 14:56:48 +09:00
John Jeffery
85d4788a3e Add buffer methods to crypto.Cipher and Decipher
See http://nodejs.org/api/crypto.html#crypto_class_cipher
and http://nodejs.org/api/crypto.html#crypto_class_decipher

for details.
2014-10-05 09:45:24 +10:00
John Jeffery
0eeb638c89 Fix bug: crypto.Decipher#update() returns string, not void 2014-10-05 09:27:32 +10:00
Jxck
332390e693 fixup util.isArray() & require("url").Url.query 2014-10-03 20:12:26 +09:00
Steve
f281573224 node.d.ts support object type for Url.query 2014-09-27 10:51:03 +02:00
Jxck
4bc51ca5b1 add node-0.11.d.ts updates util module definition 2014-09-25 18:39:30 +09:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Horiuchi_H
a38d60a3dd add stream.Stream type 2014-08-22 12:37:27 +09:00
Horiuchi_H
63d0061afb modify method signature 2014-08-21 20:43:33 +09:00
Bart van der Schoor
1d60391f76 node.d.ts : pass Uint8Array to Buffer constructor
closes #2499
2014-07-22 21:45:40 +02:00
Rogier Schouten
b5acb56359 Improve Node dgram signatures. 2014-07-08 11:58:21 +02:00
Basarat Ali Syed
ca0287488c Merge pull request #2309 from johnnycrab/master
node.js crypto: Changed HMAC and Hash params to `any`
2014-07-02 23:09:00 +10:00
Rogier Schouten
c64855dc68 CI build fix 2014-06-25 14:10:15 +02:00
Rogier Schouten
c7f95e49fa Add missing callback parameter to dgram.Socket.bind() and update dgram.Socket.send() 2014-06-25 14:04:13 +02:00
Jonathan Pirnay
14af5ff768 Fix: Substitute any with Buffer 2014-06-19 12:17:48 +02:00
Jonathan Pirnay
ff66b8c00a Changes agreed on in
https://github.com/borisyankov/DefinitelyTyped/pull/2309/files#r13778987

moved `createDecipher` function out of the cipher-interface
2014-06-19 12:15:28 +02:00
Jonathan Pirnay
4a5d9c48f0 Merge remote-tracking branch 'upstream/master' 2014-06-19 12:03:54 +02:00
Bart van der Schoor
3d64ea7395 added missing urls to some authors
fixed node urls
2014-06-18 23:31:35 +02:00
Bart van der Schoor
1d345f6c14 cleaned-up headers 2014-06-18 23:31:11 +02:00
Bart van der Schoor
7a6925d958 node fs.utimes methods also accept Date's 2014-06-16 10:07:54 +02:00
Jonathan Pirnay
b07a83f244 Changed HMAC and Hash params to any, as Buffers are also allowed / returned. 2014-06-09 22:39:35 +02:00
Horiuchi_H
a176899858 add semicolon 2014-06-05 15:54:40 +09:00
basarat
dd5499cc0d feat(nodejs) added stronger typing for http status codes 2014-05-23 20:08:56 +10:00
Colin Snover
1789164e95 Add test of ClientRequest#setNoDelay interface
Uses an invalid address as request address to avoid actual HTTP requests (since it is not necessary to make a real request to test this interface).
2014-05-16 12:46:14 -05:00
Colin Snover
9f5a5ab394 Fix bad signature of ClientRequest#setNoDelay
`noDelay` argument should be boolean, not Function
2014-05-16 12:25:08 -05:00
Jonathan Pirnay
b2866f5402 [bugfix] Moved INSPECT_MAX_BYTES to the buffer module.
From the [docs](http://nodejs.org/api/buffer.html#buffer_buffer_inspect_max_bytes):

"Note that this is a property on the buffer module returned by `require('buffer')`, not on the Buffer global, or a buffer instance."
2014-05-08 16:21:02 +02:00
Jonathan Pirnay
34ec78f7a3 Added toJSON() and INSPECT_MAX_BYTES to NodeBuffer interface
See docs: http://nodejs.org/api/buffer.html#buffer_buffer_inspect_max_bytes

Added to the NodeBuffer interface for now (marked as deprecated), as the interface Buffer extends NodeBuffer
2014-05-08 15:46:30 +02:00
Paul Loyd
25a3c76b44 node: move Node* to NodeJS module 2014-04-28 18:32:37 +02:00
Paul Loyd
c52e7bdf63 node: now modules depend on stream.* when possible 2014-04-28 18:32:37 +02:00