@types/node 6.14.6 → 6.14.10
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 → node v6.14}/LICENSE +21 -21
- node v6.14/README.md +16 -0
- {node v6 → node v6.14}/base.d.ts +43 -1
- {node v6 → node v6.14}/index.d.ts +0 -0
- {node v6 → node v6.14}/package.json +4 -4
- {node v6 → node v6.14}/ts3.2/index.d.ts +0 -0
- node v6/README.md +0 -16
{node v6 → node v6.14}/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 v6.14/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/v6.
|
|
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), [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), and [Sander Koenders](https://github.com/Archcry).
|
{node v6 → node v6.14}/base.d.ts
RENAMED
|
@@ -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;
|
|
@@ -957,6 +958,7 @@ declare module "cluster" {
|
|
|
957
958
|
export class Worker extends events.EventEmitter {
|
|
958
959
|
id: number;
|
|
959
960
|
process: child.ChildProcess;
|
|
961
|
+
/** @deprecated since v6.0.0 - use `worker.exitedAfterDisconnect` instead. */
|
|
960
962
|
suicide: boolean;
|
|
961
963
|
send(message: any, sendHandle?: any, callback?: (error: Error) => void): boolean;
|
|
962
964
|
kill(signal?: string): void;
|
|
@@ -2934,6 +2936,7 @@ declare module "fs" {
|
|
|
2934
2936
|
mode?: number;
|
|
2935
2937
|
autoClose?: boolean;
|
|
2936
2938
|
start?: number;
|
|
2939
|
+
highWaterMark?: number;
|
|
2937
2940
|
}): WriteStream;
|
|
2938
2941
|
export function fdatasync(fd: number, callback: Function): void;
|
|
2939
2942
|
export function fdatasyncSync(fd: number): void;
|
|
@@ -3530,7 +3533,9 @@ declare module "crypto" {
|
|
|
3530
3533
|
crl: string | string[];
|
|
3531
3534
|
ciphers: string;
|
|
3532
3535
|
}
|
|
3536
|
+
/** @deprecated since v0.11.13 - use tls.SecureContext instead. */
|
|
3533
3537
|
export interface Credentials { context?: any; }
|
|
3538
|
+
/** @deprecated since v0.11.13 - use tls.createSecureContext instead. */
|
|
3534
3539
|
export function createCredentials(details: CredentialDetails): Credentials;
|
|
3535
3540
|
export function createHash(algorithm: string): Hash;
|
|
3536
3541
|
export function createHmac(algorithm: string, key: string | Buffer): Hmac;
|
|
@@ -3859,7 +3864,7 @@ declare module "stream" {
|
|
|
3859
3864
|
}
|
|
3860
3865
|
|
|
3861
3866
|
export interface TransformOptions extends DuplexOptions {
|
|
3862
|
-
transform?: (chunk:
|
|
3867
|
+
transform?: (chunk: any, encoding: string, callback: Function) => any;
|
|
3863
3868
|
flush?: (callback: Function) => any;
|
|
3864
3869
|
}
|
|
3865
3870
|
|
|
@@ -3969,6 +3974,7 @@ declare module "domain" {
|
|
|
3969
3974
|
remove(emitter: events.EventEmitter): void;
|
|
3970
3975
|
bind(cb: (err: Error, data: any) => any): any;
|
|
3971
3976
|
intercept(cb: (data: any) => any): any;
|
|
3977
|
+
/** @deprecated since v0.11.7 - recover from failed I/O actions explicitly via error event handlers set on the domain instead. */
|
|
3972
3978
|
dispose(): void;
|
|
3973
3979
|
members: any[];
|
|
3974
3980
|
enter(): void;
|
|
@@ -3978,6 +3984,7 @@ declare module "domain" {
|
|
|
3978
3984
|
export function create(): Domain;
|
|
3979
3985
|
}
|
|
3980
3986
|
|
|
3987
|
+
/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
|
|
3981
3988
|
declare module "constants" {
|
|
3982
3989
|
export var E2BIG: number;
|
|
3983
3990
|
export var EACCES: number;
|
|
@@ -4113,15 +4120,25 @@ declare module "constants" {
|
|
|
4113
4120
|
export var WSA_E_NO_MORE: number;
|
|
4114
4121
|
export var WSA_E_CANCELLED: number;
|
|
4115
4122
|
export var WSAEREFUSED: number;
|
|
4123
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGHUP` instead. */
|
|
4116
4124
|
export var SIGHUP: number;
|
|
4125
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGINT` instead. */
|
|
4117
4126
|
export var SIGINT: number;
|
|
4127
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGILL` instead. */
|
|
4118
4128
|
export var SIGILL: number;
|
|
4129
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGABRT` instead. */
|
|
4119
4130
|
export var SIGABRT: number;
|
|
4131
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGFPE` instead. */
|
|
4120
4132
|
export var SIGFPE: number;
|
|
4133
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGKILL` instead. */
|
|
4121
4134
|
export var SIGKILL: number;
|
|
4135
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSEGV` instead. */
|
|
4122
4136
|
export var SIGSEGV: number;
|
|
4137
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTERM` instead. */
|
|
4123
4138
|
export var SIGTERM: number;
|
|
4139
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGBREAK` instead. */
|
|
4124
4140
|
export var SIGBREAK: number;
|
|
4141
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGWINCH` instead. */
|
|
4125
4142
|
export var SIGWINCH: number;
|
|
4126
4143
|
export var SSL_OP_ALL: number;
|
|
4127
4144
|
export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
|
|
@@ -4223,30 +4240,55 @@ declare module "constants" {
|
|
|
4223
4240
|
export var W_OK: number;
|
|
4224
4241
|
export var X_OK: number;
|
|
4225
4242
|
export var UV_UDP_REUSEADDR: number;
|
|
4243
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGQUIT` instead. */
|
|
4226
4244
|
export var SIGQUIT: number;
|
|
4245
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTRAP` instead. */
|
|
4227
4246
|
export var SIGTRAP: number;
|
|
4247
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGIOT` instead. */
|
|
4228
4248
|
export var SIGIOT: number;
|
|
4249
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGBUS` instead. */
|
|
4229
4250
|
export var SIGBUS: number;
|
|
4251
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR1` instead. */
|
|
4230
4252
|
export var SIGUSR1: number;
|
|
4253
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR2` instead. */
|
|
4231
4254
|
export var SIGUSR2: number;
|
|
4255
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPIPE` instead. */
|
|
4232
4256
|
export var SIGPIPE: number;
|
|
4257
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGALRM` instead. */
|
|
4233
4258
|
export var SIGALRM: number;
|
|
4259
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGCHLD` instead. */
|
|
4234
4260
|
export var SIGCHLD: number;
|
|
4261
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTKFLT` instead. */
|
|
4235
4262
|
export var SIGSTKFLT: number;
|
|
4263
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGCONT` instead. */
|
|
4236
4264
|
export var SIGCONT: number;
|
|
4265
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTOP` instead. */
|
|
4237
4266
|
export var SIGSTOP: number;
|
|
4267
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTSTP` instead. */
|
|
4238
4268
|
export var SIGTSTP: number;
|
|
4269
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTIN` instead. */
|
|
4239
4270
|
export var SIGTTIN: number;
|
|
4271
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTOU` instead. */
|
|
4240
4272
|
export var SIGTTOU: number;
|
|
4273
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGURG` instead. */
|
|
4241
4274
|
export var SIGURG: number;
|
|
4275
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGXCPU` instead. */
|
|
4242
4276
|
export var SIGXCPU: number;
|
|
4277
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGXFSZ` instead. */
|
|
4243
4278
|
export var SIGXFSZ: number;
|
|
4279
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGVTALRM` instead. */
|
|
4244
4280
|
export var SIGVTALRM: number;
|
|
4281
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPROF` instead. */
|
|
4245
4282
|
export var SIGPROF: number;
|
|
4283
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGIO` instead. */
|
|
4246
4284
|
export var SIGIO: number;
|
|
4285
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPOLL` instead. */
|
|
4247
4286
|
export var SIGPOLL: number;
|
|
4287
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPWR` instead. */
|
|
4248
4288
|
export var SIGPWR: number;
|
|
4289
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSYS` instead. */
|
|
4249
4290
|
export var SIGSYS: number;
|
|
4291
|
+
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUNUSED` instead. */
|
|
4250
4292
|
export var SIGUNUSED: number;
|
|
4251
4293
|
export var defaultCoreCipherList: string;
|
|
4252
4294
|
export var defaultCipherList: string;
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.10",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
48
|
"main": "",
|
|
49
|
-
"types": "index",
|
|
49
|
+
"types": "index.d.ts",
|
|
50
50
|
"typesVersions": {
|
|
51
51
|
">=3.2.0-0": {
|
|
52
52
|
"*": [
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
},
|
|
62
62
|
"scripts": {},
|
|
63
63
|
"dependencies": {},
|
|
64
|
-
"typesPublisherContentHash": "
|
|
65
|
-
"typeScriptVersion": "2.
|
|
64
|
+
"typesPublisherContentHash": "a5fb6f2340acb6771214dab8b86e14e2c8dcd4a464748767069895e79e759a35",
|
|
65
|
+
"typeScriptVersion": "2.8"
|
|
66
66
|
}
|
|
File without changes
|
node v6/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/v6
|
|
9
|
-
|
|
10
|
-
Additional Details
|
|
11
|
-
* Last updated: Mon, 29 Apr 2019 23:49:21 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>, 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>.
|