@types/node 4.2.19 → 4.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node v4/README.md +1 -1
- node v4/index.d.ts +9 -1
- node v4/package.json +2 -2
node v4/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v4
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 24 Aug 2017 17:15:34 GMT
|
|
12
12
|
* Dependencies: events, net, stream, child_process, tls, http, crypto
|
|
13
13
|
* Global values: Buffer, SlowBuffer, ___dirname, ___filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node v4/index.d.ts
CHANGED
|
@@ -745,7 +745,7 @@ declare module "cluster" {
|
|
|
745
745
|
id: string;
|
|
746
746
|
process: child.ChildProcess;
|
|
747
747
|
suicide: boolean;
|
|
748
|
-
send(message: any, sendHandle?: any): void;
|
|
748
|
+
send(message: any, sendHandle?: any, callback?: (error: Error) => void): void;
|
|
749
749
|
kill(signal?: string): void;
|
|
750
750
|
destroy(signal?: string): void;
|
|
751
751
|
disconnect(): void;
|
|
@@ -803,18 +803,25 @@ declare module "zlib" {
|
|
|
803
803
|
export function createUnzip(options?: ZlibOptions): Unzip;
|
|
804
804
|
|
|
805
805
|
export function deflate(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void;
|
|
806
|
+
export function deflate(buf: Buffer | string, options: ZlibOptions, callback: (error: Error, result: Buffer) => void): void;
|
|
806
807
|
export function deflateSync(buf: Buffer | string, options?: ZlibOptions): Buffer;
|
|
807
808
|
export function deflateRaw(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void;
|
|
809
|
+
export function deflateRaw(buf: Buffer | string, options: ZlibOptions, callback: (error: Error, result: Buffer) => void): void;
|
|
808
810
|
export function deflateRawSync(buf: Buffer | string, options?: ZlibOptions): Buffer;
|
|
809
811
|
export function gzip(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void;
|
|
812
|
+
export function gzip(buf: Buffer | string, options: ZlibOptions, callback: (error: Error, result: Buffer) => void): void;
|
|
810
813
|
export function gzipSync(buf: Buffer | string, options?: ZlibOptions): Buffer;
|
|
811
814
|
export function gunzip(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void;
|
|
815
|
+
export function gunzip(buf: Buffer | string, options: ZlibOptions, callback: (error: Error, result: Buffer) => void): void;
|
|
812
816
|
export function gunzipSync(buf: Buffer | string, options?: ZlibOptions): Buffer;
|
|
813
817
|
export function inflate(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void;
|
|
818
|
+
export function inflate(buf: Buffer | string, options: ZlibOptions, callback: (error: Error, result: Buffer) => void): void;
|
|
814
819
|
export function inflateSync(buf: Buffer | string, options?: ZlibOptions): Buffer;
|
|
815
820
|
export function inflateRaw(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void;
|
|
821
|
+
export function inflateRaw(buf: Buffer | string, options: ZlibOptions, callback: (error: Error, result: Buffer) => void): void;
|
|
816
822
|
export function inflateRawSync(buf: Buffer | string, options?: ZlibOptions): Buffer;
|
|
817
823
|
export function unzip(buf: Buffer | string, callback: (error: Error, result: Buffer) => void): void;
|
|
824
|
+
export function unzip(buf: Buffer | string, options: ZlibOptions, callback: (error: Error, result: Buffer) => void): void;
|
|
818
825
|
export function unzipSync(buf: Buffer | string, options?: ZlibOptions): Buffer;
|
|
819
826
|
|
|
820
827
|
// Constants
|
|
@@ -1062,6 +1069,7 @@ declare module "child_process" {
|
|
|
1062
1069
|
stdout: stream.Readable;
|
|
1063
1070
|
stderr: stream.Readable;
|
|
1064
1071
|
stdio: [stream.Writable, stream.Readable, stream.Readable];
|
|
1072
|
+
killed: boolean;
|
|
1065
1073
|
pid: number;
|
|
1066
1074
|
kill(signal?: string): void;
|
|
1067
1075
|
send(message: any, sendHandle?: any): void;
|
node v4/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.20",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {},
|
|
22
22
|
"dependencies": {},
|
|
23
|
-
"typesPublisherContentHash": "
|
|
23
|
+
"typesPublisherContentHash": "c5013424cf5ea61938b8e859b034463c6409aea68f39da29bd8faa4061805449",
|
|
24
24
|
"typeScriptVersion": "2.0"
|
|
25
25
|
}
|