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
|
@@ -1,371 +1,168 @@
|
|
|
1
|
-
|
|
1
|
+
declare var global: typeof globalThis;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
// Will either be empty if lib.dom (or lib.webworker) is included, or the undici version otherwise.
|
|
6
|
-
type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
|
|
7
|
-
type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
|
|
8
|
-
type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
|
|
9
|
-
type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
|
|
10
|
-
type _MessageEvent = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").MessageEvent;
|
|
11
|
-
type _RequestInit = typeof globalThis extends { onmessage: any } ? {}
|
|
12
|
-
: import("undici-types").RequestInit;
|
|
13
|
-
type _ResponseInit = typeof globalThis extends { onmessage: any } ? {}
|
|
14
|
-
: import("undici-types").ResponseInit;
|
|
15
|
-
type _WebSocket = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").WebSocket;
|
|
16
|
-
type _EventSource = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").EventSource;
|
|
17
|
-
// #endregion Fetch and friends
|
|
18
|
-
|
|
19
|
-
// Conditional type definitions for webstorage interface, which conflicts with lib.dom otherwise.
|
|
20
|
-
type _Storage = typeof globalThis extends { onabort: any } ? {} : {
|
|
21
|
-
readonly length: number;
|
|
22
|
-
clear(): void;
|
|
23
|
-
getItem(key: string): string | null;
|
|
24
|
-
key(index: number): string | null;
|
|
25
|
-
removeItem(key: string): void;
|
|
26
|
-
setItem(key: string, value: string): void;
|
|
27
|
-
[key: string]: any;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
// #region DOMException
|
|
31
|
-
type _DOMException = typeof globalThis extends { onmessage: any } ? {} : NodeDOMException;
|
|
32
|
-
interface NodeDOMException extends Error {
|
|
33
|
-
readonly code: number;
|
|
34
|
-
readonly message: string;
|
|
35
|
-
readonly name: string;
|
|
36
|
-
readonly INDEX_SIZE_ERR: 1;
|
|
37
|
-
readonly DOMSTRING_SIZE_ERR: 2;
|
|
38
|
-
readonly HIERARCHY_REQUEST_ERR: 3;
|
|
39
|
-
readonly WRONG_DOCUMENT_ERR: 4;
|
|
40
|
-
readonly INVALID_CHARACTER_ERR: 5;
|
|
41
|
-
readonly NO_DATA_ALLOWED_ERR: 6;
|
|
42
|
-
readonly NO_MODIFICATION_ALLOWED_ERR: 7;
|
|
43
|
-
readonly NOT_FOUND_ERR: 8;
|
|
44
|
-
readonly NOT_SUPPORTED_ERR: 9;
|
|
45
|
-
readonly INUSE_ATTRIBUTE_ERR: 10;
|
|
46
|
-
readonly INVALID_STATE_ERR: 11;
|
|
47
|
-
readonly SYNTAX_ERR: 12;
|
|
48
|
-
readonly INVALID_MODIFICATION_ERR: 13;
|
|
49
|
-
readonly NAMESPACE_ERR: 14;
|
|
50
|
-
readonly INVALID_ACCESS_ERR: 15;
|
|
51
|
-
readonly VALIDATION_ERR: 16;
|
|
52
|
-
readonly TYPE_MISMATCH_ERR: 17;
|
|
53
|
-
readonly SECURITY_ERR: 18;
|
|
54
|
-
readonly NETWORK_ERR: 19;
|
|
55
|
-
readonly ABORT_ERR: 20;
|
|
56
|
-
readonly URL_MISMATCH_ERR: 21;
|
|
57
|
-
readonly QUOTA_EXCEEDED_ERR: 22;
|
|
58
|
-
readonly TIMEOUT_ERR: 23;
|
|
59
|
-
readonly INVALID_NODE_TYPE_ERR: 24;
|
|
60
|
-
readonly DATA_CLONE_ERR: 25;
|
|
61
|
-
}
|
|
62
|
-
interface NodeDOMExceptionConstructor {
|
|
63
|
-
prototype: DOMException;
|
|
64
|
-
new(message?: string, nameOrOptions?: string | { name?: string; cause?: unknown }): DOMException;
|
|
65
|
-
readonly INDEX_SIZE_ERR: 1;
|
|
66
|
-
readonly DOMSTRING_SIZE_ERR: 2;
|
|
67
|
-
readonly HIERARCHY_REQUEST_ERR: 3;
|
|
68
|
-
readonly WRONG_DOCUMENT_ERR: 4;
|
|
69
|
-
readonly INVALID_CHARACTER_ERR: 5;
|
|
70
|
-
readonly NO_DATA_ALLOWED_ERR: 6;
|
|
71
|
-
readonly NO_MODIFICATION_ALLOWED_ERR: 7;
|
|
72
|
-
readonly NOT_FOUND_ERR: 8;
|
|
73
|
-
readonly NOT_SUPPORTED_ERR: 9;
|
|
74
|
-
readonly INUSE_ATTRIBUTE_ERR: 10;
|
|
75
|
-
readonly INVALID_STATE_ERR: 11;
|
|
76
|
-
readonly SYNTAX_ERR: 12;
|
|
77
|
-
readonly INVALID_MODIFICATION_ERR: 13;
|
|
78
|
-
readonly NAMESPACE_ERR: 14;
|
|
79
|
-
readonly INVALID_ACCESS_ERR: 15;
|
|
80
|
-
readonly VALIDATION_ERR: 16;
|
|
81
|
-
readonly TYPE_MISMATCH_ERR: 17;
|
|
82
|
-
readonly SECURITY_ERR: 18;
|
|
83
|
-
readonly NETWORK_ERR: 19;
|
|
84
|
-
readonly ABORT_ERR: 20;
|
|
85
|
-
readonly URL_MISMATCH_ERR: 21;
|
|
86
|
-
readonly QUOTA_EXCEEDED_ERR: 22;
|
|
87
|
-
readonly TIMEOUT_ERR: 23;
|
|
88
|
-
readonly INVALID_NODE_TYPE_ERR: 24;
|
|
89
|
-
readonly DATA_CLONE_ERR: 25;
|
|
90
|
-
}
|
|
91
|
-
// #endregion DOMException
|
|
92
|
-
|
|
93
|
-
declare global {
|
|
94
|
-
var global: typeof globalThis;
|
|
95
|
-
|
|
96
|
-
var process: NodeJS.Process;
|
|
97
|
-
var console: Console;
|
|
98
|
-
|
|
99
|
-
interface ErrorConstructor {
|
|
100
|
-
/**
|
|
101
|
-
* Creates a `.stack` property on `targetObject`, which when accessed returns
|
|
102
|
-
* a string representing the location in the code at which
|
|
103
|
-
* `Error.captureStackTrace()` was called.
|
|
104
|
-
*
|
|
105
|
-
* ```js
|
|
106
|
-
* const myObject = {};
|
|
107
|
-
* Error.captureStackTrace(myObject);
|
|
108
|
-
* myObject.stack; // Similar to `new Error().stack`
|
|
109
|
-
* ```
|
|
110
|
-
*
|
|
111
|
-
* The first line of the trace will be prefixed with
|
|
112
|
-
* `${myObject.name}: ${myObject.message}`.
|
|
113
|
-
*
|
|
114
|
-
* The optional `constructorOpt` argument accepts a function. If given, all frames
|
|
115
|
-
* above `constructorOpt`, including `constructorOpt`, will be omitted from the
|
|
116
|
-
* generated stack trace.
|
|
117
|
-
*
|
|
118
|
-
* The `constructorOpt` argument is useful for hiding implementation
|
|
119
|
-
* details of error generation from the user. For instance:
|
|
120
|
-
*
|
|
121
|
-
* ```js
|
|
122
|
-
* function a() {
|
|
123
|
-
* b();
|
|
124
|
-
* }
|
|
125
|
-
*
|
|
126
|
-
* function b() {
|
|
127
|
-
* c();
|
|
128
|
-
* }
|
|
129
|
-
*
|
|
130
|
-
* function c() {
|
|
131
|
-
* // Create an error without stack trace to avoid calculating the stack trace twice.
|
|
132
|
-
* const { stackTraceLimit } = Error;
|
|
133
|
-
* Error.stackTraceLimit = 0;
|
|
134
|
-
* const error = new Error();
|
|
135
|
-
* Error.stackTraceLimit = stackTraceLimit;
|
|
136
|
-
*
|
|
137
|
-
* // Capture the stack trace above function b
|
|
138
|
-
* Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
|
|
139
|
-
* throw error;
|
|
140
|
-
* }
|
|
141
|
-
*
|
|
142
|
-
* a();
|
|
143
|
-
* ```
|
|
144
|
-
*/
|
|
145
|
-
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
146
|
-
/**
|
|
147
|
-
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
148
|
-
*/
|
|
149
|
-
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
150
|
-
/**
|
|
151
|
-
* The `Error.stackTraceLimit` property specifies the number of stack frames
|
|
152
|
-
* collected by a stack trace (whether generated by `new Error().stack` or
|
|
153
|
-
* `Error.captureStackTrace(obj)`).
|
|
154
|
-
*
|
|
155
|
-
* The default value is `10` but may be set to any valid JavaScript number. Changes
|
|
156
|
-
* will affect any stack trace captured _after_ the value has been changed.
|
|
157
|
-
*
|
|
158
|
-
* If set to a non-number value, or set to a negative number, stack traces will
|
|
159
|
-
* not capture any frames.
|
|
160
|
-
*/
|
|
161
|
-
stackTraceLimit: number;
|
|
162
|
-
}
|
|
3
|
+
declare var process: NodeJS.Process;
|
|
4
|
+
declare var console: Console;
|
|
163
5
|
|
|
6
|
+
interface ErrorConstructor {
|
|
164
7
|
/**
|
|
165
|
-
*
|
|
8
|
+
* Creates a `.stack` property on `targetObject`, which when accessed returns
|
|
9
|
+
* a string representing the location in the code at which
|
|
10
|
+
* `Error.captureStackTrace()` was called.
|
|
11
|
+
*
|
|
12
|
+
* ```js
|
|
13
|
+
* const myObject = {};
|
|
14
|
+
* Error.captureStackTrace(myObject);
|
|
15
|
+
* myObject.stack; // Similar to `new Error().stack`
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* The first line of the trace will be prefixed with
|
|
19
|
+
* `${myObject.name}: ${myObject.message}`.
|
|
20
|
+
*
|
|
21
|
+
* The optional `constructorOpt` argument accepts a function. If given, all frames
|
|
22
|
+
* above `constructorOpt`, including `constructorOpt`, will be omitted from the
|
|
23
|
+
* generated stack trace.
|
|
24
|
+
*
|
|
25
|
+
* The `constructorOpt` argument is useful for hiding implementation
|
|
26
|
+
* details of error generation from the user. For instance:
|
|
27
|
+
*
|
|
28
|
+
* ```js
|
|
29
|
+
* function a() {
|
|
30
|
+
* b();
|
|
31
|
+
* }
|
|
32
|
+
*
|
|
33
|
+
* function b() {
|
|
34
|
+
* c();
|
|
35
|
+
* }
|
|
36
|
+
*
|
|
37
|
+
* function c() {
|
|
38
|
+
* // Create an error without stack trace to avoid calculating the stack trace twice.
|
|
39
|
+
* const { stackTraceLimit } = Error;
|
|
40
|
+
* Error.stackTraceLimit = 0;
|
|
41
|
+
* const error = new Error();
|
|
42
|
+
* Error.stackTraceLimit = stackTraceLimit;
|
|
43
|
+
*
|
|
44
|
+
* // Capture the stack trace above function b
|
|
45
|
+
* Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
|
|
46
|
+
* throw error;
|
|
47
|
+
* }
|
|
48
|
+
*
|
|
49
|
+
* a();
|
|
50
|
+
* ```
|
|
166
51
|
*/
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
getTypeName(): string | null;
|
|
186
|
-
isAsync(): boolean;
|
|
187
|
-
isConstructor(): boolean;
|
|
188
|
-
isEval(): boolean;
|
|
189
|
-
isNative(): boolean;
|
|
190
|
-
isPromiseAll(): boolean;
|
|
191
|
-
isToplevel(): boolean;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
interface ErrnoException extends Error {
|
|
195
|
-
errno?: number | undefined;
|
|
196
|
-
code?: string | undefined;
|
|
197
|
-
path?: string | undefined;
|
|
198
|
-
syscall?: string | undefined;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
interface ReadableStream extends EventEmitter {
|
|
202
|
-
readable: boolean;
|
|
203
|
-
read(size?: number): string | Buffer;
|
|
204
|
-
setEncoding(encoding: BufferEncoding): this;
|
|
205
|
-
pause(): this;
|
|
206
|
-
resume(): this;
|
|
207
|
-
isPaused(): boolean;
|
|
208
|
-
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T;
|
|
209
|
-
unpipe(destination?: WritableStream): this;
|
|
210
|
-
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
|
|
211
|
-
wrap(oldStream: ReadableStream): this;
|
|
212
|
-
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
interface WritableStream extends EventEmitter {
|
|
216
|
-
writable: boolean;
|
|
217
|
-
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
|
|
218
|
-
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
|
|
219
|
-
end(cb?: () => void): this;
|
|
220
|
-
end(data: string | Uint8Array, cb?: () => void): this;
|
|
221
|
-
end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
interface ReadWriteStream extends ReadableStream, WritableStream {}
|
|
225
|
-
|
|
226
|
-
interface RefCounted {
|
|
227
|
-
ref(): this;
|
|
228
|
-
unref(): this;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
interface Dict<T> {
|
|
232
|
-
[key: string]: T | undefined;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
interface ReadOnlyDict<T> {
|
|
236
|
-
readonly [key: string]: T | undefined;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
interface GCFunction {
|
|
240
|
-
(minor?: boolean): void;
|
|
241
|
-
(options: NodeJS.GCOptions & { execution: "async" }): Promise<void>;
|
|
242
|
-
(options: NodeJS.GCOptions): void;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
interface GCOptions {
|
|
246
|
-
execution?: "sync" | "async" | undefined;
|
|
247
|
-
flavor?: "regular" | "last-resort" | undefined;
|
|
248
|
-
type?: "major-snapshot" | "major" | "minor" | undefined;
|
|
249
|
-
filename?: string | undefined;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/** An iterable iterator returned by the Node.js API. */
|
|
253
|
-
// Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used IterableIterator.
|
|
254
|
-
// TODO: In next major @types/node version, change default TReturn to undefined.
|
|
255
|
-
interface Iterator<T, TReturn = any, TNext = any> extends IteratorObject<T, TReturn, TNext> {
|
|
256
|
-
[Symbol.iterator](): NodeJS.Iterator<T, TReturn, TNext>;
|
|
257
|
-
}
|
|
52
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
53
|
+
/**
|
|
54
|
+
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
55
|
+
*/
|
|
56
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
57
|
+
/**
|
|
58
|
+
* The `Error.stackTraceLimit` property specifies the number of stack frames
|
|
59
|
+
* collected by a stack trace (whether generated by `new Error().stack` or
|
|
60
|
+
* `Error.captureStackTrace(obj)`).
|
|
61
|
+
*
|
|
62
|
+
* The default value is `10` but may be set to any valid JavaScript number. Changes
|
|
63
|
+
* will affect any stack trace captured _after_ the value has been changed.
|
|
64
|
+
*
|
|
65
|
+
* If set to a non-number value, or set to a negative number, stack traces will
|
|
66
|
+
* not capture any frames.
|
|
67
|
+
*/
|
|
68
|
+
stackTraceLimit: number;
|
|
69
|
+
}
|
|
258
70
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
71
|
+
/**
|
|
72
|
+
* Enable this API with the `--expose-gc` CLI flag.
|
|
73
|
+
*/
|
|
74
|
+
declare var gc: NodeJS.GCFunction | undefined;
|
|
75
|
+
|
|
76
|
+
declare namespace NodeJS {
|
|
77
|
+
interface CallSite {
|
|
78
|
+
getColumnNumber(): number | null;
|
|
79
|
+
getEnclosingColumnNumber(): number | null;
|
|
80
|
+
getEnclosingLineNumber(): number | null;
|
|
81
|
+
getEvalOrigin(): string | undefined;
|
|
82
|
+
getFileName(): string | null;
|
|
83
|
+
getFunction(): Function | undefined;
|
|
84
|
+
getFunctionName(): string | null;
|
|
85
|
+
getLineNumber(): number | null;
|
|
86
|
+
getMethodName(): string | null;
|
|
87
|
+
getPosition(): number;
|
|
88
|
+
getPromiseIndex(): number | null;
|
|
89
|
+
getScriptHash(): string;
|
|
90
|
+
getScriptNameOrSourceURL(): string | null;
|
|
91
|
+
getThis(): unknown;
|
|
92
|
+
getTypeName(): string | null;
|
|
93
|
+
isAsync(): boolean;
|
|
94
|
+
isConstructor(): boolean;
|
|
95
|
+
isEval(): boolean;
|
|
96
|
+
isNative(): boolean;
|
|
97
|
+
isPromiseAll(): boolean;
|
|
98
|
+
isToplevel(): boolean;
|
|
265
99
|
}
|
|
266
100
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
): T;
|
|
273
|
-
|
|
274
|
-
interface DOMException extends _DOMException {}
|
|
275
|
-
var DOMException: typeof globalThis extends { onmessage: any; DOMException: infer T } ? T
|
|
276
|
-
: NodeDOMExceptionConstructor;
|
|
277
|
-
|
|
278
|
-
// #region AbortController
|
|
279
|
-
interface AbortController {
|
|
280
|
-
readonly signal: AbortSignal;
|
|
281
|
-
abort(reason?: any): void;
|
|
101
|
+
interface ErrnoException extends Error {
|
|
102
|
+
errno?: number | undefined;
|
|
103
|
+
code?: string | undefined;
|
|
104
|
+
path?: string | undefined;
|
|
105
|
+
syscall?: string | undefined;
|
|
282
106
|
}
|
|
283
|
-
var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
|
|
284
|
-
: {
|
|
285
|
-
prototype: AbortController;
|
|
286
|
-
new(): AbortController;
|
|
287
|
-
};
|
|
288
107
|
|
|
289
|
-
interface
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
108
|
+
interface ReadableStream extends EventEmitter {
|
|
109
|
+
readable: boolean;
|
|
110
|
+
read(size?: number): string | Buffer;
|
|
111
|
+
setEncoding(encoding: BufferEncoding): this;
|
|
112
|
+
pause(): this;
|
|
113
|
+
resume(): this;
|
|
114
|
+
isPaused(): boolean;
|
|
115
|
+
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T;
|
|
116
|
+
unpipe(destination?: WritableStream): this;
|
|
117
|
+
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
|
|
118
|
+
wrap(oldStream: ReadableStream): this;
|
|
119
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
|
|
294
120
|
}
|
|
295
|
-
var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
|
|
296
|
-
: {
|
|
297
|
-
prototype: AbortSignal;
|
|
298
|
-
new(): AbortSignal;
|
|
299
|
-
abort(reason?: any): AbortSignal;
|
|
300
|
-
any(signals: AbortSignal[]): AbortSignal;
|
|
301
|
-
timeout(milliseconds: number): AbortSignal;
|
|
302
|
-
};
|
|
303
|
-
// #endregion AbortController
|
|
304
|
-
|
|
305
|
-
// #region Storage
|
|
306
|
-
interface Storage extends _Storage {}
|
|
307
|
-
// Conditional on `onabort` rather than `onmessage`, in order to exclude lib.webworker
|
|
308
|
-
var Storage: typeof globalThis extends { onabort: any; Storage: infer T } ? T
|
|
309
|
-
: {
|
|
310
|
-
prototype: Storage;
|
|
311
|
-
new(): Storage;
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
var localStorage: Storage;
|
|
315
|
-
var sessionStorage: Storage;
|
|
316
|
-
// #endregion Storage
|
|
317
121
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
122
|
+
interface WritableStream extends EventEmitter {
|
|
123
|
+
writable: boolean;
|
|
124
|
+
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
|
|
125
|
+
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
|
|
126
|
+
end(cb?: () => void): this;
|
|
127
|
+
end(data: string | Uint8Array, cb?: () => void): this;
|
|
128
|
+
end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
|
|
129
|
+
}
|
|
325
130
|
|
|
326
|
-
interface
|
|
327
|
-
var Request: typeof globalThis extends {
|
|
328
|
-
onmessage: any;
|
|
329
|
-
Request: infer T;
|
|
330
|
-
} ? T
|
|
331
|
-
: typeof import("undici-types").Request;
|
|
131
|
+
interface ReadWriteStream extends ReadableStream, WritableStream {}
|
|
332
132
|
|
|
333
|
-
interface
|
|
133
|
+
interface RefCounted {
|
|
134
|
+
ref(): this;
|
|
135
|
+
unref(): this;
|
|
136
|
+
}
|
|
334
137
|
|
|
335
|
-
interface
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
Response: infer T;
|
|
339
|
-
} ? T
|
|
340
|
-
: typeof import("undici-types").Response;
|
|
138
|
+
interface Dict<T> {
|
|
139
|
+
[key: string]: T | undefined;
|
|
140
|
+
}
|
|
341
141
|
|
|
342
|
-
interface
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
FormData: infer T;
|
|
346
|
-
} ? T
|
|
347
|
-
: typeof import("undici-types").FormData;
|
|
142
|
+
interface ReadOnlyDict<T> {
|
|
143
|
+
readonly [key: string]: T | undefined;
|
|
144
|
+
}
|
|
348
145
|
|
|
349
|
-
interface
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
}
|
|
354
|
-
: typeof import("undici-types").Headers;
|
|
146
|
+
interface GCFunction {
|
|
147
|
+
(minor?: boolean): void;
|
|
148
|
+
(options: NodeJS.GCOptions & { execution: "async" }): Promise<void>;
|
|
149
|
+
(options: NodeJS.GCOptions): void;
|
|
150
|
+
}
|
|
355
151
|
|
|
356
|
-
interface
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
152
|
+
interface GCOptions {
|
|
153
|
+
execution?: "sync" | "async" | undefined;
|
|
154
|
+
flavor?: "regular" | "last-resort" | undefined;
|
|
155
|
+
type?: "major-snapshot" | "major" | "minor" | undefined;
|
|
156
|
+
filename?: string | undefined;
|
|
157
|
+
}
|
|
362
158
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
:
|
|
159
|
+
/** An iterable iterator returned by the Node.js API. */
|
|
160
|
+
interface Iterator<T, TReturn = undefined, TNext = any> extends IteratorObject<T, TReturn, TNext> {
|
|
161
|
+
[Symbol.iterator](): NodeJS.Iterator<T, TReturn, TNext>;
|
|
162
|
+
}
|
|
366
163
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
:
|
|
370
|
-
|
|
164
|
+
/** An async iterable iterator returned by the Node.js API. */
|
|
165
|
+
interface AsyncIterator<T, TReturn = undefined, TNext = any> extends AsyncIteratorObject<T, TReturn, TNext> {
|
|
166
|
+
[Symbol.asyncIterator](): NodeJS.AsyncIterator<T, TReturn, TNext>;
|
|
167
|
+
}
|
|
371
168
|
}
|
|
@@ -12,6 +12,7 @@ declare global {
|
|
|
12
12
|
| Int32Array<TArrayBuffer>
|
|
13
13
|
| BigUint64Array<TArrayBuffer>
|
|
14
14
|
| BigInt64Array<TArrayBuffer>
|
|
15
|
+
| Float16Array<TArrayBuffer>
|
|
15
16
|
| Float32Array<TArrayBuffer>
|
|
16
17
|
| Float64Array<TArrayBuffer>;
|
|
17
18
|
type ArrayBufferView<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> =
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
* 'Host', 'example.com',
|
|
38
38
|
* 'accepT', '*' ]
|
|
39
39
|
* ```
|
|
40
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
40
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/http.js)
|
|
41
41
|
*/
|
|
42
42
|
declare module "http" {
|
|
43
43
|
import * as stream from "node:stream";
|
|
@@ -95,6 +95,10 @@ declare module "http" {
|
|
|
95
95
|
range?: string | undefined;
|
|
96
96
|
referer?: string | undefined;
|
|
97
97
|
"retry-after"?: string | undefined;
|
|
98
|
+
"sec-fetch-site"?: string | undefined;
|
|
99
|
+
"sec-fetch-mode"?: string | undefined;
|
|
100
|
+
"sec-fetch-user"?: string | undefined;
|
|
101
|
+
"sec-fetch-dest"?: string | undefined;
|
|
98
102
|
"sec-websocket-accept"?: string | undefined;
|
|
99
103
|
"sec-websocket-extensions"?: string | undefined;
|
|
100
104
|
"sec-websocket-key"?: string | undefined;
|
|
@@ -907,7 +911,7 @@ declare module "http" {
|
|
|
907
911
|
* the request body should be sent.
|
|
908
912
|
* @since v10.0.0
|
|
909
913
|
*/
|
|
910
|
-
writeProcessing(): void;
|
|
914
|
+
writeProcessing(callback?: () => void): void;
|
|
911
915
|
}
|
|
912
916
|
interface InformationEvent {
|
|
913
917
|
statusCode: number;
|
|
@@ -1501,7 +1505,7 @@ declare module "http" {
|
|
|
1501
1505
|
* });
|
|
1502
1506
|
* ```
|
|
1503
1507
|
*
|
|
1504
|
-
* `options` in [`socket.connect()`](https://nodejs.org/docs/latest-
|
|
1508
|
+
* `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v24.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
|
|
1505
1509
|
*
|
|
1506
1510
|
* To configure any of them, a custom {@link Agent} instance must be created.
|
|
1507
1511
|
*
|
|
@@ -1566,6 +1570,68 @@ declare module "http" {
|
|
|
1566
1570
|
* @since v0.11.4
|
|
1567
1571
|
*/
|
|
1568
1572
|
destroy(): void;
|
|
1573
|
+
/**
|
|
1574
|
+
* Produces a socket/stream to be used for HTTP requests.
|
|
1575
|
+
*
|
|
1576
|
+
* By default, this function is the same as `net.createConnection()`. However,
|
|
1577
|
+
* custom agents may override this method in case greater flexibility is desired.
|
|
1578
|
+
*
|
|
1579
|
+
* A socket/stream can be supplied in one of two ways: by returning the
|
|
1580
|
+
* socket/stream from this function, or by passing the socket/stream to `callback`.
|
|
1581
|
+
*
|
|
1582
|
+
* This method is guaranteed to return an instance of the `net.Socket` class,
|
|
1583
|
+
* a subclass of `stream.Duplex`, unless the user specifies a socket
|
|
1584
|
+
* type other than `net.Socket`.
|
|
1585
|
+
*
|
|
1586
|
+
* `callback` has a signature of `(err, stream)`.
|
|
1587
|
+
* @since v0.11.4
|
|
1588
|
+
* @param options Options containing connection details. Check `createConnection` for the format of the options
|
|
1589
|
+
* @param callback Callback function that receives the created socket
|
|
1590
|
+
*/
|
|
1591
|
+
createConnection(
|
|
1592
|
+
options: ClientRequestArgs,
|
|
1593
|
+
callback?: (err: Error | null, stream: stream.Duplex) => void,
|
|
1594
|
+
): stream.Duplex;
|
|
1595
|
+
/**
|
|
1596
|
+
* Called when `socket` is detached from a request and could be persisted by the`Agent`. Default behavior is to:
|
|
1597
|
+
*
|
|
1598
|
+
* ```js
|
|
1599
|
+
* socket.setKeepAlive(true, this.keepAliveMsecs);
|
|
1600
|
+
* socket.unref();
|
|
1601
|
+
* return true;
|
|
1602
|
+
* ```
|
|
1603
|
+
*
|
|
1604
|
+
* This method can be overridden by a particular `Agent` subclass. If this
|
|
1605
|
+
* method returns a falsy value, the socket will be destroyed instead of persisting
|
|
1606
|
+
* it for use with the next request.
|
|
1607
|
+
*
|
|
1608
|
+
* The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
|
|
1609
|
+
* @since v8.1.0
|
|
1610
|
+
*/
|
|
1611
|
+
keepSocketAlive(socket: stream.Duplex): void;
|
|
1612
|
+
/**
|
|
1613
|
+
* Called when `socket` is attached to `request` after being persisted because of
|
|
1614
|
+
* the keep-alive options. Default behavior is to:
|
|
1615
|
+
*
|
|
1616
|
+
* ```js
|
|
1617
|
+
* socket.ref();
|
|
1618
|
+
* ```
|
|
1619
|
+
*
|
|
1620
|
+
* This method can be overridden by a particular `Agent` subclass.
|
|
1621
|
+
*
|
|
1622
|
+
* The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
|
|
1623
|
+
* @since v8.1.0
|
|
1624
|
+
*/
|
|
1625
|
+
reuseSocket(socket: stream.Duplex, request: ClientRequest): void;
|
|
1626
|
+
/**
|
|
1627
|
+
* Get a unique name for a set of request options, to determine whether a
|
|
1628
|
+
* connection can be reused. For an HTTP agent, this returns`host:port:localAddress` or `host:port:localAddress:family`. For an HTTPS agent,
|
|
1629
|
+
* the name includes the CA, cert, ciphers, and other HTTPS/TLS-specific options
|
|
1630
|
+
* that determine socket reusability.
|
|
1631
|
+
* @since v0.11.4
|
|
1632
|
+
* @param options A set of options providing information for name generation
|
|
1633
|
+
*/
|
|
1634
|
+
getName(options?: ClientRequestArgs): string;
|
|
1569
1635
|
}
|
|
1570
1636
|
const METHODS: string[];
|
|
1571
1637
|
const STATUS_CODES: {
|
|
@@ -1962,18 +2028,18 @@ declare module "http" {
|
|
|
1962
2028
|
*/
|
|
1963
2029
|
const maxHeaderSize: number;
|
|
1964
2030
|
/**
|
|
1965
|
-
* A browser-compatible implementation of
|
|
2031
|
+
* A browser-compatible implementation of `WebSocket`.
|
|
1966
2032
|
* @since v22.5.0
|
|
1967
2033
|
*/
|
|
1968
|
-
const WebSocket: import("undici-types").WebSocket;
|
|
2034
|
+
const WebSocket: typeof import("undici-types").WebSocket;
|
|
1969
2035
|
/**
|
|
1970
2036
|
* @since v22.5.0
|
|
1971
2037
|
*/
|
|
1972
|
-
const CloseEvent: import("undici-types").CloseEvent;
|
|
2038
|
+
const CloseEvent: typeof import("undici-types").CloseEvent;
|
|
1973
2039
|
/**
|
|
1974
2040
|
* @since v22.5.0
|
|
1975
2041
|
*/
|
|
1976
|
-
const MessageEvent: import("undici-types").MessageEvent;
|
|
2042
|
+
const MessageEvent: typeof import("undici-types").MessageEvent;
|
|
1977
2043
|
}
|
|
1978
2044
|
declare module "node:http" {
|
|
1979
2045
|
export * from "http";
|