node-red-contrib-tak-registration 0.15.0 → 0.16.1
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/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/assert.d.ts +8 -6
- package/node_modules/@types/node/async_hooks.d.ts +26 -6
- package/node_modules/@types/node/buffer.d.ts +7 -3
- package/node_modules/@types/node/child_process.d.ts +28 -124
- package/node_modules/@types/node/cluster.d.ts +15 -15
- package/node_modules/@types/node/console.d.ts +17 -17
- package/node_modules/@types/node/crypto.d.ts +95 -38
- package/node_modules/@types/node/dgram.d.ts +1 -1
- package/node_modules/@types/node/diagnostics_channel.d.ts +18 -13
- package/node_modules/@types/node/dns/promises.d.ts +36 -9
- package/node_modules/@types/node/dns.d.ts +89 -36
- package/node_modules/@types/node/domain.d.ts +1 -1
- package/node_modules/@types/node/events.d.ts +1 -2
- package/node_modules/@types/node/fs/promises.d.ts +67 -40
- package/node_modules/@types/node/fs.d.ts +88 -52
- package/node_modules/@types/node/globals.d.ts +148 -351
- package/node_modules/@types/node/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/node/http.d.ts +73 -7
- package/node_modules/@types/node/http2.d.ts +88 -15
- package/node_modules/@types/node/https.d.ts +1 -1
- package/node_modules/@types/node/index.d.ts +13 -6
- package/node_modules/@types/node/inspector.d.ts +222 -13
- package/node_modules/@types/node/module.d.ts +153 -31
- package/node_modules/@types/node/net.d.ts +3 -6
- package/node_modules/@types/node/os.d.ts +8 -7
- package/node_modules/@types/node/package.json +14 -84
- package/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/node/perf_hooks.d.ts +24 -10
- package/node_modules/@types/node/process.d.ts +21 -11
- package/node_modules/@types/node/punycode.d.ts +1 -1
- package/node_modules/@types/node/querystring.d.ts +1 -1
- package/node_modules/@types/node/readline/promises.d.ts +0 -1
- package/node_modules/@types/node/readline.d.ts +13 -13
- package/node_modules/@types/node/repl.d.ts +25 -17
- package/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/node/sqlite.d.ts +209 -3
- package/node_modules/@types/node/stream/web.d.ts +8 -0
- package/node_modules/@types/node/stream.d.ts +30 -24
- package/node_modules/@types/node/string_decoder.d.ts +1 -1
- package/node_modules/@types/node/test.d.ts +2029 -1975
- package/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@types/node/timers.d.ts +1 -3
- package/node_modules/@types/node/tls.d.ts +2 -48
- package/node_modules/@types/node/trace_events.d.ts +6 -6
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +15 -6
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +101 -0
- package/node_modules/@types/node/tty.d.ts +1 -1
- package/node_modules/@types/node/url.d.ts +73 -20
- package/node_modules/@types/node/util.d.ts +23 -298
- package/node_modules/@types/node/v8.d.ts +62 -32
- package/node_modules/@types/node/vm.d.ts +132 -24
- package/node_modules/@types/node/wasi.d.ts +22 -1
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/node/web-globals/events.d.ts +94 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
- package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/node/worker_threads.d.ts +85 -26
- package/node_modules/@types/node/zlib.d.ts +13 -9
- package/node_modules/axios/CHANGELOG.md +99 -0
- package/node_modules/axios/README.md +105 -28
- package/node_modules/axios/dist/axios.js +395 -292
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +333 -219
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +333 -219
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +424 -219
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +26 -8
- package/node_modules/axios/index.d.ts +14 -5
- package/node_modules/axios/lib/adapters/adapters.js +6 -4
- package/node_modules/axios/lib/adapters/fetch.js +221 -162
- package/node_modules/axios/lib/adapters/http.js +18 -0
- package/node_modules/axios/lib/adapters/xhr.js +11 -8
- package/node_modules/axios/lib/core/Axios.js +2 -4
- package/node_modules/axios/lib/core/AxiosError.js +10 -3
- package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +1 -3
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toFormData.js +4 -0
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +40 -2
- package/node_modules/axios/package.json +30 -15
- package/node_modules/bignumber.js/CHANGELOG.md +6 -1
- package/node_modules/bignumber.js/README.md +5 -4
- package/node_modules/bignumber.js/bignumber.js +2 -2
- package/node_modules/bignumber.js/bignumber.mjs +2 -2
- package/node_modules/bignumber.js/package.json +1 -1
- package/node_modules/fast-xml-parser/CHANGELOG.md +7 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +1 -2
- package/node_modules/fast-xml-parser/src/cli/cli.js +4 -0
- package/node_modules/fast-xml-parser/src/fxp.d.ts +5 -5
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +3 -3
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{Readme.md → README.md} +34 -37
- package/node_modules/form-data/lib/browser.js +3 -1
- package/node_modules/form-data/lib/form_data.js +126 -135
- package/node_modules/form-data/lib/populate.js +5 -5
- package/node_modules/form-data/package.json +24 -16
- package/node_modules/protobufjs/dist/light/protobuf.js +8 -7
- package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/protobuf.js +8 -7
- package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/ext/descriptor/index.js +179 -69
- package/node_modules/protobufjs/google/protobuf/descriptor.json +660 -17
- package/node_modules/protobufjs/google/protobuf/descriptor.proto +255 -6
- package/node_modules/protobufjs/package.json +1 -1
- package/node_modules/protobufjs/src/namespace.js +3 -1
- package/node_modules/protobufjs/src/root.js +3 -4
- package/node_modules/undici-types/agent.d.ts +11 -7
- package/node_modules/undici-types/api.d.ts +24 -24
- package/node_modules/undici-types/balanced-pool.d.ts +11 -11
- package/node_modules/undici-types/cache-interceptor.d.ts +172 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +18 -16
- package/node_modules/undici-types/cookies.d.ts +2 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +19 -10
- package/node_modules/undici-types/dispatcher.d.ts +119 -93
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
- package/node_modules/undici-types/errors.d.ts +69 -47
- package/node_modules/undici-types/eventsource.d.ts +3 -3
- package/node_modules/undici-types/fetch.d.ts +18 -16
- package/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/undici-types/h2c-client.d.ts +75 -0
- package/node_modules/undici-types/handlers.d.ts +8 -8
- package/node_modules/undici-types/header.d.ts +157 -1
- package/node_modules/undici-types/index.d.ts +51 -47
- package/node_modules/undici-types/interceptors.d.ts +25 -8
- package/node_modules/undici-types/mock-agent.d.ts +36 -18
- package/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/undici-types/mock-client.d.ts +6 -4
- package/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/undici-types/mock-interceptor.d.ts +21 -19
- package/node_modules/undici-types/mock-pool.d.ts +6 -4
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/patch.d.ts +0 -4
- package/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/undici-types/pool.d.ts +14 -12
- package/node_modules/undici-types/proxy-agent.d.ts +5 -4
- package/node_modules/undici-types/readable.d.ts +18 -15
- package/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/undici-types/retry-handler.d.ts +19 -10
- package/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/undici-types/webidl.d.ts +50 -8
- package/node_modules/undici-types/websocket.d.ts +36 -2
- package/node_modules/uuid/README.md +8 -19
- package/node_modules/uuid/dist/{esm-browser/uuid-bin.js → uuid-bin.js} +1 -1
- package/node_modules/uuid/dist/{esm-browser/v4.js → v4.js} +7 -4
- package/node_modules/uuid/{dist/esm → dist-node}/md5.js +1 -1
- package/node_modules/uuid/dist-node/native.js +2 -0
- package/node_modules/uuid/{dist/esm → dist-node}/rng.js +1 -1
- package/node_modules/uuid/{dist/esm → dist-node}/sha1.js +1 -1
- package/node_modules/uuid/{dist/esm → dist-node}/uuid-bin.js +1 -1
- package/node_modules/uuid/{dist/esm → dist-node}/v4.js +7 -4
- package/node_modules/uuid/package.json +28 -41
- package/package.json +6 -6
- package/tak-registration.bak +557 -0
- package/tak-registration.js +14 -12
- package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- package/node_modules/@types/node/dom-events.d.ts +0 -124
- package/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/undici-types/filereader.d.ts +0 -54
- package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
- package/node_modules/uuid/dist/cjs/index.js +0 -31
- package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/max.js +0 -3
- package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/md5.js +0 -13
- package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
- package/node_modules/uuid/dist/cjs/native.js +0 -4
- package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/nil.js +0 -3
- package/node_modules/uuid/dist/cjs/package.json +0 -1
- package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/parse.js +0 -11
- package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/regex.js +0 -3
- package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/rng.js +0 -13
- package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/sha1.js +0 -13
- package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/cjs/stringify.js +0 -39
- package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
- package/node_modules/uuid/dist/cjs/types.js +0 -2
- package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
- package/node_modules/uuid/dist/cjs/v1.js +0 -87
- package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v3.js +0 -14
- package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
- package/node_modules/uuid/dist/cjs/v35.js +0 -41
- package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v4.js +0 -29
- package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v5.js +0 -14
- package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
- package/node_modules/uuid/dist/cjs/v6.js +0 -19
- package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
- package/node_modules/uuid/dist/cjs/v7.js +0 -69
- package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/validate.js +0 -7
- package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
- package/node_modules/uuid/dist/cjs/version.js +0 -10
- package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
- package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
- package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
- package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
- package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
- package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
- package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
- package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
- package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
- package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
- package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
- package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
- package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
- package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
- package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
- package/node_modules/uuid/dist/esm/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
- package/node_modules/uuid/dist/esm/native.d.ts +0 -6
- package/node_modules/uuid/dist/esm/native.js +0 -2
- package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
- package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm/version.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
- package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
- package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
- package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
- package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
- package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
- package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
- package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
- /package/node_modules/uuid/dist/{cjs-browser/index.d.ts → index.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/index.js → index.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/max.d.ts → max.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/max.js → max.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/md5.d.ts → md5.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm-browser/md5.js → md5.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/native.d.ts → native.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm-browser/native.js → native.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/nil.d.ts → nil.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/nil.js → nil.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/parse.d.ts → parse.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/parse.js → parse.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/regex.d.ts → regex.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/regex.js → regex.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/rng.d.ts → rng.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm-browser/rng.js → rng.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/sha1.d.ts → sha1.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm-browser/sha1.js → sha1.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/stringify.d.ts → stringify.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/stringify.js → stringify.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/types.d.ts → types.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/types.js → types.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/uuid-bin.d.ts → uuid-bin.d.ts} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v1.d.ts → v1.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v1.js → v1.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v1ToV6.d.ts → v1ToV6.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v1ToV6.js → v1ToV6.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v3.d.ts → v3.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v3.js → v3.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v35.d.ts → v35.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v35.js → v35.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v4.d.ts → v4.d.ts} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v5.d.ts → v5.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v5.js → v5.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v6.d.ts → v6.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v6.js → v6.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v6ToV1.d.ts → v6ToV1.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v6ToV1.js → v6ToV1.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/v7.d.ts → v7.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/v7.js → v7.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/validate.d.ts → validate.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/validate.js → validate.js} +0 -0
- /package/node_modules/uuid/dist/{cjs-browser/version.d.ts → version.d.ts} +0 -0
- /package/node_modules/uuid/dist/{esm/version.js → version.js} +0 -0
- /package/node_modules/uuid/{dist/esm → dist-node}/bin/uuid +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/index.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/max.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/nil.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/parse.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/regex.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/stringify.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/types.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1ToV6.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v3.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v35.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v5.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6ToV1.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/v7.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/validate.js +0 -0
- /package/node_modules/uuid/{dist/esm-browser → dist-node}/version.js +0 -0
|
@@ -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";
|
|
@@ -813,6 +813,20 @@ declare module "perf_hooks" {
|
|
|
813
813
|
* @since v11.10.0
|
|
814
814
|
*/
|
|
815
815
|
disable(): boolean;
|
|
816
|
+
/**
|
|
817
|
+
* Disables the update interval timer when the histogram is disposed.
|
|
818
|
+
*
|
|
819
|
+
* ```js
|
|
820
|
+
* const { monitorEventLoopDelay } = require('node:perf_hooks');
|
|
821
|
+
* {
|
|
822
|
+
* using hist = monitorEventLoopDelay({ resolution: 20 });
|
|
823
|
+
* hist.enable();
|
|
824
|
+
* // The histogram will be disabled when the block is exited.
|
|
825
|
+
* }
|
|
826
|
+
* ```
|
|
827
|
+
* @since v24.2.0
|
|
828
|
+
*/
|
|
829
|
+
[Symbol.dispose](): void;
|
|
816
830
|
}
|
|
817
831
|
interface RecordableHistogram extends Histogram {
|
|
818
832
|
/**
|
|
@@ -866,12 +880,12 @@ declare module "perf_hooks" {
|
|
|
866
880
|
* The minimum recordable value. Must be an integer value greater than 0.
|
|
867
881
|
* @default 1
|
|
868
882
|
*/
|
|
869
|
-
|
|
883
|
+
lowest?: number | bigint | undefined;
|
|
870
884
|
/**
|
|
871
885
|
* The maximum recordable value. Must be an integer value greater than min.
|
|
872
886
|
* @default Number.MAX_SAFE_INTEGER
|
|
873
887
|
*/
|
|
874
|
-
|
|
888
|
+
highest?: number | bigint | undefined;
|
|
875
889
|
/**
|
|
876
890
|
* The number of accuracy digits. Must be a number between 1 and 5.
|
|
877
891
|
* @default 3
|
|
@@ -895,7 +909,7 @@ declare module "perf_hooks" {
|
|
|
895
909
|
global {
|
|
896
910
|
/**
|
|
897
911
|
* `PerformanceEntry` is a global reference for `import { PerformanceEntry } from 'node:perf_hooks'`
|
|
898
|
-
* @see https://nodejs.org/docs/latest-
|
|
912
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceentry
|
|
899
913
|
* @since v19.0.0
|
|
900
914
|
*/
|
|
901
915
|
var PerformanceEntry: typeof globalThis extends {
|
|
@@ -905,7 +919,7 @@ declare module "perf_hooks" {
|
|
|
905
919
|
: typeof _PerformanceEntry;
|
|
906
920
|
/**
|
|
907
921
|
* `PerformanceMark` is a global reference for `import { PerformanceMark } from 'node:perf_hooks'`
|
|
908
|
-
* @see https://nodejs.org/docs/latest-
|
|
922
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performancemark
|
|
909
923
|
* @since v19.0.0
|
|
910
924
|
*/
|
|
911
925
|
var PerformanceMark: typeof globalThis extends {
|
|
@@ -915,7 +929,7 @@ declare module "perf_hooks" {
|
|
|
915
929
|
: typeof _PerformanceMark;
|
|
916
930
|
/**
|
|
917
931
|
* `PerformanceMeasure` is a global reference for `import { PerformanceMeasure } from 'node:perf_hooks'`
|
|
918
|
-
* @see https://nodejs.org/docs/latest-
|
|
932
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performancemeasure
|
|
919
933
|
* @since v19.0.0
|
|
920
934
|
*/
|
|
921
935
|
var PerformanceMeasure: typeof globalThis extends {
|
|
@@ -925,7 +939,7 @@ declare module "perf_hooks" {
|
|
|
925
939
|
: typeof _PerformanceMeasure;
|
|
926
940
|
/**
|
|
927
941
|
* `PerformanceObserver` is a global reference for `import { PerformanceObserver } from 'node:perf_hooks'`
|
|
928
|
-
* @see https://nodejs.org/docs/latest-
|
|
942
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceobserver
|
|
929
943
|
* @since v19.0.0
|
|
930
944
|
*/
|
|
931
945
|
var PerformanceObserver: typeof globalThis extends {
|
|
@@ -935,7 +949,7 @@ declare module "perf_hooks" {
|
|
|
935
949
|
: typeof _PerformanceObserver;
|
|
936
950
|
/**
|
|
937
951
|
* `PerformanceObserverEntryList` is a global reference for `import { PerformanceObserverEntryList } from 'node:perf_hooks'`
|
|
938
|
-
* @see https://nodejs.org/docs/latest-
|
|
952
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceobserverentrylist
|
|
939
953
|
* @since v19.0.0
|
|
940
954
|
*/
|
|
941
955
|
var PerformanceObserverEntryList: typeof globalThis extends {
|
|
@@ -945,7 +959,7 @@ declare module "perf_hooks" {
|
|
|
945
959
|
: typeof _PerformanceObserverEntryList;
|
|
946
960
|
/**
|
|
947
961
|
* `PerformanceResourceTiming` is a global reference for `import { PerformanceResourceTiming } from 'node:perf_hooks'`
|
|
948
|
-
* @see https://nodejs.org/docs/latest-
|
|
962
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performanceresourcetiming
|
|
949
963
|
* @since v19.0.0
|
|
950
964
|
*/
|
|
951
965
|
var PerformanceResourceTiming: typeof globalThis extends {
|
|
@@ -955,7 +969,7 @@ declare module "perf_hooks" {
|
|
|
955
969
|
: typeof _PerformanceResourceTiming;
|
|
956
970
|
/**
|
|
957
971
|
* `performance` is a global reference for `import { performance } from 'node:perf_hooks'`
|
|
958
|
-
* @see https://nodejs.org/docs/latest-
|
|
972
|
+
* @see https://nodejs.org/docs/latest-v24.x/api/globals.html#performance
|
|
959
973
|
* @since v16.0.0
|
|
960
974
|
*/
|
|
961
975
|
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
|
/**
|
|
@@ -125,6 +123,12 @@ declare module "repl" {
|
|
|
125
123
|
*/
|
|
126
124
|
action: REPLCommandAction;
|
|
127
125
|
}
|
|
126
|
+
interface REPLServerSetupHistoryOptions {
|
|
127
|
+
filePath?: string | undefined;
|
|
128
|
+
size?: number | undefined;
|
|
129
|
+
removeHistoryDuplicates?: boolean | undefined;
|
|
130
|
+
onHistoryFileLoaded?: ((err: Error | null, repl: REPLServer) => void) | undefined;
|
|
131
|
+
}
|
|
128
132
|
/**
|
|
129
133
|
* Instances of `repl.REPLServer` are created using the {@link start} method
|
|
130
134
|
* or directly using the JavaScript `new` keyword.
|
|
@@ -168,33 +172,33 @@ declare module "repl" {
|
|
|
168
172
|
/**
|
|
169
173
|
* A value indicating whether the REPL is currently in "editor mode".
|
|
170
174
|
*
|
|
171
|
-
* @see https://nodejs.org/dist/latest-
|
|
175
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_commands_and_special_keys
|
|
172
176
|
*/
|
|
173
177
|
readonly editorMode: boolean;
|
|
174
178
|
/**
|
|
175
179
|
* A value indicating whether the `_` variable has been assigned.
|
|
176
180
|
*
|
|
177
|
-
* @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
|
|
178
182
|
*/
|
|
179
183
|
readonly underscoreAssigned: boolean;
|
|
180
184
|
/**
|
|
181
185
|
* The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL).
|
|
182
186
|
*
|
|
183
|
-
* @see https://nodejs.org/dist/latest-
|
|
187
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
184
188
|
*/
|
|
185
189
|
readonly last: any;
|
|
186
190
|
/**
|
|
187
191
|
* A value indicating whether the `_error` variable has been assigned.
|
|
188
192
|
*
|
|
189
193
|
* @since v9.8.0
|
|
190
|
-
* @see https://nodejs.org/dist/latest-
|
|
194
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
191
195
|
*/
|
|
192
196
|
readonly underscoreErrAssigned: boolean;
|
|
193
197
|
/**
|
|
194
198
|
* The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL).
|
|
195
199
|
*
|
|
196
200
|
* @since v9.8.0
|
|
197
|
-
* @see https://nodejs.org/dist/latest-
|
|
201
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
198
202
|
*/
|
|
199
203
|
readonly lastError: any;
|
|
200
204
|
/**
|
|
@@ -246,7 +250,7 @@ declare module "repl" {
|
|
|
246
250
|
*
|
|
247
251
|
* `REPLServer` cannot be subclassed due to implementation specifics in NodeJS.
|
|
248
252
|
*
|
|
249
|
-
* @see https://nodejs.org/dist/latest-
|
|
253
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_class_replserver
|
|
250
254
|
*/
|
|
251
255
|
private constructor();
|
|
252
256
|
/**
|
|
@@ -291,7 +295,7 @@ declare module "repl" {
|
|
|
291
295
|
* The `replServer.displayPrompt()` method readies the REPL instance for input
|
|
292
296
|
* from the user, printing the configured `prompt` to a new line in the `output` and resuming the `input` to accept new input.
|
|
293
297
|
*
|
|
294
|
-
* When multi-line input is being entered,
|
|
298
|
+
* When multi-line input is being entered, a pipe `'|'` is printed rather than the
|
|
295
299
|
* 'prompt'.
|
|
296
300
|
*
|
|
297
301
|
* When `preserveCursor` is `true`, the cursor placement will not be reset to `0`.
|
|
@@ -318,7 +322,11 @@ declare module "repl" {
|
|
|
318
322
|
* @param historyPath the path to the history file
|
|
319
323
|
* @param callback called when history writes are ready or upon error
|
|
320
324
|
*/
|
|
321
|
-
setupHistory(
|
|
325
|
+
setupHistory(historyPath: string, callback: (err: Error | null, repl: this) => void): void;
|
|
326
|
+
setupHistory(
|
|
327
|
+
historyConfig?: REPLServerSetupHistoryOptions,
|
|
328
|
+
callback?: (err: Error | null, repl: this) => void,
|
|
329
|
+
): void;
|
|
322
330
|
/**
|
|
323
331
|
* events.EventEmitter
|
|
324
332
|
* 1. close - inherited from `readline.Interface`
|
|
@@ -418,7 +426,7 @@ declare module "repl" {
|
|
|
418
426
|
/**
|
|
419
427
|
* Indicates a recoverable error that a `REPLServer` can use to support multi-line input.
|
|
420
428
|
*
|
|
421
|
-
* @see https://nodejs.org/dist/latest-
|
|
429
|
+
* @see https://nodejs.org/dist/latest-v24.x/docs/api/repl.html#repl_recoverable_errors
|
|
422
430
|
*/
|
|
423
431
|
class Recoverable extends SyntaxError {
|
|
424
432
|
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;
|