@types/node 16.18.52 → 16.18.53
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 v16.18/README.md +1 -1
- node v16.18/assert.d.ts +3 -3
- node v16.18/async_hooks.d.ts +3 -3
- node v16.18/buffer.d.ts +3 -3
- node v16.18/child_process.d.ts +3 -3
- node v16.18/cluster.d.ts +4 -4
- node v16.18/constants.d.ts +3 -3
- node v16.18/crypto.d.ts +3 -3
- node v16.18/dgram.d.ts +3 -3
- node v16.18/diagnostics_channel.d.ts +3 -3
- node v16.18/dns/promises.d.ts +3 -3
- node v16.18/dns.d.ts +3 -3
- node v16.18/domain.d.ts +3 -3
- node v16.18/events.d.ts +3 -3
- node v16.18/fs/promises.d.ts +3 -3
- node v16.18/fs.d.ts +3 -3
- node v16.18/http.d.ts +3 -3
- node v16.18/http2.d.ts +3 -3
- node v16.18/https.d.ts +3 -3
- node v16.18/inspector.d.ts +3 -3
- node v16.18/module.d.ts +3 -3
- node v16.18/net.d.ts +3 -3
- node v16.18/os.d.ts +3 -3
- node v16.18/package.json +2 -2
- node v16.18/path.d.ts +5 -5
- node v16.18/perf_hooks.d.ts +3 -3
- node v16.18/process.d.ts +3 -3
- node v16.18/punycode.d.ts +3 -3
- node v16.18/querystring.d.ts +3 -3
- node v16.18/readline.d.ts +3 -3
- node v16.18/repl.d.ts +3 -3
- node v16.18/stream/consumers.d.ts +3 -3
- node v16.18/stream/promises.d.ts +3 -3
- node v16.18/stream/web.d.ts +3 -3
- node v16.18/stream.d.ts +3 -3
- node v16.18/string_decoder.d.ts +3 -3
- node v16.18/timers/promises.d.ts +3 -3
- node v16.18/timers.d.ts +3 -3
- node v16.18/tls.d.ts +3 -3
- node v16.18/trace_events.d.ts +3 -3
- node v16.18/ts4.8/assert.d.ts +3 -3
- node v16.18/ts4.8/async_hooks.d.ts +3 -3
- node v16.18/ts4.8/buffer.d.ts +3 -3
- node v16.18/ts4.8/child_process.d.ts +3 -3
- node v16.18/ts4.8/cluster.d.ts +4 -4
- node v16.18/ts4.8/constants.d.ts +3 -3
- node v16.18/ts4.8/crypto.d.ts +3 -3
- node v16.18/ts4.8/dgram.d.ts +3 -3
- node v16.18/ts4.8/diagnostics_channel.d.ts +3 -3
- node v16.18/ts4.8/dns/promises.d.ts +3 -3
- node v16.18/ts4.8/dns.d.ts +3 -3
- node v16.18/ts4.8/domain.d.ts +3 -3
- node v16.18/ts4.8/events.d.ts +3 -3
- node v16.18/ts4.8/fs/promises.d.ts +3 -3
- node v16.18/ts4.8/fs.d.ts +3 -3
- node v16.18/ts4.8/http.d.ts +3 -3
- node v16.18/ts4.8/http2.d.ts +3 -3
- node v16.18/ts4.8/https.d.ts +3 -3
- node v16.18/ts4.8/inspector.d.ts +3 -3
- node v16.18/ts4.8/module.d.ts +3 -3
- node v16.18/ts4.8/net.d.ts +3 -3
- node v16.18/ts4.8/os.d.ts +3 -3
- node v16.18/ts4.8/path.d.ts +5 -5
- node v16.18/ts4.8/perf_hooks.d.ts +3 -3
- node v16.18/ts4.8/process.d.ts +3 -3
- node v16.18/ts4.8/punycode.d.ts +3 -3
- node v16.18/ts4.8/querystring.d.ts +3 -3
- node v16.18/ts4.8/readline.d.ts +3 -3
- node v16.18/ts4.8/repl.d.ts +3 -3
- node v16.18/ts4.8/stream/consumers.d.ts +3 -3
- node v16.18/ts4.8/stream/promises.d.ts +3 -3
- node v16.18/ts4.8/stream/web.d.ts +3 -3
- node v16.18/ts4.8/stream.d.ts +3 -3
- node v16.18/ts4.8/string_decoder.d.ts +3 -3
- node v16.18/ts4.8/timers/promises.d.ts +3 -3
- node v16.18/ts4.8/timers.d.ts +3 -3
- node v16.18/ts4.8/tls.d.ts +3 -3
- node v16.18/ts4.8/trace_events.d.ts +3 -3
- node v16.18/ts4.8/tty.d.ts +3 -3
- node v16.18/ts4.8/url.d.ts +3 -3
- node v16.18/ts4.8/util.d.ts +3 -3
- node v16.18/ts4.8/v8.d.ts +3 -3
- node v16.18/ts4.8/vm.d.ts +3 -3
- node v16.18/ts4.8/wasi.d.ts +3 -3
- node v16.18/ts4.8/worker_threads.d.ts +3 -3
- node v16.18/ts4.8/zlib.d.ts +3 -3
- node v16.18/tty.d.ts +3 -3
- node v16.18/url.d.ts +3 -3
- node v16.18/util.d.ts +3 -3
- node v16.18/v8.d.ts +3 -3
- node v16.18/vm.d.ts +3 -3
- node v16.18/wasi.d.ts +3 -3
- node v16.18/worker_threads.d.ts +3 -3
- node v16.18/zlib.d.ts +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '
|
|
1
|
+
declare module 'stream/consumers' {
|
|
2
2
|
import { Readable } from 'node:stream';
|
|
3
3
|
import { Blob as NodeBlob } from "node:buffer";
|
|
4
4
|
function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<Buffer>;
|
|
@@ -7,6 +7,6 @@ declare module 'node:stream/consumers' {
|
|
|
7
7
|
function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<NodeBlob>;
|
|
8
8
|
function json(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<unknown>;
|
|
9
9
|
}
|
|
10
|
-
declare module 'stream/consumers' {
|
|
11
|
-
export * from '
|
|
10
|
+
declare module 'node:stream/consumers' {
|
|
11
|
+
export * from 'stream/consumers';
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '
|
|
1
|
+
declare module 'stream/promises' {
|
|
2
2
|
import { FinishedOptions, PipelineSource, PipelineTransform, PipelineDestination, PipelinePromise, PipelineOptions } from 'node:stream';
|
|
3
3
|
function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options?: FinishedOptions): Promise<void>;
|
|
4
4
|
function pipeline<A extends PipelineSource<any>, B extends PipelineDestination<A, any>>(source: A, destination: B, options?: PipelineOptions): PipelinePromise<B>;
|
|
@@ -37,6 +37,6 @@ declare module 'node:stream/promises' {
|
|
|
37
37
|
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | PipelineOptions>
|
|
38
38
|
): Promise<void>;
|
|
39
39
|
}
|
|
40
|
-
declare module 'stream/promises' {
|
|
41
|
-
export * from '
|
|
40
|
+
declare module 'node:stream/promises' {
|
|
41
|
+
export * from 'stream/promises';
|
|
42
42
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '
|
|
1
|
+
declare module 'stream/web' {
|
|
2
2
|
// stub module, pending copy&paste from .d.ts or manual impl
|
|
3
3
|
// copy from lib.dom.d.ts
|
|
4
4
|
|
|
@@ -387,6 +387,6 @@ declare module 'node:stream/web' {
|
|
|
387
387
|
new (label?: string, options?: TextDecoderOptions): TextDecoderStream;
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
|
-
declare module 'stream/web' {
|
|
391
|
-
export * from '
|
|
390
|
+
declare module 'node:stream/web' {
|
|
391
|
+
export * from 'stream/web';
|
|
392
392
|
}
|
node v16.18/ts4.8/stream.d.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* usually not necessary to use the `stream` module to consume streams.
|
|
17
17
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/stream.js)
|
|
18
18
|
*/
|
|
19
|
-
declare module '
|
|
19
|
+
declare module 'stream' {
|
|
20
20
|
import { EventEmitter, Abortable } from 'node:events';
|
|
21
21
|
import { Blob } from 'node:buffer';
|
|
22
22
|
import * as streamPromises from 'node:stream/promises';
|
|
@@ -1357,7 +1357,7 @@ declare module 'node:stream' {
|
|
|
1357
1357
|
}
|
|
1358
1358
|
export = internal;
|
|
1359
1359
|
}
|
|
1360
|
-
declare module 'stream' {
|
|
1361
|
-
import stream = require('
|
|
1360
|
+
declare module 'node:stream' {
|
|
1361
|
+
import stream = require('stream');
|
|
1362
1362
|
export = stream;
|
|
1363
1363
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* ```
|
|
39
39
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/string_decoder.js)
|
|
40
40
|
*/
|
|
41
|
-
declare module '
|
|
41
|
+
declare module 'string_decoder' {
|
|
42
42
|
class StringDecoder {
|
|
43
43
|
constructor(encoding?: BufferEncoding);
|
|
44
44
|
/**
|
|
@@ -62,6 +62,6 @@ declare module 'node:string_decoder' {
|
|
|
62
62
|
end(buffer?: Buffer): string;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
declare module 'string_decoder' {
|
|
66
|
-
export * from '
|
|
65
|
+
declare module 'node:string_decoder' {
|
|
66
|
+
export * from 'string_decoder';
|
|
67
67
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ```
|
|
12
12
|
* @since v15.0.0
|
|
13
13
|
*/
|
|
14
|
-
declare module '
|
|
14
|
+
declare module 'timers/promises' {
|
|
15
15
|
import { TimerOptions } from 'node:timers';
|
|
16
16
|
/**
|
|
17
17
|
* ```js
|
|
@@ -88,6 +88,6 @@ declare module 'node:timers/promises' {
|
|
|
88
88
|
|
|
89
89
|
const scheduler: Scheduler;
|
|
90
90
|
}
|
|
91
|
-
declare module 'timers/promises' {
|
|
92
|
-
export * from '
|
|
91
|
+
declare module 'node:timers/promises' {
|
|
92
|
+
export * from 'timers/promises';
|
|
93
93
|
}
|
node v16.18/ts4.8/timers.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/timers.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module '
|
|
11
|
+
declare module 'timers' {
|
|
12
12
|
import { Abortable } from 'node:events';
|
|
13
13
|
import { setTimeout as setTimeoutPromise, setImmediate as setImmediatePromise, setInterval as setIntervalPromise } from 'node:timers/promises';
|
|
14
14
|
interface TimerOptions extends Abortable {
|
|
@@ -89,6 +89,6 @@ declare module 'node:timers' {
|
|
|
89
89
|
function queueMicrotask(callback: () => void): void;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
declare module 'timers' {
|
|
93
|
-
export * from '
|
|
92
|
+
declare module 'node:timers' {
|
|
93
|
+
export * from 'timers';
|
|
94
94
|
}
|
node v16.18/ts4.8/tls.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/tls.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module '
|
|
11
|
+
declare module 'tls' {
|
|
12
12
|
import { X509Certificate } from 'node:crypto';
|
|
13
13
|
import * as net from 'node:net';
|
|
14
14
|
const CLIENT_RENEG_LIMIT: number;
|
|
@@ -1014,6 +1014,6 @@ declare module 'node:tls' {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
const rootCertificates: ReadonlyArray<string>;
|
|
1016
1016
|
}
|
|
1017
|
-
declare module 'tls' {
|
|
1018
|
-
export * from '
|
|
1017
|
+
declare module 'node:tls' {
|
|
1018
|
+
export * from 'tls';
|
|
1019
1019
|
}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* @experimental
|
|
76
76
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/trace_events.js)
|
|
77
77
|
*/
|
|
78
|
-
declare module '
|
|
78
|
+
declare module 'trace_events' {
|
|
79
79
|
/**
|
|
80
80
|
* The `Tracing` object is used to enable or disable tracing for sets of
|
|
81
81
|
* categories. Instances are created using the
|
|
@@ -156,6 +156,6 @@ declare module 'node:trace_events' {
|
|
|
156
156
|
*/
|
|
157
157
|
function getEnabledCategories(): string | undefined;
|
|
158
158
|
}
|
|
159
|
-
declare module 'trace_events' {
|
|
160
|
-
export * from '
|
|
159
|
+
declare module 'node:trace_events' {
|
|
160
|
+
export * from 'trace_events';
|
|
161
161
|
}
|
node v16.18/ts4.8/tty.d.ts
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes.
|
|
25
25
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/tty.js)
|
|
26
26
|
*/
|
|
27
|
-
declare module '
|
|
27
|
+
declare module 'tty' {
|
|
28
28
|
import * as net from 'node:net';
|
|
29
29
|
/**
|
|
30
30
|
* The `tty.isatty()` method returns `true` if the given `fd` is associated with
|
|
@@ -199,6 +199,6 @@ declare module 'node:tty' {
|
|
|
199
199
|
isTTY: boolean;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
declare module 'tty' {
|
|
203
|
-
export * from '
|
|
202
|
+
declare module 'node:tty' {
|
|
203
|
+
export * from 'tty';
|
|
204
204
|
}
|
node v16.18/ts4.8/url.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* ```
|
|
8
8
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/url.js)
|
|
9
9
|
*/
|
|
10
|
-
declare module '
|
|
10
|
+
declare module 'url' {
|
|
11
11
|
import { Blob } from 'node:buffer';
|
|
12
12
|
import { ClientRequestArgs } from 'node:http';
|
|
13
13
|
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'node:querystring';
|
|
@@ -851,6 +851,6 @@ declare module 'node:url' {
|
|
|
851
851
|
: typeof _URLSearchParams;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
|
-
declare module 'url' {
|
|
855
|
-
export * from '
|
|
854
|
+
declare module 'node:url' {
|
|
855
|
+
export * from 'url';
|
|
856
856
|
}
|
node v16.18/ts4.8/util.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/util.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module '
|
|
11
|
+
declare module 'util' {
|
|
12
12
|
import * as types from 'node:util/types';
|
|
13
13
|
export interface InspectOptions {
|
|
14
14
|
/**
|
|
@@ -1613,8 +1613,8 @@ declare module 'util/types' {
|
|
|
1613
1613
|
*/
|
|
1614
1614
|
function isCryptoKey(object: unknown): object is webcrypto.CryptoKey;
|
|
1615
1615
|
}
|
|
1616
|
-
declare module 'util' {
|
|
1617
|
-
export * from '
|
|
1616
|
+
declare module 'node:util' {
|
|
1617
|
+
export * from 'util';
|
|
1618
1618
|
}
|
|
1619
1619
|
declare module 'node:util/types' {
|
|
1620
1620
|
export * from 'util/types';
|
node v16.18/ts4.8/v8.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```
|
|
7
7
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/v8.js)
|
|
8
8
|
*/
|
|
9
|
-
declare module '
|
|
9
|
+
declare module 'v8' {
|
|
10
10
|
import { Readable } from 'node:stream';
|
|
11
11
|
interface HeapSpaceInfo {
|
|
12
12
|
space_name: string;
|
|
@@ -467,6 +467,6 @@ declare module 'node:v8' {
|
|
|
467
467
|
*/
|
|
468
468
|
const promiseHooks: PromiseHooks;
|
|
469
469
|
}
|
|
470
|
-
declare module 'v8' {
|
|
471
|
-
export * from '
|
|
470
|
+
declare module 'node:v8' {
|
|
471
|
+
export * from 'v8';
|
|
472
472
|
}
|
node v16.18/ts4.8/vm.d.ts
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* ```
|
|
35
35
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/vm.js)
|
|
36
36
|
*/
|
|
37
|
-
declare module '
|
|
37
|
+
declare module 'vm' {
|
|
38
38
|
interface Context extends NodeJS.Dict<any> {}
|
|
39
39
|
interface BaseOptions {
|
|
40
40
|
/**
|
|
@@ -502,6 +502,6 @@ declare module 'node:vm' {
|
|
|
502
502
|
*/
|
|
503
503
|
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
504
504
|
}
|
|
505
|
-
declare module 'vm' {
|
|
506
|
-
export * from '
|
|
505
|
+
declare module 'node:vm' {
|
|
506
|
+
export * from 'vm';
|
|
507
507
|
}
|
node v16.18/ts4.8/wasi.d.ts
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
* @experimental
|
|
71
71
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/wasi.js)
|
|
72
72
|
*/
|
|
73
|
-
declare module '
|
|
73
|
+
declare module 'wasi' {
|
|
74
74
|
interface WASIOptions {
|
|
75
75
|
/**
|
|
76
76
|
* An array of strings that the WebAssembly application will
|
|
@@ -153,6 +153,6 @@ declare module 'node:wasi' {
|
|
|
153
153
|
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
declare module 'wasi' {
|
|
157
|
-
export * from '
|
|
156
|
+
declare module 'node:wasi' {
|
|
157
|
+
export * from 'wasi';
|
|
158
158
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
* specifically `argv` and `execArgv` options.
|
|
52
52
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/worker_threads.js)
|
|
53
53
|
*/
|
|
54
|
-
declare module '
|
|
54
|
+
declare module 'worker_threads' {
|
|
55
55
|
import { Blob } from 'node:buffer';
|
|
56
56
|
import { Context } from 'node:vm';
|
|
57
57
|
import { EventEmitter } from 'node:events';
|
|
@@ -644,6 +644,6 @@ declare module 'node:worker_threads' {
|
|
|
644
644
|
*/
|
|
645
645
|
function setEnvironmentData(key: Serializable, value: Serializable): void;
|
|
646
646
|
}
|
|
647
|
-
declare module 'worker_threads' {
|
|
648
|
-
export * from '
|
|
647
|
+
declare module 'node:worker_threads' {
|
|
648
|
+
export * from 'worker_threads';
|
|
649
649
|
}
|
node v16.18/ts4.8/zlib.d.ts
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
* @since v0.5.8
|
|
91
91
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/zlib.js)
|
|
92
92
|
*/
|
|
93
|
-
declare module '
|
|
93
|
+
declare module 'zlib' {
|
|
94
94
|
import * as stream from 'node:stream';
|
|
95
95
|
interface ZlibOptions {
|
|
96
96
|
/**
|
|
@@ -512,6 +512,6 @@ declare module 'node:zlib' {
|
|
|
512
512
|
/** @deprecated */
|
|
513
513
|
const Z_DEFLATED: number;
|
|
514
514
|
}
|
|
515
|
-
declare module 'zlib' {
|
|
516
|
-
export * from '
|
|
515
|
+
declare module 'node:zlib' {
|
|
516
|
+
export * from 'zlib';
|
|
517
517
|
}
|
node v16.18/tty.d.ts
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes.
|
|
25
25
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/tty.js)
|
|
26
26
|
*/
|
|
27
|
-
declare module '
|
|
27
|
+
declare module 'tty' {
|
|
28
28
|
import * as net from 'node:net';
|
|
29
29
|
/**
|
|
30
30
|
* The `tty.isatty()` method returns `true` if the given `fd` is associated with
|
|
@@ -199,6 +199,6 @@ declare module 'node:tty' {
|
|
|
199
199
|
isTTY: boolean;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
declare module 'tty' {
|
|
203
|
-
export * from '
|
|
202
|
+
declare module 'node:tty' {
|
|
203
|
+
export * from 'tty';
|
|
204
204
|
}
|
node v16.18/url.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* ```
|
|
8
8
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/url.js)
|
|
9
9
|
*/
|
|
10
|
-
declare module '
|
|
10
|
+
declare module 'url' {
|
|
11
11
|
import { Blob } from 'node:buffer';
|
|
12
12
|
import { ClientRequestArgs } from 'node:http';
|
|
13
13
|
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'node:querystring';
|
|
@@ -851,6 +851,6 @@ declare module 'node:url' {
|
|
|
851
851
|
: typeof _URLSearchParams;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
|
-
declare module 'url' {
|
|
855
|
-
export * from '
|
|
854
|
+
declare module 'node:url' {
|
|
855
|
+
export * from 'url';
|
|
856
856
|
}
|
node v16.18/util.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/util.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module '
|
|
11
|
+
declare module 'util' {
|
|
12
12
|
import * as types from 'node:util/types';
|
|
13
13
|
export interface InspectOptions {
|
|
14
14
|
/**
|
|
@@ -1613,8 +1613,8 @@ declare module 'util/types' {
|
|
|
1613
1613
|
*/
|
|
1614
1614
|
function isCryptoKey(object: unknown): object is webcrypto.CryptoKey;
|
|
1615
1615
|
}
|
|
1616
|
-
declare module 'util' {
|
|
1617
|
-
export * from '
|
|
1616
|
+
declare module 'node:util' {
|
|
1617
|
+
export * from 'util';
|
|
1618
1618
|
}
|
|
1619
1619
|
declare module 'node:util/types' {
|
|
1620
1620
|
export * from 'util/types';
|
node v16.18/v8.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```
|
|
7
7
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/v8.js)
|
|
8
8
|
*/
|
|
9
|
-
declare module '
|
|
9
|
+
declare module 'v8' {
|
|
10
10
|
import { Readable } from 'node:stream';
|
|
11
11
|
interface HeapSpaceInfo {
|
|
12
12
|
space_name: string;
|
|
@@ -467,6 +467,6 @@ declare module 'node:v8' {
|
|
|
467
467
|
*/
|
|
468
468
|
const promiseHooks: PromiseHooks;
|
|
469
469
|
}
|
|
470
|
-
declare module 'v8' {
|
|
471
|
-
export * from '
|
|
470
|
+
declare module 'node:v8' {
|
|
471
|
+
export * from 'v8';
|
|
472
472
|
}
|
node v16.18/vm.d.ts
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* ```
|
|
35
35
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/vm.js)
|
|
36
36
|
*/
|
|
37
|
-
declare module '
|
|
37
|
+
declare module 'vm' {
|
|
38
38
|
interface Context extends NodeJS.Dict<any> {}
|
|
39
39
|
interface BaseOptions {
|
|
40
40
|
/**
|
|
@@ -502,6 +502,6 @@ declare module 'node:vm' {
|
|
|
502
502
|
*/
|
|
503
503
|
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
504
504
|
}
|
|
505
|
-
declare module 'vm' {
|
|
506
|
-
export * from '
|
|
505
|
+
declare module 'node:vm' {
|
|
506
|
+
export * from 'vm';
|
|
507
507
|
}
|
node v16.18/wasi.d.ts
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
* @experimental
|
|
71
71
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/wasi.js)
|
|
72
72
|
*/
|
|
73
|
-
declare module '
|
|
73
|
+
declare module 'wasi' {
|
|
74
74
|
interface WASIOptions {
|
|
75
75
|
/**
|
|
76
76
|
* An array of strings that the WebAssembly application will
|
|
@@ -153,6 +153,6 @@ declare module 'node:wasi' {
|
|
|
153
153
|
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
declare module 'wasi' {
|
|
157
|
-
export * from '
|
|
156
|
+
declare module 'node:wasi' {
|
|
157
|
+
export * from 'wasi';
|
|
158
158
|
}
|
node v16.18/worker_threads.d.ts
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
* specifically `argv` and `execArgv` options.
|
|
52
52
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/worker_threads.js)
|
|
53
53
|
*/
|
|
54
|
-
declare module '
|
|
54
|
+
declare module 'worker_threads' {
|
|
55
55
|
import { Blob } from 'node:buffer';
|
|
56
56
|
import { Context } from 'node:vm';
|
|
57
57
|
import { EventEmitter } from 'node:events';
|
|
@@ -644,6 +644,6 @@ declare module 'node:worker_threads' {
|
|
|
644
644
|
*/
|
|
645
645
|
function setEnvironmentData(key: Serializable, value: Serializable): void;
|
|
646
646
|
}
|
|
647
|
-
declare module 'worker_threads' {
|
|
648
|
-
export * from '
|
|
647
|
+
declare module 'node:worker_threads' {
|
|
648
|
+
export * from 'worker_threads';
|
|
649
649
|
}
|
node v16.18/zlib.d.ts
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
* @since v0.5.8
|
|
91
91
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/zlib.js)
|
|
92
92
|
*/
|
|
93
|
-
declare module '
|
|
93
|
+
declare module 'zlib' {
|
|
94
94
|
import * as stream from 'node:stream';
|
|
95
95
|
interface ZlibOptions {
|
|
96
96
|
/**
|
|
@@ -512,6 +512,6 @@ declare module 'node:zlib' {
|
|
|
512
512
|
/** @deprecated */
|
|
513
513
|
const Z_DEFLATED: number;
|
|
514
514
|
}
|
|
515
|
-
declare module 'zlib' {
|
|
516
|
-
export * from '
|
|
515
|
+
declare module 'node:zlib' {
|
|
516
|
+
export * from 'zlib';
|
|
517
517
|
}
|