@types/node 16.18.50 → 16.18.52
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/LICENSE +0 -0
- node v16.18/README.md +1 -1
- node v16.18/assert/strict.d.ts +0 -0
- 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/console.d.ts +0 -0
- 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 +4 -3
- node v16.18/fs.d.ts +4 -4
- node v16.18/globals.d.ts +0 -0
- node v16.18/globals.global.d.ts +0 -0
- 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/index.d.ts +0 -0
- 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 +3 -3
- 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/test.d.ts +0 -0
- 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/strict.d.ts +0 -0
- 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/console.d.ts +0 -0
- 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 +4 -3
- node v16.18/ts4.8/fs.d.ts +4 -4
- node v16.18/ts4.8/globals.d.ts +0 -0
- node v16.18/ts4.8/globals.global.d.ts +0 -0
- 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/index.d.ts +0 -0
- 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/test.d.ts +0 -0
- 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
node v16.18/ts4.8/process.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'process' {
|
|
1
|
+
declare module 'node:process' {
|
|
2
2
|
import * as tty from 'node:tty';
|
|
3
3
|
import { Worker } from 'node:worker_threads';
|
|
4
4
|
global {
|
|
@@ -1475,7 +1475,7 @@ declare module 'process' {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
export = process;
|
|
1477
1477
|
}
|
|
1478
|
-
declare module '
|
|
1479
|
-
import process = require('process');
|
|
1478
|
+
declare module 'process' {
|
|
1479
|
+
import process = require('node:process');
|
|
1480
1480
|
export = process;
|
|
1481
1481
|
}
|
node v16.18/ts4.8/punycode.d.ts
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* @deprecated Since v7.0.0 - Deprecated
|
|
27
27
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/punycode.js)
|
|
28
28
|
*/
|
|
29
|
-
declare module 'punycode' {
|
|
29
|
+
declare module 'node:punycode' {
|
|
30
30
|
/**
|
|
31
31
|
* The `punycode.decode()` method converts a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only
|
|
32
32
|
* characters to the equivalent string of Unicode codepoints.
|
|
@@ -112,6 +112,6 @@ declare module 'punycode' {
|
|
|
112
112
|
*/
|
|
113
113
|
const version: string;
|
|
114
114
|
}
|
|
115
|
-
declare module '
|
|
116
|
-
export * from 'punycode';
|
|
115
|
+
declare module 'punycode' {
|
|
116
|
+
export * from 'node:punycode';
|
|
117
117
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* or when compatibility with browser code is desirable.
|
|
12
12
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/querystring.js)
|
|
13
13
|
*/
|
|
14
|
-
declare module 'querystring' {
|
|
14
|
+
declare module 'node:querystring' {
|
|
15
15
|
interface StringifyOptions {
|
|
16
16
|
encodeURIComponent?: ((str: string) => string) | undefined;
|
|
17
17
|
}
|
|
@@ -126,6 +126,6 @@ declare module 'querystring' {
|
|
|
126
126
|
*/
|
|
127
127
|
function unescape(str: string): string;
|
|
128
128
|
}
|
|
129
|
-
declare module '
|
|
130
|
-
export * from 'querystring';
|
|
129
|
+
declare module 'querystring' {
|
|
130
|
+
export * from 'node:querystring';
|
|
131
131
|
}
|
node v16.18/ts4.8/readline.d.ts
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* received on the `input` stream.
|
|
29
29
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/readline.js)
|
|
30
30
|
*/
|
|
31
|
-
declare module 'readline' {
|
|
31
|
+
declare module 'node:readline' {
|
|
32
32
|
import { Abortable, EventEmitter } from 'node:events';
|
|
33
33
|
interface Key {
|
|
34
34
|
sequence?: string | undefined;
|
|
@@ -538,6 +538,6 @@ declare module 'readline' {
|
|
|
538
538
|
*/
|
|
539
539
|
function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
|
|
540
540
|
}
|
|
541
|
-
declare module '
|
|
542
|
-
export * from 'readline';
|
|
541
|
+
declare module 'readline' {
|
|
542
|
+
export * from 'node:readline';
|
|
543
543
|
}
|
node v16.18/ts4.8/repl.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/repl.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module 'repl' {
|
|
11
|
+
declare module 'node:repl' {
|
|
12
12
|
import { Interface, Completer, AsyncCompleter } from 'node:readline';
|
|
13
13
|
import { Context } from 'node:vm';
|
|
14
14
|
import { InspectOptions } from 'node:util';
|
|
@@ -419,6 +419,6 @@ declare module 'repl' {
|
|
|
419
419
|
constructor(err: Error);
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
declare module '
|
|
423
|
-
export * from 'repl';
|
|
422
|
+
declare module 'repl' {
|
|
423
|
+
export * from 'node:repl';
|
|
424
424
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'stream/consumers' {
|
|
1
|
+
declare module 'node: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 '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 '
|
|
11
|
-
export * from 'stream/consumers';
|
|
10
|
+
declare module 'stream/consumers' {
|
|
11
|
+
export * from 'node:stream/consumers';
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'stream/promises' {
|
|
1
|
+
declare module 'node: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 'stream/promises' {
|
|
|
37
37
|
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | PipelineOptions>
|
|
38
38
|
): Promise<void>;
|
|
39
39
|
}
|
|
40
|
-
declare module '
|
|
41
|
-
export * from 'stream/promises';
|
|
40
|
+
declare module 'stream/promises' {
|
|
41
|
+
export * from 'node:stream/promises';
|
|
42
42
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'stream/web' {
|
|
1
|
+
declare module 'node: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 'stream/web' {
|
|
|
387
387
|
new (label?: string, options?: TextDecoderOptions): TextDecoderStream;
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
|
-
declare module '
|
|
391
|
-
export * from 'stream/web';
|
|
390
|
+
declare module 'stream/web' {
|
|
391
|
+
export * from 'node: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 'stream' {
|
|
19
|
+
declare module 'node: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 'stream' {
|
|
|
1357
1357
|
}
|
|
1358
1358
|
export = internal;
|
|
1359
1359
|
}
|
|
1360
|
-
declare module '
|
|
1361
|
-
import stream = require('stream');
|
|
1360
|
+
declare module 'stream' {
|
|
1361
|
+
import stream = require('node: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 'string_decoder' {
|
|
41
|
+
declare module 'node:string_decoder' {
|
|
42
42
|
class StringDecoder {
|
|
43
43
|
constructor(encoding?: BufferEncoding);
|
|
44
44
|
/**
|
|
@@ -62,6 +62,6 @@ declare module 'string_decoder' {
|
|
|
62
62
|
end(buffer?: Buffer): string;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
declare module '
|
|
66
|
-
export * from 'string_decoder';
|
|
65
|
+
declare module 'string_decoder' {
|
|
66
|
+
export * from 'node:string_decoder';
|
|
67
67
|
}
|
node v16.18/ts4.8/test.d.ts
CHANGED
|
File without changes
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* ```
|
|
12
12
|
* @since v15.0.0
|
|
13
13
|
*/
|
|
14
|
-
declare module 'timers/promises' {
|
|
14
|
+
declare module 'node:timers/promises' {
|
|
15
15
|
import { TimerOptions } from 'node:timers';
|
|
16
16
|
/**
|
|
17
17
|
* ```js
|
|
@@ -88,6 +88,6 @@ declare module 'timers/promises' {
|
|
|
88
88
|
|
|
89
89
|
const scheduler: Scheduler;
|
|
90
90
|
}
|
|
91
|
-
declare module '
|
|
92
|
-
export * from 'timers/promises';
|
|
91
|
+
declare module 'timers/promises' {
|
|
92
|
+
export * from 'node: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 'timers' {
|
|
11
|
+
declare module 'node: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 'timers' {
|
|
|
89
89
|
function queueMicrotask(callback: () => void): void;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
declare module '
|
|
93
|
-
export * from 'timers';
|
|
92
|
+
declare module 'timers' {
|
|
93
|
+
export * from 'node: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 'tls' {
|
|
11
|
+
declare module 'node: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 'tls' {
|
|
|
1014
1014
|
*/
|
|
1015
1015
|
const rootCertificates: ReadonlyArray<string>;
|
|
1016
1016
|
}
|
|
1017
|
-
declare module '
|
|
1018
|
-
export * from 'tls';
|
|
1017
|
+
declare module 'tls' {
|
|
1018
|
+
export * from 'node: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 'trace_events' {
|
|
78
|
+
declare module 'node: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 'trace_events' {
|
|
|
156
156
|
*/
|
|
157
157
|
function getEnabledCategories(): string | undefined;
|
|
158
158
|
}
|
|
159
|
-
declare module '
|
|
160
|
-
export * from 'trace_events';
|
|
159
|
+
declare module 'trace_events' {
|
|
160
|
+
export * from 'node: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 'tty' {
|
|
27
|
+
declare module 'node: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 'tty' {
|
|
|
199
199
|
isTTY: boolean;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
declare module '
|
|
203
|
-
export * from 'tty';
|
|
202
|
+
declare module 'tty' {
|
|
203
|
+
export * from 'node: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 'url' {
|
|
10
|
+
declare module 'node: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 'url' {
|
|
|
851
851
|
: typeof _URLSearchParams;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
|
-
declare module '
|
|
855
|
-
export * from 'url';
|
|
854
|
+
declare module 'url' {
|
|
855
|
+
export * from 'node: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 'util' {
|
|
11
|
+
declare module 'node: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 '
|
|
1617
|
-
export * from 'util';
|
|
1616
|
+
declare module 'util' {
|
|
1617
|
+
export * from 'node: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 'v8' {
|
|
9
|
+
declare module 'node:v8' {
|
|
10
10
|
import { Readable } from 'node:stream';
|
|
11
11
|
interface HeapSpaceInfo {
|
|
12
12
|
space_name: string;
|
|
@@ -467,6 +467,6 @@ declare module 'v8' {
|
|
|
467
467
|
*/
|
|
468
468
|
const promiseHooks: PromiseHooks;
|
|
469
469
|
}
|
|
470
|
-
declare module '
|
|
471
|
-
export * from 'v8';
|
|
470
|
+
declare module 'v8' {
|
|
471
|
+
export * from 'node: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 'vm' {
|
|
37
|
+
declare module 'node:vm' {
|
|
38
38
|
interface Context extends NodeJS.Dict<any> {}
|
|
39
39
|
interface BaseOptions {
|
|
40
40
|
/**
|
|
@@ -502,6 +502,6 @@ declare module 'vm' {
|
|
|
502
502
|
*/
|
|
503
503
|
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
504
504
|
}
|
|
505
|
-
declare module '
|
|
506
|
-
export * from 'vm';
|
|
505
|
+
declare module 'vm' {
|
|
506
|
+
export * from 'node: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 'wasi' {
|
|
73
|
+
declare module 'node:wasi' {
|
|
74
74
|
interface WASIOptions {
|
|
75
75
|
/**
|
|
76
76
|
* An array of strings that the WebAssembly application will
|
|
@@ -153,6 +153,6 @@ declare module 'wasi' {
|
|
|
153
153
|
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
declare module '
|
|
157
|
-
export * from 'wasi';
|
|
156
|
+
declare module 'wasi' {
|
|
157
|
+
export * from 'node: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 'worker_threads' {
|
|
54
|
+
declare module 'node: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 'worker_threads' {
|
|
|
644
644
|
*/
|
|
645
645
|
function setEnvironmentData(key: Serializable, value: Serializable): void;
|
|
646
646
|
}
|
|
647
|
-
declare module '
|
|
648
|
-
export * from 'worker_threads';
|
|
647
|
+
declare module 'worker_threads' {
|
|
648
|
+
export * from 'node: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 'zlib' {
|
|
93
|
+
declare module 'node:zlib' {
|
|
94
94
|
import * as stream from 'node:stream';
|
|
95
95
|
interface ZlibOptions {
|
|
96
96
|
/**
|
|
@@ -512,6 +512,6 @@ declare module 'zlib' {
|
|
|
512
512
|
/** @deprecated */
|
|
513
513
|
const Z_DEFLATED: number;
|
|
514
514
|
}
|
|
515
|
-
declare module '
|
|
516
|
-
export * from 'zlib';
|
|
515
|
+
declare module 'zlib' {
|
|
516
|
+
export * from 'node: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 'tty' {
|
|
27
|
+
declare module 'node: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 'tty' {
|
|
|
199
199
|
isTTY: boolean;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
declare module '
|
|
203
|
-
export * from 'tty';
|
|
202
|
+
declare module 'tty' {
|
|
203
|
+
export * from 'node: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 'url' {
|
|
10
|
+
declare module 'node: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 'url' {
|
|
|
851
851
|
: typeof _URLSearchParams;
|
|
852
852
|
}
|
|
853
853
|
}
|
|
854
|
-
declare module '
|
|
855
|
-
export * from 'url';
|
|
854
|
+
declare module 'url' {
|
|
855
|
+
export * from 'node: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 'util' {
|
|
11
|
+
declare module 'node: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 '
|
|
1617
|
-
export * from 'util';
|
|
1616
|
+
declare module 'util' {
|
|
1617
|
+
export * from 'node: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 'v8' {
|
|
9
|
+
declare module 'node:v8' {
|
|
10
10
|
import { Readable } from 'node:stream';
|
|
11
11
|
interface HeapSpaceInfo {
|
|
12
12
|
space_name: string;
|
|
@@ -467,6 +467,6 @@ declare module 'v8' {
|
|
|
467
467
|
*/
|
|
468
468
|
const promiseHooks: PromiseHooks;
|
|
469
469
|
}
|
|
470
|
-
declare module '
|
|
471
|
-
export * from 'v8';
|
|
470
|
+
declare module 'v8' {
|
|
471
|
+
export * from 'node: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 'vm' {
|
|
37
|
+
declare module 'node:vm' {
|
|
38
38
|
interface Context extends NodeJS.Dict<any> {}
|
|
39
39
|
interface BaseOptions {
|
|
40
40
|
/**
|
|
@@ -502,6 +502,6 @@ declare module 'vm' {
|
|
|
502
502
|
*/
|
|
503
503
|
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
504
504
|
}
|
|
505
|
-
declare module '
|
|
506
|
-
export * from 'vm';
|
|
505
|
+
declare module 'vm' {
|
|
506
|
+
export * from 'node: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 'wasi' {
|
|
73
|
+
declare module 'node:wasi' {
|
|
74
74
|
interface WASIOptions {
|
|
75
75
|
/**
|
|
76
76
|
* An array of strings that the WebAssembly application will
|
|
@@ -153,6 +153,6 @@ declare module 'wasi' {
|
|
|
153
153
|
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
declare module '
|
|
157
|
-
export * from 'wasi';
|
|
156
|
+
declare module 'wasi' {
|
|
157
|
+
export * from 'node: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 'worker_threads' {
|
|
54
|
+
declare module 'node: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 'worker_threads' {
|
|
|
644
644
|
*/
|
|
645
645
|
function setEnvironmentData(key: Serializable, value: Serializable): void;
|
|
646
646
|
}
|
|
647
|
-
declare module '
|
|
648
|
-
export * from 'worker_threads';
|
|
647
|
+
declare module 'worker_threads' {
|
|
648
|
+
export * from 'node: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 'zlib' {
|
|
93
|
+
declare module 'node:zlib' {
|
|
94
94
|
import * as stream from 'node:stream';
|
|
95
95
|
interface ZlibOptions {
|
|
96
96
|
/**
|
|
@@ -512,6 +512,6 @@ declare module 'zlib' {
|
|
|
512
512
|
/** @deprecated */
|
|
513
513
|
const Z_DEFLATED: number;
|
|
514
514
|
}
|
|
515
|
-
declare module '
|
|
516
|
-
export * from 'zlib';
|
|
515
|
+
declare module 'zlib' {
|
|
516
|
+
export * from 'node:zlib';
|
|
517
517
|
}
|