@types/node 8.10.56 → 8.10.60
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 v8 → node v8.10}/LICENSE +21 -21
- node v8.10/README.md +16 -0
- {node v8 → node v8.10}/base.d.ts +50 -2
- {node v8 → node v8.10}/index.d.ts +1 -0
- {node v8 → node v8.10}/inspector.d.ts +0 -0
- {node v8 → node v8.10}/package.json +9 -4
- {node v8 → node v8.10}/ts3.2/index.d.ts +0 -0
- node v8/README.md +0 -16
{node v8 → node v8.10}/LICENSE
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
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.
|
|
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 v8.10/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Installation
|
|
2
|
+
> `npm install --save @types/node`
|
|
3
|
+
|
|
4
|
+
# Summary
|
|
5
|
+
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
6
|
+
|
|
7
|
+
# Details
|
|
8
|
+
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v8.
|
|
9
|
+
|
|
10
|
+
### Additional Details
|
|
11
|
+
* Last updated: Mon, 13 Apr 2020 18:57:47 GMT
|
|
12
|
+
* Dependencies: none
|
|
13
|
+
* Global values: `Buffer`, `NodeJS`, `SlowBuffer`, `Symbol`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
|
+
|
|
15
|
+
# Credits
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Parambir Singh](https://github.com/parambirs), [Christian Vaagland Tellnes](https://github.com/tellnes), [Wilco Bakker](https://github.com/WilcoBakker), [Nicolas Voigt](https://github.com/octo-sniffle), [Chigozirim C.](https://github.com/smac89), [Flarna](https://github.com/Flarna), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [wwwy3y3](https://github.com/wwwy3y3), [Deividas Bakanas](https://github.com/DeividasBakanas), [Kelvin Jin](https://github.com/kjin), [Alvis HT Tang](https://github.com/alvis), [Sebastian Silbermann](https://github.com/eps1lon), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Alberto Schiabel](https://github.com/jkomyno), [Huw](https://github.com/hoo29), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Bruno Scheufler](https://github.com/brunoscheufler), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Lishude](https://github.com/islishude), [Andrew Makarov](https://github.com/r3nya), [Jordi Oliveras Rovira](https://github.com/j-oliveras), and [Thanik Bhongbhibhat](https://github.com/bhongy).
|
{node v8 → node v8.10}/base.d.ts
RENAMED
|
@@ -1600,6 +1600,7 @@ declare module "os" {
|
|
|
1600
1600
|
export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: any, homedir: string };
|
|
1601
1601
|
export var constants: {
|
|
1602
1602
|
UV_UDP_REUSEADDR: number,
|
|
1603
|
+
// signals: { [key in NodeJS.Signals]: number; }; @todo: change after migration to typescript 2.1
|
|
1603
1604
|
signals: {
|
|
1604
1605
|
SIGHUP: number;
|
|
1605
1606
|
SIGINT: number;
|
|
@@ -1622,6 +1623,7 @@ declare module "os" {
|
|
|
1622
1623
|
SIGCONT: number;
|
|
1623
1624
|
SIGSTOP: number;
|
|
1624
1625
|
SIGTSTP: number;
|
|
1626
|
+
SIGBREAK: number;
|
|
1625
1627
|
SIGTTIN: number;
|
|
1626
1628
|
SIGTTOU: number;
|
|
1627
1629
|
SIGURG: number;
|
|
@@ -1632,7 +1634,9 @@ declare module "os" {
|
|
|
1632
1634
|
SIGWINCH: number;
|
|
1633
1635
|
SIGIO: number;
|
|
1634
1636
|
SIGPOLL: number;
|
|
1637
|
+
SIGLOST: number;
|
|
1635
1638
|
SIGPWR: number;
|
|
1639
|
+
SIGINFO: number;
|
|
1636
1640
|
SIGSYS: number;
|
|
1637
1641
|
SIGUNUSED: number;
|
|
1638
1642
|
},
|
|
@@ -2002,6 +2006,7 @@ declare module "child_process" {
|
|
|
2002
2006
|
stdin: stream.Writable;
|
|
2003
2007
|
stdout: stream.Readable;
|
|
2004
2008
|
stderr: stream.Readable;
|
|
2009
|
+
readonly channel?: stream.Pipe | null;
|
|
2005
2010
|
stdio: StdioStreams;
|
|
2006
2011
|
killed: boolean;
|
|
2007
2012
|
pid: number;
|
|
@@ -3469,7 +3474,7 @@ declare module "fs" {
|
|
|
3469
3474
|
* @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
3470
3475
|
* @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
3471
3476
|
*/
|
|
3472
|
-
export function
|
|
3477
|
+
export function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>;
|
|
3473
3478
|
}
|
|
3474
3479
|
|
|
3475
3480
|
/**
|
|
@@ -5610,7 +5615,7 @@ declare module "stream" {
|
|
|
5610
5615
|
}
|
|
5611
5616
|
|
|
5612
5617
|
export interface TransformOptions extends DuplexOptions {
|
|
5613
|
-
transform?: (chunk:
|
|
5618
|
+
transform?: (chunk: any, encoding: string, callback: Function) => any;
|
|
5614
5619
|
flush?: (callback: Function) => any;
|
|
5615
5620
|
}
|
|
5616
5621
|
|
|
@@ -5621,6 +5626,13 @@ declare module "stream" {
|
|
|
5621
5626
|
}
|
|
5622
5627
|
|
|
5623
5628
|
export class PassThrough extends Transform { }
|
|
5629
|
+
|
|
5630
|
+
interface Pipe {
|
|
5631
|
+
close(): void;
|
|
5632
|
+
hasRef(): boolean;
|
|
5633
|
+
ref(): void;
|
|
5634
|
+
unref(): void;
|
|
5635
|
+
}
|
|
5624
5636
|
}
|
|
5625
5637
|
|
|
5626
5638
|
export = internal;
|
|
@@ -5807,6 +5819,7 @@ declare module "domain" {
|
|
|
5807
5819
|
export function create(): Domain;
|
|
5808
5820
|
}
|
|
5809
5821
|
|
|
5822
|
+
/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
|
|
5810
5823
|
declare module "constants" {
|
|
5811
5824
|
export var E2BIG: number;
|
|
5812
5825
|
export var EACCES: number;
|
|
@@ -5942,15 +5955,25 @@ declare module "constants" {
|
|
|
5942
5955
|
export var WSA_E_NO_MORE: number;
|
|
5943
5956
|
export var WSA_E_CANCELLED: number;
|
|
5944
5957
|
export var WSAEREFUSED: number;
|
|
5958
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGHUP` instead. */
|
|
5945
5959
|
export var SIGHUP: number;
|
|
5960
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGINT` instead. */
|
|
5946
5961
|
export var SIGINT: number;
|
|
5962
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGILL` instead. */
|
|
5947
5963
|
export var SIGILL: number;
|
|
5964
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGABRT` instead. */
|
|
5948
5965
|
export var SIGABRT: number;
|
|
5966
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGFPE` instead. */
|
|
5949
5967
|
export var SIGFPE: number;
|
|
5968
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGKILL` instead. */
|
|
5950
5969
|
export var SIGKILL: number;
|
|
5970
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSEGV` instead. */
|
|
5951
5971
|
export var SIGSEGV: number;
|
|
5972
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTERM` instead. */
|
|
5952
5973
|
export var SIGTERM: number;
|
|
5974
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGBREAK` instead. */
|
|
5953
5975
|
export var SIGBREAK: number;
|
|
5976
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGWINCH` instead. */
|
|
5954
5977
|
export var SIGWINCH: number;
|
|
5955
5978
|
export var SSL_OP_ALL: number;
|
|
5956
5979
|
export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
|
|
@@ -6053,30 +6076,55 @@ declare module "constants" {
|
|
|
6053
6076
|
export var W_OK: number;
|
|
6054
6077
|
export var X_OK: number;
|
|
6055
6078
|
export var UV_UDP_REUSEADDR: number;
|
|
6079
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGQUIT` instead. */
|
|
6056
6080
|
export var SIGQUIT: number;
|
|
6081
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTRAP` instead. */
|
|
6057
6082
|
export var SIGTRAP: number;
|
|
6083
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGIOT` instead. */
|
|
6058
6084
|
export var SIGIOT: number;
|
|
6085
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGBUS` instead. */
|
|
6059
6086
|
export var SIGBUS: number;
|
|
6087
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR1` instead. */
|
|
6060
6088
|
export var SIGUSR1: number;
|
|
6089
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR2` instead. */
|
|
6061
6090
|
export var SIGUSR2: number;
|
|
6091
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPIPE` instead. */
|
|
6062
6092
|
export var SIGPIPE: number;
|
|
6093
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGALRM` instead. */
|
|
6063
6094
|
export var SIGALRM: number;
|
|
6095
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGCHLD` instead. */
|
|
6064
6096
|
export var SIGCHLD: number;
|
|
6097
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTKFLT` instead. */
|
|
6065
6098
|
export var SIGSTKFLT: number;
|
|
6099
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGCONT` instead. */
|
|
6066
6100
|
export var SIGCONT: number;
|
|
6101
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTOP` instead. */
|
|
6067
6102
|
export var SIGSTOP: number;
|
|
6103
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTSTP` instead. */
|
|
6068
6104
|
export var SIGTSTP: number;
|
|
6105
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTIN` instead. */
|
|
6069
6106
|
export var SIGTTIN: number;
|
|
6107
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTOU` instead. */
|
|
6070
6108
|
export var SIGTTOU: number;
|
|
6109
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGURG` instead. */
|
|
6071
6110
|
export var SIGURG: number;
|
|
6111
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGXCPU` instead. */
|
|
6072
6112
|
export var SIGXCPU: number;
|
|
6113
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGXFSZ` instead. */
|
|
6073
6114
|
export var SIGXFSZ: number;
|
|
6115
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGVTALRM` instead. */
|
|
6074
6116
|
export var SIGVTALRM: number;
|
|
6117
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPROF` instead. */
|
|
6075
6118
|
export var SIGPROF: number;
|
|
6119
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGIO` instead. */
|
|
6076
6120
|
export var SIGIO: number;
|
|
6121
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPOLL` instead. */
|
|
6077
6122
|
export var SIGPOLL: number;
|
|
6123
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPWR` instead. */
|
|
6078
6124
|
export var SIGPWR: number;
|
|
6125
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSYS` instead. */
|
|
6079
6126
|
export var SIGSYS: number;
|
|
6127
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUNUSED` instead. */
|
|
6080
6128
|
export var SIGUNUSED: number;
|
|
6081
6129
|
export var defaultCoreCipherList: string;
|
|
6082
6130
|
export var defaultCipherList: string;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
// Alberto Schiabel <https://github.com/jkomyno>
|
|
19
19
|
// Huw <https://github.com/hoo29>
|
|
20
20
|
// Nicolas Even <https://github.com/n-e>
|
|
21
|
+
// Nikita Galkin <https://github.com/galkin>
|
|
21
22
|
// Bruno Scheufler <https://github.com/brunoscheufler>
|
|
22
23
|
// Hoàng Văn Khải <https://github.com/KSXGitHub>
|
|
23
24
|
// Lishude <https://github.com/islishude>
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.60",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -94,6 +94,11 @@
|
|
|
94
94
|
"url": "https://github.com/n-e",
|
|
95
95
|
"githubUsername": "n-e"
|
|
96
96
|
},
|
|
97
|
+
{
|
|
98
|
+
"name": "Nikita Galkin",
|
|
99
|
+
"url": "https://github.com/galkin",
|
|
100
|
+
"githubUsername": "galkin"
|
|
101
|
+
},
|
|
97
102
|
{
|
|
98
103
|
"name": "Bruno Scheufler",
|
|
99
104
|
"url": "https://github.com/brunoscheufler",
|
|
@@ -126,7 +131,7 @@
|
|
|
126
131
|
}
|
|
127
132
|
],
|
|
128
133
|
"main": "",
|
|
129
|
-
"types": "index",
|
|
134
|
+
"types": "index.d.ts",
|
|
130
135
|
"typesVersions": {
|
|
131
136
|
">=3.2.0-0": {
|
|
132
137
|
"*": [
|
|
@@ -141,6 +146,6 @@
|
|
|
141
146
|
},
|
|
142
147
|
"scripts": {},
|
|
143
148
|
"dependencies": {},
|
|
144
|
-
"typesPublisherContentHash": "
|
|
145
|
-
"typeScriptVersion": "2.
|
|
149
|
+
"typesPublisherContentHash": "7c446168e8c2adcc045d53a99a239b3819f5c0b2dbed1fdd8da3ae29a006ed1d",
|
|
150
|
+
"typeScriptVersion": "2.8"
|
|
146
151
|
}
|
|
File without changes
|
node v8/README.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Installation
|
|
2
|
-
> `npm install --save @types/node`
|
|
3
|
-
|
|
4
|
-
# Summary
|
|
5
|
-
This package contains type definitions for Node.js (http://nodejs.org/).
|
|
6
|
-
|
|
7
|
-
# Details
|
|
8
|
-
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v8
|
|
9
|
-
|
|
10
|
-
Additional Details
|
|
11
|
-
* Last updated: Thu, 24 Oct 2019 17:31:30 GMT
|
|
12
|
-
* Dependencies: none
|
|
13
|
-
* Global values: Buffer, NodeJS, SlowBuffer, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
|
|
14
|
-
|
|
15
|
-
# Credits
|
|
16
|
-
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Parambir Singh <https://github.com/parambirs>, Christian Vaagland Tellnes <https://github.com/tellnes>, Wilco Bakker <https://github.com/WilcoBakker>, Nicolas Voigt <https://github.com/octo-sniffle>, Chigozirim C. <https://github.com/smac89>, Flarna <https://github.com/Flarna>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, wwwy3y3 <https://github.com/wwwy3y3>, Deividas Bakanas <https://github.com/DeividasBakanas>, Kelvin Jin <https://github.com/kjin>, Alvis HT Tang <https://github.com/alvis>, Sebastian Silbermann <https://github.com/eps1lon>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Alberto Schiabel <https://github.com/jkomyno>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Bruno Scheufler <https://github.com/brunoscheufler>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, and Thanik Bhongbhibhat <https://github.com/bhongy>.
|