cdk-common 2.0.1202 → 2.0.1203
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.
- package/.jsii +2 -2
- package/lib/main.js +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/assert.d.ts +5 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/async_hooks.d.ts +26 -6
- package/node_modules/@types/concat-stream/node_modules/@types/node/buffer.d.ts +1 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/concat-stream/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/concat-stream/node_modules/@types/node/crypto.d.ts +35 -28
- package/node_modules/@types/concat-stream/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/dns.d.ts +16 -16
- package/node_modules/@types/concat-stream/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs/promises.d.ts +16 -9
- package/node_modules/@types/concat-stream/node_modules/@types/node/fs.d.ts +28 -19
- package/node_modules/@types/concat-stream/node_modules/@types/node/globals.d.ts +7 -6
- package/node_modules/@types/concat-stream/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/http.d.ts +2 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/http2.d.ts +6 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/index.d.ts +7 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/inspector.d.ts +3 -7
- package/node_modules/@types/concat-stream/node_modules/@types/node/module.d.ts +63 -29
- package/node_modules/@types/concat-stream/node_modules/@types/node/net.d.ts +2 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +13 -3
- package/node_modules/@types/concat-stream/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/perf_hooks.d.ts +8 -8
- package/node_modules/@types/concat-stream/node_modules/@types/node/process.d.ts +21 -11
- package/node_modules/@types/concat-stream/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/readline.d.ts +13 -13
- package/node_modules/@types/concat-stream/node_modules/@types/node/repl.d.ts +14 -16
- package/node_modules/@types/concat-stream/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/sqlite.d.ts +182 -2
- package/node_modules/@types/concat-stream/node_modules/@types/node/stream.d.ts +8 -19
- package/node_modules/@types/concat-stream/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/test.d.ts +53 -15
- package/node_modules/@types/concat-stream/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/tls.d.ts +2 -48
- package/node_modules/@types/concat-stream/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/concat-stream/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.1/index.d.ts +98 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.6/index.d.ts +9 -5
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/ts5.7/index.d.ts +96 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/url.d.ts +52 -19
- package/node_modules/@types/concat-stream/node_modules/@types/node/util.d.ts +16 -295
- package/node_modules/@types/concat-stream/node_modules/@types/node/v8.d.ts +29 -32
- package/node_modules/@types/concat-stream/node_modules/@types/node/vm.d.ts +17 -10
- package/node_modules/@types/concat-stream/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/worker_threads.d.ts +34 -18
- package/node_modules/@types/concat-stream/node_modules/@types/node/zlib.d.ts +5 -7
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/agent.d.ts +7 -7
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/api.d.ts +24 -24
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/balanced-pool.d.ts +11 -11
- package/node_modules/@types/concat-stream/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/client.d.ts +12 -13
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/cookies.d.ts +2 -0
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/diagnostics-channel.d.ts +10 -10
- package/node_modules/@types/concat-stream/node_modules/undici-types/dispatcher.d.ts +281 -0
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/env-http-proxy-agent.d.ts +2 -2
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/errors.d.ts +69 -47
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/fetch.d.ts +17 -16
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/formdata.d.ts +7 -7
- package/node_modules/@types/concat-stream/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/handlers.d.ts +7 -7
- package/node_modules/@types/concat-stream/node_modules/undici-types/header.d.ts +160 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/index.d.ts +75 -0
- package/node_modules/@types/concat-stream/node_modules/undici-types/interceptors.d.ts +34 -0
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/mock-agent.d.ts +33 -18
- package/node_modules/@types/concat-stream/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/mock-client.d.ts +4 -4
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/mock-errors.d.ts +3 -3
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/mock-interceptor.d.ts +19 -19
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/mock-pool.d.ts +4 -4
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/package.json +1 -1
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/patch.d.ts +0 -4
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/pool-stats.d.ts +8 -8
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/pool.d.ts +12 -12
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/proxy-agent.d.ts +4 -4
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/readable.d.ts +18 -15
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/retry-agent.d.ts +1 -1
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/retry-handler.d.ts +10 -10
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/util.d.ts +3 -3
- package/node_modules/@types/concat-stream/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/webidl.d.ts +44 -6
- package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/websocket.d.ts +35 -1
- package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/assert.d.ts +5 -5
- package/node_modules/@types/form-data/node_modules/@types/node/async_hooks.d.ts +26 -6
- package/node_modules/@types/form-data/node_modules/@types/node/buffer.d.ts +1 -2
- package/node_modules/@types/form-data/node_modules/@types/node/child_process.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/form-data/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/form-data/node_modules/@types/node/crypto.d.ts +35 -28
- package/node_modules/@types/form-data/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/diagnostics_channel.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/dns.d.ts +16 -16
- package/node_modules/@types/form-data/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@types/form-data/node_modules/@types/node/fs/promises.d.ts +16 -9
- package/node_modules/@types/form-data/node_modules/@types/node/fs.d.ts +28 -19
- package/node_modules/@types/form-data/node_modules/@types/node/globals.d.ts +7 -6
- package/node_modules/@types/form-data/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/form-data/node_modules/@types/node/http.d.ts +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/http2.d.ts +6 -3
- package/node_modules/@types/form-data/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/index.d.ts +7 -5
- package/node_modules/@types/form-data/node_modules/@types/node/inspector.d.ts +3 -7
- package/node_modules/@types/form-data/node_modules/@types/node/module.d.ts +63 -29
- package/node_modules/@types/form-data/node_modules/@types/node/net.d.ts +2 -5
- package/node_modules/@types/form-data/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@types/form-data/node_modules/@types/node/package.json +13 -3
- package/node_modules/@types/form-data/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/perf_hooks.d.ts +8 -8
- package/node_modules/@types/form-data/node_modules/@types/node/process.d.ts +21 -11
- package/node_modules/@types/form-data/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@types/form-data/node_modules/@types/node/readline.d.ts +13 -13
- package/node_modules/@types/form-data/node_modules/@types/node/repl.d.ts +14 -16
- package/node_modules/@types/form-data/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/sqlite.d.ts +182 -2
- package/node_modules/@types/form-data/node_modules/@types/node/stream.d.ts +8 -19
- package/node_modules/@types/form-data/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/test.d.ts +53 -15
- package/node_modules/@types/form-data/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/timers.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/tls.d.ts +2 -48
- package/node_modules/@types/form-data/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/form-data/node_modules/@types/node/{compatibility → ts5.1/compatibility}/disposable.d.ts +0 -4
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.1/index.d.ts +98 -0
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.6/index.d.ts +9 -5
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/form-data/node_modules/@types/node/ts5.7/index.d.ts +96 -0
- package/node_modules/@types/form-data/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/url.d.ts +52 -19
- package/node_modules/@types/form-data/node_modules/@types/node/util.d.ts +16 -295
- package/node_modules/@types/form-data/node_modules/@types/node/v8.d.ts +29 -32
- package/node_modules/@types/form-data/node_modules/@types/node/vm.d.ts +17 -10
- package/node_modules/@types/form-data/node_modules/@types/node/wasi.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/worker_threads.d.ts +34 -18
- package/node_modules/@types/form-data/node_modules/@types/node/zlib.d.ts +5 -7
- package/node_modules/@types/form-data/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/@types/form-data/node_modules/undici-types/README.md +6 -0
- package/node_modules/@types/form-data/node_modules/undici-types/agent.d.ts +31 -0
- package/node_modules/@types/form-data/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/@types/form-data/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/node_modules/@types/form-data/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/@types/form-data/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/@types/form-data/node_modules/undici-types/client.d.ts +107 -0
- package/node_modules/@types/form-data/node_modules/undici-types/connector.d.ts +34 -0
- package/node_modules/@types/form-data/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/@types/form-data/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/@types/form-data/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/node_modules/@types/form-data/node_modules/undici-types/dispatcher.d.ts +281 -0
- package/node_modules/@types/form-data/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/node_modules/@types/form-data/node_modules/undici-types/errors.d.ts +171 -0
- package/node_modules/@types/form-data/node_modules/undici-types/eventsource.d.ts +61 -0
- package/node_modules/@types/form-data/node_modules/undici-types/fetch.d.ts +210 -0
- package/node_modules/@types/form-data/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/@types/form-data/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/@types/form-data/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/@types/form-data/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/@types/form-data/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/@types/form-data/node_modules/undici-types/header.d.ts +160 -0
- package/node_modules/@types/form-data/node_modules/undici-types/index.d.ts +75 -0
- package/node_modules/@types/form-data/node_modules/undici-types/interceptors.d.ts +34 -0
- package/node_modules/@types/form-data/node_modules/undici-types/mock-agent.d.ts +65 -0
- package/node_modules/@types/form-data/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/@types/form-data/node_modules/undici-types/mock-client.d.ts +25 -0
- package/node_modules/@types/form-data/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/@types/form-data/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/node_modules/@types/form-data/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/node_modules/@types/form-data/node_modules/undici-types/package.json +55 -0
- package/node_modules/@types/form-data/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/@types/form-data/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/@types/form-data/node_modules/undici-types/pool.d.ts +39 -0
- package/node_modules/@types/form-data/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/node_modules/@types/form-data/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/@types/form-data/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/@types/form-data/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/node_modules/@types/form-data/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/@types/form-data/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/@types/form-data/node_modules/undici-types/webidl.d.ts +266 -0
- package/node_modules/@types/form-data/node_modules/undici-types/websocket.d.ts +184 -0
- package/package.json +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/concat-stream/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/@types/form-data/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/form-data/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/undici-types/filereader.d.ts +0 -54
- package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/node_modules/undici-types/global-origin.d.ts +0 -7
- package/node_modules/undici-types/header.d.ts +0 -4
- package/node_modules/undici-types/index.d.ts +0 -71
- package/node_modules/undici-types/interceptors.d.ts +0 -17
- /package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/LICENSE +0 -0
- /package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/README.md +0 -0
- /package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/cache.d.ts +0 -0
- /package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/connector.d.ts +0 -0
- /package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/content-type.d.ts +0 -0
- /package/node_modules/{undici-types → @types/concat-stream/node_modules/undici-types}/eventsource.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -204,10 +204,20 @@
|
|
|
204
204
|
"main": "",
|
|
205
205
|
"types": "index.d.ts",
|
|
206
206
|
"typesVersions": {
|
|
207
|
+
"<=5.1": {
|
|
208
|
+
"*": [
|
|
209
|
+
"ts5.1/*"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
207
212
|
"<=5.6": {
|
|
208
213
|
"*": [
|
|
209
214
|
"ts5.6/*"
|
|
210
215
|
]
|
|
216
|
+
},
|
|
217
|
+
"<=5.7": {
|
|
218
|
+
"*": [
|
|
219
|
+
"ts5.7/*"
|
|
220
|
+
]
|
|
211
221
|
}
|
|
212
222
|
},
|
|
213
223
|
"repository": {
|
|
@@ -217,9 +227,9 @@
|
|
|
217
227
|
},
|
|
218
228
|
"scripts": {},
|
|
219
229
|
"dependencies": {
|
|
220
|
-
"undici-types": "~
|
|
230
|
+
"undici-types": "~7.8.0"
|
|
221
231
|
},
|
|
222
232
|
"peerDependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
233
|
+
"typesPublisherContentHash": "8d6ceac3f0f5283bf419c4930f679c52f7a63cc3f0cc2bd866acff9fb14a8eba",
|
|
224
234
|
"typeScriptVersion": "5.1"
|
|
225
235
|
}
|
|
@@ -13,7 +13,7 @@ declare module "path/win32" {
|
|
|
13
13
|
* ```js
|
|
14
14
|
* import path from 'node:path';
|
|
15
15
|
* ```
|
|
16
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
16
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/path.js)
|
|
17
17
|
*/
|
|
18
18
|
declare module "path" {
|
|
19
19
|
namespace path {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* performance.measure('A to B', 'A', 'B');
|
|
28
28
|
* });
|
|
29
29
|
* ```
|
|
30
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
30
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/perf_hooks.js)
|
|
31
31
|
*/
|
|
32
32
|
declare module "perf_hooks" {
|
|
33
33
|
import { AsyncResource } from "node:async_hooks";
|
|
@@ -895,7 +895,7 @@ declare module "perf_hooks" {
|
|
|
895
895
|
global {
|
|
896
896
|
/**
|
|
897
897
|
* `PerformanceEntry` is a global reference for `import { PerformanceEntry } from 'node:perf_hooks'`
|
|
898
|
-
* @see https://nodejs.org/docs/latest-
|
|
898
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceentry
|
|
899
899
|
* @since v19.0.0
|
|
900
900
|
*/
|
|
901
901
|
var PerformanceEntry: typeof globalThis extends {
|
|
@@ -905,7 +905,7 @@ declare module "perf_hooks" {
|
|
|
905
905
|
: typeof _PerformanceEntry;
|
|
906
906
|
/**
|
|
907
907
|
* `PerformanceMark` is a global reference for `import { PerformanceMark } from 'node:perf_hooks'`
|
|
908
|
-
* @see https://nodejs.org/docs/latest-
|
|
908
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performancemark
|
|
909
909
|
* @since v19.0.0
|
|
910
910
|
*/
|
|
911
911
|
var PerformanceMark: typeof globalThis extends {
|
|
@@ -915,7 +915,7 @@ declare module "perf_hooks" {
|
|
|
915
915
|
: typeof _PerformanceMark;
|
|
916
916
|
/**
|
|
917
917
|
* `PerformanceMeasure` is a global reference for `import { PerformanceMeasure } from 'node:perf_hooks'`
|
|
918
|
-
* @see https://nodejs.org/docs/latest-
|
|
918
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performancemeasure
|
|
919
919
|
* @since v19.0.0
|
|
920
920
|
*/
|
|
921
921
|
var PerformanceMeasure: typeof globalThis extends {
|
|
@@ -925,7 +925,7 @@ declare module "perf_hooks" {
|
|
|
925
925
|
: typeof _PerformanceMeasure;
|
|
926
926
|
/**
|
|
927
927
|
* `PerformanceObserver` is a global reference for `import { PerformanceObserver } from 'node:perf_hooks'`
|
|
928
|
-
* @see https://nodejs.org/docs/latest-
|
|
928
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceobserver
|
|
929
929
|
* @since v19.0.0
|
|
930
930
|
*/
|
|
931
931
|
var PerformanceObserver: typeof globalThis extends {
|
|
@@ -935,7 +935,7 @@ declare module "perf_hooks" {
|
|
|
935
935
|
: typeof _PerformanceObserver;
|
|
936
936
|
/**
|
|
937
937
|
* `PerformanceObserverEntryList` is a global reference for `import { PerformanceObserverEntryList } from 'node:perf_hooks'`
|
|
938
|
-
* @see https://nodejs.org/docs/latest-
|
|
938
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceobserverentrylist
|
|
939
939
|
* @since v19.0.0
|
|
940
940
|
*/
|
|
941
941
|
var PerformanceObserverEntryList: typeof globalThis extends {
|
|
@@ -945,7 +945,7 @@ declare module "perf_hooks" {
|
|
|
945
945
|
: typeof _PerformanceObserverEntryList;
|
|
946
946
|
/**
|
|
947
947
|
* `PerformanceResourceTiming` is a global reference for `import { PerformanceResourceTiming } from 'node:perf_hooks'`
|
|
948
|
-
* @see https://nodejs.org/docs/latest-
|
|
948
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceresourcetiming
|
|
949
949
|
* @since v19.0.0
|
|
950
950
|
*/
|
|
951
951
|
var PerformanceResourceTiming: typeof globalThis extends {
|
|
@@ -955,7 +955,7 @@ declare module "perf_hooks" {
|
|
|
955
955
|
: typeof _PerformanceResourceTiming;
|
|
956
956
|
/**
|
|
957
957
|
* `performance` is a global reference for `import { performance } from 'node:perf_hooks'`
|
|
958
|
-
* @see https://nodejs.org/docs/latest-
|
|
958
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performance
|
|
959
959
|
* @since v16.0.0
|
|
960
960
|
*/
|
|
961
961
|
var performance: typeof globalThis extends {
|
|
@@ -194,7 +194,7 @@ declare module "process" {
|
|
|
194
194
|
readonly ipv6: boolean;
|
|
195
195
|
/**
|
|
196
196
|
* A boolean value that is `true` if the current Node.js build supports
|
|
197
|
-
* [loading ECMAScript modules using `require()`](https://nodejs.org/docs/latest-
|
|
197
|
+
* [loading ECMAScript modules using `require()`](https://nodejs.org/docs/latest-v24.x/api/modules.md#loading-ecmascript-modules-using-require).
|
|
198
198
|
* @since v22.10.0
|
|
199
199
|
*/
|
|
200
200
|
readonly require_module: boolean;
|
|
@@ -231,8 +231,9 @@ declare module "process" {
|
|
|
231
231
|
*/
|
|
232
232
|
readonly tls_sni: boolean;
|
|
233
233
|
/**
|
|
234
|
-
* A value that is `"strip"`
|
|
235
|
-
* `"transform"` if Node.js is run with `--experimental-transform-types`, and `false`
|
|
234
|
+
* A value that is `"strip"` by default,
|
|
235
|
+
* `"transform"` if Node.js is run with `--experimental-transform-types`, and `false` if
|
|
236
|
+
* Node.js is run with `--no-experimental-strip-types`.
|
|
236
237
|
* @since v22.10.0
|
|
237
238
|
*/
|
|
238
239
|
readonly typescript: "strip" | "transform" | false;
|
|
@@ -274,10 +275,8 @@ declare module "process" {
|
|
|
274
275
|
| "loong64"
|
|
275
276
|
| "mips"
|
|
276
277
|
| "mipsel"
|
|
277
|
-
| "ppc"
|
|
278
278
|
| "ppc64"
|
|
279
279
|
| "riscv64"
|
|
280
|
-
| "s390"
|
|
281
280
|
| "s390x"
|
|
282
281
|
| "x64";
|
|
283
282
|
type Signals =
|
|
@@ -748,7 +747,7 @@ declare module "process" {
|
|
|
748
747
|
* should not be used directly, except in special cases. In other words, `require()` should be preferred over `process.dlopen()`
|
|
749
748
|
* unless there are specific reasons such as custom dlopen flags or loading from ES modules.
|
|
750
749
|
*
|
|
751
|
-
* The `flags` argument is an integer that allows to specify dlopen behavior. See the `[os.constants.dlopen](https://nodejs.org/docs/latest-
|
|
750
|
+
* The `flags` argument is an integer that allows to specify dlopen behavior. See the `[os.constants.dlopen](https://nodejs.org/docs/latest-v24.x/api/os.html#dlopen-constants)`
|
|
752
751
|
* documentation for details.
|
|
753
752
|
*
|
|
754
753
|
* An important requirement when calling `process.dlopen()` is that the `module` instance must be passed. Functions exported by the C++ Addon
|
|
@@ -1490,6 +1489,18 @@ declare module "process" {
|
|
|
1490
1489
|
* @since v9.2.0, v8.10.0, v6.13.0
|
|
1491
1490
|
*/
|
|
1492
1491
|
readonly ppid: number;
|
|
1492
|
+
/**
|
|
1493
|
+
* The `process.threadCpuUsage()` method returns the user and system CPU time usage of
|
|
1494
|
+
* the current worker thread, in an object with properties `user` and `system`, whose
|
|
1495
|
+
* values are microsecond values (millionth of a second).
|
|
1496
|
+
*
|
|
1497
|
+
* The result of a previous call to `process.threadCpuUsage()` can be passed as the
|
|
1498
|
+
* argument to the function, to get a diff reading.
|
|
1499
|
+
* @since v23.9.0
|
|
1500
|
+
* @param previousValue A previous return value from calling
|
|
1501
|
+
* `process.threadCpuUsage()`
|
|
1502
|
+
*/
|
|
1503
|
+
threadCpuUsage(previousValue?: CpuUsage): CpuUsage;
|
|
1493
1504
|
/**
|
|
1494
1505
|
* The `process.title` property returns the current process title (i.e. returns
|
|
1495
1506
|
* the current value of `ps`). Assigning a new value to `process.title` modifies
|
|
@@ -1510,7 +1521,8 @@ declare module "process" {
|
|
|
1510
1521
|
title: string;
|
|
1511
1522
|
/**
|
|
1512
1523
|
* The operating system CPU architecture for which the Node.js binary was compiled.
|
|
1513
|
-
* Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,
|
|
1524
|
+
* Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,
|
|
1525
|
+
* `'mipsel'`, `'ppc64'`, `'riscv64'`, `'s390x'`, and `'x64'`.
|
|
1514
1526
|
*
|
|
1515
1527
|
* ```js
|
|
1516
1528
|
* import { arch } from 'node:process';
|
|
@@ -1566,13 +1578,11 @@ declare module "process" {
|
|
|
1566
1578
|
* See [`uv_get_constrained_memory`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_get_constrained_memory) for more
|
|
1567
1579
|
* information.
|
|
1568
1580
|
* @since v19.6.0, v18.15.0
|
|
1569
|
-
* @experimental
|
|
1570
1581
|
*/
|
|
1571
1582
|
constrainedMemory(): number;
|
|
1572
1583
|
/**
|
|
1573
1584
|
* Gets the amount of free memory that is still available to the process (in bytes).
|
|
1574
|
-
* See [`uv_get_available_memory`](https://nodejs.org/docs/latest-
|
|
1575
|
-
* @experimental
|
|
1585
|
+
* See [`uv_get_available_memory`](https://nodejs.org/docs/latest-v24.x/api/process.html#processavailablememory) for more information.
|
|
1576
1586
|
* @since v20.13.0
|
|
1577
1587
|
*/
|
|
1578
1588
|
availableMemory(): number;
|
|
@@ -1845,7 +1855,7 @@ declare module "process" {
|
|
|
1845
1855
|
allowedNodeEnvironmentFlags: ReadonlySet<string>;
|
|
1846
1856
|
/**
|
|
1847
1857
|
* `process.report` is an object whose methods are used to generate diagnostic reports for the current process.
|
|
1848
|
-
* Additional documentation is available in the [report documentation](https://nodejs.org/docs/latest-
|
|
1858
|
+
* Additional documentation is available in the [report documentation](https://nodejs.org/docs/latest-v24.x/api/report.html).
|
|
1849
1859
|
* @since v11.8.0
|
|
1850
1860
|
*/
|
|
1851
1861
|
report: ProcessReport;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* made available to developers as a convenience. Fixes or other modifications to
|
|
25
25
|
* the module must be directed to the [Punycode.js](https://github.com/bestiejs/punycode.js) project.
|
|
26
26
|
* @deprecated Since v7.0.0 - Deprecated
|
|
27
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
27
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/punycode.js)
|
|
28
28
|
*/
|
|
29
29
|
declare module "punycode" {
|
|
30
30
|
/**
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* `querystring` is more performant than `URLSearchParams` but is not a
|
|
10
10
|
* standardized API. Use `URLSearchParams` when performance is not critical or
|
|
11
11
|
* when compatibility with browser code is desirable.
|
|
12
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
12
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/querystring.js)
|
|
13
13
|
*/
|
|
14
14
|
declare module "querystring" {
|
|
15
15
|
interface StringifyOptions {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The `node:readline` module provides an interface for reading data from a [Readable](https://nodejs.org/docs/latest-
|
|
3
|
-
* (such as [`process.stdin`](https://nodejs.org/docs/latest-
|
|
2
|
+
* The `node:readline` module provides an interface for reading data from a [Readable](https://nodejs.org/docs/latest-v24.x/api/stream.html#readable-streams) stream
|
|
3
|
+
* (such as [`process.stdin`](https://nodejs.org/docs/latest-v24.x/api/process.html#processstdin)) one line at a time.
|
|
4
4
|
*
|
|
5
5
|
* To use the promise-based APIs:
|
|
6
6
|
*
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
*
|
|
32
32
|
* Once this code is invoked, the Node.js application will not terminate until the `readline.Interface` is closed because the interface waits for data to be
|
|
33
33
|
* received on the `input` stream.
|
|
34
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
34
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/readline.js)
|
|
35
35
|
*/
|
|
36
36
|
declare module "readline" {
|
|
37
37
|
import { Abortable, EventEmitter } from "node:events";
|
|
@@ -46,7 +46,7 @@ declare module "readline" {
|
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* Instances of the `readline.Interface` class are constructed using the `readline.createInterface()` method. Every instance is associated with a
|
|
49
|
-
* single `input` [Readable](https://nodejs.org/docs/latest-
|
|
49
|
+
* single `input` [Readable](https://nodejs.org/docs/latest-v24.x/api/stream.html#readable-streams) stream and a single `output` [Writable](https://nodejs.org/docs/latest-v24.x/api/stream.html#writable-streams) stream.
|
|
50
50
|
* The `output` stream is used to print prompts for user input that arrives on,
|
|
51
51
|
* and is read from, the `input` stream.
|
|
52
52
|
* @since v0.1.104
|
|
@@ -100,7 +100,7 @@ declare module "readline" {
|
|
|
100
100
|
* > Instances of the `readline.Interface` class are constructed using the
|
|
101
101
|
* > `readline.createInterface()` method.
|
|
102
102
|
*
|
|
103
|
-
* @see https://nodejs.org/dist/latest-
|
|
103
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/readline.html#class-interfaceconstructor
|
|
104
104
|
*/
|
|
105
105
|
protected constructor(
|
|
106
106
|
input: NodeJS.ReadableStream,
|
|
@@ -114,7 +114,7 @@ declare module "readline" {
|
|
|
114
114
|
* > Instances of the `readline.Interface` class are constructed using the
|
|
115
115
|
* > `readline.createInterface()` method.
|
|
116
116
|
*
|
|
117
|
-
* @see https://nodejs.org/dist/latest-
|
|
117
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/readline.html#class-interfaceconstructor
|
|
118
118
|
*/
|
|
119
119
|
protected constructor(options: ReadLineOptions);
|
|
120
120
|
/**
|
|
@@ -320,11 +320,11 @@ declare module "readline" {
|
|
|
320
320
|
export type CompleterResult = [string[], string];
|
|
321
321
|
export interface ReadLineOptions {
|
|
322
322
|
/**
|
|
323
|
-
* The [`Readable`](https://nodejs.org/docs/latest-
|
|
323
|
+
* The [`Readable`](https://nodejs.org/docs/latest-v24.x/api/stream.html#readable-streams) stream to listen to
|
|
324
324
|
*/
|
|
325
325
|
input: NodeJS.ReadableStream;
|
|
326
326
|
/**
|
|
327
|
-
* The [`Writable`](https://nodejs.org/docs/latest-
|
|
327
|
+
* The [`Writable`](https://nodejs.org/docs/latest-v24.x/api/stream.html#writable-streams) stream to write readline data to.
|
|
328
328
|
*/
|
|
329
329
|
output?: NodeJS.WritableStream | undefined;
|
|
330
330
|
/**
|
|
@@ -369,7 +369,7 @@ declare module "readline" {
|
|
|
369
369
|
* `crlfDelay` will be coerced to a number no less than `100`.
|
|
370
370
|
* It can be set to `Infinity`, in which case
|
|
371
371
|
* `\r` followed by `\n` will always be considered a single newline
|
|
372
|
-
* (which may be reasonable for [reading files](https://nodejs.org/docs/latest-
|
|
372
|
+
* (which may be reasonable for [reading files](https://nodejs.org/docs/latest-v24.x/api/readline.html#example-read-file-stream-line-by-line) with `\r\n` line delimiter).
|
|
373
373
|
* @default 100
|
|
374
374
|
*/
|
|
375
375
|
crlfDelay?: number | undefined;
|
|
@@ -557,7 +557,7 @@ declare module "readline" {
|
|
|
557
557
|
cols: number;
|
|
558
558
|
}
|
|
559
559
|
/**
|
|
560
|
-
* The `readline.clearLine()` method clears current line of given [TTY](https://nodejs.org/docs/latest-
|
|
560
|
+
* The `readline.clearLine()` method clears current line of given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) stream
|
|
561
561
|
* in a specified direction identified by `dir`.
|
|
562
562
|
* @since v0.7.7
|
|
563
563
|
* @param callback Invoked once the operation completes.
|
|
@@ -565,7 +565,7 @@ declare module "readline" {
|
|
|
565
565
|
*/
|
|
566
566
|
export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
|
|
567
567
|
/**
|
|
568
|
-
* The `readline.clearScreenDown()` method clears the given [TTY](https://nodejs.org/docs/latest-
|
|
568
|
+
* The `readline.clearScreenDown()` method clears the given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) stream from
|
|
569
569
|
* the current position of the cursor down.
|
|
570
570
|
* @since v0.7.7
|
|
571
571
|
* @param callback Invoked once the operation completes.
|
|
@@ -574,7 +574,7 @@ declare module "readline" {
|
|
|
574
574
|
export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
|
|
575
575
|
/**
|
|
576
576
|
* The `readline.cursorTo()` method moves cursor to the specified position in a
|
|
577
|
-
* given [TTY](https://nodejs.org/docs/latest-
|
|
577
|
+
* given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) `stream`.
|
|
578
578
|
* @since v0.7.7
|
|
579
579
|
* @param callback Invoked once the operation completes.
|
|
580
580
|
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
@@ -582,7 +582,7 @@ declare module "readline" {
|
|
|
582
582
|
export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
|
|
583
583
|
/**
|
|
584
584
|
* The `readline.moveCursor()` method moves the cursor _relative_ to its current
|
|
585
|
-
* position in a given [TTY](https://nodejs.org/docs/latest-
|
|
585
|
+
* position in a given [TTY](https://nodejs.org/docs/latest-v24.x/api/tty.html) `stream`.
|
|
586
586
|
* @since v0.7.7
|
|
587
587
|
* @param callback Invoked once the operation completes.
|
|
588
588
|
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* import repl from 'node:repl';
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/repl.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "repl" {
|
|
12
12
|
import { AsyncCompleter, Completer, Interface } from "node:readline";
|
|
@@ -37,12 +37,10 @@ declare module "repl" {
|
|
|
37
37
|
terminal?: boolean | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* The function to be used when evaluating each given line of input.
|
|
40
|
-
* Default
|
|
40
|
+
* **Default:** an async wrapper for the JavaScript `eval()` function. An `eval` function can
|
|
41
41
|
* error with `repl.Recoverable` to indicate the input was incomplete and prompt for
|
|
42
|
-
* additional lines.
|
|
43
|
-
*
|
|
44
|
-
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_default_evaluation
|
|
45
|
-
* @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_custom_evaluation_functions
|
|
42
|
+
* additional lines. See the [custom evaluation functions](https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#custom-evaluation-functions)
|
|
43
|
+
* section for more details.
|
|
46
44
|
*/
|
|
47
45
|
eval?: REPLEval | undefined;
|
|
48
46
|
/**
|
|
@@ -74,13 +72,13 @@ declare module "repl" {
|
|
|
74
72
|
* The function to invoke to format the output of each command before writing to `output`.
|
|
75
73
|
* @default a wrapper for `util.inspect`
|
|
76
74
|
*
|
|
77
|
-
* @see https://nodejs.org/dist/latest-
|
|
75
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_customizing_repl_output
|
|
78
76
|
*/
|
|
79
77
|
writer?: REPLWriter | undefined;
|
|
80
78
|
/**
|
|
81
79
|
* An optional function used for custom Tab auto completion.
|
|
82
80
|
*
|
|
83
|
-
* @see https://nodejs.org/dist/latest-
|
|
81
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/readline.html#readline_use_of_the_completer_function
|
|
84
82
|
*/
|
|
85
83
|
completer?: Completer | AsyncCompleter | undefined;
|
|
86
84
|
/**
|
|
@@ -168,33 +166,33 @@ declare module "repl" {
|
|
|
168
166
|
/**
|
|
169
167
|
* A value indicating whether the REPL is currently in "editor mode".
|
|
170
168
|
*
|
|
171
|
-
* @see https://nodejs.org/dist/latest-
|
|
169
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_commands_and_special_keys
|
|
172
170
|
*/
|
|
173
171
|
readonly editorMode: boolean;
|
|
174
172
|
/**
|
|
175
173
|
* A value indicating whether the `_` variable has been assigned.
|
|
176
174
|
*
|
|
177
|
-
* @see https://nodejs.org/dist/latest-
|
|
175
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
178
176
|
*/
|
|
179
177
|
readonly underscoreAssigned: boolean;
|
|
180
178
|
/**
|
|
181
179
|
* The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL).
|
|
182
180
|
*
|
|
183
|
-
* @see https://nodejs.org/dist/latest-
|
|
181
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
184
182
|
*/
|
|
185
183
|
readonly last: any;
|
|
186
184
|
/**
|
|
187
185
|
* A value indicating whether the `_error` variable has been assigned.
|
|
188
186
|
*
|
|
189
187
|
* @since v9.8.0
|
|
190
|
-
* @see https://nodejs.org/dist/latest-
|
|
188
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
191
189
|
*/
|
|
192
190
|
readonly underscoreErrAssigned: boolean;
|
|
193
191
|
/**
|
|
194
192
|
* The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL).
|
|
195
193
|
*
|
|
196
194
|
* @since v9.8.0
|
|
197
|
-
* @see https://nodejs.org/dist/latest-
|
|
195
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
198
196
|
*/
|
|
199
197
|
readonly lastError: any;
|
|
200
198
|
/**
|
|
@@ -246,7 +244,7 @@ declare module "repl" {
|
|
|
246
244
|
*
|
|
247
245
|
* `REPLServer` cannot be subclassed due to implementation specifics in NodeJS.
|
|
248
246
|
*
|
|
249
|
-
* @see https://nodejs.org/dist/latest-
|
|
247
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_class_replserver
|
|
250
248
|
*/
|
|
251
249
|
private constructor();
|
|
252
250
|
/**
|
|
@@ -291,7 +289,7 @@ declare module "repl" {
|
|
|
291
289
|
* The `replServer.displayPrompt()` method readies the REPL instance for input
|
|
292
290
|
* from the user, printing the configured `prompt` to a new line in the `output` and resuming the `input` to accept new input.
|
|
293
291
|
*
|
|
294
|
-
* When multi-line input is being entered,
|
|
292
|
+
* When multi-line input is being entered, a pipe `'|'` is printed rather than the
|
|
295
293
|
* 'prompt'.
|
|
296
294
|
*
|
|
297
295
|
* When `preserveCursor` is `true`, the cursor placement will not be reset to `0`.
|
|
@@ -418,7 +416,7 @@ declare module "repl" {
|
|
|
418
416
|
/**
|
|
419
417
|
* Indicates a recoverable error that a `REPLServer` can use to support multi-line input.
|
|
420
418
|
*
|
|
421
|
-
* @see https://nodejs.org/dist/latest-
|
|
419
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_recoverable_errors
|
|
422
420
|
*/
|
|
423
421
|
class Recoverable extends SyntaxError {
|
|
424
422
|
err: Error;
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
* ```
|
|
112
112
|
* @since v19.7.0, v18.16.0
|
|
113
113
|
* @experimental
|
|
114
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
114
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/src/node_sea.cc)
|
|
115
115
|
*/
|
|
116
116
|
declare module "node:sea" {
|
|
117
117
|
type AssetKey = string;
|