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
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* } from 'node:timers/promises';
|
|
12
12
|
* ```
|
|
13
13
|
* @since v15.0.0
|
|
14
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
14
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/timers/promises.js)
|
|
15
15
|
*/
|
|
16
16
|
declare module "timers/promises" {
|
|
17
17
|
import { TimerOptions } from "node:timers";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* The timer functions within Node.js implement a similar API as the timers API
|
|
7
7
|
* provided by Web Browsers but use a different internal implementation that is
|
|
8
8
|
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/timers.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "timers" {
|
|
12
12
|
import { Abortable } from "node:events";
|
|
@@ -60,7 +60,6 @@ declare module "timers" {
|
|
|
60
60
|
/**
|
|
61
61
|
* Cancels the immediate. This is similar to calling `clearImmediate()`.
|
|
62
62
|
* @since v20.5.0, v18.18.0
|
|
63
|
-
* @experimental
|
|
64
63
|
*/
|
|
65
64
|
[Symbol.dispose](): void;
|
|
66
65
|
_onImmediate(...args: any[]): void;
|
|
@@ -141,7 +140,6 @@ declare module "timers" {
|
|
|
141
140
|
/**
|
|
142
141
|
* Cancels the timeout.
|
|
143
142
|
* @since v20.5.0, v18.18.0
|
|
144
|
-
* @experimental
|
|
145
143
|
*/
|
|
146
144
|
[Symbol.dispose](): void;
|
|
147
145
|
_onTimeout(...args: any[]): void;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* ```js
|
|
7
7
|
* import tls from 'node:tls';
|
|
8
8
|
* ```
|
|
9
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/tls.js)
|
|
10
10
|
*/
|
|
11
11
|
declare module "tls" {
|
|
12
12
|
import { X509Certificate } from "node:crypto";
|
|
@@ -797,13 +797,6 @@ declare module "tls" {
|
|
|
797
797
|
prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
798
798
|
prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
|
|
799
799
|
}
|
|
800
|
-
/**
|
|
801
|
-
* @deprecated since v0.11.3 Use `tls.TLSSocket` instead.
|
|
802
|
-
*/
|
|
803
|
-
interface SecurePair {
|
|
804
|
-
encrypted: TLSSocket;
|
|
805
|
-
cleartext: TLSSocket;
|
|
806
|
-
}
|
|
807
800
|
type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1";
|
|
808
801
|
interface SecureContextOptions {
|
|
809
802
|
/**
|
|
@@ -1102,45 +1095,6 @@ declare module "tls" {
|
|
|
1102
1095
|
secureConnectListener?: () => void,
|
|
1103
1096
|
): TLSSocket;
|
|
1104
1097
|
function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
1105
|
-
/**
|
|
1106
|
-
* Creates a new secure pair object with two streams, one of which reads and writes
|
|
1107
|
-
* the encrypted data and the other of which reads and writes the cleartext data.
|
|
1108
|
-
* Generally, the encrypted stream is piped to/from an incoming encrypted data
|
|
1109
|
-
* stream and the cleartext one is used as a replacement for the initial encrypted
|
|
1110
|
-
* stream.
|
|
1111
|
-
*
|
|
1112
|
-
* `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and `encrypted` stream properties.
|
|
1113
|
-
*
|
|
1114
|
-
* Using `cleartext` has the same API as {@link TLSSocket}.
|
|
1115
|
-
*
|
|
1116
|
-
* The `tls.createSecurePair()` method is now deprecated in favor of`tls.TLSSocket()`. For example, the code:
|
|
1117
|
-
*
|
|
1118
|
-
* ```js
|
|
1119
|
-
* pair = tls.createSecurePair(// ... );
|
|
1120
|
-
* pair.encrypted.pipe(socket);
|
|
1121
|
-
* socket.pipe(pair.encrypted);
|
|
1122
|
-
* ```
|
|
1123
|
-
*
|
|
1124
|
-
* can be replaced by:
|
|
1125
|
-
*
|
|
1126
|
-
* ```js
|
|
1127
|
-
* secureSocket = tls.TLSSocket(socket, options);
|
|
1128
|
-
* ```
|
|
1129
|
-
*
|
|
1130
|
-
* where `secureSocket` has the same API as `pair.cleartext`.
|
|
1131
|
-
* @since v0.3.2
|
|
1132
|
-
* @deprecated Since v0.11.3 - Use {@link TLSSocket} instead.
|
|
1133
|
-
* @param context A secure context object as returned by `tls.createSecureContext()`
|
|
1134
|
-
* @param isServer `true` to specify that this TLS connection should be opened as a server.
|
|
1135
|
-
* @param requestCert `true` to specify whether a server should request a certificate from a connecting client. Only applies when `isServer` is `true`.
|
|
1136
|
-
* @param rejectUnauthorized If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`.
|
|
1137
|
-
*/
|
|
1138
|
-
function createSecurePair(
|
|
1139
|
-
context?: SecureContext,
|
|
1140
|
-
isServer?: boolean,
|
|
1141
|
-
requestCert?: boolean,
|
|
1142
|
-
rejectUnauthorized?: boolean,
|
|
1143
|
-
): SecurePair;
|
|
1144
1098
|
/**
|
|
1145
1099
|
* `{@link createServer}` sets the default value of the `honorCipherOrder` option
|
|
1146
1100
|
* to `true`, other APIs that create secure contexts leave it unset.
|
|
@@ -1197,7 +1151,7 @@ declare module "tls" {
|
|
|
1197
1151
|
* the `ciphers` option of `{@link createSecureContext}`.
|
|
1198
1152
|
*
|
|
1199
1153
|
* Not all supported ciphers are enabled by default. See
|
|
1200
|
-
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-
|
|
1154
|
+
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v24.x/api/tls.html#modifying-the-default-tls-cipher-suite).
|
|
1201
1155
|
*
|
|
1202
1156
|
* Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
|
|
1203
1157
|
* TLSv1.2 and below.
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* The available categories are:
|
|
10
10
|
*
|
|
11
11
|
* * `node`: An empty placeholder.
|
|
12
|
-
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-
|
|
13
|
-
* The [`async_hooks`](https://nodejs.org/docs/latest-
|
|
12
|
+
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v24.x/api/async_hooks.html) trace data.
|
|
13
|
+
* The [`async_hooks`](https://nodejs.org/docs/latest-v24.x/api/async_hooks.html) events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
|
|
14
14
|
* * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.
|
|
15
15
|
* * `node.console`: Enables capture of `console.time()` and `console.count()` output.
|
|
16
16
|
* * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* * `node.fs_dir.sync`: Enables capture of trace data for file system sync directory methods.
|
|
23
23
|
* * `node.fs.async`: Enables capture of trace data for file system async methods.
|
|
24
24
|
* * `node.fs_dir.async`: Enables capture of trace data for file system async directory methods.
|
|
25
|
-
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-
|
|
25
|
+
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v24.x/api/perf_hooks.html) measurements.
|
|
26
26
|
* * `node.perf.usertiming`: Enables capture of only Performance API User Timing
|
|
27
27
|
* measures and marks.
|
|
28
28
|
* * `node.perf.timerify`: Enables capture of only Performance API timerify
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* * `node.promises.rejections`: Enables capture of trace data tracking the number
|
|
31
31
|
* of unhandled Promise rejections and handled-after-rejections.
|
|
32
32
|
* * `node.vm.script`: Enables capture of trace data for the `node:vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
|
|
33
|
-
* * `v8`: The [V8](https://nodejs.org/docs/latest-
|
|
33
|
+
* * `v8`: The [V8](https://nodejs.org/docs/latest-v24.x/api/v8.html) events are GC, compiling, and execution related.
|
|
34
34
|
* * `node.http`: Enables capture of trace data for http request / response.
|
|
35
35
|
*
|
|
36
36
|
* By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
* However the trace-event timestamps are expressed in microseconds,
|
|
89
89
|
* unlike `process.hrtime()` which returns nanoseconds.
|
|
90
90
|
*
|
|
91
|
-
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-
|
|
91
|
+
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v24.x/api/worker_threads.html#class-worker) threads.
|
|
92
92
|
* @experimental
|
|
93
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
93
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/trace_events.js)
|
|
94
94
|
*/
|
|
95
95
|
declare module "trace_events" {
|
|
96
96
|
/**
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// Interface declaration for Float16Array, required in @types/node v24+.
|
|
2
|
+
// These definitions are specific to TS <=5.6.
|
|
3
|
+
|
|
4
|
+
// This needs all of the "common" properties/methods of the TypedArrays,
|
|
5
|
+
// otherwise the type unions `TypedArray` and `ArrayBufferView` will be
|
|
6
|
+
// empty objects.
|
|
7
|
+
interface Float16Array extends Pick<Float32Array, typeof Symbol.iterator | "entries" | "keys" | "values"> {
|
|
8
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
9
|
+
readonly buffer: ArrayBufferLike;
|
|
10
|
+
readonly byteLength: number;
|
|
11
|
+
readonly byteOffset: number;
|
|
12
|
+
readonly length: number;
|
|
13
|
+
readonly [Symbol.toStringTag]: "Float16Array";
|
|
14
|
+
at(index: number): number | undefined;
|
|
15
|
+
copyWithin(target: number, start: number, end?: number): this;
|
|
16
|
+
every(predicate: (value: number, index: number, array: Float16Array) => unknown, thisArg?: any): boolean;
|
|
17
|
+
fill(value: number, start?: number, end?: number): this;
|
|
18
|
+
filter(predicate: (value: number, index: number, array: Float16Array) => any, thisArg?: any): Float16Array;
|
|
19
|
+
find(predicate: (value: number, index: number, obj: Float16Array) => boolean, thisArg?: any): number | undefined;
|
|
20
|
+
findIndex(predicate: (value: number, index: number, obj: Float16Array) => boolean, thisArg?: any): number;
|
|
21
|
+
findLast<S extends number>(
|
|
22
|
+
predicate: (value: number, index: number, array: Float16Array) => value is S,
|
|
23
|
+
thisArg?: any,
|
|
24
|
+
): S | undefined;
|
|
25
|
+
findLast(
|
|
26
|
+
predicate: (value: number, index: number, array: Float16Array) => unknown,
|
|
27
|
+
thisArg?: any,
|
|
28
|
+
): number | undefined;
|
|
29
|
+
findLastIndex(predicate: (value: number, index: number, array: Float16Array) => unknown, thisArg?: any): number;
|
|
30
|
+
forEach(callbackfn: (value: number, index: number, array: Float16Array) => void, thisArg?: any): void;
|
|
31
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
32
|
+
indexOf(searchElement: number, fromIndex?: number): number;
|
|
33
|
+
join(separator?: string): string;
|
|
34
|
+
lastIndexOf(searchElement: number, fromIndex?: number): number;
|
|
35
|
+
map(callbackfn: (value: number, index: number, array: Float16Array) => number, thisArg?: any): Float16Array;
|
|
36
|
+
reduce(
|
|
37
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
|
|
38
|
+
): number;
|
|
39
|
+
reduce(
|
|
40
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
|
|
41
|
+
initialValue: number,
|
|
42
|
+
): number;
|
|
43
|
+
reduce<U>(
|
|
44
|
+
callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float16Array) => U,
|
|
45
|
+
initialValue: U,
|
|
46
|
+
): U;
|
|
47
|
+
reduceRight(
|
|
48
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
|
|
49
|
+
): number;
|
|
50
|
+
reduceRight(
|
|
51
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float16Array) => number,
|
|
52
|
+
initialValue: number,
|
|
53
|
+
): number;
|
|
54
|
+
reduceRight<U>(
|
|
55
|
+
callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float16Array) => U,
|
|
56
|
+
initialValue: U,
|
|
57
|
+
): U;
|
|
58
|
+
reverse(): Float16Array;
|
|
59
|
+
set(array: ArrayLike<number>, offset?: number): void;
|
|
60
|
+
slice(start?: number, end?: number): Float16Array;
|
|
61
|
+
some(predicate: (value: number, index: number, array: Float16Array) => unknown, thisArg?: any): boolean;
|
|
62
|
+
sort(compareFn?: (a: number, b: number) => number): this;
|
|
63
|
+
subarray(begin?: number, end?: number): Float16Array;
|
|
64
|
+
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
65
|
+
toReversed(): Float16Array;
|
|
66
|
+
toSorted(compareFn?: (a: number, b: number) => number): Float16Array;
|
|
67
|
+
toString(): string;
|
|
68
|
+
valueOf(): Float16Array;
|
|
69
|
+
with(index: number, value: number): Float16Array;
|
|
70
|
+
[index: number]: number;
|
|
71
|
+
}
|
|
@@ -22,20 +22,30 @@
|
|
|
22
22
|
* IN THE SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
// NOTE: These definitions support Node.js and TypeScript
|
|
25
|
+
// NOTE: These definitions support Node.js and TypeScript 5.2 through 5.6.
|
|
26
26
|
|
|
27
|
-
// Reference required TypeScript
|
|
27
|
+
// Reference required TypeScript libraries:
|
|
28
28
|
/// <reference lib="es2020" />
|
|
29
|
+
/// <reference lib="esnext.disposable" />
|
|
29
30
|
|
|
30
|
-
// TypeScript
|
|
31
|
-
/// <reference path="
|
|
31
|
+
// TypeScript library polyfills required for TypeScript <=5.6:
|
|
32
|
+
/// <reference path="./compatibility/float16array.d.ts" />
|
|
32
33
|
|
|
33
|
-
//
|
|
34
|
+
// Iterator definitions required for compatibility with TypeScript <5.6:
|
|
35
|
+
/// <reference path="../compatibility/iterators.d.ts" />
|
|
36
|
+
|
|
37
|
+
// Definitions for Node.js modules specific to TypeScript <=5.6:
|
|
34
38
|
/// <reference path="./globals.typedarray.d.ts" />
|
|
35
39
|
/// <reference path="./buffer.buffer.d.ts" />
|
|
36
40
|
|
|
37
41
|
// Definitions for Node.js modules that are not specific to any version of TypeScript:
|
|
38
42
|
/// <reference path="../globals.d.ts" />
|
|
43
|
+
/// <reference path="../web-globals/abortcontroller.d.ts" />
|
|
44
|
+
/// <reference path="../web-globals/domexception.d.ts" />
|
|
45
|
+
/// <reference path="../web-globals/events.d.ts" />
|
|
46
|
+
/// <reference path="../web-globals/fetch.d.ts" />
|
|
47
|
+
/// <reference path="../web-globals/navigator.d.ts" />
|
|
48
|
+
/// <reference path="../web-globals/storage.d.ts" />
|
|
39
49
|
/// <reference path="../assert.d.ts" />
|
|
40
50
|
/// <reference path="../assert/strict.d.ts" />
|
|
41
51
|
/// <reference path="../async_hooks.d.ts" />
|
|
@@ -51,7 +61,6 @@
|
|
|
51
61
|
/// <reference path="../dns/promises.d.ts" />
|
|
52
62
|
/// <reference path="../dns/promises.d.ts" />
|
|
53
63
|
/// <reference path="../domain.d.ts" />
|
|
54
|
-
/// <reference path="../dom-events.d.ts" />
|
|
55
64
|
/// <reference path="../events.d.ts" />
|
|
56
65
|
/// <reference path="../fs.d.ts" />
|
|
57
66
|
/// <reference path="../fs/promises.d.ts" />
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Interface declaration for Float16Array, required in @types/node v24+.
|
|
2
|
+
// These definitions are specific to TS 5.7.
|
|
3
|
+
|
|
4
|
+
// This needs all of the "common" properties/methods of the TypedArrays,
|
|
5
|
+
// otherwise the type unions `TypedArray` and `ArrayBufferView` will be
|
|
6
|
+
// empty objects.
|
|
7
|
+
interface Float16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
|
|
8
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
9
|
+
readonly buffer: TArrayBuffer;
|
|
10
|
+
readonly byteLength: number;
|
|
11
|
+
readonly byteOffset: number;
|
|
12
|
+
readonly length: number;
|
|
13
|
+
readonly [Symbol.toStringTag]: "Float16Array";
|
|
14
|
+
at(index: number): number | undefined;
|
|
15
|
+
copyWithin(target: number, start: number, end?: number): this;
|
|
16
|
+
entries(): ArrayIterator<[number, number]>;
|
|
17
|
+
every(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
|
|
18
|
+
fill(value: number, start?: number, end?: number): this;
|
|
19
|
+
filter(predicate: (value: number, index: number, array: this) => any, thisArg?: any): Float16Array<ArrayBuffer>;
|
|
20
|
+
find(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number | undefined;
|
|
21
|
+
findIndex(predicate: (value: number, index: number, obj: this) => boolean, thisArg?: any): number;
|
|
22
|
+
findLast<S extends number>(
|
|
23
|
+
predicate: (value: number, index: number, array: this) => value is S,
|
|
24
|
+
thisArg?: any,
|
|
25
|
+
): S | undefined;
|
|
26
|
+
findLast(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): number | undefined;
|
|
27
|
+
findLastIndex(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): number;
|
|
28
|
+
forEach(callbackfn: (value: number, index: number, array: this) => void, thisArg?: any): void;
|
|
29
|
+
includes(searchElement: number, fromIndex?: number): boolean;
|
|
30
|
+
indexOf(searchElement: number, fromIndex?: number): number;
|
|
31
|
+
join(separator?: string): string;
|
|
32
|
+
keys(): ArrayIterator<number>;
|
|
33
|
+
lastIndexOf(searchElement: number, fromIndex?: number): number;
|
|
34
|
+
map(callbackfn: (value: number, index: number, array: this) => number, thisArg?: any): Float16Array<ArrayBuffer>;
|
|
35
|
+
reduce(
|
|
36
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
|
|
37
|
+
): number;
|
|
38
|
+
reduce(
|
|
39
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
|
|
40
|
+
initialValue: number,
|
|
41
|
+
): number;
|
|
42
|
+
reduce<U>(
|
|
43
|
+
callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U,
|
|
44
|
+
initialValue: U,
|
|
45
|
+
): U;
|
|
46
|
+
reduceRight(
|
|
47
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
|
|
48
|
+
): number;
|
|
49
|
+
reduceRight(
|
|
50
|
+
callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: this) => number,
|
|
51
|
+
initialValue: number,
|
|
52
|
+
): number;
|
|
53
|
+
reduceRight<U>(
|
|
54
|
+
callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: this) => U,
|
|
55
|
+
initialValue: U,
|
|
56
|
+
): U;
|
|
57
|
+
reverse(): this;
|
|
58
|
+
set(array: ArrayLike<number>, offset?: number): void;
|
|
59
|
+
slice(start?: number, end?: number): Float16Array<ArrayBuffer>;
|
|
60
|
+
some(predicate: (value: number, index: number, array: this) => unknown, thisArg?: any): boolean;
|
|
61
|
+
sort(compareFn?: (a: number, b: number) => number): this;
|
|
62
|
+
subarray(begin?: number, end?: number): Float16Array<TArrayBuffer>;
|
|
63
|
+
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions): string;
|
|
64
|
+
toReversed(): Float16Array<ArrayBuffer>;
|
|
65
|
+
toSorted(compareFn?: (a: number, b: number) => number): Float16Array<ArrayBuffer>;
|
|
66
|
+
toString(): string;
|
|
67
|
+
valueOf(): this;
|
|
68
|
+
values(): ArrayIterator<number>;
|
|
69
|
+
with(index: number, value: number): Float16Array<ArrayBuffer>;
|
|
70
|
+
[Symbol.iterator](): ArrayIterator<number>;
|
|
71
|
+
[index: number]: number;
|
|
72
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* License for programmatically and manually incorporated
|
|
3
|
+
* documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
|
|
4
|
+
*
|
|
5
|
+
* Copyright Node.js contributors. All rights reserved.
|
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
* of this software and associated documentation files (the "Software"), to
|
|
8
|
+
* deal in the Software without restriction, including without limitation the
|
|
9
|
+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
10
|
+
* sell copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
* furnished to do so, subject to the following conditions:
|
|
12
|
+
*
|
|
13
|
+
* The above copyright notice and this permission notice shall be included in
|
|
14
|
+
* all copies or substantial portions of the Software.
|
|
15
|
+
*
|
|
16
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
21
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
22
|
+
* IN THE SOFTWARE.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
// NOTE: These definitions support Node.js and TypeScript 5.7.
|
|
26
|
+
|
|
27
|
+
// Reference required TypeScript libraries:
|
|
28
|
+
/// <reference lib="es2020" />
|
|
29
|
+
/// <reference lib="esnext.disposable" />
|
|
30
|
+
|
|
31
|
+
// TypeScript library polyfills required for TypeScript 5.7:
|
|
32
|
+
/// <reference path="./compatibility/float16array.d.ts" />
|
|
33
|
+
|
|
34
|
+
// Iterator definitions required for compatibility with TypeScript <5.6:
|
|
35
|
+
/// <reference path="../compatibility/iterators.d.ts" />
|
|
36
|
+
|
|
37
|
+
// Definitions for Node.js modules specific to TypeScript 5.7+:
|
|
38
|
+
/// <reference path="../globals.typedarray.d.ts" />
|
|
39
|
+
/// <reference path="../buffer.buffer.d.ts" />
|
|
40
|
+
|
|
41
|
+
// Definitions for Node.js modules that are not specific to any version of TypeScript:
|
|
42
|
+
/// <reference path="../globals.d.ts" />
|
|
43
|
+
/// <reference path="../web-globals/abortcontroller.d.ts" />
|
|
44
|
+
/// <reference path="../web-globals/domexception.d.ts" />
|
|
45
|
+
/// <reference path="../web-globals/events.d.ts" />
|
|
46
|
+
/// <reference path="../web-globals/fetch.d.ts" />
|
|
47
|
+
/// <reference path="../web-globals/navigator.d.ts" />
|
|
48
|
+
/// <reference path="../web-globals/storage.d.ts" />
|
|
49
|
+
/// <reference path="../assert.d.ts" />
|
|
50
|
+
/// <reference path="../assert/strict.d.ts" />
|
|
51
|
+
/// <reference path="../async_hooks.d.ts" />
|
|
52
|
+
/// <reference path="../buffer.d.ts" />
|
|
53
|
+
/// <reference path="../child_process.d.ts" />
|
|
54
|
+
/// <reference path="../cluster.d.ts" />
|
|
55
|
+
/// <reference path="../console.d.ts" />
|
|
56
|
+
/// <reference path="../constants.d.ts" />
|
|
57
|
+
/// <reference path="../crypto.d.ts" />
|
|
58
|
+
/// <reference path="../dgram.d.ts" />
|
|
59
|
+
/// <reference path="../diagnostics_channel.d.ts" />
|
|
60
|
+
/// <reference path="../dns.d.ts" />
|
|
61
|
+
/// <reference path="../dns/promises.d.ts" />
|
|
62
|
+
/// <reference path="../dns/promises.d.ts" />
|
|
63
|
+
/// <reference path="../domain.d.ts" />
|
|
64
|
+
/// <reference path="../events.d.ts" />
|
|
65
|
+
/// <reference path="../fs.d.ts" />
|
|
66
|
+
/// <reference path="../fs/promises.d.ts" />
|
|
67
|
+
/// <reference path="../http.d.ts" />
|
|
68
|
+
/// <reference path="../http2.d.ts" />
|
|
69
|
+
/// <reference path="../https.d.ts" />
|
|
70
|
+
/// <reference path="../inspector.d.ts" />
|
|
71
|
+
/// <reference path="../module.d.ts" />
|
|
72
|
+
/// <reference path="../net.d.ts" />
|
|
73
|
+
/// <reference path="../os.d.ts" />
|
|
74
|
+
/// <reference path="../path.d.ts" />
|
|
75
|
+
/// <reference path="../perf_hooks.d.ts" />
|
|
76
|
+
/// <reference path="../process.d.ts" />
|
|
77
|
+
/// <reference path="../punycode.d.ts" />
|
|
78
|
+
/// <reference path="../querystring.d.ts" />
|
|
79
|
+
/// <reference path="../readline.d.ts" />
|
|
80
|
+
/// <reference path="../readline/promises.d.ts" />
|
|
81
|
+
/// <reference path="../repl.d.ts" />
|
|
82
|
+
/// <reference path="../sea.d.ts" />
|
|
83
|
+
/// <reference path="../sqlite.d.ts" />
|
|
84
|
+
/// <reference path="../stream.d.ts" />
|
|
85
|
+
/// <reference path="../stream/promises.d.ts" />
|
|
86
|
+
/// <reference path="../stream/consumers.d.ts" />
|
|
87
|
+
/// <reference path="../stream/web.d.ts" />
|
|
88
|
+
/// <reference path="../string_decoder.d.ts" />
|
|
89
|
+
/// <reference path="../test.d.ts" />
|
|
90
|
+
/// <reference path="../timers.d.ts" />
|
|
91
|
+
/// <reference path="../timers/promises.d.ts" />
|
|
92
|
+
/// <reference path="../tls.d.ts" />
|
|
93
|
+
/// <reference path="../trace_events.d.ts" />
|
|
94
|
+
/// <reference path="../tty.d.ts" />
|
|
95
|
+
/// <reference path="../url.d.ts" />
|
|
96
|
+
/// <reference path="../util.d.ts" />
|
|
97
|
+
/// <reference path="../v8.d.ts" />
|
|
98
|
+
/// <reference path="../vm.d.ts" />
|
|
99
|
+
/// <reference path="../wasi.d.ts" />
|
|
100
|
+
/// <reference path="../worker_threads.d.ts" />
|
|
101
|
+
/// <reference path="../zlib.d.ts" />
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* In most cases, there should be little to no reason for an application to
|
|
23
23
|
* manually create instances of the `tty.ReadStream` and `tty.WriteStream` classes.
|
|
24
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
24
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/tty.js)
|
|
25
25
|
*/
|
|
26
26
|
declare module "tty" {
|
|
27
27
|
import * as net from "node:net";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ```js
|
|
6
6
|
* import url from 'node:url';
|
|
7
7
|
* ```
|
|
8
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/url.js)
|
|
9
9
|
*/
|
|
10
10
|
declare module "url" {
|
|
11
11
|
import { Blob as NodeBlob } from "node:buffer";
|
|
@@ -315,6 +315,17 @@ declare module "url" {
|
|
|
315
315
|
* @return The fully-resolved platform-specific Node.js file path.
|
|
316
316
|
*/
|
|
317
317
|
function fileURLToPath(url: string | URL, options?: FileUrlToPathOptions): string;
|
|
318
|
+
/**
|
|
319
|
+
* Like `url.fileURLToPath(...)` except that instead of returning a string
|
|
320
|
+
* representation of the path, a `Buffer` is returned. This conversion is
|
|
321
|
+
* helpful when the input URL contains percent-encoded segments that are
|
|
322
|
+
* not valid UTF-8 / Unicode sequences.
|
|
323
|
+
* @since v24.3.0
|
|
324
|
+
* @param url The file URL string or URL object to convert to a path.
|
|
325
|
+
* @returns The fully-resolved platform-specific Node.js file path
|
|
326
|
+
* as a `Buffer`.
|
|
327
|
+
*/
|
|
328
|
+
function fileURLToPathBuffer(url: string | URL, options?: FileUrlToPathOptions): Buffer;
|
|
318
329
|
/**
|
|
319
330
|
* This function ensures that `path` is resolved absolutely, and that the URL
|
|
320
331
|
* control characters are correctly encoded when converting into a File URL.
|
|
@@ -420,14 +431,12 @@ declare module "url" {
|
|
|
420
431
|
* Threads, `Blob` objects registered within one Worker will not be available
|
|
421
432
|
* to other workers or the main thread.
|
|
422
433
|
* @since v16.7.0
|
|
423
|
-
* @experimental
|
|
424
434
|
*/
|
|
425
435
|
static createObjectURL(blob: NodeBlob): string;
|
|
426
436
|
/**
|
|
427
437
|
* Removes the stored `Blob` identified by the given ID. Attempting to revoke a
|
|
428
438
|
* ID that isn't registered will silently fail.
|
|
429
439
|
* @since v16.7.0
|
|
430
|
-
* @experimental
|
|
431
440
|
* @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
|
|
432
441
|
*/
|
|
433
442
|
static revokeObjectURL(id: string): void;
|
|
@@ -757,6 +766,54 @@ declare module "url" {
|
|
|
757
766
|
*/
|
|
758
767
|
toJSON(): string;
|
|
759
768
|
}
|
|
769
|
+
interface URLPatternComponentResult {
|
|
770
|
+
input: string;
|
|
771
|
+
groups: Record<string, string | undefined>;
|
|
772
|
+
}
|
|
773
|
+
interface URLPatternInit {
|
|
774
|
+
protocol?: string;
|
|
775
|
+
username?: string;
|
|
776
|
+
password?: string;
|
|
777
|
+
hostname?: string;
|
|
778
|
+
port?: string;
|
|
779
|
+
pathname?: string;
|
|
780
|
+
search?: string;
|
|
781
|
+
hash?: string;
|
|
782
|
+
baseURL?: string;
|
|
783
|
+
}
|
|
784
|
+
interface URLPatternOptions {
|
|
785
|
+
ignoreCase?: boolean;
|
|
786
|
+
}
|
|
787
|
+
interface URLPatternResult {
|
|
788
|
+
inputs: (string | URLPatternInit)[];
|
|
789
|
+
protocol: URLPatternComponentResult;
|
|
790
|
+
username: URLPatternComponentResult;
|
|
791
|
+
password: URLPatternComponentResult;
|
|
792
|
+
hostname: URLPatternComponentResult;
|
|
793
|
+
port: URLPatternComponentResult;
|
|
794
|
+
pathname: URLPatternComponentResult;
|
|
795
|
+
search: URLPatternComponentResult;
|
|
796
|
+
hash: URLPatternComponentResult;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* @since v23.8.0
|
|
800
|
+
* @experimental
|
|
801
|
+
*/
|
|
802
|
+
class URLPattern {
|
|
803
|
+
constructor(input: string | URLPatternInit, baseURL: string, options?: URLPatternOptions);
|
|
804
|
+
constructor(input?: string | URLPatternInit, options?: URLPatternOptions);
|
|
805
|
+
exec(input?: string | URLPatternInit, baseURL?: string): URLPatternResult | null;
|
|
806
|
+
readonly hasRegExpGroups: boolean;
|
|
807
|
+
readonly hash: string;
|
|
808
|
+
readonly hostname: string;
|
|
809
|
+
readonly password: string;
|
|
810
|
+
readonly pathname: string;
|
|
811
|
+
readonly port: string;
|
|
812
|
+
readonly protocol: string;
|
|
813
|
+
readonly search: string;
|
|
814
|
+
test(input?: string | URLPatternInit, baseURL?: string): boolean;
|
|
815
|
+
readonly username: string;
|
|
816
|
+
}
|
|
760
817
|
interface URLSearchParamsIterator<T> extends NodeJS.Iterator<T, NodeJS.BuiltinIteratorReturn, unknown> {
|
|
761
818
|
[Symbol.iterator](): URLSearchParamsIterator<T>;
|
|
762
819
|
}
|
|
@@ -828,7 +885,7 @@ declare module "url" {
|
|
|
828
885
|
* Returns an ES6 `Iterator` over each of the name-value pairs in the query.
|
|
829
886
|
* Each item of the iterator is a JavaScript `Array`. The first item of the `Array` is the `name`, the second item of the `Array` is the `value`.
|
|
830
887
|
*
|
|
831
|
-
* Alias for `urlSearchParams[
|
|
888
|
+
* Alias for `urlSearchParams[Symbol.iterator]()`.
|
|
832
889
|
*/
|
|
833
890
|
entries(): URLSearchParamsIterator<[string, string]>;
|
|
834
891
|
/**
|
|
@@ -937,34 +994,30 @@ declare module "url" {
|
|
|
937
994
|
values(): URLSearchParamsIterator<string>;
|
|
938
995
|
[Symbol.iterator](): URLSearchParamsIterator<[string, string]>;
|
|
939
996
|
}
|
|
940
|
-
import {
|
|
997
|
+
import {
|
|
998
|
+
URL as _URL,
|
|
999
|
+
URLPattern as _URLPattern,
|
|
1000
|
+
URLPatternInit as _URLPatternInit,
|
|
1001
|
+
URLPatternResult as _URLPatternResult,
|
|
1002
|
+
URLSearchParams as _URLSearchParams,
|
|
1003
|
+
} from "url";
|
|
941
1004
|
global {
|
|
942
|
-
interface URLSearchParams extends _URLSearchParams {}
|
|
943
1005
|
interface URL extends _URL {}
|
|
944
|
-
interface Global {
|
|
945
|
-
URL: typeof _URL;
|
|
946
|
-
URLSearchParams: typeof _URLSearchParams;
|
|
947
|
-
}
|
|
948
|
-
/**
|
|
949
|
-
* `URL` class is a global reference for `import { URL } from 'url'`
|
|
950
|
-
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
951
|
-
* @since v10.0.0
|
|
952
|
-
*/
|
|
953
1006
|
var URL: typeof globalThis extends {
|
|
954
1007
|
onmessage: any;
|
|
955
1008
|
URL: infer T;
|
|
956
1009
|
} ? T
|
|
957
1010
|
: typeof _URL;
|
|
958
|
-
|
|
959
|
-
* `URLSearchParams` class is a global reference for `import { URLSearchParams } from 'node:url'`
|
|
960
|
-
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
961
|
-
* @since v10.0.0
|
|
962
|
-
*/
|
|
1011
|
+
interface URLSearchParams extends _URLSearchParams {}
|
|
963
1012
|
var URLSearchParams: typeof globalThis extends {
|
|
964
1013
|
onmessage: any;
|
|
965
1014
|
URLSearchParams: infer T;
|
|
966
1015
|
} ? T
|
|
967
1016
|
: typeof _URLSearchParams;
|
|
1017
|
+
interface URLPatternInit extends _URLPatternInit {}
|
|
1018
|
+
interface URLPatternResult extends _URLPatternResult {}
|
|
1019
|
+
interface URLPattern extends _URLPattern {}
|
|
1020
|
+
var URLPattern: typeof _URLPattern;
|
|
968
1021
|
}
|
|
969
1022
|
}
|
|
970
1023
|
declare module "node:url" {
|