@types/node 18.17.15 → 18.17.17

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.
Files changed (111) hide show
  1. node v18.17/LICENSE +0 -0
  2. node v18.17/README.md +1 -1
  3. node v18.17/assert/strict.d.ts +0 -0
  4. node v18.17/assert.d.ts +3 -3
  5. node v18.17/async_hooks.d.ts +3 -3
  6. node v18.17/buffer.d.ts +3 -3
  7. node v18.17/child_process.d.ts +3 -3
  8. node v18.17/cluster.d.ts +4 -4
  9. node v18.17/console.d.ts +0 -0
  10. node v18.17/constants.d.ts +3 -3
  11. node v18.17/crypto.d.ts +3 -3
  12. node v18.17/dgram.d.ts +3 -3
  13. node v18.17/diagnostics_channel.d.ts +3 -3
  14. node v18.17/dns/promises.d.ts +3 -3
  15. node v18.17/dns.d.ts +3 -3
  16. node v18.17/dom-events.d.ts +0 -0
  17. node v18.17/domain.d.ts +3 -3
  18. node v18.17/events.d.ts +3 -3
  19. node v18.17/fs/promises.d.ts +4 -3
  20. node v18.17/fs.d.ts +4 -4
  21. node v18.17/globals.d.ts +0 -0
  22. node v18.17/globals.global.d.ts +0 -0
  23. node v18.17/http.d.ts +3 -3
  24. node v18.17/http2.d.ts +3 -3
  25. node v18.17/https.d.ts +3 -3
  26. node v18.17/index.d.ts +0 -0
  27. node v18.17/inspector.d.ts +3 -3
  28. node v18.17/module.d.ts +3 -3
  29. node v18.17/net.d.ts +3 -3
  30. node v18.17/os.d.ts +3 -3
  31. node v18.17/package.json +3 -3
  32. node v18.17/path.d.ts +5 -5
  33. node v18.17/perf_hooks.d.ts +3 -3
  34. node v18.17/process.d.ts +3 -3
  35. node v18.17/punycode.d.ts +3 -3
  36. node v18.17/querystring.d.ts +3 -3
  37. node v18.17/readline/promises.d.ts +3 -3
  38. node v18.17/readline.d.ts +3 -3
  39. node v18.17/repl.d.ts +3 -3
  40. node v18.17/stream/consumers.d.ts +3 -3
  41. node v18.17/stream/promises.d.ts +3 -3
  42. node v18.17/stream/web.d.ts +3 -3
  43. node v18.17/stream.d.ts +3 -3
  44. node v18.17/string_decoder.d.ts +3 -3
  45. node v18.17/test.d.ts +0 -0
  46. node v18.17/timers/promises.d.ts +3 -3
  47. node v18.17/timers.d.ts +3 -3
  48. node v18.17/tls.d.ts +3 -3
  49. node v18.17/trace_events.d.ts +3 -3
  50. node v18.17/ts4.8/assert/strict.d.ts +0 -0
  51. node v18.17/ts4.8/assert.d.ts +3 -3
  52. node v18.17/ts4.8/async_hooks.d.ts +3 -3
  53. node v18.17/ts4.8/buffer.d.ts +3 -3
  54. node v18.17/ts4.8/child_process.d.ts +3 -3
  55. node v18.17/ts4.8/cluster.d.ts +4 -4
  56. node v18.17/ts4.8/console.d.ts +0 -0
  57. node v18.17/ts4.8/constants.d.ts +3 -3
  58. node v18.17/ts4.8/crypto.d.ts +3 -3
  59. node v18.17/ts4.8/dgram.d.ts +3 -3
  60. node v18.17/ts4.8/diagnostics_channel.d.ts +3 -3
  61. node v18.17/ts4.8/dns/promises.d.ts +3 -3
  62. node v18.17/ts4.8/dns.d.ts +3 -3
  63. node v18.17/ts4.8/dom-events.d.ts +0 -0
  64. node v18.17/ts4.8/domain.d.ts +3 -3
  65. node v18.17/ts4.8/events.d.ts +3 -3
  66. node v18.17/ts4.8/fs/promises.d.ts +4 -3
  67. node v18.17/ts4.8/fs.d.ts +4 -4
  68. node v18.17/ts4.8/globals.d.ts +0 -0
  69. node v18.17/ts4.8/globals.global.d.ts +0 -0
  70. node v18.17/ts4.8/http.d.ts +3 -3
  71. node v18.17/ts4.8/http2.d.ts +3 -3
  72. node v18.17/ts4.8/https.d.ts +3 -3
  73. node v18.17/ts4.8/index.d.ts +0 -0
  74. node v18.17/ts4.8/inspector.d.ts +3 -3
  75. node v18.17/ts4.8/module.d.ts +3 -3
  76. node v18.17/ts4.8/net.d.ts +3 -3
  77. node v18.17/ts4.8/os.d.ts +3 -3
  78. node v18.17/ts4.8/path.d.ts +5 -5
  79. node v18.17/ts4.8/perf_hooks.d.ts +3 -3
  80. node v18.17/ts4.8/process.d.ts +3 -3
  81. node v18.17/ts4.8/punycode.d.ts +3 -3
  82. node v18.17/ts4.8/querystring.d.ts +3 -3
  83. node v18.17/ts4.8/readline/promises.d.ts +3 -3
  84. node v18.17/ts4.8/readline.d.ts +3 -3
  85. node v18.17/ts4.8/repl.d.ts +3 -3
  86. node v18.17/ts4.8/stream/consumers.d.ts +3 -3
  87. node v18.17/ts4.8/stream/promises.d.ts +3 -3
  88. node v18.17/ts4.8/stream/web.d.ts +3 -3
  89. node v18.17/ts4.8/stream.d.ts +3 -3
  90. node v18.17/ts4.8/string_decoder.d.ts +3 -3
  91. node v18.17/ts4.8/test.d.ts +0 -0
  92. node v18.17/ts4.8/timers/promises.d.ts +3 -3
  93. node v18.17/ts4.8/timers.d.ts +3 -3
  94. node v18.17/ts4.8/tls.d.ts +3 -3
  95. node v18.17/ts4.8/trace_events.d.ts +3 -3
  96. node v18.17/ts4.8/tty.d.ts +3 -3
  97. node v18.17/ts4.8/url.d.ts +3 -3
  98. node v18.17/ts4.8/util.d.ts +3 -3
  99. node v18.17/ts4.8/v8.d.ts +3 -3
  100. node v18.17/ts4.8/vm.d.ts +3 -3
  101. node v18.17/ts4.8/wasi.d.ts +3 -3
  102. node v18.17/ts4.8/worker_threads.d.ts +3 -3
  103. node v18.17/ts4.8/zlib.d.ts +3 -3
  104. node v18.17/tty.d.ts +3 -3
  105. node v18.17/url.d.ts +3 -3
  106. node v18.17/util.d.ts +3 -3
  107. node v18.17/v8.d.ts +3 -3
  108. node v18.17/vm.d.ts +3 -3
  109. node v18.17/wasi.d.ts +3 -3
  110. node v18.17/worker_threads.d.ts +3 -3
  111. node v18.17/zlib.d.ts +3 -3
@@ -28,7 +28,7 @@
28
28
  * ```
29
29
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/perf_hooks.js)
30
30
  */
31
- declare module 'perf_hooks' {
31
+ declare module 'node:perf_hooks' {
32
32
  import { AsyncResource } from 'node:async_hooks';
33
33
  type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http';
34
34
  interface NodeGCPerformanceDetail {
@@ -620,6 +620,6 @@ declare module 'perf_hooks' {
620
620
  : typeof _performance;
621
621
  }
622
622
  }
623
- declare module 'node:perf_hooks' {
624
- export * from 'perf_hooks';
623
+ declare module 'perf_hooks' {
624
+ export * from 'node:perf_hooks';
625
625
  }
@@ -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 {
@@ -1482,7 +1482,7 @@ declare module 'process' {
1482
1482
  }
1483
1483
  export = process;
1484
1484
  }
1485
- declare module 'node:process' {
1486
- import process = require('process');
1485
+ declare module 'process' {
1486
+ import process = require('node:process');
1487
1487
  export = process;
1488
1488
  }
@@ -26,7 +26,7 @@
26
26
  * @deprecated Since v7.0.0 - Deprecated
27
27
  * @see [source](https://github.com/nodejs/node/blob/v18.0.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 'node:punycode' {
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/v18.0.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 'node:querystring' {
130
- export * from 'querystring';
129
+ declare module 'querystring' {
130
+ export * from 'node:querystring';
131
131
  }
@@ -4,7 +4,7 @@
4
4
  * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/readline/promises.js)
5
5
  * @since v17.0.0
6
6
  */
7
- declare module 'readline/promises' {
7
+ declare module 'node:readline/promises' {
8
8
  import { Interface as _Interface, ReadLineOptions, Completer, AsyncCompleter, Direction } from 'node:readline';
9
9
  import { Abortable } from 'node:events';
10
10
 
@@ -138,6 +138,6 @@ declare module 'readline/promises' {
138
138
  ): Interface;
139
139
  function createInterface(options: ReadLineOptions): Interface;
140
140
  }
141
- declare module 'node:readline/promises' {
142
- export * from 'readline/promises';
141
+ declare module 'readline/promises' {
142
+ export * from 'node:readline/promises';
143
143
  }
@@ -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 'readline' {
35
+ declare module 'node: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 'readline' {
648
648
  */
649
649
  export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
650
650
  }
651
- declare module 'node:readline' {
652
- export * from 'readline';
651
+ declare module 'readline' {
652
+ export * from 'node:readline';
653
653
  }
@@ -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 '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 'node:repl' {
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 { 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 '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 'node:stream/consumers' {
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 'node:stream/promises' {
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
  interface ReadableWritablePair<R = any, W = any> {
@@ -325,6 +325,6 @@ declare module 'stream/web' {
325
325
  new (label?: string, options?: TextDecoderOptions): TextDecoderStream;
326
326
  };
327
327
  }
328
- declare module 'node:stream/web' {
329
- export * from 'stream/web';
328
+ declare module 'stream/web' {
329
+ export * from 'node:stream/web';
330
330
  }
@@ -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 'stream' {
19
+ declare module 'node: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 'stream' {
1452
1452
  }
1453
1453
  export = internal;
1454
1454
  }
1455
- declare module 'node:stream' {
1456
- import stream = require('stream');
1455
+ declare module 'stream' {
1456
+ import stream = require('node: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 '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 'node:string_decoder' {
66
- export * from 'string_decoder';
65
+ declare module 'string_decoder' {
66
+ export * from 'node:string_decoder';
67
67
  }
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 'node:timers/promises' {
92
- export * from 'timers/promises';
91
+ declare module 'timers/promises' {
92
+ export * from 'node:timers/promises';
93
93
  }
@@ -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 '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 'node:timers' {
93
- export * from 'timers';
92
+ declare module 'timers' {
93
+ export * from 'node:timers';
94
94
  }
@@ -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 'tls' {
11
+ declare module 'node: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 'tls' {
1106
1106
  */
1107
1107
  const rootCertificates: ReadonlyArray<string>;
1108
1108
  }
1109
- declare module 'node:tls' {
1110
- export * from 'tls';
1109
+ declare module 'tls' {
1110
+ export * from 'node: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 'trace_events' {
88
+ declare module 'node: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 'trace_events' {
166
166
  */
167
167
  function getEnabledCategories(): string | undefined;
168
168
  }
169
- declare module 'node:trace_events' {
170
- export * from 'trace_events';
169
+ declare module 'trace_events' {
170
+ export * from 'node:trace_events';
171
171
  }
@@ -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 '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
@@ -201,6 +201,6 @@ declare module 'tty' {
201
201
  isTTY: boolean;
202
202
  }
203
203
  }
204
- declare module 'node:tty' {
205
- export * from 'tty';
204
+ declare module 'tty' {
205
+ export * from 'node:tty';
206
206
  }
@@ -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 'url' {
10
+ declare module 'node: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 'url' {
911
911
  : typeof _URLSearchParams;
912
912
  }
913
913
  }
914
- declare module 'node:url' {
915
- export * from 'url';
914
+ declare module 'url' {
915
+ export * from 'node:url';
916
916
  }
@@ -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 'util' {
11
+ declare module 'node: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 'node:util' {
2013
- export * from 'util';
2012
+ declare module 'util' {
2013
+ export * from 'node:util';
2014
2014
  }
2015
2015
  declare module 'node:util/types' {
2016
2016
  export * from 'util/types';
@@ -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 'v8' {
9
+ declare module 'node:v8' {
10
10
  import { Readable } from 'node:stream';
11
11
  interface HeapSpaceInfo {
12
12
  space_name: string;
@@ -536,6 +536,6 @@ declare module 'v8' {
536
536
  */
537
537
  const promiseHooks: PromiseHooks;
538
538
  }
539
- declare module 'node:v8' {
540
- export * from 'v8';
539
+ declare module 'v8' {
540
+ export * from 'node:v8';
541
541
  }
@@ -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 'vm' {
39
+ declare module 'node: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 'vm' {
640
640
  setExport(name: string, value: any): void;
641
641
  }
642
642
  }
643
- declare module 'node:vm' {
644
- export * from 'vm';
643
+ declare module 'vm' {
644
+ export * from 'node:vm';
645
645
  }
@@ -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 '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 'node:wasi' {
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/v18.0.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';
@@ -690,6 +690,6 @@ declare module 'worker_threads' {
690
690
  : typeof _MessagePort;
691
691
  }
692
692
  }
693
- declare module 'node:worker_threads' {
694
- export * from 'worker_threads';
693
+ declare module 'worker_threads' {
694
+ export * from 'node:worker_threads';
695
695
  }
@@ -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 '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 'node:zlib' {
516
- export * from 'zlib';
515
+ declare module 'zlib' {
516
+ export * from 'node: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 '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
@@ -201,6 +201,6 @@ declare module 'tty' {
201
201
  isTTY: boolean;
202
202
  }
203
203
  }
204
- declare module 'node:tty' {
205
- export * from 'tty';
204
+ declare module 'tty' {
205
+ export * from 'node: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 'url' {
10
+ declare module 'node: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 'url' {
911
911
  : typeof _URLSearchParams;
912
912
  }
913
913
  }
914
- declare module 'node:url' {
915
- export * from 'url';
914
+ declare module 'url' {
915
+ export * from 'node: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 'util' {
11
+ declare module 'node: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 'node:util' {
2013
- export * from 'util';
2012
+ declare module 'util' {
2013
+ export * from 'node: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 'v8' {
9
+ declare module 'node:v8' {
10
10
  import { Readable } from 'node:stream';
11
11
  interface HeapSpaceInfo {
12
12
  space_name: string;
@@ -536,6 +536,6 @@ declare module 'v8' {
536
536
  */
537
537
  const promiseHooks: PromiseHooks;
538
538
  }
539
- declare module 'node:v8' {
540
- export * from 'v8';
539
+ declare module 'v8' {
540
+ export * from 'node: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 'vm' {
39
+ declare module 'node: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 'vm' {
640
640
  setExport(name: string, value: any): void;
641
641
  }
642
642
  }
643
- declare module 'node:vm' {
644
- export * from 'vm';
643
+ declare module 'vm' {
644
+ export * from 'node: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 '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 'node:wasi' {
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/v18.0.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';
@@ -690,6 +690,6 @@ declare module 'worker_threads' {
690
690
  : typeof _MessagePort;
691
691
  }
692
692
  }
693
- declare module 'node:worker_threads' {
694
- export * from 'worker_threads';
693
+ declare module 'worker_threads' {
694
+ export * from 'node: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 '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 'node:zlib' {
516
- export * from 'zlib';
515
+ declare module 'zlib' {
516
+ export * from 'node:zlib';
517
517
  }