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
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
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
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
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
Paul Loyd
d100d104c6
node: now modules depend on events.EventEmitter, not NodeEventEmitter
2014-04-28 18:32:36 +02:00
Paul Loyd
c40cc2df89
node: rename ErrnoException to NodeErrnoException
2014-04-28 18:32:36 +02:00
Paul Loyd
1d451a05e1
node: NodeBuffer -> Buffer. Mark NodeBuffer as deprecated
2014-04-28 18:32:36 +02:00
Robert Knight
1c5ed81577
Export Node functions for creating decipher correctly
...
* createDecipher() and createDecipheriv() are functions
in the crypto module, not methods of the Cipher interface.
* Add pbkdf2Sync() decl
2014-04-18 21:18:09 +01:00
John Purcell
325d35130f
Merge branch master into listen_bug
2014-04-01 08:21:11 -04:00
Masahiro Wakame
a4ceaf4d42
Merge pull request #1880 from jpmoodlerooms/node_crypto
...
Update crypto.Hmac.update and crypto.Hmac.digest methods to the correct signature
2014-04-01 10:27:08 +09:00
Bart van der Schoor
2fdba9cbbe
add hash/path to both Url & UrlOptions
2014-03-31 21:21:42 +02:00
Bart van der Schoor
12766b5357
added hash & path to node's UrlOptions
2014-03-31 18:22:26 +02:00
Bart van der Schoor
d70401ed4d
fixed realpathsync again
2014-03-31 17:33:29 +02:00
Bart van der Schoor
c45713047f
Revert "Merge pull request #1931 from yortus/node-express-referenceable-types"
...
This reverts commit 0bfcda81b4 , reversing
changes made to 2c52e529f9 .
2014-03-31 17:31:31 +02:00
vvakame
2aabba9905
Improvement node.d.ts typings
2014-04-01 00:04:35 +09:00
Troy Gerwien
cbd13655e5
add hash to NodeJs.Url.Url
2014-03-31 22:20:09 +08:00
yortus
69bd32f4c1
pure internal modules + external shim
...
- The top-level modules Express and NodeJs are now 'pure' ie
non-instantiated, due to removal of all vars, functions, and classes
- Where the above change breaks existing typings which access types via
external module references, a shim has been added to make this continue
working unchanged
- A single namespace _ExternalShim_ is added but this can be reused
across all typings that need shimming
2014-03-31 15:18:53 +08:00
yortus
6a320ef211
EventEmitter can be new()d
2014-03-31 11:10:37 +08:00
Troy Gerwien
c2b67de6aa
Fixed assert, added comments, rechecked all
...
- Added comments explaining the rationale/method of exposing into both
'type' and 'member' declaration spaces (see TLR 2.3) with example
- Made the pattern consistent in both definition files
- Fixed "assert" by adding 'export function Assert...'
- Triple-checked with DT tests and additional tests
2014-03-30 21:56:50 +08:00
Troy Gerwien
6f472b8f09
WIP: all passing (bar assert) but needs more...
...
Need to remove superfluous typings - eg NodeJs.QueryString.escape should
not be valid
2014-03-30 10:05:57 +08:00
Troy Gerwien
368266b684
var-interface-module pattern now consistent
...
Everything (in both node and express) now follows the pattern:
```
declare module "external-name" {
import _ = InternalName.InnerName;
export = _;
}
declare module InternalName {
export var InnerName: InnerName;
export interface InnerName {
// functions and vars in here
}
export module InnerName {
// Must be non-instantiated - so only interfaces and modules in here
}
}
```
2014-03-29 21:21:41 +08:00
Troy Gerwien
a7829a1fd9
referenceable types throughout node and express
...
All node modules and classes can be referenced by type name. External
module support remains unchanged, but now static type information is
available for all node modules and types without needing to go through
the external module definitions.
Similar for express.
2014-03-28 22:32:20 +08:00