@types/node 14.18.61 → 14.18.63
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 v14.18/README.md +1 -1
- node v14.18/assert.d.ts +33 -31
- node v14.18/async_hooks.d.ts +27 -20
- node v14.18/buffer.d.ts +4 -4
- node v14.18/child_process.d.ts +191 -62
- node v14.18/cluster.d.ts +59 -28
- node v14.18/console.d.ts +6 -6
- node v14.18/constants.d.ts +12 -11
- node v14.18/crypto.d.ts +232 -228
- node v14.18/dgram.d.ts +50 -14
- node v14.18/dns.d.ts +183 -54
- node v14.18/domain.d.ts +4 -4
- node v14.18/events.d.ts +4 -4
- node v14.18/fs/promises.d.ts +87 -25
- node v14.18/fs.d.ts +404 -104
- node v14.18/globals.d.ts +33 -16
- node v14.18/http.d.ts +201 -201
- node v14.18/http2.d.ts +340 -93
- node v14.18/https.d.ts +107 -105
- node v14.18/inspector.d.ts +4 -4
- node v14.18/module.d.ts +4 -4
- node v14.18/net.d.ts +27 -12
- node v14.18/os.d.ts +4 -4
- node v14.18/package.json +2 -2
- node v14.18/path.d.ts +5 -5
- node v14.18/perf_hooks.d.ts +5 -5
- node v14.18/process.d.ts +61 -22
- node v14.18/punycode.d.ts +3 -3
- node v14.18/querystring.d.ts +15 -5
- node v14.18/readline.d.ts +16 -6
- node v14.18/repl.d.ts +13 -7
- node v14.18/stream.d.ts +160 -100
- node v14.18/string_decoder.d.ts +3 -3
- node v14.18/timers.d.ts +3 -3
- node v14.18/tls.d.ts +109 -27
- node v14.18/trace_events.d.ts +3 -3
- node v14.18/ts4.8/assert.d.ts +33 -31
- node v14.18/ts4.8/async_hooks.d.ts +27 -20
- node v14.18/ts4.8/buffer.d.ts +4 -4
- node v14.18/ts4.8/child_process.d.ts +191 -62
- node v14.18/ts4.8/cluster.d.ts +59 -28
- node v14.18/ts4.8/console.d.ts +6 -6
- node v14.18/ts4.8/constants.d.ts +12 -11
- node v14.18/ts4.8/crypto.d.ts +232 -228
- node v14.18/ts4.8/dgram.d.ts +50 -14
- node v14.18/ts4.8/dns.d.ts +183 -54
- node v14.18/ts4.8/domain.d.ts +4 -4
- node v14.18/ts4.8/events.d.ts +4 -4
- node v14.18/ts4.8/fs/promises.d.ts +87 -25
- node v14.18/ts4.8/fs.d.ts +404 -104
- node v14.18/ts4.8/globals.d.ts +33 -16
- node v14.18/ts4.8/http.d.ts +200 -200
- node v14.18/ts4.8/http2.d.ts +340 -93
- node v14.18/ts4.8/https.d.ts +107 -105
- node v14.18/ts4.8/inspector.d.ts +4 -4
- node v14.18/ts4.8/module.d.ts +4 -4
- node v14.18/ts4.8/net.d.ts +27 -12
- node v14.18/ts4.8/os.d.ts +4 -4
- node v14.18/ts4.8/path.d.ts +5 -5
- node v14.18/ts4.8/perf_hooks.d.ts +5 -5
- node v14.18/ts4.8/process.d.ts +61 -22
- node v14.18/ts4.8/punycode.d.ts +3 -3
- node v14.18/ts4.8/querystring.d.ts +15 -5
- node v14.18/ts4.8/readline.d.ts +16 -6
- node v14.18/ts4.8/repl.d.ts +13 -7
- node v14.18/ts4.8/stream.d.ts +160 -100
- node v14.18/ts4.8/string_decoder.d.ts +3 -3
- node v14.18/ts4.8/timers.d.ts +3 -3
- node v14.18/ts4.8/tls.d.ts +109 -27
- node v14.18/ts4.8/trace_events.d.ts +3 -3
- node v14.18/ts4.8/tty.d.ts +4 -4
- node v14.18/ts4.8/url.d.ts +21 -12
- node v14.18/ts4.8/util.d.ts +102 -40
- node v14.18/ts4.8/v8.d.ts +4 -5
- node v14.18/ts4.8/vm.d.ts +7 -7
- node v14.18/ts4.8/wasi.d.ts +3 -4
- node v14.18/ts4.8/worker_threads.d.ts +8 -8
- node v14.18/ts4.8/zlib.d.ts +13 -13
- node v14.18/tty.d.ts +4 -4
- node v14.18/url.d.ts +21 -12
- node v14.18/util.d.ts +102 -40
- node v14.18/v8.d.ts +4 -5
- node v14.18/vm.d.ts +7 -7
- node v14.18/wasi.d.ts +3 -4
- node v14.18/worker_threads.d.ts +8 -8
- node v14.18/zlib.d.ts +13 -13
node v14.18/ts4.8/console.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import console = require(
|
|
1
|
+
declare module "console" {
|
|
2
|
+
import console = require("node:console");
|
|
3
3
|
export = console;
|
|
4
4
|
}
|
|
5
|
-
declare module
|
|
6
|
-
import { InspectOptions } from
|
|
5
|
+
declare module "node:console" {
|
|
6
|
+
import { InspectOptions } from "util";
|
|
7
7
|
|
|
8
8
|
global {
|
|
9
9
|
// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build
|
|
@@ -117,13 +117,13 @@ declare module 'node:console' {
|
|
|
117
117
|
stdout: WritableStream;
|
|
118
118
|
stderr?: WritableStream | undefined;
|
|
119
119
|
ignoreErrors?: boolean | undefined;
|
|
120
|
-
colorMode?: boolean |
|
|
120
|
+
colorMode?: boolean | "auto" | undefined;
|
|
121
121
|
inspectOptions?: InspectOptions | undefined;
|
|
122
122
|
/**
|
|
123
123
|
* Set group indentation
|
|
124
124
|
* @default 2
|
|
125
125
|
*/
|
|
126
|
-
|
|
126
|
+
groupIndentation?: number | undefined;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
interface ConsoleConstructor {
|
node v14.18/ts4.8/constants.d.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
|
|
2
|
-
declare module
|
|
3
|
-
import { constants as osConstants, SignalConstants } from
|
|
4
|
-
import { constants as cryptoConstants } from
|
|
5
|
-
import { constants as fsConstants } from
|
|
2
|
+
declare module "constants" {
|
|
3
|
+
import { constants as osConstants, SignalConstants } from "os";
|
|
4
|
+
import { constants as cryptoConstants } from "crypto";
|
|
5
|
+
import { constants as fsConstants } from "fs";
|
|
6
6
|
|
|
7
|
-
const exp:
|
|
8
|
-
typeof osConstants.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
typeof
|
|
7
|
+
const exp:
|
|
8
|
+
& typeof osConstants.errno
|
|
9
|
+
& typeof osConstants.priority
|
|
10
|
+
& SignalConstants
|
|
11
|
+
& typeof cryptoConstants
|
|
12
|
+
& typeof fsConstants;
|
|
12
13
|
export = exp;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
declare module
|
|
16
|
-
import constants = require(
|
|
16
|
+
declare module "node:constants" {
|
|
17
|
+
import constants = require("constants");
|
|
17
18
|
export = constants;
|
|
18
19
|
}
|