@types/node 7.10.7 → 7.10.11

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 v7.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/v7.
9
+
10
+ ### Additional Details
11
+ * Last updated: Tue, 19 May 2020 18:08:59 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), [Sebastian Silbermann](https://github.com/eps1lon), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Sander Koenders](https://github.com/Archcry), and [Jordi Oliveras Rovira](https://github.com/j-oliveras).
@@ -383,6 +383,7 @@ declare namespace NodeJS {
383
383
  remove(emitter: Events): void;
384
384
  bind(cb: (err: Error, data: any) => any): any;
385
385
  intercept(cb: (data: any) => any): any;
386
+ /** @deprecated since v0.11.7 - recover from failed I/O actions explicitly via error event handlers set on the domain instead. */
386
387
  dispose(): void;
387
388
 
388
389
  addListener(event: string, listener: Function): this;
@@ -960,6 +961,7 @@ declare module "cluster" {
960
961
  export class Worker extends events.EventEmitter {
961
962
  id: number;
962
963
  process: child.ChildProcess;
964
+ /** @deprecated since v6.0.0 - use `worker.exitedAfterDisconnect` instead. */
963
965
  suicide: boolean;
964
966
  send(message: any, sendHandle?: any, callback?: (error: Error) => void): boolean;
965
967
  kill(signal?: string): void;
@@ -3574,7 +3576,9 @@ declare module "crypto" {
3574
3576
  crl: string | string[];
3575
3577
  ciphers: string;
3576
3578
  }
3579
+ /** @deprecated since v0.11.13 - use tls.SecureContext instead. */
3577
3580
  export interface Credentials { context?: any; }
3581
+ /** @deprecated since v0.11.13 - use tls.createSecureContext instead. */
3578
3582
  export function createCredentials(details: CredentialDetails): Credentials;
3579
3583
  export function createHash(algorithm: string): Hash;
3580
3584
  export function createHmac(algorithm: string, key: string | Buffer): Hmac;
@@ -3910,7 +3914,7 @@ declare module "stream" {
3910
3914
  }
3911
3915
 
3912
3916
  export interface TransformOptions extends DuplexOptions {
3913
- transform?: (chunk: string | Buffer, encoding: string, callback: Function) => any;
3917
+ transform?: (chunk: any, encoding: string, callback: Function) => any;
3914
3918
  flush?: (callback: Function) => any;
3915
3919
  }
3916
3920
 
@@ -4020,6 +4024,7 @@ declare module "domain" {
4020
4024
  remove(emitter: events.EventEmitter): void;
4021
4025
  bind(cb: (err: Error, data: any) => any): any;
4022
4026
  intercept(cb: (data: any) => any): any;
4027
+ /** @deprecated since v0.11.7 - recover from failed I/O actions explicitly via error event handlers set on the domain instead. */
4023
4028
  dispose(): void;
4024
4029
  members: any[];
4025
4030
  enter(): void;
@@ -4029,6 +4034,7 @@ declare module "domain" {
4029
4034
  export function create(): Domain;
4030
4035
  }
4031
4036
 
4037
+ /** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
4032
4038
  declare module "constants" {
4033
4039
  export var E2BIG: number;
4034
4040
  export var EACCES: number;
@@ -4164,15 +4170,25 @@ declare module "constants" {
4164
4170
  export var WSA_E_NO_MORE: number;
4165
4171
  export var WSA_E_CANCELLED: number;
4166
4172
  export var WSAEREFUSED: number;
4173
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGHUP` instead. */
4167
4174
  export var SIGHUP: number;
4175
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGINT` instead. */
4168
4176
  export var SIGINT: number;
4177
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGILL` instead. */
4169
4178
  export var SIGILL: number;
4179
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGABRT` instead. */
4170
4180
  export var SIGABRT: number;
4181
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGFPE` instead. */
4171
4182
  export var SIGFPE: number;
4183
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGKILL` instead. */
4172
4184
  export var SIGKILL: number;
4185
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSEGV` instead. */
4173
4186
  export var SIGSEGV: number;
4187
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTERM` instead. */
4174
4188
  export var SIGTERM: number;
4189
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGBREAK` instead. */
4175
4190
  export var SIGBREAK: number;
4191
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGWINCH` instead. */
4176
4192
  export var SIGWINCH: number;
4177
4193
  export var SSL_OP_ALL: number;
4178
4194
  export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
@@ -4274,30 +4290,55 @@ declare module "constants" {
4274
4290
  export var W_OK: number;
4275
4291
  export var X_OK: number;
4276
4292
  export var UV_UDP_REUSEADDR: number;
4293
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGQUIT` instead. */
4277
4294
  export var SIGQUIT: number;
4295
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTRAP` instead. */
4278
4296
  export var SIGTRAP: number;
4297
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGIOT` instead. */
4279
4298
  export var SIGIOT: number;
4299
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGBUS` instead. */
4280
4300
  export var SIGBUS: number;
4301
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR1` instead. */
4281
4302
  export var SIGUSR1: number;
4303
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR2` instead. */
4282
4304
  export var SIGUSR2: number;
4305
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPIPE` instead. */
4283
4306
  export var SIGPIPE: number;
4307
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGALRM` instead. */
4284
4308
  export var SIGALRM: number;
4309
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGCHLD` instead. */
4285
4310
  export var SIGCHLD: number;
4311
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTKFLT` instead. */
4286
4312
  export var SIGSTKFLT: number;
4313
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGCONT` instead. */
4287
4314
  export var SIGCONT: number;
4315
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTOP` instead. */
4288
4316
  export var SIGSTOP: number;
4317
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTSTP` instead. */
4289
4318
  export var SIGTSTP: number;
4319
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTIN` instead. */
4290
4320
  export var SIGTTIN: number;
4321
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTOU` instead. */
4291
4322
  export var SIGTTOU: number;
4323
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGURG` instead. */
4292
4324
  export var SIGURG: number;
4325
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGXCPU` instead. */
4293
4326
  export var SIGXCPU: number;
4327
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGXFSZ` instead. */
4294
4328
  export var SIGXFSZ: number;
4329
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGVTALRM` instead. */
4295
4330
  export var SIGVTALRM: number;
4331
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPROF` instead. */
4296
4332
  export var SIGPROF: number;
4333
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGIO` instead. */
4297
4334
  export var SIGIO: number;
4335
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPOLL` instead. */
4298
4336
  export var SIGPOLL: number;
4337
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGPWR` instead. */
4299
4338
  export var SIGPWR: number;
4339
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGSYS` instead. */
4300
4340
  export var SIGSYS: number;
4341
+ /** @deprecated since v6.3.0 - use `os.constants.signals.SIGUNUSED` instead. */
4301
4342
  export var SIGUNUSED: number;
4302
4343
  export var defaultCoreCipherList: string;
4303
4344
  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
  // Sebastian Silbermann <https://github.com/eps1lon>
9
8
  // Hoàng Văn Khải <https://github.com/KSXGitHub>
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "7.10.7",
3
+ "version": "7.10.11",
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",
@@ -51,7 +46,7 @@
51
46
  }
52
47
  ],
53
48
  "main": "",
54
- "types": "index",
49
+ "types": "index.d.ts",
55
50
  "typesVersions": {
56
51
  ">=3.2.0-0": {
57
52
  "*": [
@@ -66,6 +61,6 @@
66
61
  },
67
62
  "scripts": {},
68
63
  "dependencies": {},
69
- "typesPublisherContentHash": "a9f10d8bb81a9035cea10eacf4402ef51d2434c4b0c2ed906f3692da66855b49",
70
- "typeScriptVersion": "2.0"
64
+ "typesPublisherContentHash": "bb10d0f6ac82ba137b7b1a3d74fe0fd0e25379923f04ab574315eea85a699f77",
65
+ "typeScriptVersion": "3.0"
71
66
  }
File without changes
node v7/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/v7
9
-
10
- Additional Details
11
- * Last updated: Wed, 17 Jul 2019 18:37:32 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>, Sebastian Silbermann <https://github.com/eps1lon>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Sander Koenders <https://github.com/Archcry>, and Jordi Oliveras Rovira <https://github.com/j-oliveras>.