@types/node 14.18.60 → 14.18.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node v14.18/README.md +1 -1
- node v14.18/assert.d.ts +3 -3
- node v14.18/async_hooks.d.ts +3 -3
- node v14.18/buffer.d.ts +3 -3
- node v14.18/child_process.d.ts +3 -3
- node v14.18/cluster.d.ts +3 -3
- node v14.18/constants.d.ts +3 -3
- node v14.18/crypto.d.ts +3 -3
- node v14.18/dgram.d.ts +3 -3
- node v14.18/dns.d.ts +3 -3
- node v14.18/domain.d.ts +4 -4
- node v14.18/events.d.ts +3 -3
- node v14.18/fs.d.ts +3 -3
- node v14.18/http.d.ts +3 -3
- node v14.18/http2.d.ts +4 -4
- node v14.18/https.d.ts +3 -3
- node v14.18/inspector.d.ts +4 -4
- node v14.18/module.d.ts +3 -3
- node v14.18/net.d.ts +3 -3
- node v14.18/os.d.ts +3 -3
- node v14.18/package.json +2 -2
- node v14.18/path.d.ts +3 -3
- node v14.18/perf_hooks.d.ts +3 -3
- node v14.18/process.d.ts +3 -3
- node v14.18/punycode.d.ts +3 -3
- node v14.18/querystring.d.ts +3 -3
- node v14.18/readline.d.ts +4 -4
- node v14.18/repl.d.ts +3 -3
- node v14.18/stream.d.ts +4 -4
- node v14.18/string_decoder.d.ts +3 -3
- node v14.18/timers.d.ts +3 -3
- node v14.18/tls.d.ts +3 -3
- node v14.18/trace_events.d.ts +3 -3
- node v14.18/ts4.8/assert.d.ts +3 -3
- node v14.18/ts4.8/async_hooks.d.ts +3 -3
- node v14.18/ts4.8/buffer.d.ts +3 -3
- node v14.18/ts4.8/child_process.d.ts +3 -3
- node v14.18/ts4.8/cluster.d.ts +3 -3
- node v14.18/ts4.8/constants.d.ts +3 -3
- node v14.18/ts4.8/crypto.d.ts +3 -3
- node v14.18/ts4.8/dgram.d.ts +3 -3
- node v14.18/ts4.8/dns.d.ts +3 -3
- node v14.18/ts4.8/domain.d.ts +4 -4
- node v14.18/ts4.8/events.d.ts +3 -3
- node v14.18/ts4.8/fs/promises.d.ts +3 -3
- node v14.18/ts4.8/fs.d.ts +3 -3
- node v14.18/ts4.8/http.d.ts +3 -3
- node v14.18/ts4.8/http2.d.ts +4 -4
- node v14.18/ts4.8/https.d.ts +3 -3
- node v14.18/ts4.8/inspector.d.ts +4 -4
- node v14.18/ts4.8/module.d.ts +3 -3
- node v14.18/ts4.8/net.d.ts +3 -3
- node v14.18/ts4.8/os.d.ts +3 -3
- node v14.18/ts4.8/path.d.ts +3 -3
- node v14.18/ts4.8/perf_hooks.d.ts +3 -3
- node v14.18/ts4.8/process.d.ts +3 -3
- node v14.18/ts4.8/punycode.d.ts +3 -3
- node v14.18/ts4.8/querystring.d.ts +3 -3
- node v14.18/ts4.8/readline.d.ts +4 -4
- node v14.18/ts4.8/repl.d.ts +3 -3
- node v14.18/ts4.8/stream.d.ts +4 -4
- node v14.18/ts4.8/string_decoder.d.ts +3 -3
- node v14.18/ts4.8/timers.d.ts +3 -3
- node v14.18/ts4.8/tls.d.ts +3 -3
- node v14.18/ts4.8/trace_events.d.ts +3 -3
- node v14.18/ts4.8/tty.d.ts +3 -3
- node v14.18/ts4.8/url.d.ts +3 -3
- node v14.18/ts4.8/util.d.ts +3 -3
- node v14.18/ts4.8/v8.d.ts +3 -3
- node v14.18/ts4.8/vm.d.ts +3 -3
- node v14.18/ts4.8/wasi.d.ts +3 -3
- node v14.18/ts4.8/worker_threads.d.ts +3 -3
- node v14.18/ts4.8/zlib.d.ts +3 -3
- node v14.18/tty.d.ts +3 -3
- node v14.18/url.d.ts +3 -3
- node v14.18/util.d.ts +3 -3
- node v14.18/v8.d.ts +3 -3
- node v14.18/vm.d.ts +3 -3
- node v14.18/wasi.d.ts +3 -3
- node v14.18/worker_threads.d.ts +3 -3
- node v14.18/zlib.d.ts +3 -3
node v14.18/ts4.8/dgram.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'dgram' {
|
|
1
|
+
declare module 'node:dgram' {
|
|
2
2
|
import { AddressInfo } from 'net';
|
|
3
3
|
import * as dns from 'dns';
|
|
4
4
|
import EventEmitter = require('events');
|
|
@@ -139,6 +139,6 @@ declare module 'dgram' {
|
|
|
139
139
|
prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
declare module '
|
|
143
|
-
export * from 'dgram';
|
|
142
|
+
declare module 'dgram' {
|
|
143
|
+
export * from 'node:dgram';
|
|
144
144
|
}
|
node v14.18/ts4.8/dns.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'dns' {
|
|
1
|
+
declare module 'node:dns' {
|
|
2
2
|
// Supported getaddrinfo flags.
|
|
3
3
|
const ADDRCONFIG: number;
|
|
4
4
|
const V4MAPPED: number;
|
|
@@ -382,6 +382,6 @@ declare module 'dns' {
|
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
declare module '
|
|
386
|
-
export * from 'dns';
|
|
385
|
+
declare module 'dns' {
|
|
386
|
+
export * from 'node:dns';
|
|
387
387
|
}
|
node v14.18/ts4.8/domain.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module 'domain' {
|
|
2
|
-
import EventEmitter = require('events');
|
|
1
|
+
declare module 'node:domain' {
|
|
2
|
+
import EventEmitter = require('node:events');
|
|
3
3
|
|
|
4
4
|
global {
|
|
5
5
|
namespace NodeJS {
|
|
@@ -22,6 +22,6 @@ declare module 'domain' {
|
|
|
22
22
|
|
|
23
23
|
function create(): Domain;
|
|
24
24
|
}
|
|
25
|
-
declare module '
|
|
26
|
-
export * from 'domain';
|
|
25
|
+
declare module 'domain' {
|
|
26
|
+
export * from 'node:domain';
|
|
27
27
|
}
|
node v14.18/ts4.8/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'events' {
|
|
1
|
+
declare module 'node:events' {
|
|
2
2
|
interface EventEmitterOptions {
|
|
3
3
|
/**
|
|
4
4
|
* Enables automatic capturing of promise rejection.
|
|
@@ -76,7 +76,7 @@ declare module 'events' {
|
|
|
76
76
|
|
|
77
77
|
export = EventEmitter;
|
|
78
78
|
}
|
|
79
|
-
declare module '
|
|
80
|
-
import events = require('events');
|
|
79
|
+
declare module 'events' {
|
|
80
|
+
import events = require('node:events');
|
|
81
81
|
export = events;
|
|
82
82
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'fs/promises' {
|
|
1
|
+
declare module 'node:fs/promises' {
|
|
2
2
|
import {
|
|
3
3
|
BaseEncodingOptions,
|
|
4
4
|
BigIntStats,
|
|
@@ -567,6 +567,6 @@ declare module 'fs/promises' {
|
|
|
567
567
|
|
|
568
568
|
function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
569
569
|
}
|
|
570
|
-
declare module '
|
|
571
|
-
export * from 'fs/promises';
|
|
570
|
+
declare module 'fs/promises' {
|
|
571
|
+
export * from 'node:fs/promises';
|
|
572
572
|
}
|
node v14.18/ts4.8/fs.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'fs' {
|
|
1
|
+
declare module 'node:fs' {
|
|
2
2
|
import * as stream from 'stream';
|
|
3
3
|
import EventEmitter = require('events');
|
|
4
4
|
import { URL } from 'url';
|
|
@@ -2282,6 +2282,6 @@ declare module 'fs' {
|
|
|
2282
2282
|
bigint?: boolean | undefined;
|
|
2283
2283
|
}
|
|
2284
2284
|
}
|
|
2285
|
-
declare module '
|
|
2286
|
-
export * from 'fs';
|
|
2285
|
+
declare module 'fs' {
|
|
2286
|
+
export * from 'node:fs';
|
|
2287
2287
|
}
|
node v14.18/ts4.8/http.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'http' {
|
|
1
|
+
declare module 'node:http' {
|
|
2
2
|
import * as stream from 'stream';
|
|
3
3
|
import { URL } from 'url';
|
|
4
4
|
import { Socket, Server as NetServer, LookupFunction } from 'net';
|
|
@@ -575,6 +575,6 @@ declare module 'http' {
|
|
|
575
575
|
*/
|
|
576
576
|
const maxHeaderSize: number;
|
|
577
577
|
}
|
|
578
|
-
declare module '
|
|
579
|
-
export * from 'http';
|
|
578
|
+
declare module 'http' {
|
|
579
|
+
export * from 'node:http';
|
|
580
580
|
}
|
node v14.18/ts4.8/http2.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module 'http2' {
|
|
2
|
-
import EventEmitter = require('events');
|
|
1
|
+
declare module 'node:http2' {
|
|
2
|
+
import EventEmitter = require('node:events');
|
|
3
3
|
import * as fs from 'fs';
|
|
4
4
|
import * as net from 'net';
|
|
5
5
|
import * as stream from 'stream';
|
|
@@ -956,6 +956,6 @@ declare module 'http2' {
|
|
|
956
956
|
listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void
|
|
957
957
|
): ClientHttp2Session;
|
|
958
958
|
}
|
|
959
|
-
declare module '
|
|
960
|
-
export * from 'http2';
|
|
959
|
+
declare module 'http2' {
|
|
960
|
+
export * from 'node:http2';
|
|
961
961
|
}
|
node v14.18/ts4.8/https.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'https' {
|
|
1
|
+
declare module 'node:https' {
|
|
2
2
|
import { Duplex } from 'stream';
|
|
3
3
|
import * as tls from 'tls';
|
|
4
4
|
import * as http from 'http';
|
|
@@ -267,6 +267,6 @@ declare module 'https' {
|
|
|
267
267
|
): http.ClientRequest;
|
|
268
268
|
let globalAgent: Agent;
|
|
269
269
|
}
|
|
270
|
-
declare module '
|
|
271
|
-
export * from 'https';
|
|
270
|
+
declare module 'https' {
|
|
271
|
+
export * from 'node:https';
|
|
272
272
|
}
|
node v14.18/ts4.8/inspector.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* The inspector module provides an API for interacting with the V8 inspector.
|
|
11
11
|
*/
|
|
12
|
-
declare module 'inspector' {
|
|
13
|
-
import EventEmitter = require('events');
|
|
12
|
+
declare module 'node:inspector' {
|
|
13
|
+
import EventEmitter = require('node:events');
|
|
14
14
|
|
|
15
15
|
interface InspectorNotification<T> {
|
|
16
16
|
method: string;
|
|
@@ -3044,7 +3044,7 @@ declare module 'inspector' {
|
|
|
3044
3044
|
*/
|
|
3045
3045
|
function waitForDebugger(): void;
|
|
3046
3046
|
}
|
|
3047
|
-
declare module '
|
|
3048
|
-
import EventEmitter = require('inspector');
|
|
3047
|
+
declare module 'inspector' {
|
|
3048
|
+
import EventEmitter = require('node:inspector');
|
|
3049
3049
|
export = EventEmitter;
|
|
3050
3050
|
}
|
node v14.18/ts4.8/module.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'module' {
|
|
1
|
+
declare module 'node:module' {
|
|
2
2
|
import { URL } from 'url';
|
|
3
3
|
namespace Module {
|
|
4
4
|
/**
|
|
@@ -50,7 +50,7 @@ declare module 'module' {
|
|
|
50
50
|
}
|
|
51
51
|
export = Module;
|
|
52
52
|
}
|
|
53
|
-
declare module '
|
|
54
|
-
import module = require('module');
|
|
53
|
+
declare module 'module' {
|
|
54
|
+
import module = require('node:module');
|
|
55
55
|
export = module;
|
|
56
56
|
}
|
node v14.18/ts4.8/net.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'net' {
|
|
1
|
+
declare module 'node:net' {
|
|
2
2
|
import * as stream from 'stream';
|
|
3
3
|
import EventEmitter = require('events');
|
|
4
4
|
import * as dns from 'dns';
|
|
@@ -304,6 +304,6 @@ declare module 'net' {
|
|
|
304
304
|
function isIPv4(input: string): boolean;
|
|
305
305
|
function isIPv6(input: string): boolean;
|
|
306
306
|
}
|
|
307
|
-
declare module '
|
|
308
|
-
export * from 'net';
|
|
307
|
+
declare module 'net' {
|
|
308
|
+
export * from 'node:net';
|
|
309
309
|
}
|
node v14.18/ts4.8/os.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'os' {
|
|
1
|
+
declare module 'node:os' {
|
|
2
2
|
interface CpuInfo {
|
|
3
3
|
model: string;
|
|
4
4
|
speed: number;
|
|
@@ -238,6 +238,6 @@ declare module 'os' {
|
|
|
238
238
|
*/
|
|
239
239
|
function setPriority(pid: number, priority: number): void;
|
|
240
240
|
}
|
|
241
|
-
declare module '
|
|
242
|
-
export * from 'os';
|
|
241
|
+
declare module 'os' {
|
|
242
|
+
export * from 'node:os';
|
|
243
243
|
}
|
node v14.18/ts4.8/path.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'path' {
|
|
1
|
+
declare module 'node:path' {
|
|
2
2
|
namespace path {
|
|
3
3
|
/**
|
|
4
4
|
* A parsed path object generated by path.parse() or consumed by path.format().
|
|
@@ -162,7 +162,7 @@ declare module 'path' {
|
|
|
162
162
|
const path: path.PlatformPath;
|
|
163
163
|
export = path;
|
|
164
164
|
}
|
|
165
|
-
declare module '
|
|
166
|
-
import path = require('path');
|
|
165
|
+
declare module 'path' {
|
|
166
|
+
import path = require('node:path');
|
|
167
167
|
export = path;
|
|
168
168
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'perf_hooks' {
|
|
1
|
+
declare module 'node:perf_hooks' {
|
|
2
2
|
import { AsyncResource } from 'async_hooks';
|
|
3
3
|
|
|
4
4
|
type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http';
|
|
@@ -269,6 +269,6 @@ declare module 'perf_hooks' {
|
|
|
269
269
|
|
|
270
270
|
function monitorEventLoopDelay(options?: EventLoopMonitorOptions): EventLoopDelayMonitor;
|
|
271
271
|
}
|
|
272
|
-
declare module '
|
|
273
|
-
export * from 'perf_hooks';
|
|
272
|
+
declare module 'perf_hooks' {
|
|
273
|
+
export * from 'node:perf_hooks';
|
|
274
274
|
}
|
node v14.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 'tty';
|
|
3
3
|
|
|
4
4
|
global {
|
|
@@ -407,7 +407,7 @@ declare module 'process' {
|
|
|
407
407
|
|
|
408
408
|
export = process;
|
|
409
409
|
}
|
|
410
|
-
declare module '
|
|
411
|
-
import process = require('process');
|
|
410
|
+
declare module 'process' {
|
|
411
|
+
import process = require('node:process');
|
|
412
412
|
export = process;
|
|
413
413
|
}
|
node v14.18/ts4.8/punycode.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Users currently depending on the punycode module should switch to using
|
|
6
6
|
* the userland-provided Punycode.js module instead.
|
|
7
7
|
*/
|
|
8
|
-
declare module 'punycode' {
|
|
8
|
+
declare module 'node:punycode' {
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated since v7.0.0
|
|
11
11
|
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
@@ -73,6 +73,6 @@ declare module 'punycode' {
|
|
|
73
73
|
*/
|
|
74
74
|
const version: string;
|
|
75
75
|
}
|
|
76
|
-
declare module '
|
|
77
|
-
export * from 'punycode';
|
|
76
|
+
declare module 'punycode' {
|
|
77
|
+
export * from 'node:punycode';
|
|
78
78
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'querystring' {
|
|
1
|
+
declare module 'node:querystring' {
|
|
2
2
|
interface StringifyOptions {
|
|
3
3
|
encodeURIComponent?: ((str: string) => string) | undefined;
|
|
4
4
|
}
|
|
@@ -26,6 +26,6 @@ declare module 'querystring' {
|
|
|
26
26
|
function escape(str: string): string;
|
|
27
27
|
function unescape(str: string): string;
|
|
28
28
|
}
|
|
29
|
-
declare module '
|
|
30
|
-
export * from 'querystring';
|
|
29
|
+
declare module 'querystring' {
|
|
30
|
+
export * from 'node:querystring';
|
|
31
31
|
}
|
node v14.18/ts4.8/readline.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module 'readline' {
|
|
2
|
-
import EventEmitter = require('events');
|
|
1
|
+
declare module 'node:readline' {
|
|
2
|
+
import EventEmitter = require('node:events');
|
|
3
3
|
|
|
4
4
|
interface Key {
|
|
5
5
|
sequence?: string | undefined;
|
|
@@ -169,6 +169,6 @@ declare module 'readline' {
|
|
|
169
169
|
*/
|
|
170
170
|
function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
|
|
171
171
|
}
|
|
172
|
-
declare module '
|
|
173
|
-
export * from 'readline';
|
|
172
|
+
declare module 'readline' {
|
|
173
|
+
export * from 'node:readline';
|
|
174
174
|
}
|
node v14.18/ts4.8/repl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'repl' {
|
|
1
|
+
declare module 'node:repl' {
|
|
2
2
|
import { Interface, Completer, AsyncCompleter } from 'readline';
|
|
3
3
|
import { Context } from 'vm';
|
|
4
4
|
import { InspectOptions } from 'util';
|
|
@@ -393,6 +393,6 @@ declare module 'repl' {
|
|
|
393
393
|
constructor(err: Error);
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
declare module '
|
|
397
|
-
export * from 'repl';
|
|
396
|
+
declare module 'repl' {
|
|
397
|
+
export * from 'node:repl';
|
|
398
398
|
}
|
node v14.18/ts4.8/stream.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare module 'stream' {
|
|
2
|
-
import EventEmitter = require('events');
|
|
1
|
+
declare module 'node:stream' {
|
|
2
|
+
import EventEmitter = require('node:events');
|
|
3
3
|
|
|
4
4
|
class internal extends EventEmitter {
|
|
5
5
|
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T;
|
|
@@ -452,7 +452,7 @@ declare module 'stream' {
|
|
|
452
452
|
|
|
453
453
|
export = internal;
|
|
454
454
|
}
|
|
455
|
-
declare module '
|
|
456
|
-
import stream = require('stream');
|
|
455
|
+
declare module 'stream' {
|
|
456
|
+
import stream = require('node:stream');
|
|
457
457
|
export = stream;
|
|
458
458
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare module 'string_decoder' {
|
|
1
|
+
declare module 'node:string_decoder' {
|
|
2
2
|
class StringDecoder {
|
|
3
3
|
constructor(encoding?: BufferEncoding);
|
|
4
4
|
write(buffer: Buffer): string;
|
|
5
5
|
end(buffer?: Buffer): string;
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
|
-
declare module '
|
|
9
|
-
export * from 'string_decoder';
|
|
8
|
+
declare module 'string_decoder' {
|
|
9
|
+
export * from 'node:string_decoder';
|
|
10
10
|
}
|
node v14.18/ts4.8/timers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'timers' {
|
|
1
|
+
declare module 'node:timers' {
|
|
2
2
|
function setTimeout(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
|
|
3
3
|
namespace setTimeout {
|
|
4
4
|
function __promisify__(ms: number): Promise<void>;
|
|
@@ -14,6 +14,6 @@ declare module 'timers' {
|
|
|
14
14
|
}
|
|
15
15
|
function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
|
|
16
16
|
}
|
|
17
|
-
declare module '
|
|
18
|
-
export * from 'timers';
|
|
17
|
+
declare module 'timers' {
|
|
18
|
+
export * from 'node:timers';
|
|
19
19
|
}
|
node v14.18/ts4.8/tls.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'tls' {
|
|
1
|
+
declare module 'node:tls' {
|
|
2
2
|
import * as net from 'net';
|
|
3
3
|
import * as stream from 'stream';
|
|
4
4
|
|
|
@@ -779,6 +779,6 @@ declare module 'tls' {
|
|
|
779
779
|
*/
|
|
780
780
|
const rootCertificates: ReadonlyArray<string>;
|
|
781
781
|
}
|
|
782
|
-
declare module '
|
|
783
|
-
export * from 'tls';
|
|
782
|
+
declare module 'tls' {
|
|
783
|
+
export * from 'node:tls';
|
|
784
784
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'trace_events' {
|
|
1
|
+
declare module 'node:trace_events' {
|
|
2
2
|
/**
|
|
3
3
|
* The `Tracing` object is used to enable or disable tracing for sets of
|
|
4
4
|
* categories. Instances are created using the
|
|
@@ -59,6 +59,6 @@ declare module 'trace_events' {
|
|
|
59
59
|
*/
|
|
60
60
|
function getEnabledCategories(): string | undefined;
|
|
61
61
|
}
|
|
62
|
-
declare module '
|
|
63
|
-
export * from 'trace_events';
|
|
62
|
+
declare module 'trace_events' {
|
|
63
|
+
export * from 'node:trace_events';
|
|
64
64
|
}
|
node v14.18/ts4.8/tty.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'tty' {
|
|
1
|
+
declare module 'node:tty' {
|
|
2
2
|
import * as net from 'net';
|
|
3
3
|
|
|
4
4
|
function isatty(fd: number): boolean;
|
|
@@ -64,6 +64,6 @@ declare module 'tty' {
|
|
|
64
64
|
isTTY: boolean;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
declare module '
|
|
68
|
-
export * from 'tty';
|
|
67
|
+
declare module 'tty' {
|
|
68
|
+
export * from 'node:tty';
|
|
69
69
|
}
|
node v14.18/ts4.8/url.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'url' {
|
|
1
|
+
declare module 'node:url' {
|
|
2
2
|
import { ClientRequestArgs } from 'node:http';
|
|
3
3
|
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'querystring';
|
|
4
4
|
|
|
@@ -173,6 +173,6 @@ declare module 'url' {
|
|
|
173
173
|
: typeof _URLSearchParams;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
declare module '
|
|
177
|
-
export * from 'url';
|
|
176
|
+
declare module 'url' {
|
|
177
|
+
export * from 'node:url';
|
|
178
178
|
}
|
node v14.18/ts4.8/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'util' {
|
|
1
|
+
declare module 'node:util' {
|
|
2
2
|
interface InspectOptions extends NodeJS.InspectOptions { }
|
|
3
3
|
type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module';
|
|
4
4
|
type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => string;
|
|
@@ -211,6 +211,6 @@ declare module 'util' {
|
|
|
211
211
|
encodeInto(input: string, output: Uint8Array): EncodeIntoResult;
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
declare module '
|
|
215
|
-
export * from 'util';
|
|
214
|
+
declare module 'util' {
|
|
215
|
+
export * from 'node:util';
|
|
216
216
|
}
|
node v14.18/ts4.8/v8.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'v8' {
|
|
1
|
+
declare module 'node:v8' {
|
|
2
2
|
import { Readable } from 'stream';
|
|
3
3
|
|
|
4
4
|
interface HeapSpaceInfo {
|
|
@@ -185,6 +185,6 @@ declare module 'v8' {
|
|
|
185
185
|
*/
|
|
186
186
|
function deserialize(data: NodeJS.TypedArray): any;
|
|
187
187
|
}
|
|
188
|
-
declare module '
|
|
189
|
-
export * from 'v8';
|
|
188
|
+
declare module 'v8' {
|
|
189
|
+
export * from 'node:v8';
|
|
190
190
|
}
|
node v14.18/ts4.8/vm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'vm' {
|
|
1
|
+
declare module 'node:vm' {
|
|
2
2
|
interface Context extends NodeJS.Dict<any> { }
|
|
3
3
|
interface BaseOptions {
|
|
4
4
|
/**
|
|
@@ -150,6 +150,6 @@ declare module 'vm' {
|
|
|
150
150
|
*/
|
|
151
151
|
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
152
152
|
}
|
|
153
|
-
declare module '
|
|
154
|
-
export * from 'vm';
|
|
153
|
+
declare module 'vm' {
|
|
154
|
+
export * from 'node:vm';
|
|
155
155
|
}
|
node v14.18/ts4.8/wasi.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'wasi' {
|
|
1
|
+
declare module 'node:wasi' {
|
|
2
2
|
interface WASIOptions {
|
|
3
3
|
/**
|
|
4
4
|
* An array of strings that the WebAssembly application will
|
|
@@ -84,6 +84,6 @@ declare module 'wasi' {
|
|
|
84
84
|
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
declare module '
|
|
88
|
-
export * from 'wasi';
|
|
87
|
+
declare module 'wasi' {
|
|
88
|
+
export * from 'node:wasi';
|
|
89
89
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'worker_threads' {
|
|
1
|
+
declare module 'node:worker_threads' {
|
|
2
2
|
import { Context } from 'vm';
|
|
3
3
|
import EventEmitter = require('events');
|
|
4
4
|
import { Readable, Writable } from 'stream';
|
|
@@ -236,6 +236,6 @@ declare module 'worker_threads' {
|
|
|
236
236
|
*/
|
|
237
237
|
function receiveMessageOnPort(port: MessagePort): { message: any } | undefined;
|
|
238
238
|
}
|
|
239
|
-
declare module '
|
|
240
|
-
export * from 'worker_threads';
|
|
239
|
+
declare module 'worker_threads' {
|
|
240
|
+
export * from 'node:worker_threads';
|
|
241
241
|
}
|
node v14.18/ts4.8/zlib.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'zlib' {
|
|
1
|
+
declare module 'node:zlib' {
|
|
2
2
|
import * as stream from 'stream';
|
|
3
3
|
|
|
4
4
|
interface ZlibOptions {
|
|
@@ -359,6 +359,6 @@ declare module 'zlib' {
|
|
|
359
359
|
/** @deprecated */
|
|
360
360
|
const Z_DEFLATED: number;
|
|
361
361
|
}
|
|
362
|
-
declare module '
|
|
363
|
-
export * from 'zlib';
|
|
362
|
+
declare module 'zlib' {
|
|
363
|
+
export * from 'node:zlib';
|
|
364
364
|
}
|
node v14.18/tty.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'tty' {
|
|
1
|
+
declare module 'node:tty' {
|
|
2
2
|
import * as net from 'net';
|
|
3
3
|
|
|
4
4
|
function isatty(fd: number): boolean;
|
|
@@ -64,6 +64,6 @@ declare module 'tty' {
|
|
|
64
64
|
isTTY: boolean;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
declare module '
|
|
68
|
-
export * from 'tty';
|
|
67
|
+
declare module 'tty' {
|
|
68
|
+
export * from 'node:tty';
|
|
69
69
|
}
|
node v14.18/url.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'url' {
|
|
1
|
+
declare module 'node:url' {
|
|
2
2
|
import { ClientRequestArgs } from 'node:http';
|
|
3
3
|
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'querystring';
|
|
4
4
|
|
|
@@ -173,6 +173,6 @@ declare module 'url' {
|
|
|
173
173
|
: typeof _URLSearchParams;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
declare module '
|
|
177
|
-
export * from 'url';
|
|
176
|
+
declare module 'url' {
|
|
177
|
+
export * from 'node:url';
|
|
178
178
|
}
|
node v14.18/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'util' {
|
|
1
|
+
declare module 'node:util' {
|
|
2
2
|
interface InspectOptions extends NodeJS.InspectOptions { }
|
|
3
3
|
type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module';
|
|
4
4
|
type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => string;
|
|
@@ -211,6 +211,6 @@ declare module 'util' {
|
|
|
211
211
|
encodeInto(input: string, output: Uint8Array): EncodeIntoResult;
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
declare module '
|
|
215
|
-
export * from 'util';
|
|
214
|
+
declare module 'util' {
|
|
215
|
+
export * from 'node:util';
|
|
216
216
|
}
|
node v14.18/v8.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'v8' {
|
|
1
|
+
declare module 'node:v8' {
|
|
2
2
|
import { Readable } from 'stream';
|
|
3
3
|
|
|
4
4
|
interface HeapSpaceInfo {
|
|
@@ -185,6 +185,6 @@ declare module 'v8' {
|
|
|
185
185
|
*/
|
|
186
186
|
function deserialize(data: NodeJS.TypedArray): any;
|
|
187
187
|
}
|
|
188
|
-
declare module '
|
|
189
|
-
export * from 'v8';
|
|
188
|
+
declare module 'v8' {
|
|
189
|
+
export * from 'node:v8';
|
|
190
190
|
}
|
node v14.18/vm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'vm' {
|
|
1
|
+
declare module 'node:vm' {
|
|
2
2
|
interface Context extends NodeJS.Dict<any> { }
|
|
3
3
|
interface BaseOptions {
|
|
4
4
|
/**
|
|
@@ -150,6 +150,6 @@ declare module 'vm' {
|
|
|
150
150
|
*/
|
|
151
151
|
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
152
152
|
}
|
|
153
|
-
declare module '
|
|
154
|
-
export * from 'vm';
|
|
153
|
+
declare module 'vm' {
|
|
154
|
+
export * from 'node:vm';
|
|
155
155
|
}
|
node v14.18/wasi.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'wasi' {
|
|
1
|
+
declare module 'node:wasi' {
|
|
2
2
|
interface WASIOptions {
|
|
3
3
|
/**
|
|
4
4
|
* An array of strings that the WebAssembly application will
|
|
@@ -84,6 +84,6 @@ declare module 'wasi' {
|
|
|
84
84
|
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
declare module '
|
|
88
|
-
export * from 'wasi';
|
|
87
|
+
declare module 'wasi' {
|
|
88
|
+
export * from 'node:wasi';
|
|
89
89
|
}
|
node v14.18/worker_threads.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module 'worker_threads' {
|
|
1
|
+
declare module 'node:worker_threads' {
|
|
2
2
|
import { Context } from 'vm';
|
|
3
3
|
import EventEmitter = require('events');
|
|
4
4
|
import { Readable, Writable } from 'stream';
|
|
@@ -236,6 +236,6 @@ declare module 'worker_threads' {
|
|
|
236
236
|
*/
|
|
237
237
|
function receiveMessageOnPort(port: MessagePort): { message: any } | undefined;
|
|
238
238
|
}
|
|
239
|
-
declare module '
|
|
240
|
-
export * from 'worker_threads';
|
|
239
|
+
declare module 'worker_threads' {
|
|
240
|
+
export * from 'node:worker_threads';
|
|
241
241
|
}
|