@types/node 6.0.114 → 6.0.118
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 v6/README.md +1 -1
- node v6/index.d.ts +15 -12
- node v6/package.json +2 -2
node v6/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://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v6
|
|
9
9
|
|
|
10
10
|
Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 03 Oct 2018 18:58:39 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
14
|
|
node v6/index.d.ts
CHANGED
|
@@ -776,6 +776,7 @@ declare module "http" {
|
|
|
776
776
|
'transfer-encoding'?: string;
|
|
777
777
|
'tk'?: string;
|
|
778
778
|
'upgrade'?: string;
|
|
779
|
+
'user-agent'?: string;
|
|
779
780
|
'vary'?: string;
|
|
780
781
|
'via'?: string;
|
|
781
782
|
'warning'?: string;
|
|
@@ -1742,7 +1743,7 @@ declare module "child_process" {
|
|
|
1742
1743
|
stdin: stream.Writable;
|
|
1743
1744
|
stdout: stream.Readable;
|
|
1744
1745
|
stderr: stream.Readable;
|
|
1745
|
-
stdio:
|
|
1746
|
+
stdio: StdioStreams;
|
|
1746
1747
|
killed: boolean;
|
|
1747
1748
|
pid: number;
|
|
1748
1749
|
kill(signal?: string): void;
|
|
@@ -1804,6 +1805,12 @@ declare module "child_process" {
|
|
|
1804
1805
|
prependOnceListener(event: "message", listener: (message: any, sendHandle: net.Socket | net.Server) => void): this;
|
|
1805
1806
|
}
|
|
1806
1807
|
|
|
1808
|
+
export interface StdioStreams extends ReadonlyArray<stream.Readable|stream.Writable> {
|
|
1809
|
+
0: stream.Writable; // stdin
|
|
1810
|
+
1: stream.Readable; // stdout
|
|
1811
|
+
2: stream.Readable; // stderr
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1807
1814
|
export interface SpawnOptions {
|
|
1808
1815
|
cwd?: string;
|
|
1809
1816
|
env?: any;
|
|
@@ -2002,7 +2009,7 @@ declare module "url" {
|
|
|
2002
2009
|
append(name: string, value: string): void;
|
|
2003
2010
|
delete(name: string): void;
|
|
2004
2011
|
entries(): Iterator<string[]>;
|
|
2005
|
-
forEach(callback: (value: string, name: string) => void): void;
|
|
2012
|
+
forEach(callback: (value: string, name: string, searchParams: this) => void): void;
|
|
2006
2013
|
get(name: string): string | null;
|
|
2007
2014
|
getAll(name: string): string[];
|
|
2008
2015
|
has(name: string): boolean;
|
|
@@ -3944,30 +3951,26 @@ declare module "assert" {
|
|
|
3944
3951
|
|
|
3945
3952
|
constructor(options?: {
|
|
3946
3953
|
message?: string; actual?: any; expected?: any;
|
|
3947
|
-
operator?: string;
|
|
3954
|
+
operator?: string; stackStartFn?: Function
|
|
3948
3955
|
});
|
|
3949
3956
|
}
|
|
3950
3957
|
|
|
3951
|
-
export function fail(
|
|
3958
|
+
export function fail(message?: string): never;
|
|
3959
|
+
export function fail(actual: any, expected: any, message?: string, operator?: string, stackStartFn?: Function): never;
|
|
3952
3960
|
export function ok(value: any, message?: string): void;
|
|
3953
3961
|
export function equal(actual: any, expected: any, message?: string): void;
|
|
3954
3962
|
export function notEqual(actual: any, expected: any, message?: string): void;
|
|
3955
3963
|
export function deepEqual(actual: any, expected: any, message?: string): void;
|
|
3956
|
-
export function notDeepEqual(
|
|
3964
|
+
export function notDeepEqual(actual: any, expected: any, message?: string): void;
|
|
3957
3965
|
export function strictEqual(actual: any, expected: any, message?: string): void;
|
|
3958
3966
|
export function notStrictEqual(actual: any, expected: any, message?: string): void;
|
|
3959
3967
|
export function deepStrictEqual(actual: any, expected: any, message?: string): void;
|
|
3960
3968
|
export function notDeepStrictEqual(actual: any, expected: any, message?: string): void;
|
|
3961
3969
|
|
|
3962
3970
|
export function throws(block: Function, message?: string): void;
|
|
3963
|
-
export function throws(block: Function, error: Function, message?: string): void;
|
|
3964
|
-
export function throws(block: Function, error: RegExp, message?: string): void;
|
|
3965
|
-
export function throws(block: Function, error: (err: any) => boolean, message?: string): void;
|
|
3966
|
-
|
|
3971
|
+
export function throws(block: Function, error: RegExp | Function, message?: string): void;
|
|
3967
3972
|
export function doesNotThrow(block: Function, message?: string): void;
|
|
3968
|
-
export function doesNotThrow(block: Function, error: Function, message?: string): void;
|
|
3969
|
-
export function doesNotThrow(block: Function, error: RegExp, message?: string): void;
|
|
3970
|
-
export function doesNotThrow(block: Function, error: (err: any) => boolean, message?: string): void;
|
|
3973
|
+
export function doesNotThrow(block: Function, error: RegExp | Function, message?: string): void;
|
|
3971
3974
|
|
|
3972
3975
|
export function ifError(value: any): void;
|
|
3973
3976
|
}
|
node v6/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.118",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
},
|
|
51
51
|
"scripts": {},
|
|
52
52
|
"dependencies": {},
|
|
53
|
-
"typesPublisherContentHash": "
|
|
53
|
+
"typesPublisherContentHash": "5339102c5f5bdb96d9d90f08c37c7bb652dd383c03995a9cea154d7b425af030",
|
|
54
54
|
"typeScriptVersion": "2.0"
|
|
55
55
|
}
|