@types/node 6.0.115 → 6.14.0
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/LICENSE +21 -21
- node v6/README.md +2 -2
- node v6/index.d.ts +17 -14
- node v6/package.json +6 -4
node v6/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
node v6/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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: Tue, 09 Oct 2018 19:01:50 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
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript <
|
|
16
|
+
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Wilco Bakker <https://github.com/WilcoBakker>, Thomas Bouldin <https://github.com/inlined>, Sebastian Silbermann <https://github.com/eps1lon>, Alorel <https://github.com/Alorel>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Sander Koenders <https://github.com/Archcry>.
|
node v6/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Type definitions for Node.js
|
|
1
|
+
// Type definitions for Node.js 6.14
|
|
2
2
|
// Project: http://nodejs.org/
|
|
3
|
-
// Definitions by: Microsoft TypeScript <
|
|
4
|
-
// DefinitelyTyped <https://github.com/DefinitelyTyped
|
|
3
|
+
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
|
+
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
5
|
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
6
6
|
// Thomas Bouldin <https://github.com/inlined>
|
|
7
7
|
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
@@ -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;
|
|
@@ -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,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.14.0",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
7
7
|
{
|
|
8
8
|
"name": "Microsoft TypeScript",
|
|
9
|
-
"url": "
|
|
9
|
+
"url": "https://github.com/Microsoft",
|
|
10
|
+
"githubUsername": "Microsoft"
|
|
10
11
|
},
|
|
11
12
|
{
|
|
12
13
|
"name": "DefinitelyTyped",
|
|
13
|
-
"url": "https://github.com/DefinitelyTyped
|
|
14
|
+
"url": "https://github.com/DefinitelyTyped",
|
|
15
|
+
"githubUsername": "DefinitelyTyped"
|
|
14
16
|
},
|
|
15
17
|
{
|
|
16
18
|
"name": "Wilco Bakker",
|
|
@@ -50,6 +52,6 @@
|
|
|
50
52
|
},
|
|
51
53
|
"scripts": {},
|
|
52
54
|
"dependencies": {},
|
|
53
|
-
"typesPublisherContentHash": "
|
|
55
|
+
"typesPublisherContentHash": "bf144b4734f754633de20a95274029fdb47a3a1f7b46e8f9baeeb42d46053b83",
|
|
54
56
|
"typeScriptVersion": "2.0"
|
|
55
57
|
}
|