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
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* All file system operations have synchronous, callback, and promise-based
|
|
18
18
|
* forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
|
|
19
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
19
|
+
* @see [source](https://github.com/nodejs/node/blob/v24.x/lib/fs.js)
|
|
20
20
|
*/
|
|
21
21
|
declare module "fs" {
|
|
22
22
|
import * as stream from "node:stream";
|
|
@@ -243,16 +243,10 @@ declare module "fs" {
|
|
|
243
243
|
*/
|
|
244
244
|
name: Name;
|
|
245
245
|
/**
|
|
246
|
-
* The
|
|
247
|
-
* @since v20.12.0
|
|
246
|
+
* The path to the parent directory of the file this `fs.Dirent` object refers to.
|
|
247
|
+
* @since v20.12.0, v18.20.0
|
|
248
248
|
*/
|
|
249
249
|
parentPath: string;
|
|
250
|
-
/**
|
|
251
|
-
* Alias for `dirent.parentPath`.
|
|
252
|
-
* @since v20.1.0
|
|
253
|
-
* @deprecated Since v20.12.0
|
|
254
|
-
*/
|
|
255
|
-
path: string;
|
|
256
250
|
}
|
|
257
251
|
/**
|
|
258
252
|
* A class representing a directory stream.
|
|
@@ -328,6 +322,18 @@ declare module "fs" {
|
|
|
328
322
|
* @since v12.12.0
|
|
329
323
|
*/
|
|
330
324
|
readSync(): Dirent | null;
|
|
325
|
+
/**
|
|
326
|
+
* Calls `dir.close()` if the directory handle is open, and returns a promise that
|
|
327
|
+
* fulfills when disposal is complete.
|
|
328
|
+
* @since v24.1.0
|
|
329
|
+
*/
|
|
330
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
331
|
+
/**
|
|
332
|
+
* Calls `dir.closeSync()` if the directory handle is open, and returns
|
|
333
|
+
* `undefined`.
|
|
334
|
+
* @since v24.1.0
|
|
335
|
+
*/
|
|
336
|
+
[Symbol.dispose](): void;
|
|
331
337
|
}
|
|
332
338
|
/**
|
|
333
339
|
* Class: fs.StatWatcher
|
|
@@ -1960,6 +1966,39 @@ declare module "fs" {
|
|
|
1960
1966
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1961
1967
|
*/
|
|
1962
1968
|
export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer;
|
|
1969
|
+
export interface DisposableTempDir extends AsyncDisposable {
|
|
1970
|
+
/**
|
|
1971
|
+
* The path of the created directory.
|
|
1972
|
+
*/
|
|
1973
|
+
path: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* A function which removes the created directory.
|
|
1976
|
+
*/
|
|
1977
|
+
remove(): Promise<void>;
|
|
1978
|
+
/**
|
|
1979
|
+
* The same as `remove`.
|
|
1980
|
+
*/
|
|
1981
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
1982
|
+
}
|
|
1983
|
+
/**
|
|
1984
|
+
* Returns a disposable object whose `path` property holds the created directory
|
|
1985
|
+
* path. When the object is disposed, the directory and its contents will be
|
|
1986
|
+
* removed if it still exists. If the directory cannot be deleted, disposal will
|
|
1987
|
+
* throw an error. The object has a `remove()` method which will perform the same
|
|
1988
|
+
* task.
|
|
1989
|
+
*
|
|
1990
|
+
* <!-- TODO: link MDN docs for disposables once https://github.com/mdn/content/pull/38027 lands -->
|
|
1991
|
+
*
|
|
1992
|
+
* For detailed information, see the documentation of `fs.mkdtemp()`.
|
|
1993
|
+
*
|
|
1994
|
+
* There is no callback-based version of this API because it is designed for use
|
|
1995
|
+
* with the `using` syntax.
|
|
1996
|
+
*
|
|
1997
|
+
* The optional `options` argument can be a string specifying an encoding, or an
|
|
1998
|
+
* object with an `encoding` property specifying the character encoding to use.
|
|
1999
|
+
* @since v24.4.0
|
|
2000
|
+
*/
|
|
2001
|
+
export function mkdtempDisposableSync(prefix: string, options?: EncodingOption): DisposableTempDir;
|
|
1963
2002
|
/**
|
|
1964
2003
|
* Reads the contents of a directory. The callback gets two arguments `(err, files)` where `files` is an array of the names of the files in the directory excluding `'.'` and `'..'`.
|
|
1965
2004
|
*
|
|
@@ -2656,7 +2695,7 @@ declare module "fs" {
|
|
|
2656
2695
|
buffer: TBuffer,
|
|
2657
2696
|
offset: number,
|
|
2658
2697
|
length: number,
|
|
2659
|
-
position:
|
|
2698
|
+
position: ReadPosition | null,
|
|
2660
2699
|
): Promise<{
|
|
2661
2700
|
bytesRead: number;
|
|
2662
2701
|
buffer: TBuffer;
|
|
@@ -3327,6 +3366,12 @@ declare module "fs" {
|
|
|
3327
3366
|
persistent?: boolean | undefined;
|
|
3328
3367
|
recursive?: boolean | undefined;
|
|
3329
3368
|
}
|
|
3369
|
+
export interface WatchOptionsWithBufferEncoding extends WatchOptions {
|
|
3370
|
+
encoding: "buffer";
|
|
3371
|
+
}
|
|
3372
|
+
export interface WatchOptionsWithStringEncoding extends WatchOptions {
|
|
3373
|
+
encoding?: BufferEncoding | undefined;
|
|
3374
|
+
}
|
|
3330
3375
|
export type WatchEventType = "rename" | "change";
|
|
3331
3376
|
export type WatchListener<T> = (event: WatchEventType, filename: T | null) => void;
|
|
3332
3377
|
export type StatsListener = (curr: Stats, prev: Stats) => void;
|
|
@@ -3353,44 +3398,20 @@ declare module "fs" {
|
|
|
3353
3398
|
*/
|
|
3354
3399
|
export function watch(
|
|
3355
3400
|
filename: PathLike,
|
|
3356
|
-
options
|
|
3357
|
-
|
|
3358
|
-
encoding: "buffer";
|
|
3359
|
-
})
|
|
3360
|
-
| "buffer",
|
|
3361
|
-
listener?: WatchListener<Buffer>,
|
|
3401
|
+
options?: WatchOptionsWithStringEncoding | BufferEncoding | null,
|
|
3402
|
+
listener?: WatchListener<string>,
|
|
3362
3403
|
): FSWatcher;
|
|
3363
|
-
/**
|
|
3364
|
-
* Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
|
|
3365
|
-
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3366
|
-
* @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
|
|
3367
|
-
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
|
3368
|
-
* If `persistent` is not supplied, the default of `true` is used.
|
|
3369
|
-
* If `recursive` is not supplied, the default of `false` is used.
|
|
3370
|
-
*/
|
|
3371
3404
|
export function watch(
|
|
3372
3405
|
filename: PathLike,
|
|
3373
|
-
options
|
|
3374
|
-
listener
|
|
3406
|
+
options: WatchOptionsWithBufferEncoding | "buffer",
|
|
3407
|
+
listener: WatchListener<Buffer>,
|
|
3375
3408
|
): FSWatcher;
|
|
3376
|
-
/**
|
|
3377
|
-
* Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
|
|
3378
|
-
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3379
|
-
* @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options.
|
|
3380
|
-
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
|
3381
|
-
* If `persistent` is not supplied, the default of `true` is used.
|
|
3382
|
-
* If `recursive` is not supplied, the default of `false` is used.
|
|
3383
|
-
*/
|
|
3384
3409
|
export function watch(
|
|
3385
3410
|
filename: PathLike,
|
|
3386
|
-
options: WatchOptions |
|
|
3387
|
-
listener
|
|
3411
|
+
options: WatchOptions | BufferEncoding | "buffer" | null,
|
|
3412
|
+
listener: WatchListener<string | Buffer>,
|
|
3388
3413
|
): FSWatcher;
|
|
3389
|
-
|
|
3390
|
-
* Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`.
|
|
3391
|
-
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3392
|
-
*/
|
|
3393
|
-
export function watch(filename: PathLike, listener?: WatchListener<string>): FSWatcher;
|
|
3414
|
+
export function watch(filename: PathLike, listener: WatchListener<string>): FSWatcher;
|
|
3394
3415
|
/**
|
|
3395
3416
|
* Test whether or not the given path exists by checking with the file system.
|
|
3396
3417
|
* Then call the `callback` argument with either true or false:
|
|
@@ -4200,7 +4221,6 @@ declare module "fs" {
|
|
|
4200
4221
|
* blob.stream();
|
|
4201
4222
|
* ```
|
|
4202
4223
|
* @since v19.8.0
|
|
4203
|
-
* @experimental
|
|
4204
4224
|
*/
|
|
4205
4225
|
export function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise<Blob>;
|
|
4206
4226
|
|
|
@@ -4361,7 +4381,7 @@ declare module "fs" {
|
|
|
4361
4381
|
* Current working directory.
|
|
4362
4382
|
* @default process.cwd()
|
|
4363
4383
|
*/
|
|
4364
|
-
cwd?: string | undefined;
|
|
4384
|
+
cwd?: string | URL | undefined;
|
|
4365
4385
|
/**
|
|
4366
4386
|
* `true` if the glob should return paths as `Dirent`s, `false` otherwise.
|
|
4367
4387
|
* @default false
|
|
@@ -4386,13 +4406,23 @@ declare module "fs" {
|
|
|
4386
4406
|
|
|
4387
4407
|
/**
|
|
4388
4408
|
* Retrieves the files matching the specified pattern.
|
|
4409
|
+
*
|
|
4410
|
+
* ```js
|
|
4411
|
+
* import { glob } from 'node:fs';
|
|
4412
|
+
*
|
|
4413
|
+
* glob('*.js', (err, matches) => {
|
|
4414
|
+
* if (err) throw err;
|
|
4415
|
+
* console.log(matches);
|
|
4416
|
+
* });
|
|
4417
|
+
* ```
|
|
4418
|
+
* @since v22.0.0
|
|
4389
4419
|
*/
|
|
4390
4420
|
export function glob(
|
|
4391
|
-
pattern: string | string[],
|
|
4421
|
+
pattern: string | readonly string[],
|
|
4392
4422
|
callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
|
|
4393
4423
|
): void;
|
|
4394
4424
|
export function glob(
|
|
4395
|
-
pattern: string | string[],
|
|
4425
|
+
pattern: string | readonly string[],
|
|
4396
4426
|
options: GlobOptionsWithFileTypes,
|
|
4397
4427
|
callback: (
|
|
4398
4428
|
err: NodeJS.ErrnoException | null,
|
|
@@ -4400,7 +4430,7 @@ declare module "fs" {
|
|
|
4400
4430
|
) => void,
|
|
4401
4431
|
): void;
|
|
4402
4432
|
export function glob(
|
|
4403
|
-
pattern: string | string[],
|
|
4433
|
+
pattern: string | readonly string[],
|
|
4404
4434
|
options: GlobOptionsWithoutFileTypes,
|
|
4405
4435
|
callback: (
|
|
4406
4436
|
err: NodeJS.ErrnoException | null,
|
|
@@ -4408,7 +4438,7 @@ declare module "fs" {
|
|
|
4408
4438
|
) => void,
|
|
4409
4439
|
): void;
|
|
4410
4440
|
export function glob(
|
|
4411
|
-
pattern: string | string[],
|
|
4441
|
+
pattern: string | readonly string[],
|
|
4412
4442
|
options: GlobOptions,
|
|
4413
4443
|
callback: (
|
|
4414
4444
|
err: NodeJS.ErrnoException | null,
|
|
@@ -4416,19 +4446,25 @@ declare module "fs" {
|
|
|
4416
4446
|
) => void,
|
|
4417
4447
|
): void;
|
|
4418
4448
|
/**
|
|
4419
|
-
*
|
|
4449
|
+
* ```js
|
|
4450
|
+
* import { globSync } from 'node:fs';
|
|
4451
|
+
*
|
|
4452
|
+
* console.log(globSync('*.js'));
|
|
4453
|
+
* ```
|
|
4454
|
+
* @since v22.0.0
|
|
4455
|
+
* @returns paths of files that match the pattern.
|
|
4420
4456
|
*/
|
|
4421
|
-
export function globSync(pattern: string | string[]): string[];
|
|
4457
|
+
export function globSync(pattern: string | readonly string[]): string[];
|
|
4422
4458
|
export function globSync(
|
|
4423
|
-
pattern: string | string[],
|
|
4459
|
+
pattern: string | readonly string[],
|
|
4424
4460
|
options: GlobOptionsWithFileTypes,
|
|
4425
4461
|
): Dirent[];
|
|
4426
4462
|
export function globSync(
|
|
4427
|
-
pattern: string | string[],
|
|
4463
|
+
pattern: string | readonly string[],
|
|
4428
4464
|
options: GlobOptionsWithoutFileTypes,
|
|
4429
4465
|
): string[];
|
|
4430
4466
|
export function globSync(
|
|
4431
|
-
pattern: string | string[],
|
|
4467
|
+
pattern: string | readonly string[],
|
|
4432
4468
|
options: GlobOptions,
|
|
4433
4469
|
): Dirent[] | string[];
|
|
4434
4470
|
}
|