@types/node 9.6.52 → 9.6.56

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.
@@ -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.
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 v9.6/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/v9.
9
+
10
+ ### Additional Details
11
+ * Last updated: Tue, 19 May 2020 18:08:58 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), [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), [Klaus Meinhardt](https://github.com/ajafff), [Huw](https://github.com/hoo29), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Bruno Scheufler](https://github.com/brunoscheufler), [Mohsen Azimi](https://github.com/mohsen1), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Alexander T.](https://github.com/a-tarasyuk), [Lishude](https://github.com/islishude), [Andrew Makarov](https://github.com/r3nya), [Eugene Y. Q. Shen](https://github.com/eyqs), [Jordi Oliveras Rovira](https://github.com/j-oliveras), and [Thanik Bhongbhibhat](https://github.com/bhongy).
@@ -1265,7 +1265,6 @@ declare module "cluster" {
1265
1265
  export class Worker extends events.EventEmitter {
1266
1266
  id: number;
1267
1267
  process: child.ChildProcess;
1268
- suicide: boolean;
1269
1268
  send(message: any, sendHandle?: any, callback?: (error: Error) => void): boolean;
1270
1269
  kill(signal?: string): void;
1271
1270
  destroy(signal?: string): void;
@@ -1681,6 +1680,7 @@ declare module "os" {
1681
1680
  export function userInfo(options?: { encoding: string }): { username: string, uid: number, gid: number, shell: any, homedir: string };
1682
1681
  export var constants: {
1683
1682
  UV_UDP_REUSEADDR: number,
1683
+ // signals: { [key in NodeJS.Signals]: number; }; @todo: change after migration to typescript 2.1
1684
1684
  signals: {
1685
1685
  SIGHUP: number;
1686
1686
  SIGINT: number;
@@ -1703,6 +1703,7 @@ declare module "os" {
1703
1703
  SIGCONT: number;
1704
1704
  SIGSTOP: number;
1705
1705
  SIGTSTP: number;
1706
+ SIGBREAK: number;
1706
1707
  SIGTTIN: number;
1707
1708
  SIGTTOU: number;
1708
1709
  SIGURG: number;
@@ -1713,7 +1714,9 @@ declare module "os" {
1713
1714
  SIGWINCH: number;
1714
1715
  SIGIO: number;
1715
1716
  SIGPOLL: number;
1717
+ SIGLOST: number;
1716
1718
  SIGPWR: number;
1719
+ SIGINFO: number;
1717
1720
  SIGSYS: number;
1718
1721
  SIGUNUSED: number;
1719
1722
  },
@@ -3874,7 +3877,7 @@ declare module "fs" {
3874
3877
  * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
3875
3878
  * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
3876
3879
  */
3877
- export function link(existingPath: PathLike, newPath: PathLike): Promise<void>;
3880
+ export function __promisify__(existingPath: PathLike, newPath: PathLike): Promise<void>;
3878
3881
  }
3879
3882
 
3880
3883
  /**
@@ -5652,7 +5655,9 @@ declare module "crypto" {
5652
5655
  crl: string | string[];
5653
5656
  ciphers: string;
5654
5657
  }
5658
+ /** @deprecated since v0.11.13 - use tls.SecureContext instead. */
5655
5659
  export interface Credentials { context?: any; }
5660
+ /** @deprecated since v0.11.13 - use tls.createSecureContext instead. */
5656
5661
  export function createCredentials(details: CredentialDetails): Credentials;
5657
5662
  export function createHash(algorithm: string): Hash;
5658
5663
  export function createHmac(algorithm: string, key: string | Buffer): Hmac;
@@ -6208,6 +6213,7 @@ declare module "domain" {
6208
6213
  export function create(): Domain;
6209
6214
  }
6210
6215
 
6216
+ /** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
6211
6217
  declare module "constants" {
6212
6218
  export var E2BIG: number;
6213
6219
  export var EACCES: number;
@@ -6343,15 +6349,25 @@ declare module "constants" {
6343
6349
  export var WSA_E_NO_MORE: number;
6344
6350
  export var WSA_E_CANCELLED: number;
6345
6351
  export var WSAEREFUSED: number;
6352
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGHUP` instead. */
6346
6353
  export var SIGHUP: number;
6354
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGINT` instead. */
6347
6355
  export var SIGINT: number;
6356
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGILL` instead. */
6348
6357
  export var SIGILL: number;
6358
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGABRT` instead. */
6349
6359
  export var SIGABRT: number;
6360
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGFPE` instead. */
6350
6361
  export var SIGFPE: number;
6362
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGKILL` instead. */
6351
6363
  export var SIGKILL: number;
6364
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSEGV` instead. */
6352
6365
  export var SIGSEGV: number;
6366
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTERM` instead. */
6353
6367
  export var SIGTERM: number;
6368
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGBREAK` instead. */
6354
6369
  export var SIGBREAK: number;
6370
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGWINCH` instead. */
6355
6371
  export var SIGWINCH: number;
6356
6372
  export var SSL_OP_ALL: number;
6357
6373
  export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
@@ -6454,30 +6470,55 @@ declare module "constants" {
6454
6470
  export var W_OK: number;
6455
6471
  export var X_OK: number;
6456
6472
  export var UV_UDP_REUSEADDR: number;
6473
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGQUIT` instead. */
6457
6474
  export var SIGQUIT: number;
6475
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTRAP` instead. */
6458
6476
  export var SIGTRAP: number;
6477
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGIOT` instead. */
6459
6478
  export var SIGIOT: number;
6479
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGBUS` instead. */
6460
6480
  export var SIGBUS: number;
6481
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR1` instead. */
6461
6482
  export var SIGUSR1: number;
6483
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR2` instead. */
6462
6484
  export var SIGUSR2: number;
6485
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPIPE` instead. */
6463
6486
  export var SIGPIPE: number;
6487
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGALRM` instead. */
6464
6488
  export var SIGALRM: number;
6489
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGCHLD` instead. */
6465
6490
  export var SIGCHLD: number;
6491
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTKFLT` instead. */
6466
6492
  export var SIGSTKFLT: number;
6493
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGCONT` instead. */
6467
6494
  export var SIGCONT: number;
6495
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTOP` instead. */
6468
6496
  export var SIGSTOP: number;
6497
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTSTP` instead. */
6469
6498
  export var SIGTSTP: number;
6499
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTIN` instead. */
6470
6500
  export var SIGTTIN: number;
6501
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTOU` instead. */
6471
6502
  export var SIGTTOU: number;
6503
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGURG` instead. */
6472
6504
  export var SIGURG: number;
6505
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGXCPU` instead. */
6473
6506
  export var SIGXCPU: number;
6507
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGXFSZ` instead. */
6474
6508
  export var SIGXFSZ: number;
6509
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGVTALRM` instead. */
6475
6510
  export var SIGVTALRM: number;
6511
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPROF` instead. */
6476
6512
  export var SIGPROF: number;
6513
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGIO` instead. */
6477
6514
  export var SIGIO: number;
6515
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPOLL` instead. */
6478
6516
  export var SIGPOLL: number;
6517
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPWR` instead. */
6479
6518
  export var SIGPWR: number;
6519
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSYS` instead. */
6480
6520
  export var SIGSYS: number;
6521
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUNUSED` instead. */
6481
6522
  export var SIGUNUSED: number;
6482
6523
  export var defaultCoreCipherList: string;
6483
6524
  export var defaultCipherList: string;
@@ -3,7 +3,6 @@
3
3
  // Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
4
4
  // DefinitelyTyped <https://github.com/DefinitelyTyped>
5
5
  // Parambir Singh <https://github.com/parambirs>
6
- // Christian Vaagland Tellnes <https://github.com/tellnes>
7
6
  // Wilco Bakker <https://github.com/WilcoBakker>
8
7
  // Nicolas Voigt <https://github.com/octo-sniffle>
9
8
  // Chigozirim C. <https://github.com/smac89>
@@ -19,6 +18,7 @@
19
18
  // Klaus Meinhardt <https://github.com/ajafff>
20
19
  // Huw <https://github.com/hoo29>
21
20
  // Nicolas Even <https://github.com/n-e>
21
+ // Nikita Galkin <https://github.com/galkin>
22
22
  // Bruno Scheufler <https://github.com/brunoscheufler>
23
23
  // Mohsen Azimi <https://github.com/mohsen1>
24
24
  // Hoàng Văn Khải <https://github.com/KSXGitHub>
File without changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "9.6.52",
3
+ "version": "9.6.56",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "license": "MIT",
6
6
  "contributors": [
@@ -19,11 +19,6 @@
19
19
  "url": "https://github.com/parambirs",
20
20
  "githubUsername": "parambirs"
21
21
  },
22
- {
23
- "name": "Christian Vaagland Tellnes",
24
- "url": "https://github.com/tellnes",
25
- "githubUsername": "tellnes"
26
- },
27
22
  {
28
23
  "name": "Wilco Bakker",
29
24
  "url": "https://github.com/WilcoBakker",
@@ -99,6 +94,11 @@
99
94
  "url": "https://github.com/n-e",
100
95
  "githubUsername": "n-e"
101
96
  },
97
+ {
98
+ "name": "Nikita Galkin",
99
+ "url": "https://github.com/galkin",
100
+ "githubUsername": "galkin"
101
+ },
102
102
  {
103
103
  "name": "Bruno Scheufler",
104
104
  "url": "https://github.com/brunoscheufler",
@@ -146,7 +146,7 @@
146
146
  }
147
147
  ],
148
148
  "main": "",
149
- "types": "index",
149
+ "types": "index.d.ts",
150
150
  "typesVersions": {
151
151
  ">=3.2.0-0": {
152
152
  "*": [
@@ -161,6 +161,6 @@
161
161
  },
162
162
  "scripts": {},
163
163
  "dependencies": {},
164
- "typesPublisherContentHash": "971a9c8a390ed5180f6c28be34087ca2108f5016e9ff2b008a0f04454f0098c5",
165
- "typeScriptVersion": "2.0"
164
+ "typesPublisherContentHash": "c7bd20526de4dbd260514098bae1bc2d605af5a66ccc55d14480a20feea4d3c9",
165
+ "typeScriptVersion": "3.0"
166
166
  }
File without changes
node v9/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/v9
9
-
10
- Additional Details
11
- * Last updated: Wed, 11 Sep 2019 05:46:31 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>, Klaus Meinhardt <https://github.com/ajafff>, Huw <https://github.com/hoo29>, Nicolas Even <https://github.com/n-e>, Bruno Scheufler <https://github.com/brunoscheufler>, Mohsen Azimi <https://github.com/mohsen1>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Alexander T. <https://github.com/a-tarasyuk>, Lishude <https://github.com/islishude>, Andrew Makarov <https://github.com/r3nya>, Eugene Y. Q. Shen <https://github.com/eyqs>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, and Thanik Bhongbhibhat <https://github.com/bhongy>.