@types/node 11.15.54 → 12.0.3
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 v11.15/LICENSE → node/LICENSE +21 -21
- node/README.md +16 -0
- node v11.15/ts3.6/assert.d.ts → node/assert.d.ts +12 -33
- node v11.15/async_hooks.d.ts → node/async_hooks.d.ts +3 -15
- node/base.d.ts +41 -0
- {node v11.15 → node}/buffer.d.ts +0 -0
- node v11.15/child_process.d.ts → node/child_process.d.ts +8 -10
- {node v11.15 → node}/cluster.d.ts +0 -0
- {node v11.15 → node}/console.d.ts +0 -0
- node v11.15/constants.d.ts → node/constants.d.ts +0 -36
- node v11.15/crypto.d.ts → node/crypto.d.ts +114 -266
- node v11.15/dgram.d.ts → node/dgram.d.ts +1 -1
- node v11.15/dns.d.ts → node/dns.d.ts +1 -75
- node/domain.d.ts +16 -0
- node/events.d.ts +30 -0
- node v11.15/fs.d.ts → node/fs.d.ts +6 -7
- node v11.15/globals.d.ts → node/globals.d.ts +18 -93
- node v11.15/http.d.ts → node/http.d.ts +5 -10
- node v11.15/http2.d.ts → node/http2.d.ts +3 -3
- {node v11.15 → node}/https.d.ts +0 -0
- node/index.d.ts +99 -0
- node v11.15/inspector.d.ts → node/inspector.d.ts +2 -2
- {node v11.15 → node}/module.d.ts +0 -0
- {node v11.15 → node}/net.d.ts +0 -0
- node v11.15/os.d.ts → node/os.d.ts +0 -4
- node v11.15/package.json → node/package.json +39 -24
- {node v11.15 → node}/path.d.ts +0 -0
- node v11.15/perf_hooks.d.ts → node/perf_hooks.d.ts +77 -5
- {node v11.15 → node}/process.d.ts +0 -0
- node/punycode.d.ts +12 -0
- node v11.15/querystring.d.ts → node/querystring.d.ts +4 -1
- node v11.15/readline.d.ts → node/readline.d.ts +1 -2
- node v11.15/repl.d.ts → node/repl.d.ts +5 -13
- node v11.15/stream.d.ts → node/stream.d.ts +6 -16
- {node v11.15 → node}/string_decoder.d.ts +0 -0
- {node v11.15 → node}/timers.d.ts +0 -0
- node v11.15/tls.d.ts → node/tls.d.ts +3 -4
- {node v11.15 → node}/trace_events.d.ts +0 -0
- node/ts3.2/globals.d.ts +19 -0
- node v11.15/base.d.ts → node/ts3.2/index.d.ts +7 -6
- node/ts3.2/util.d.ts +15 -0
- node v11.15/tty.d.ts → node/tty.d.ts +0 -2
- node v11.15/url.d.ts → node/url.d.ts +1 -7
- node v11.15/util.d.ts → node/util.d.ts +20 -49
- {node v11.15 → node}/v8.d.ts +0 -0
- node v11.15/vm.d.ts → node/vm.d.ts +2 -4
- node v11.15/worker_threads.d.ts → node/worker_threads.d.ts +2 -4
- node v11.15/zlib.d.ts → node/zlib.d.ts +0 -1
- node v11.15/README.md +0 -16
- node v11.15/assert.d.ts +0 -99
- node v11.15/domain.d.ts +0 -16
- node v11.15/events.d.ts +0 -30
- node v11.15/index.d.ts +0 -43
- node v11.15/punycode.d.ts +0 -68
- node v11.15/ts3.6/base.d.ts +0 -54
- node v11.15/ts3.6/index.d.ts +0 -6
|
@@ -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. 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/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
|
|
9
|
+
|
|
10
|
+
Additional Details
|
|
11
|
+
* Last updated: Tue, 28 May 2019 19:24:35 GMT
|
|
12
|
+
* Dependencies: none
|
|
13
|
+
* Global values: Buffer, NodeJS, Symbol, __dirname, __filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, queueMicrotask, require, setImmediate, setInterval, setTimeout
|
|
14
|
+
|
|
15
|
+
# Credits
|
|
16
|
+
These definitions were written by Microsoft TypeScript <https://github.com/Microsoft>, DefinitelyTyped <https://github.com/DefinitelyTyped>, Alberto Schiabel <https://github.com/jkomyno>, Alexander T. <https://github.com/a-tarasyuk>, Alvis HT Tang <https://github.com/alvis>, Andrew Makarov <https://github.com/r3nya>, Benjamin Toueg <https://github.com/btoueg>, Bruno Scheufler <https://github.com/brunoscheufler>, Chigozirim C. <https://github.com/smac89>, Christian Vaagland Tellnes <https://github.com/tellnes>, David Junger <https://github.com/touffy>, Deividas Bakanas <https://github.com/DeividasBakanas>, Eugene Y. Q. Shen <https://github.com/eyqs>, Flarna <https://github.com/Flarna>, Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>, Hoàng Văn Khải <https://github.com/KSXGitHub>, Huw <https://github.com/hoo29>, Kelvin Jin <https://github.com/kjin>, Klaus Meinhardt <https://github.com/ajafff>, Lishude <https://github.com/islishude>, Mariusz Wiktorczyk <https://github.com/mwiktorczyk>, Matthieu Sieben <https://github.com/matthieusieben>, Mohsen Azimi <https://github.com/mohsen1>, Nicolas Even <https://github.com/n-e>, Nicolas Voigt <https://github.com/octo-sniffle>, Parambir Singh <https://github.com/parambirs>, Sebastian Silbermann <https://github.com/eps1lon>, Simon Schick <https://github.com/SimonSchick>, Thomas den Hollander <https://github.com/ThomasdenH>, Wilco Bakker <https://github.com/WilcoBakker>, wwwy3y3 <https://github.com/wwwy3y3>, Zane Hannan AU <https://github.com/ZaneHannanAU>, Jeremie Rodriguez <https://github.com/jeremiergz>, Samuel Ainsworth <https://github.com/samuela>, Kyle Uehlein <https://github.com/kuehlein>, Jordi Oliveras Rovira <https://github.com/j-oliveras>, Thanik Bhongbhibhat <https://github.com/bhongy>.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
function
|
|
3
|
-
namespace
|
|
1
|
+
declare module "assert" {
|
|
2
|
+
function internal(value: any, message?: string | Error): void;
|
|
3
|
+
namespace internal {
|
|
4
4
|
class AssertionError implements Error {
|
|
5
5
|
name: string;
|
|
6
6
|
message: string;
|
|
@@ -11,27 +11,14 @@ declare module 'assert' {
|
|
|
11
11
|
code: 'ERR_ASSERTION';
|
|
12
12
|
|
|
13
13
|
constructor(options?: {
|
|
14
|
-
message?: string;
|
|
15
|
-
|
|
16
|
-
expected?: any;
|
|
17
|
-
operator?: string;
|
|
18
|
-
// tslint:disable-next-line:ban-types
|
|
19
|
-
stackStartFn?: Function;
|
|
14
|
+
message?: string; actual?: any; expected?: any;
|
|
15
|
+
operator?: string; stackStartFn?: Function
|
|
20
16
|
});
|
|
21
17
|
}
|
|
22
18
|
|
|
23
|
-
type AssertPredicate = RegExp | (new () => object) | ((thrown: any) => boolean) | object | Error;
|
|
24
|
-
|
|
25
19
|
function fail(message?: string | Error): never;
|
|
26
20
|
/** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
|
|
27
|
-
function fail(
|
|
28
|
-
actual: any,
|
|
29
|
-
expected: any,
|
|
30
|
-
message?: string | Error,
|
|
31
|
-
operator?: string,
|
|
32
|
-
// tslint:disable-next-line:ban-types
|
|
33
|
-
stackStartFn?: Function,
|
|
34
|
-
): never;
|
|
21
|
+
function fail(actual: any, expected: any, message?: string | Error, operator?: string, stackStartFn?: Function): never;
|
|
35
22
|
function ok(value: any, message?: string | Error): void;
|
|
36
23
|
/** @deprecated since v9.9.0 - use strictEqual() instead. */
|
|
37
24
|
function equal(actual: any, expected: any, message?: string | Error): void;
|
|
@@ -47,27 +34,19 @@ declare module 'assert' {
|
|
|
47
34
|
function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;
|
|
48
35
|
|
|
49
36
|
function throws(block: () => any, message?: string | Error): void;
|
|
50
|
-
function throws(block: () => any, error:
|
|
37
|
+
function throws(block: () => any, error: RegExp | Function | Object | Error, message?: string | Error): void;
|
|
51
38
|
function doesNotThrow(block: () => any, message?: string | Error): void;
|
|
52
|
-
function doesNotThrow(block: () => any, error:
|
|
39
|
+
function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void;
|
|
53
40
|
|
|
54
41
|
function ifError(value: any): void;
|
|
55
42
|
|
|
56
43
|
function rejects(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
|
|
57
|
-
function rejects(
|
|
58
|
-
block: (() => Promise<any>) | Promise<any>,
|
|
59
|
-
error: AssertPredicate,
|
|
60
|
-
message?: string | Error,
|
|
61
|
-
): Promise<void>;
|
|
44
|
+
function rejects(block: (() => Promise<any>) | Promise<any>, error: RegExp | Function | Object | Error, message?: string | Error): Promise<void>;
|
|
62
45
|
function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
|
|
63
|
-
function doesNotReject(
|
|
64
|
-
block: (() => Promise<any>) | Promise<any>,
|
|
65
|
-
error: AssertPredicate,
|
|
66
|
-
message?: string | Error,
|
|
67
|
-
): Promise<void>;
|
|
46
|
+
function doesNotReject(block: (() => Promise<any>) | Promise<any>, error: RegExp | Function, message?: string | Error): Promise<void>;
|
|
68
47
|
|
|
69
|
-
const strict: typeof
|
|
48
|
+
const strict: typeof internal;
|
|
70
49
|
}
|
|
71
50
|
|
|
72
|
-
export =
|
|
51
|
+
export = internal;
|
|
73
52
|
}
|
|
@@ -71,7 +71,7 @@ declare module "async_hooks" {
|
|
|
71
71
|
interface AsyncResourceOptions {
|
|
72
72
|
/**
|
|
73
73
|
* The ID of the execution context that created this async event.
|
|
74
|
-
*
|
|
74
|
+
* Default: `executionAsyncId()`
|
|
75
75
|
*/
|
|
76
76
|
triggerAsyncId?: number;
|
|
77
77
|
|
|
@@ -80,7 +80,7 @@ declare module "async_hooks" {
|
|
|
80
80
|
* This usually does not need to be set (even if `emitDestroy` is called
|
|
81
81
|
* manually), unless the resource's `asyncId` is retrieved and the
|
|
82
82
|
* sensitive API's `emitDestroy` is called with it.
|
|
83
|
-
*
|
|
83
|
+
* Default: `false`
|
|
84
84
|
*/
|
|
85
85
|
requireManualDestroy?: boolean;
|
|
86
86
|
}
|
|
@@ -101,18 +101,6 @@ declare module "async_hooks" {
|
|
|
101
101
|
*/
|
|
102
102
|
constructor(type: string, triggerAsyncId?: number|AsyncResourceOptions);
|
|
103
103
|
|
|
104
|
-
/**
|
|
105
|
-
* Call AsyncHooks before callbacks.
|
|
106
|
-
* @deprecated since 9.6 - Use asyncResource.runInAsyncScope() instead.
|
|
107
|
-
*/
|
|
108
|
-
emitBefore(): void;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Call AsyncHooks after callbacks.
|
|
112
|
-
* @deprecated since 9.6 - Use asyncResource.runInAsyncScope() instead.
|
|
113
|
-
*/
|
|
114
|
-
emitAfter(): void;
|
|
115
|
-
|
|
116
104
|
/**
|
|
117
105
|
* Call the provided function with the provided arguments in the
|
|
118
106
|
* execution context of the async resource. This will establish the
|
|
@@ -129,7 +117,7 @@ declare module "async_hooks" {
|
|
|
129
117
|
/**
|
|
130
118
|
* Call AsyncHooks destroy callbacks.
|
|
131
119
|
*/
|
|
132
|
-
emitDestroy():
|
|
120
|
+
emitDestroy(): void;
|
|
133
121
|
|
|
134
122
|
/**
|
|
135
123
|
* @return the unique ID assigned to this AsyncResource instance.
|
node/base.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// base definnitions for all NodeJS modules that are not specific to any version of TypeScript
|
|
2
|
+
/// <reference path="globals.d.ts" />
|
|
3
|
+
/// <reference path="assert.d.ts" />
|
|
4
|
+
/// <reference path="async_hooks.d.ts" />
|
|
5
|
+
/// <reference path="buffer.d.ts" />
|
|
6
|
+
/// <reference path="child_process.d.ts" />
|
|
7
|
+
/// <reference path="cluster.d.ts" />
|
|
8
|
+
/// <reference path="console.d.ts" />
|
|
9
|
+
/// <reference path="constants.d.ts" />
|
|
10
|
+
/// <reference path="crypto.d.ts" />
|
|
11
|
+
/// <reference path="dgram.d.ts" />
|
|
12
|
+
/// <reference path="dns.d.ts" />
|
|
13
|
+
/// <reference path="domain.d.ts" />
|
|
14
|
+
/// <reference path="events.d.ts" />
|
|
15
|
+
/// <reference path="fs.d.ts" />
|
|
16
|
+
/// <reference path="http.d.ts" />
|
|
17
|
+
/// <reference path="http2.d.ts" />
|
|
18
|
+
/// <reference path="https.d.ts" />
|
|
19
|
+
/// <reference path="inspector.d.ts" />
|
|
20
|
+
/// <reference path="module.d.ts" />
|
|
21
|
+
/// <reference path="net.d.ts" />
|
|
22
|
+
/// <reference path="os.d.ts" />
|
|
23
|
+
/// <reference path="path.d.ts" />
|
|
24
|
+
/// <reference path="perf_hooks.d.ts" />
|
|
25
|
+
/// <reference path="process.d.ts" />
|
|
26
|
+
/// <reference path="punycode.d.ts" />
|
|
27
|
+
/// <reference path="querystring.d.ts" />
|
|
28
|
+
/// <reference path="readline.d.ts" />
|
|
29
|
+
/// <reference path="repl.d.ts" />
|
|
30
|
+
/// <reference path="stream.d.ts" />
|
|
31
|
+
/// <reference path="string_decoder.d.ts" />
|
|
32
|
+
/// <reference path="timers.d.ts" />
|
|
33
|
+
/// <reference path="tls.d.ts" />
|
|
34
|
+
/// <reference path="trace_events.d.ts" />
|
|
35
|
+
/// <reference path="tty.d.ts" />
|
|
36
|
+
/// <reference path="url.d.ts" />
|
|
37
|
+
/// <reference path="util.d.ts" />
|
|
38
|
+
/// <reference path="v8.d.ts" />
|
|
39
|
+
/// <reference path="vm.d.ts" />
|
|
40
|
+
/// <reference path="worker_threads.d.ts" />
|
|
41
|
+
/// <reference path="zlib.d.ts" />
|
{node v11.15 → node}/buffer.d.ts
RENAMED
|
File without changes
|
|
@@ -190,7 +190,6 @@ declare module "child_process" {
|
|
|
190
190
|
maxBuffer?: number;
|
|
191
191
|
killSignal?: string;
|
|
192
192
|
windowsVerbatimArguments?: boolean;
|
|
193
|
-
shell?: boolean | string;
|
|
194
193
|
}
|
|
195
194
|
interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
|
|
196
195
|
encoding: BufferEncoding;
|
|
@@ -263,19 +262,19 @@ declare module "child_process" {
|
|
|
263
262
|
// NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.
|
|
264
263
|
namespace execFile {
|
|
265
264
|
function __promisify__(file: string): Promise<{ stdout: string, stderr: string }>;
|
|
266
|
-
function __promisify__(file: string, args:
|
|
265
|
+
function __promisify__(file: string, args: string[] | undefined | null): Promise<{ stdout: string, stderr: string }>;
|
|
267
266
|
function __promisify__(file: string, options: ExecFileOptionsWithBufferEncoding): Promise<{ stdout: Buffer, stderr: Buffer }>;
|
|
268
|
-
function __promisify__(file: string, args:
|
|
267
|
+
function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithBufferEncoding): Promise<{ stdout: Buffer, stderr: Buffer }>;
|
|
269
268
|
function __promisify__(file: string, options: ExecFileOptionsWithStringEncoding): Promise<{ stdout: string, stderr: string }>;
|
|
270
|
-
function __promisify__(file: string, args:
|
|
269
|
+
function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithStringEncoding): Promise<{ stdout: string, stderr: string }>;
|
|
271
270
|
function __promisify__(file: string, options: ExecFileOptionsWithOtherEncoding): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
|
|
272
|
-
function __promisify__(file: string, args:
|
|
271
|
+
function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptionsWithOtherEncoding): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
|
|
273
272
|
function __promisify__(file: string, options: ExecFileOptions): Promise<{ stdout: string, stderr: string }>;
|
|
274
|
-
function __promisify__(file: string, args:
|
|
273
|
+
function __promisify__(file: string, args: string[] | undefined | null, options: ExecFileOptions): Promise<{ stdout: string, stderr: string }>;
|
|
275
274
|
function __promisify__(file: string, options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
|
|
276
275
|
function __promisify__(
|
|
277
276
|
file: string,
|
|
278
|
-
args:
|
|
277
|
+
args: string[] | undefined | null,
|
|
279
278
|
options: ({ encoding?: string | null } & ExecFileOptions) | undefined | null,
|
|
280
279
|
): Promise<{ stdout: string | Buffer, stderr: string | Buffer }>;
|
|
281
280
|
}
|
|
@@ -288,7 +287,6 @@ declare module "child_process" {
|
|
|
288
287
|
detached?: boolean;
|
|
289
288
|
windowsVerbatimArguments?: boolean;
|
|
290
289
|
}
|
|
291
|
-
function fork(modulePath: string, options?: ForkOptions): ChildProcess;
|
|
292
290
|
function fork(modulePath: string, args?: ReadonlyArray<string>, options?: ForkOptions): ChildProcess;
|
|
293
291
|
|
|
294
292
|
interface SpawnSyncOptions extends CommonOptions {
|
|
@@ -312,8 +310,8 @@ declare module "child_process" {
|
|
|
312
310
|
output: string[];
|
|
313
311
|
stdout: T;
|
|
314
312
|
stderr: T;
|
|
315
|
-
status: number
|
|
316
|
-
signal: string
|
|
313
|
+
status: number;
|
|
314
|
+
signal: string;
|
|
317
315
|
error?: Error;
|
|
318
316
|
}
|
|
319
317
|
function spawnSync(command: string): SpawnSyncReturns<Buffer>;
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
|
|
2
1
|
declare module "constants" {
|
|
3
2
|
const E2BIG: number;
|
|
4
3
|
const EACCES: number;
|
|
@@ -134,25 +133,15 @@ declare module "constants" {
|
|
|
134
133
|
const WSA_E_NO_MORE: number;
|
|
135
134
|
const WSA_E_CANCELLED: number;
|
|
136
135
|
const WSAEREFUSED: number;
|
|
137
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGHUP` instead. */
|
|
138
136
|
const SIGHUP: number;
|
|
139
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGINT` instead. */
|
|
140
137
|
const SIGINT: number;
|
|
141
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGILL` instead. */
|
|
142
138
|
const SIGILL: number;
|
|
143
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGABRT` instead. */
|
|
144
139
|
const SIGABRT: number;
|
|
145
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGFPE` instead. */
|
|
146
140
|
const SIGFPE: number;
|
|
147
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGKILL` instead. */
|
|
148
141
|
const SIGKILL: number;
|
|
149
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSEGV` instead. */
|
|
150
142
|
const SIGSEGV: number;
|
|
151
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTERM` instead. */
|
|
152
143
|
const SIGTERM: number;
|
|
153
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGBREAK` instead. */
|
|
154
144
|
const SIGBREAK: number;
|
|
155
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGWINCH` instead. */
|
|
156
145
|
const SIGWINCH: number;
|
|
157
146
|
const SSL_OP_ALL: number;
|
|
158
147
|
const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number;
|
|
@@ -258,55 +247,30 @@ declare module "constants" {
|
|
|
258
247
|
const COPYFILE_FICLONE: number;
|
|
259
248
|
const COPYFILE_FICLONE_FORCE: number;
|
|
260
249
|
const UV_UDP_REUSEADDR: number;
|
|
261
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGQUIT` instead. */
|
|
262
250
|
const SIGQUIT: number;
|
|
263
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTRAP` instead. */
|
|
264
251
|
const SIGTRAP: number;
|
|
265
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGIOT` instead. */
|
|
266
252
|
const SIGIOT: number;
|
|
267
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGBUS` instead. */
|
|
268
253
|
const SIGBUS: number;
|
|
269
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR1` instead. */
|
|
270
254
|
const SIGUSR1: number;
|
|
271
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUSR2` instead. */
|
|
272
255
|
const SIGUSR2: number;
|
|
273
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPIPE` instead. */
|
|
274
256
|
const SIGPIPE: number;
|
|
275
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGALRM` instead. */
|
|
276
257
|
const SIGALRM: number;
|
|
277
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGCHLD` instead. */
|
|
278
258
|
const SIGCHLD: number;
|
|
279
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTKFLT` instead. */
|
|
280
259
|
const SIGSTKFLT: number;
|
|
281
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGCONT` instead. */
|
|
282
260
|
const SIGCONT: number;
|
|
283
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSTOP` instead. */
|
|
284
261
|
const SIGSTOP: number;
|
|
285
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTSTP` instead. */
|
|
286
262
|
const SIGTSTP: number;
|
|
287
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTIN` instead. */
|
|
288
263
|
const SIGTTIN: number;
|
|
289
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGTTOU` instead. */
|
|
290
264
|
const SIGTTOU: number;
|
|
291
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGURG` instead. */
|
|
292
265
|
const SIGURG: number;
|
|
293
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGXCPU` instead. */
|
|
294
266
|
const SIGXCPU: number;
|
|
295
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGXFSZ` instead. */
|
|
296
267
|
const SIGXFSZ: number;
|
|
297
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGVTALRM` instead. */
|
|
298
268
|
const SIGVTALRM: number;
|
|
299
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPROF` instead. */
|
|
300
269
|
const SIGPROF: number;
|
|
301
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGIO` instead. */
|
|
302
270
|
const SIGIO: number;
|
|
303
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPOLL` instead. */
|
|
304
271
|
const SIGPOLL: number;
|
|
305
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGPWR` instead. */
|
|
306
272
|
const SIGPWR: number;
|
|
307
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGSYS` instead. */
|
|
308
273
|
const SIGSYS: number;
|
|
309
|
-
/** @deprecated since v6.3.0 - use `os.constants.signals.SIGUNUSED` instead. */
|
|
310
274
|
const SIGUNUSED: number;
|
|
311
275
|
const defaultCoreCipherList: string;
|
|
312
276
|
const defaultCipherList: string;
|