@types/node 18.17.17 → 18.17.18
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 v18.17/README.md +1 -1
- node v18.17/assert.d.ts +3 -3
- node v18.17/async_hooks.d.ts +3 -3
- node v18.17/buffer.d.ts +3 -3
- node v18.17/child_process.d.ts +3 -3
- node v18.17/cluster.d.ts +4 -4
- node v18.17/constants.d.ts +3 -3
- node v18.17/crypto.d.ts +3 -3
- node v18.17/dgram.d.ts +3 -3
- node v18.17/diagnostics_channel.d.ts +3 -3
- node v18.17/dns/promises.d.ts +3 -3
- node v18.17/dns.d.ts +3 -3
- node v18.17/domain.d.ts +3 -3
- node v18.17/events.d.ts +3 -3
- node v18.17/fs/promises.d.ts +3 -3
- node v18.17/fs.d.ts +3 -3
- node v18.17/http.d.ts +3 -3
- node v18.17/http2.d.ts +3 -3
- node v18.17/https.d.ts +3 -3
- node v18.17/inspector.d.ts +3 -3
- node v18.17/module.d.ts +3 -3
- node v18.17/net.d.ts +3 -3
- node v18.17/os.d.ts +3 -3
- node v18.17/package.json +2 -2
- node v18.17/path.d.ts +5 -5
- node v18.17/perf_hooks.d.ts +3 -3
- node v18.17/process.d.ts +3 -3
- node v18.17/punycode.d.ts +3 -3
- node v18.17/querystring.d.ts +3 -3
- node v18.17/readline/promises.d.ts +3 -3
- node v18.17/readline.d.ts +3 -3
- node v18.17/repl.d.ts +3 -3
- node v18.17/stream/consumers.d.ts +3 -3
- node v18.17/stream/promises.d.ts +3 -3
- node v18.17/stream/web.d.ts +3 -3
- node v18.17/stream.d.ts +3 -3
- node v18.17/string_decoder.d.ts +3 -3
- node v18.17/timers/promises.d.ts +3 -3
- node v18.17/timers.d.ts +3 -3
- node v18.17/tls.d.ts +3 -3
- node v18.17/trace_events.d.ts +3 -3
- node v18.17/ts4.8/assert.d.ts +3 -3
- node v18.17/ts4.8/async_hooks.d.ts +3 -3
- node v18.17/ts4.8/buffer.d.ts +3 -3
- node v18.17/ts4.8/child_process.d.ts +3 -3
- node v18.17/ts4.8/cluster.d.ts +4 -4
- node v18.17/ts4.8/constants.d.ts +3 -3
- node v18.17/ts4.8/crypto.d.ts +3 -3
- node v18.17/ts4.8/dgram.d.ts +3 -3
- node v18.17/ts4.8/diagnostics_channel.d.ts +3 -3
- node v18.17/ts4.8/dns/promises.d.ts +3 -3
- node v18.17/ts4.8/dns.d.ts +3 -3
- node v18.17/ts4.8/domain.d.ts +3 -3
- node v18.17/ts4.8/events.d.ts +3 -3
- node v18.17/ts4.8/fs/promises.d.ts +3 -3
- node v18.17/ts4.8/fs.d.ts +3 -3
- node v18.17/ts4.8/http.d.ts +3 -3
- node v18.17/ts4.8/http2.d.ts +3 -3
- node v18.17/ts4.8/https.d.ts +3 -3
- node v18.17/ts4.8/inspector.d.ts +3 -3
- node v18.17/ts4.8/module.d.ts +3 -3
- node v18.17/ts4.8/net.d.ts +3 -3
- node v18.17/ts4.8/os.d.ts +3 -3
- node v18.17/ts4.8/path.d.ts +5 -5
- node v18.17/ts4.8/perf_hooks.d.ts +3 -3
- node v18.17/ts4.8/process.d.ts +3 -3
- node v18.17/ts4.8/punycode.d.ts +3 -3
- node v18.17/ts4.8/querystring.d.ts +3 -3
- node v18.17/ts4.8/readline/promises.d.ts +3 -3
- node v18.17/ts4.8/readline.d.ts +3 -3
- node v18.17/ts4.8/repl.d.ts +3 -3
- node v18.17/ts4.8/stream/consumers.d.ts +3 -3
- node v18.17/ts4.8/stream/promises.d.ts +3 -3
- node v18.17/ts4.8/stream/web.d.ts +3 -3
- node v18.17/ts4.8/stream.d.ts +3 -3
- node v18.17/ts4.8/string_decoder.d.ts +3 -3
- node v18.17/ts4.8/timers/promises.d.ts +3 -3
- node v18.17/ts4.8/timers.d.ts +3 -3
- node v18.17/ts4.8/tls.d.ts +3 -3
- node v18.17/ts4.8/trace_events.d.ts +3 -3
- node v18.17/ts4.8/tty.d.ts +3 -3
- node v18.17/ts4.8/url.d.ts +3 -3
- node v18.17/ts4.8/util.d.ts +3 -3
- node v18.17/ts4.8/v8.d.ts +3 -3
- node v18.17/ts4.8/vm.d.ts +3 -3
- node v18.17/ts4.8/wasi.d.ts +3 -3
- node v18.17/ts4.8/worker_threads.d.ts +3 -3
- node v18.17/ts4.8/zlib.d.ts +3 -3
- node v18.17/tty.d.ts +3 -3
- node v18.17/url.d.ts +3 -3
- node v18.17/util.d.ts +3 -3
- node v18.17/v8.d.ts +3 -3
- node v18.17/vm.d.ts +3 -3
- node v18.17/wasi.d.ts +3 -3
- node v18.17/worker_threads.d.ts +3 -3
- node v18.17/zlib.d.ts +3 -3
node v18.17/ts4.8/readline.d.ts
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
* received on the `input` stream.
|
|
33
33
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/readline.js)
|
|
34
34
|
*/
|
|
35
|
-
declare module '
|
|
35
|
+
declare module 'readline' {
|
|
36
36
|
import { Abortable, EventEmitter } from 'node:events';
|
|
37
37
|
import * as promises from 'node:readline/promises';
|
|
38
38
|
|
|
@@ -648,6 +648,6 @@ declare module 'node:readline' {
|
|
|
648
648
|
*/
|
|
649
649
|
export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
|
|
650
650
|
}
|
|
651
|
-
declare module 'readline' {
|
|
652
|
-
export * from '
|
|
651
|
+
declare module 'node:readline' {
|
|
652
|
+
export * from 'readline';
|
|
653
653
|
}
|
node v18.17/ts4.8/repl.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/repl.js)
|
|
10
10
|
*/
|
|
11
|
-
declare module '
|
|
11
|
+
declare module '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 'node:repl' {
|
|
|
419
419
|
constructor(err: Error);
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
declare module 'repl' {
|
|
423
|
-
export * from '
|
|
422
|
+
declare module 'node:repl' {
|
|
423
|
+
export * from 'repl';
|
|
424
424
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '
|
|
1
|
+
declare module 'stream/consumers' {
|
|
2
2
|
import { Blob as NodeBlob } from "node:buffer";
|
|
3
3
|
import { Readable } from 'node:stream';
|
|
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
|
interface ReadableWritablePair<R = any, W = any> {
|
|
@@ -325,6 +325,6 @@ declare module 'node:stream/web' {
|
|
|
325
325
|
new (label?: string, options?: TextDecoderOptions): TextDecoderStream;
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
declare module 'stream/web' {
|
|
329
|
-
export * from '
|
|
328
|
+
declare module 'node:stream/web' {
|
|
329
|
+
export * from 'stream/web';
|
|
330
330
|
}
|
node v18.17/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/v18.0.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 as NodeBlob } from "node:buffer";
|
|
22
22
|
import * as streamPromises from 'node:stream/promises';
|
|
@@ -1452,7 +1452,7 @@ declare module 'node:stream' {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
export = internal;
|
|
1454
1454
|
}
|
|
1455
|
-
declare module 'stream' {
|
|
1456
|
-
import stream = require('
|
|
1455
|
+
declare module 'node:stream' {
|
|
1456
|
+
import stream = require('stream');
|
|
1457
1457
|
export = stream;
|
|
1458
1458
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* ```
|
|
39
39
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.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 v18.17/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/v18.0.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 v18.17/ts4.8/tls.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.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
|
import * as stream from 'stream';
|
|
@@ -1106,6 +1106,6 @@ declare module 'node:tls' {
|
|
|
1106
1106
|
*/
|
|
1107
1107
|
const rootCertificates: ReadonlyArray<string>;
|
|
1108
1108
|
}
|
|
1109
|
-
declare module 'tls' {
|
|
1110
|
-
export * from '
|
|
1109
|
+
declare module 'node:tls' {
|
|
1110
|
+
export * from 'tls';
|
|
1111
1111
|
}
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
* @experimental
|
|
86
86
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/trace_events.js)
|
|
87
87
|
*/
|
|
88
|
-
declare module '
|
|
88
|
+
declare module 'trace_events' {
|
|
89
89
|
/**
|
|
90
90
|
* The `Tracing` object is used to enable or disable tracing for sets of
|
|
91
91
|
* categories. Instances are created using the
|
|
@@ -166,6 +166,6 @@ declare module 'node:trace_events' {
|
|
|
166
166
|
*/
|
|
167
167
|
function getEnabledCategories(): string | undefined;
|
|
168
168
|
}
|
|
169
|
-
declare module 'trace_events' {
|
|
170
|
-
export * from '
|
|
169
|
+
declare module 'node:trace_events' {
|
|
170
|
+
export * from 'trace_events';
|
|
171
171
|
}
|
node v18.17/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/v18.0.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
|
|
@@ -201,6 +201,6 @@ declare module 'node:tty' {
|
|
|
201
201
|
isTTY: boolean;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
declare module 'tty' {
|
|
205
|
-
export * from '
|
|
204
|
+
declare module 'node:tty' {
|
|
205
|
+
export * from 'tty';
|
|
206
206
|
}
|
node v18.17/ts4.8/url.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* ```
|
|
8
8
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/url.js)
|
|
9
9
|
*/
|
|
10
|
-
declare module '
|
|
10
|
+
declare module 'url' {
|
|
11
11
|
import { Blob as NodeBlob } from 'node:buffer';
|
|
12
12
|
import { ClientRequestArgs } from 'node:http';
|
|
13
13
|
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'node:querystring';
|
|
@@ -911,6 +911,6 @@ declare module 'node:url' {
|
|
|
911
911
|
: typeof _URLSearchParams;
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
|
-
declare module 'url' {
|
|
915
|
-
export * from '
|
|
914
|
+
declare module 'node:url' {
|
|
915
|
+
export * from 'url';
|
|
916
916
|
}
|
node v18.17/ts4.8/util.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v18.x/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
|
/**
|
|
@@ -2009,8 +2009,8 @@ declare module 'util/types' {
|
|
|
2009
2009
|
*/
|
|
2010
2010
|
function isCryptoKey(object: unknown): object is webcrypto.CryptoKey;
|
|
2011
2011
|
}
|
|
2012
|
-
declare module 'util' {
|
|
2013
|
-
export * from '
|
|
2012
|
+
declare module 'node:util' {
|
|
2013
|
+
export * from 'util';
|
|
2014
2014
|
}
|
|
2015
2015
|
declare module 'node:util/types' {
|
|
2016
2016
|
export * from 'util/types';
|
node v18.17/ts4.8/v8.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```
|
|
7
7
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.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;
|
|
@@ -536,6 +536,6 @@ declare module 'node:v8' {
|
|
|
536
536
|
*/
|
|
537
537
|
const promiseHooks: PromiseHooks;
|
|
538
538
|
}
|
|
539
|
-
declare module 'v8' {
|
|
540
|
-
export * from '
|
|
539
|
+
declare module 'node:v8' {
|
|
540
|
+
export * from 'v8';
|
|
541
541
|
}
|
node v18.17/ts4.8/vm.d.ts
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
* ```
|
|
37
37
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/vm.js)
|
|
38
38
|
*/
|
|
39
|
-
declare module '
|
|
39
|
+
declare module 'vm' {
|
|
40
40
|
import { ImportAssertions } from 'node:module';
|
|
41
41
|
interface Context extends NodeJS.Dict<any> {}
|
|
42
42
|
interface BaseOptions {
|
|
@@ -640,6 +640,6 @@ declare module 'node:vm' {
|
|
|
640
640
|
setExport(name: string, value: any): void;
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
declare module 'vm' {
|
|
644
|
-
export * from '
|
|
643
|
+
declare module 'node:vm' {
|
|
644
|
+
export * from 'vm';
|
|
645
645
|
}
|
node v18.17/ts4.8/wasi.d.ts
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
* @experimental
|
|
71
71
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.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/v18.0.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';
|
|
@@ -690,6 +690,6 @@ declare module 'node:worker_threads' {
|
|
|
690
690
|
: typeof _MessagePort;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
-
declare module 'worker_threads' {
|
|
694
|
-
export * from '
|
|
693
|
+
declare module 'node:worker_threads' {
|
|
694
|
+
export * from 'worker_threads';
|
|
695
695
|
}
|
node v18.17/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/v18.0.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 v18.17/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/v18.0.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
|
|
@@ -201,6 +201,6 @@ declare module 'node:tty' {
|
|
|
201
201
|
isTTY: boolean;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
declare module 'tty' {
|
|
205
|
-
export * from '
|
|
204
|
+
declare module 'node:tty' {
|
|
205
|
+
export * from 'tty';
|
|
206
206
|
}
|
node v18.17/url.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* ```
|
|
8
8
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/url.js)
|
|
9
9
|
*/
|
|
10
|
-
declare module '
|
|
10
|
+
declare module 'url' {
|
|
11
11
|
import { Blob as NodeBlob } from 'node:buffer';
|
|
12
12
|
import { ClientRequestArgs } from 'node:http';
|
|
13
13
|
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'node:querystring';
|
|
@@ -911,6 +911,6 @@ declare module 'node:url' {
|
|
|
911
911
|
: typeof _URLSearchParams;
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
|
-
declare module 'url' {
|
|
915
|
-
export * from '
|
|
914
|
+
declare module 'node:url' {
|
|
915
|
+
export * from 'url';
|
|
916
916
|
}
|
node v18.17/util.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```
|
|
9
9
|
* @see [source](https://github.com/nodejs/node/blob/v18.x/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
|
/**
|
|
@@ -2009,8 +2009,8 @@ declare module 'util/types' {
|
|
|
2009
2009
|
*/
|
|
2010
2010
|
function isCryptoKey(object: unknown): object is webcrypto.CryptoKey;
|
|
2011
2011
|
}
|
|
2012
|
-
declare module 'util' {
|
|
2013
|
-
export * from '
|
|
2012
|
+
declare module 'node:util' {
|
|
2013
|
+
export * from 'util';
|
|
2014
2014
|
}
|
|
2015
2015
|
declare module 'node:util/types' {
|
|
2016
2016
|
export * from 'util/types';
|
node v18.17/v8.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```
|
|
7
7
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.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;
|
|
@@ -536,6 +536,6 @@ declare module 'node:v8' {
|
|
|
536
536
|
*/
|
|
537
537
|
const promiseHooks: PromiseHooks;
|
|
538
538
|
}
|
|
539
|
-
declare module 'v8' {
|
|
540
|
-
export * from '
|
|
539
|
+
declare module 'node:v8' {
|
|
540
|
+
export * from 'v8';
|
|
541
541
|
}
|
node v18.17/vm.d.ts
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
* ```
|
|
37
37
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/vm.js)
|
|
38
38
|
*/
|
|
39
|
-
declare module '
|
|
39
|
+
declare module 'vm' {
|
|
40
40
|
import { ImportAssertions } from 'node:module';
|
|
41
41
|
interface Context extends NodeJS.Dict<any> {}
|
|
42
42
|
interface BaseOptions {
|
|
@@ -640,6 +640,6 @@ declare module 'node:vm' {
|
|
|
640
640
|
setExport(name: string, value: any): void;
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
declare module 'vm' {
|
|
644
|
-
export * from '
|
|
643
|
+
declare module 'node:vm' {
|
|
644
|
+
export * from 'vm';
|
|
645
645
|
}
|
node v18.17/wasi.d.ts
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
* @experimental
|
|
71
71
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.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 v18.17/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/v18.0.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';
|
|
@@ -690,6 +690,6 @@ declare module 'node:worker_threads' {
|
|
|
690
690
|
: typeof _MessagePort;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
-
declare module 'worker_threads' {
|
|
694
|
-
export * from '
|
|
693
|
+
declare module 'node:worker_threads' {
|
|
694
|
+
export * from 'worker_threads';
|
|
695
695
|
}
|
node v18.17/zlib.d.ts
CHANGED
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
* @since v0.5.8
|
|
91
91
|
* @see [source](https://github.com/nodejs/node/blob/v18.0.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
|
}
|