Commit Graph

19 Commits

Author SHA1 Message Date
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
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
Steve
f281573224 node.d.ts support object type for Url.query 2014-09-27 10:51:03 +02:00
Rogier Schouten
b5acb56359 Improve Node dgram signatures. 2014-07-08 11:58:21 +02: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
Paul Loyd
1d451a05e1 node: NodeBuffer -> Buffer. Mark NodeBuffer as deprecated 2014-04-28 18:32:36 +02:00
John Purcell
325d35130f Merge branch master into listen_bug 2014-04-01 08:21:11 -04:00
John Purcell
cb01abe1b2 Return correct type from .listen() and .close(), expose .address() on http.Server 2014-03-26 14:54:22 -04:00
John Purcell
941d790d6f Update crypto.Hmac.update and crypto.Hmac.digest methods to the correct signature 2014-03-19 16:53:31 -04:00
Paul Loyd
e3b9fef277 node: fix signatures of readFile* 2014-03-17 14:55:17 +04:00
Bartvds
1c1a37c1e4 removed utf-8 BOM marker
for consistency
2014-01-24 18:51:21 +01:00
Nick Howes
073000951d Update util.inspect API.
Latest API has an options object as the second parameter
instead of separate parameters. The old API is still supported
so have added the new signature as an overload.

Updated node-tests.ts
2013-12-05 12:45:17 +00:00
Nick Howes
04ddf4ba31 Fix url.format() param type. 2013-12-03 13:20:56 +00:00
basarat
d0139df89d node : readable stream pipe can be piped further closes #1030 2013-09-10 19:32:21 +10:00
Panu Pitkämäki
bd6ddbdce2 Migrated a breaking change between Typescript 0.8 and 0.9: Syntax of external module imports now uses 'require'. 2013-08-07 15:49:36 +03:00
Andrew Gaspar
a350605002 Added test for EventEmitter class. 2013-03-31 05:26:08 -05:00
Andrew Gaspar
70fd40a1aa Added default assert definition and a second definition for writeFile. Also added a basic test file. Will be expanded more later. 2013-03-24 22:52:11 -05:00