node-red-contrib-tak-registration 0.14.1 → 0.16.0
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/README.md +1 -1
- package/node_modules/@types/geojson/README.md +1 -1
- package/node_modules/@types/geojson/index.d.ts +36 -2
- package/node_modules/@types/geojson/package.json +2 -2
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/assert.d.ts +14 -0
- package/node_modules/@types/node/async_hooks.d.ts +64 -2
- package/node_modules/@types/node/buffer.buffer.d.ts +117 -39
- package/node_modules/@types/node/buffer.d.ts +6 -13
- package/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/node/constants.d.ts +14 -12
- package/node_modules/@types/node/crypto.d.ts +44 -10
- package/node_modules/@types/node/dgram.d.ts +10 -7
- package/node_modules/@types/node/diagnostics_channel.d.ts +20 -1
- package/node_modules/@types/node/fs/promises.d.ts +23 -26
- package/node_modules/@types/node/fs.d.ts +166 -125
- package/node_modules/@types/node/globals.d.ts +141 -338
- package/node_modules/@types/node/http.d.ts +25 -3
- package/node_modules/@types/node/http2.d.ts +3 -4
- package/node_modules/@types/node/https.d.ts +3 -1
- package/node_modules/@types/node/inspector.d.ts +36 -0
- package/node_modules/@types/node/module.d.ts +599 -236
- package/node_modules/@types/node/net.d.ts +44 -13
- package/node_modules/@types/node/package.json +9 -4
- package/node_modules/@types/node/perf_hooks.d.ts +5 -0
- package/node_modules/@types/node/process.d.ts +69 -2
- package/node_modules/@types/node/querystring.d.ts +2 -3
- package/node_modules/@types/node/readline.d.ts +6 -1
- package/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/node/sqlite.d.ts +291 -17
- package/node_modules/@types/node/stream/consumers.d.ts +32 -6
- package/node_modules/@types/node/stream/web.d.ts +9 -4
- package/node_modules/@types/node/stream.d.ts +936 -1000
- package/node_modules/@types/node/test.d.ts +169 -137
- package/node_modules/@types/node/timers/promises.d.ts +24 -13
- package/node_modules/@types/node/timers.d.ts +159 -112
- package/node_modules/@types/node/tls.d.ts +34 -1
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +110 -35
- package/node_modules/@types/node/util.d.ts +323 -110
- package/node_modules/@types/node/v8.d.ts +81 -0
- package/node_modules/@types/node/vm.d.ts +21 -6
- package/node_modules/@types/node/worker_threads.d.ts +1 -0
- package/node_modules/@types/node/zlib.d.ts +167 -36
- package/node_modules/axios/CHANGELOG.md +165 -0
- package/node_modules/axios/README.md +55 -33
- package/node_modules/axios/dist/axios.js +85 -43
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +92 -47
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +92 -47
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +123 -51
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +17 -5
- package/node_modules/axios/index.d.ts +6 -3
- package/node_modules/axios/lib/adapters/fetch.js +2 -2
- package/node_modules/axios/lib/adapters/http.js +1 -1
- package/node_modules/axios/lib/core/Axios.js +13 -4
- package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
- package/node_modules/axios/lib/core/buildFullPath.js +3 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +4 -3
- package/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
- 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/platform/node/index.js +26 -0
- package/node_modules/axios/lib/utils.js +48 -28
- package/node_modules/axios/package.json +14 -5
- package/node_modules/bignumber.js/CHANGELOG.md +82 -1
- package/node_modules/bignumber.js/LICENCE.md +1 -1
- package/node_modules/bignumber.js/README.md +6 -4
- package/node_modules/bignumber.js/bignumber.d.mts +6 -0
- package/node_modules/bignumber.js/bignumber.d.ts +3 -1829
- package/node_modules/bignumber.js/bignumber.js +3 -3
- package/node_modules/bignumber.js/bignumber.mjs +3 -3
- package/node_modules/bignumber.js/package.json +17 -7
- package/node_modules/bignumber.js/types.d.ts +1821 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +80 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/node_modules/es-set-tostringtag/README.md +53 -0
- package/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/node_modules/es-set-tostringtag/index.js +35 -0
- package/node_modules/es-set-tostringtag/package.json +78 -0
- package/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/node_modules/fast-xml-parser/CHANGELOG.md +70 -0
- package/node_modules/fast-xml-parser/README.md +37 -51
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +36 -19
- package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
- package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
- package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
- package/node_modules/fast-xml-parser/src/fxp.d.ts +33 -6
- package/node_modules/fast-xml-parser/src/fxp.js +11 -8
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +2 -4
- package/node_modules/fast-xml-parser/src/util.js +14 -18
- package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/EntitiesParser.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +4 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/EntitiesParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
- package/node_modules/fast-xml-parser/src/validator.js +5 -5
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -4
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +287 -71
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +23 -23
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
- 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 +140 -147
- package/node_modules/form-data/lib/populate.js +5 -5
- package/node_modules/form-data/package.json +34 -23
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/has-tostringtag/.eslintrc +5 -0
- package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/node_modules/has-tostringtag/LICENSE +21 -0
- package/node_modules/has-tostringtag/README.md +46 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +8 -0
- package/node_modules/has-tostringtag/package.json +108 -0
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +8 -0
- package/node_modules/has-tostringtag/test/index.js +21 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/node_modules/has-tostringtag/test/tests.js +15 -0
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/.eslintrc +5 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +40 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +92 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/long/README.md +93 -87
- package/node_modules/long/index.d.ts +2 -2
- package/node_modules/long/index.js +360 -246
- package/node_modules/long/package.json +12 -4
- package/node_modules/long/types.d.ts +474 -0
- package/node_modules/long/umd/index.d.ts +2 -456
- package/node_modules/long/umd/index.js +1585 -1395
- package/node_modules/long/umd/types.d.ts +474 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/protobufjs/dist/light/protobuf.js +532 -80
- 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 +672 -144
- 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 +659 -16
- package/node_modules/protobufjs/google/protobuf/descriptor.proto +254 -6
- package/node_modules/protobufjs/index.d.ts +71 -13
- package/node_modules/protobufjs/package.json +4 -2
- package/node_modules/protobufjs/src/decoder.js +8 -10
- package/node_modules/protobufjs/src/encoder.js +1 -1
- package/node_modules/protobufjs/src/enum.js +25 -0
- package/node_modules/protobufjs/src/field.js +104 -28
- package/node_modules/protobufjs/src/namespace.js +126 -13
- package/node_modules/protobufjs/src/object.js +139 -4
- package/node_modules/protobufjs/src/oneof.js +19 -0
- package/node_modules/protobufjs/src/parse.js +139 -63
- package/node_modules/protobufjs/src/root.js +51 -15
- package/node_modules/protobufjs/src/service.js +23 -1
- package/node_modules/protobufjs/src/type.js +29 -4
- package/node_modules/protobufjs/src/util.js +4 -1
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/CHANGELOG.md +33 -0
- package/node_modules/strnum/README.md +14 -3
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +9 -2
- package/node_modules/strnum/strnum.js +72 -67
- package/node_modules/strnum/strnum.test.js +29 -6
- package/node_modules/strnum/test.js +9 -0
- package/node_modules/undici-types/dispatcher.d.ts +1 -0
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/readable.d.ts +5 -0
- package/node_modules/undici-types/webidl.d.ts +6 -0
- package/node_modules/uuid/README.md +12 -12
- package/node_modules/uuid/dist/cjs/types.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v1.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v1.js +1 -1
- package/node_modules/uuid/dist/cjs/v3.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v35.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v4.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v5.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v6.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v7.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v7.js +1 -1
- package/node_modules/uuid/dist/cjs-browser/types.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v1.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v1.js +1 -1
- package/node_modules/uuid/dist/cjs-browser/v3.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v35.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v4.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v5.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v6.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v7.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v7.js +1 -1
- package/node_modules/uuid/dist/esm/types.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v1.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v1.js +1 -1
- package/node_modules/uuid/dist/esm/v3.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v35.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v4.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v5.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v6.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v7.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v7.js +1 -1
- package/node_modules/uuid/dist/esm-browser/types.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v1.js +1 -1
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v7.js +1 -1
- package/node_modules/uuid/package.json +1 -1
- package/package.json +7 -7
- package/tak-registration.html +4 -4
- package/tak-registration.js +19 -10
- package/node_modules/axios/SECURITY.md +0 -6
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -10,12 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
declare module "timers" {
|
|
12
12
|
import { Abortable } from "node:events";
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
setInterval as setIntervalPromise,
|
|
16
|
-
setTimeout as setTimeoutPromise,
|
|
17
|
-
} from "node:timers/promises";
|
|
18
|
-
interface TimerOptions extends Abortable {
|
|
13
|
+
import * as promises from "node:timers/promises";
|
|
14
|
+
export interface TimerOptions extends Abortable {
|
|
19
15
|
/**
|
|
20
16
|
* Set to `false` to indicate that the scheduled `Timeout`
|
|
21
17
|
* should not require the Node.js event loop to remain active.
|
|
@@ -23,38 +19,33 @@ declare module "timers" {
|
|
|
23
19
|
*/
|
|
24
20
|
ref?: boolean | undefined;
|
|
25
21
|
}
|
|
26
|
-
let setTimeout: typeof global.setTimeout;
|
|
27
|
-
let clearTimeout: typeof global.clearTimeout;
|
|
28
|
-
let setInterval: typeof global.setInterval;
|
|
29
|
-
let clearInterval: typeof global.clearInterval;
|
|
30
|
-
let setImmediate: typeof global.setImmediate;
|
|
31
|
-
let clearImmediate: typeof global.clearImmediate;
|
|
32
22
|
global {
|
|
33
23
|
namespace NodeJS {
|
|
34
|
-
// compatibility with older typings
|
|
35
|
-
interface Timer extends RefCounted {
|
|
36
|
-
hasRef(): boolean;
|
|
37
|
-
refresh(): this;
|
|
38
|
-
[Symbol.toPrimitive](): number;
|
|
39
|
-
}
|
|
40
24
|
/**
|
|
41
25
|
* This object is created internally and is returned from `setImmediate()`. It
|
|
42
26
|
* can be passed to `clearImmediate()` in order to cancel the scheduled
|
|
43
27
|
* actions.
|
|
44
28
|
*
|
|
45
29
|
* By default, when an immediate is scheduled, the Node.js event loop will continue
|
|
46
|
-
* running as long as the immediate is active. The `Immediate` object returned by
|
|
47
|
-
*
|
|
30
|
+
* running as long as the immediate is active. The `Immediate` object returned by
|
|
31
|
+
* `setImmediate()` exports both `immediate.ref()` and `immediate.unref()`
|
|
32
|
+
* functions that can be used to control this default behavior.
|
|
48
33
|
*/
|
|
49
|
-
|
|
34
|
+
interface Immediate extends RefCounted, Disposable {
|
|
35
|
+
/**
|
|
36
|
+
* If true, the `Immediate` object will keep the Node.js event loop active.
|
|
37
|
+
* @since v11.0.0
|
|
38
|
+
*/
|
|
39
|
+
hasRef(): boolean;
|
|
50
40
|
/**
|
|
51
|
-
* When called, requests that the Node.js event loop _not_ exit so long as the
|
|
41
|
+
* When called, requests that the Node.js event loop _not_ exit so long as the
|
|
42
|
+
* `Immediate` is active. Calling `immediate.ref()` multiple times will have no
|
|
52
43
|
* effect.
|
|
53
44
|
*
|
|
54
45
|
* By default, all `Immediate` objects are "ref'ed", making it normally unnecessary
|
|
55
46
|
* to call `immediate.ref()` unless `immediate.unref()` had been called previously.
|
|
56
47
|
* @since v9.7.0
|
|
57
|
-
* @
|
|
48
|
+
* @returns a reference to `immediate`
|
|
58
49
|
*/
|
|
59
50
|
ref(): this;
|
|
60
51
|
/**
|
|
@@ -63,53 +54,59 @@ declare module "timers" {
|
|
|
63
54
|
* running, the process may exit before the `Immediate` object's callback is
|
|
64
55
|
* invoked. Calling `immediate.unref()` multiple times will have no effect.
|
|
65
56
|
* @since v9.7.0
|
|
66
|
-
* @
|
|
57
|
+
* @returns a reference to `immediate`
|
|
67
58
|
*/
|
|
68
59
|
unref(): this;
|
|
69
|
-
/**
|
|
70
|
-
* If true, the `Immediate` object will keep the Node.js event loop active.
|
|
71
|
-
* @since v11.0.0
|
|
72
|
-
*/
|
|
73
|
-
hasRef(): boolean;
|
|
74
|
-
_onImmediate: Function; // to distinguish it from the Timeout class
|
|
75
60
|
/**
|
|
76
61
|
* Cancels the immediate. This is similar to calling `clearImmediate()`.
|
|
77
|
-
* @since v20.5.0
|
|
62
|
+
* @since v20.5.0, v18.18.0
|
|
63
|
+
* @experimental
|
|
78
64
|
*/
|
|
79
65
|
[Symbol.dispose](): void;
|
|
66
|
+
_onImmediate(...args: any[]): void;
|
|
67
|
+
}
|
|
68
|
+
// Legacy interface used in Node.js v9 and prior
|
|
69
|
+
// TODO: remove in a future major version bump
|
|
70
|
+
/** @deprecated Use `NodeJS.Timeout` instead. */
|
|
71
|
+
interface Timer extends RefCounted {
|
|
72
|
+
hasRef(): boolean;
|
|
73
|
+
refresh(): this;
|
|
74
|
+
[Symbol.toPrimitive](): number;
|
|
80
75
|
}
|
|
81
76
|
/**
|
|
82
|
-
* This object is created internally and is returned from `setTimeout()` and
|
|
83
|
-
*
|
|
77
|
+
* This object is created internally and is returned from `setTimeout()` and
|
|
78
|
+
* `setInterval()`. It can be passed to either `clearTimeout()` or
|
|
79
|
+
* `clearInterval()` in order to cancel the scheduled actions.
|
|
84
80
|
*
|
|
85
|
-
* By default, when a timer is scheduled using either `setTimeout()` or
|
|
81
|
+
* By default, when a timer is scheduled using either `setTimeout()` or
|
|
82
|
+
* `setInterval()`, the Node.js event loop will continue running as long as the
|
|
86
83
|
* timer is active. Each of the `Timeout` objects returned by these functions
|
|
87
84
|
* export both `timeout.ref()` and `timeout.unref()` functions that can be used to
|
|
88
85
|
* control this default behavior.
|
|
89
86
|
*/
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* When called, requests that the Node.js event loop _not_ exit so long as the`Timeout` is active. Calling `timeout.ref()` multiple times will have no effect.
|
|
93
|
-
*
|
|
94
|
-
* By default, all `Timeout` objects are "ref'ed", making it normally unnecessary
|
|
95
|
-
* to call `timeout.ref()` unless `timeout.unref()` had been called previously.
|
|
96
|
-
* @since v0.9.1
|
|
97
|
-
* @return a reference to `timeout`
|
|
98
|
-
*/
|
|
99
|
-
ref(): this;
|
|
87
|
+
interface Timeout extends RefCounted, Disposable, Timer {
|
|
100
88
|
/**
|
|
101
|
-
*
|
|
102
|
-
* to remain active. If there is no other activity keeping the event loop running,
|
|
103
|
-
* the process may exit before the `Timeout` object's callback is invoked. Calling `timeout.unref()` multiple times will have no effect.
|
|
89
|
+
* Cancels the timeout.
|
|
104
90
|
* @since v0.9.1
|
|
105
|
-
* @
|
|
91
|
+
* @legacy Use `clearTimeout()` instead.
|
|
92
|
+
* @returns a reference to `timeout`
|
|
106
93
|
*/
|
|
107
|
-
|
|
94
|
+
close(): this;
|
|
108
95
|
/**
|
|
109
96
|
* If true, the `Timeout` object will keep the Node.js event loop active.
|
|
110
97
|
* @since v11.0.0
|
|
111
98
|
*/
|
|
112
99
|
hasRef(): boolean;
|
|
100
|
+
/**
|
|
101
|
+
* When called, requests that the Node.js event loop _not_ exit so long as the
|
|
102
|
+
* `Timeout` is active. Calling `timeout.ref()` multiple times will have no effect.
|
|
103
|
+
*
|
|
104
|
+
* By default, all `Timeout` objects are "ref'ed", making it normally unnecessary
|
|
105
|
+
* to call `timeout.ref()` unless `timeout.unref()` had been called previously.
|
|
106
|
+
* @since v0.9.1
|
|
107
|
+
* @returns a reference to `timeout`
|
|
108
|
+
*/
|
|
109
|
+
ref(): this;
|
|
113
110
|
/**
|
|
114
111
|
* Sets the timer's start time to the current time, and reschedules the timer to
|
|
115
112
|
* call its callback at the previously specified duration adjusted to the current
|
|
@@ -119,121 +116,171 @@ declare module "timers" {
|
|
|
119
116
|
* Using this on a timer that has already called its callback will reactivate the
|
|
120
117
|
* timer.
|
|
121
118
|
* @since v10.2.0
|
|
122
|
-
* @
|
|
119
|
+
* @returns a reference to `timeout`
|
|
123
120
|
*/
|
|
124
121
|
refresh(): this;
|
|
122
|
+
/**
|
|
123
|
+
* When called, the active `Timeout` object will not require the Node.js event loop
|
|
124
|
+
* to remain active. If there is no other activity keeping the event loop running,
|
|
125
|
+
* the process may exit before the `Timeout` object's callback is invoked. Calling
|
|
126
|
+
* `timeout.unref()` multiple times will have no effect.
|
|
127
|
+
* @since v0.9.1
|
|
128
|
+
* @returns a reference to `timeout`
|
|
129
|
+
*/
|
|
130
|
+
unref(): this;
|
|
131
|
+
/**
|
|
132
|
+
* Coerce a `Timeout` to a primitive. The primitive can be used to
|
|
133
|
+
* clear the `Timeout`. The primitive can only be used in the
|
|
134
|
+
* same thread where the timeout was created. Therefore, to use it
|
|
135
|
+
* across `worker_threads` it must first be passed to the correct
|
|
136
|
+
* thread. This allows enhanced compatibility with browser
|
|
137
|
+
* `setTimeout()` and `setInterval()` implementations.
|
|
138
|
+
* @since v14.9.0, v12.19.0
|
|
139
|
+
*/
|
|
125
140
|
[Symbol.toPrimitive](): number;
|
|
126
141
|
/**
|
|
127
142
|
* Cancels the timeout.
|
|
128
|
-
* @since v20.5.0
|
|
143
|
+
* @since v20.5.0, v18.18.0
|
|
144
|
+
* @experimental
|
|
129
145
|
*/
|
|
130
146
|
[Symbol.dispose](): void;
|
|
147
|
+
_onTimeout(...args: any[]): void;
|
|
131
148
|
}
|
|
132
149
|
}
|
|
133
150
|
/**
|
|
134
|
-
* Schedules execution of
|
|
135
|
-
*
|
|
136
|
-
* The `callback` will likely not be invoked in precisely `delay` milliseconds.
|
|
137
|
-
* Node.js makes no guarantees about the exact timing of when callbacks will fire,
|
|
138
|
-
* nor of their ordering. The callback will be called as close as possible to the
|
|
139
|
-
* time specified.
|
|
151
|
+
* Schedules the "immediate" execution of the `callback` after I/O events'
|
|
152
|
+
* callbacks.
|
|
140
153
|
*
|
|
141
|
-
* When
|
|
154
|
+
* When multiple calls to `setImmediate()` are made, the `callback` functions are
|
|
155
|
+
* queued for execution in the order in which they are created. The entire callback
|
|
156
|
+
* queue is processed every event loop iteration. If an immediate timer is queued
|
|
157
|
+
* from inside an executing callback, that timer will not be triggered until the
|
|
158
|
+
* next event loop iteration.
|
|
142
159
|
*
|
|
143
160
|
* If `callback` is not a function, a `TypeError` will be thrown.
|
|
144
161
|
*
|
|
145
|
-
* This method has a custom variant for promises that is available using
|
|
146
|
-
*
|
|
147
|
-
* @
|
|
148
|
-
* @param
|
|
162
|
+
* This method has a custom variant for promises that is available using
|
|
163
|
+
* `timersPromises.setImmediate()`.
|
|
164
|
+
* @since v0.9.1
|
|
165
|
+
* @param callback The function to call at the end of this turn of
|
|
166
|
+
* the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout)
|
|
149
167
|
* @param args Optional arguments to pass when the `callback` is called.
|
|
150
|
-
* @
|
|
168
|
+
* @returns for use with `clearImmediate()`
|
|
151
169
|
*/
|
|
152
|
-
function
|
|
170
|
+
function setImmediate<TArgs extends any[]>(
|
|
153
171
|
callback: (...args: TArgs) => void,
|
|
154
|
-
ms?: number,
|
|
155
172
|
...args: TArgs
|
|
156
|
-
): NodeJS.
|
|
157
|
-
//
|
|
173
|
+
): NodeJS.Immediate;
|
|
174
|
+
// Allow a single void-accepting argument to be optional in arguments lists.
|
|
175
|
+
// Allows usage such as `new Promise(resolve => setTimeout(resolve, ms))` (#54258)
|
|
158
176
|
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
159
|
-
function
|
|
160
|
-
namespace
|
|
161
|
-
|
|
177
|
+
function setImmediate(callback: (_: void) => void): NodeJS.Immediate;
|
|
178
|
+
namespace setImmediate {
|
|
179
|
+
import __promisify__ = promises.setImmediate;
|
|
180
|
+
export { __promisify__ };
|
|
162
181
|
}
|
|
163
|
-
/**
|
|
164
|
-
* Cancels a `Timeout` object created by `setTimeout()`.
|
|
165
|
-
* @since v0.0.1
|
|
166
|
-
* @param timeout A `Timeout` object as returned by {@link setTimeout} or the `primitive` of the `Timeout` object as a string or a number.
|
|
167
|
-
*/
|
|
168
|
-
function clearTimeout(timeoutId: NodeJS.Timeout | string | number | undefined): void;
|
|
169
182
|
/**
|
|
170
183
|
* Schedules repeated execution of `callback` every `delay` milliseconds.
|
|
171
184
|
*
|
|
172
|
-
* When `delay` is larger than `2147483647` or less than `1`, the `delay`
|
|
173
|
-
* set to `1`. Non-integer delays are truncated to an integer.
|
|
185
|
+
* When `delay` is larger than `2147483647` or less than `1` or `NaN`, the `delay`
|
|
186
|
+
* will be set to `1`. Non-integer delays are truncated to an integer.
|
|
174
187
|
*
|
|
175
188
|
* If `callback` is not a function, a `TypeError` will be thrown.
|
|
176
189
|
*
|
|
177
|
-
* This method has a custom variant for promises that is available using
|
|
190
|
+
* This method has a custom variant for promises that is available using
|
|
191
|
+
* `timersPromises.setInterval()`.
|
|
178
192
|
* @since v0.0.1
|
|
179
193
|
* @param callback The function to call when the timer elapses.
|
|
180
|
-
* @param
|
|
194
|
+
* @param delay The number of milliseconds to wait before calling the
|
|
195
|
+
* `callback`. **Default:** `1`.
|
|
181
196
|
* @param args Optional arguments to pass when the `callback` is called.
|
|
182
|
-
* @
|
|
197
|
+
* @returns for use with `clearInterval()`
|
|
183
198
|
*/
|
|
184
199
|
function setInterval<TArgs extends any[]>(
|
|
185
200
|
callback: (...args: TArgs) => void,
|
|
186
|
-
|
|
201
|
+
delay?: number,
|
|
187
202
|
...args: TArgs
|
|
188
203
|
): NodeJS.Timeout;
|
|
189
|
-
//
|
|
204
|
+
// Allow a single void-accepting argument to be optional in arguments lists.
|
|
205
|
+
// Allows usage such as `new Promise(resolve => setTimeout(resolve, ms))` (#54258)
|
|
190
206
|
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
191
|
-
function setInterval(callback: (
|
|
192
|
-
namespace setInterval {
|
|
193
|
-
const __promisify__: typeof setIntervalPromise;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Cancels a `Timeout` object created by `setInterval()`.
|
|
197
|
-
* @since v0.0.1
|
|
198
|
-
* @param timeout A `Timeout` object as returned by {@link setInterval} or the `primitive` of the `Timeout` object as a string or a number.
|
|
199
|
-
*/
|
|
200
|
-
function clearInterval(intervalId: NodeJS.Timeout | string | number | undefined): void;
|
|
207
|
+
function setInterval(callback: (_: void) => void, delay?: number): NodeJS.Timeout;
|
|
201
208
|
/**
|
|
202
|
-
* Schedules
|
|
203
|
-
* callbacks.
|
|
209
|
+
* Schedules execution of a one-time `callback` after `delay` milliseconds.
|
|
204
210
|
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
211
|
+
* The `callback` will likely not be invoked in precisely `delay` milliseconds.
|
|
212
|
+
* Node.js makes no guarantees about the exact timing of when callbacks will fire,
|
|
213
|
+
* nor of their ordering. The callback will be called as close as possible to the
|
|
214
|
+
* time specified.
|
|
215
|
+
*
|
|
216
|
+
* When `delay` is larger than `2147483647` or less than `1` or `NaN`, the `delay`
|
|
217
|
+
* will be set to `1`. Non-integer delays are truncated to an integer.
|
|
210
218
|
*
|
|
211
219
|
* If `callback` is not a function, a `TypeError` will be thrown.
|
|
212
220
|
*
|
|
213
|
-
* This method has a custom variant for promises that is available using
|
|
214
|
-
*
|
|
215
|
-
* @
|
|
221
|
+
* This method has a custom variant for promises that is available using
|
|
222
|
+
* `timersPromises.setTimeout()`.
|
|
223
|
+
* @since v0.0.1
|
|
224
|
+
* @param callback The function to call when the timer elapses.
|
|
225
|
+
* @param delay The number of milliseconds to wait before calling the
|
|
226
|
+
* `callback`. **Default:** `1`.
|
|
216
227
|
* @param args Optional arguments to pass when the `callback` is called.
|
|
217
|
-
* @
|
|
228
|
+
* @returns for use with `clearTimeout()`
|
|
218
229
|
*/
|
|
219
|
-
function
|
|
230
|
+
function setTimeout<TArgs extends any[]>(
|
|
220
231
|
callback: (...args: TArgs) => void,
|
|
232
|
+
delay?: number,
|
|
221
233
|
...args: TArgs
|
|
222
|
-
): NodeJS.
|
|
223
|
-
//
|
|
234
|
+
): NodeJS.Timeout;
|
|
235
|
+
// Allow a single void-accepting argument to be optional in arguments lists.
|
|
236
|
+
// Allows usage such as `new Promise(resolve => setTimeout(resolve, ms))` (#54258)
|
|
224
237
|
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
|
225
|
-
function
|
|
226
|
-
namespace
|
|
227
|
-
|
|
238
|
+
function setTimeout(callback: (_: void) => void, delay?: number): NodeJS.Timeout;
|
|
239
|
+
namespace setTimeout {
|
|
240
|
+
import __promisify__ = promises.setTimeout;
|
|
241
|
+
export { __promisify__ };
|
|
228
242
|
}
|
|
229
243
|
/**
|
|
230
244
|
* Cancels an `Immediate` object created by `setImmediate()`.
|
|
231
245
|
* @since v0.9.1
|
|
232
|
-
* @param immediate An `Immediate` object as returned by
|
|
246
|
+
* @param immediate An `Immediate` object as returned by `setImmediate()`.
|
|
247
|
+
*/
|
|
248
|
+
function clearImmediate(immediate: NodeJS.Immediate | undefined): void;
|
|
249
|
+
/**
|
|
250
|
+
* Cancels a `Timeout` object created by `setInterval()`.
|
|
251
|
+
* @since v0.0.1
|
|
252
|
+
* @param timeout A `Timeout` object as returned by `setInterval()`
|
|
253
|
+
* or the primitive of the `Timeout` object as a string or a number.
|
|
254
|
+
*/
|
|
255
|
+
function clearInterval(timeout: NodeJS.Timeout | string | number | undefined): void;
|
|
256
|
+
/**
|
|
257
|
+
* Cancels a `Timeout` object created by `setTimeout()`.
|
|
258
|
+
* @since v0.0.1
|
|
259
|
+
* @param timeout A `Timeout` object as returned by `setTimeout()`
|
|
260
|
+
* or the primitive of the `Timeout` object as a string or a number.
|
|
261
|
+
*/
|
|
262
|
+
function clearTimeout(timeout: NodeJS.Timeout | string | number | undefined): void;
|
|
263
|
+
/**
|
|
264
|
+
* The `queueMicrotask()` method queues a microtask to invoke `callback`. If
|
|
265
|
+
* `callback` throws an exception, the `process` object `'uncaughtException'`
|
|
266
|
+
* event will be emitted.
|
|
267
|
+
*
|
|
268
|
+
* The microtask queue is managed by V8 and may be used in a similar manner to
|
|
269
|
+
* the `process.nextTick()` queue, which is managed by Node.js. The
|
|
270
|
+
* `process.nextTick()` queue is always processed before the microtask queue
|
|
271
|
+
* within each turn of the Node.js event loop.
|
|
272
|
+
* @since v11.0.0
|
|
273
|
+
* @param callback Function to be queued.
|
|
233
274
|
*/
|
|
234
|
-
function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
|
|
235
275
|
function queueMicrotask(callback: () => void): void;
|
|
236
276
|
}
|
|
277
|
+
import clearImmediate = globalThis.clearImmediate;
|
|
278
|
+
import clearInterval = globalThis.clearInterval;
|
|
279
|
+
import clearTimeout = globalThis.clearTimeout;
|
|
280
|
+
import setImmediate = globalThis.setImmediate;
|
|
281
|
+
import setInterval = globalThis.setInterval;
|
|
282
|
+
import setTimeout = globalThis.setTimeout;
|
|
283
|
+
export { clearImmediate, clearInterval, clearTimeout, promises, setImmediate, setInterval, setTimeout };
|
|
237
284
|
}
|
|
238
285
|
declare module "node:timers" {
|
|
239
286
|
export * from "timers";
|
|
@@ -398,6 +398,14 @@ declare module "tls" {
|
|
|
398
398
|
},
|
|
399
399
|
callback: (err: Error | null) => void,
|
|
400
400
|
): undefined | boolean;
|
|
401
|
+
/**
|
|
402
|
+
* The `tlsSocket.setKeyCert()` method sets the private key and certificate to use for the socket.
|
|
403
|
+
* This is mainly useful if you wish to select a server certificate from a TLS server's `ALPNCallback`.
|
|
404
|
+
* @since v22.5.0, v20.17.0
|
|
405
|
+
* @param context An object containing at least `key` and `cert` properties from the {@link createSecureContext()} `options`,
|
|
406
|
+
* or a TLS context object created with {@link createSecureContext()} itself.
|
|
407
|
+
*/
|
|
408
|
+
setKeyCert(context: SecureContextOptions | SecureContext): void;
|
|
401
409
|
/**
|
|
402
410
|
* The `tlsSocket.setMaxSendFragment()` method sets the maximum TLS fragment size.
|
|
403
411
|
* Returns `true` if setting the limit succeeded; `false` otherwise.
|
|
@@ -639,7 +647,7 @@ declare module "tls" {
|
|
|
639
647
|
* @param context An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc), or a TLS context object created
|
|
640
648
|
* with {@link createSecureContext} itself.
|
|
641
649
|
*/
|
|
642
|
-
addContext(hostname: string, context: SecureContextOptions): void;
|
|
650
|
+
addContext(hostname: string, context: SecureContextOptions | SecureContext): void;
|
|
643
651
|
/**
|
|
644
652
|
* Returns the session ticket keys.
|
|
645
653
|
*
|
|
@@ -1158,6 +1166,31 @@ declare module "tls" {
|
|
|
1158
1166
|
* @since v0.11.13
|
|
1159
1167
|
*/
|
|
1160
1168
|
function createSecureContext(options?: SecureContextOptions): SecureContext;
|
|
1169
|
+
/**
|
|
1170
|
+
* Returns an array containing the CA certificates from various sources, depending on `type`:
|
|
1171
|
+
*
|
|
1172
|
+
* * `"default"`: return the CA certificates that will be used by the Node.js TLS clients by default.
|
|
1173
|
+
* * When `--use-bundled-ca` is enabled (default), or `--use-openssl-ca` is not enabled,
|
|
1174
|
+
* this would include CA certificates from the bundled Mozilla CA store.
|
|
1175
|
+
* * When `--use-system-ca` is enabled, this would also include certificates from the system's
|
|
1176
|
+
* trusted store.
|
|
1177
|
+
* * When `NODE_EXTRA_CA_CERTS` is used, this would also include certificates loaded from the specified
|
|
1178
|
+
* file.
|
|
1179
|
+
* * `"system"`: return the CA certificates that are loaded from the system's trusted store, according
|
|
1180
|
+
* to rules set by `--use-system-ca`. This can be used to get the certificates from the system
|
|
1181
|
+
* when `--use-system-ca` is not enabled.
|
|
1182
|
+
* * `"bundled"`: return the CA certificates from the bundled Mozilla CA store. This would be the same
|
|
1183
|
+
* as `tls.rootCertificates`.
|
|
1184
|
+
* * `"extra"`: return the CA certificates loaded from `NODE_EXTRA_CA_CERTS`. It's an empty array if
|
|
1185
|
+
* `NODE_EXTRA_CA_CERTS` is not set.
|
|
1186
|
+
* @since v22.15.0
|
|
1187
|
+
* @param type The type of CA certificates that will be returned. Valid values
|
|
1188
|
+
* are `"default"`, `"system"`, `"bundled"` and `"extra"`.
|
|
1189
|
+
* **Default:** `"default"`.
|
|
1190
|
+
* @returns An array of PEM-encoded certificates. The array may contain duplicates
|
|
1191
|
+
* if the same certificate is repeatedly stored in multiple sources.
|
|
1192
|
+
*/
|
|
1193
|
+
function getCACertificates(type?: "default" | "system" | "bundled" | "extra"): string[];
|
|
1161
1194
|
/**
|
|
1162
1195
|
* Returns an array with the names of the supported TLS ciphers. The names are
|
|
1163
1196
|
* lower-case for historical reasons, but must be uppercased to be used in
|
|
@@ -24,7 +24,7 @@ declare module "buffer" {
|
|
|
24
24
|
* @param array The octets to store.
|
|
25
25
|
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
|
26
26
|
*/
|
|
27
|
-
new(array:
|
|
27
|
+
new(array: ArrayLike<number>): Buffer;
|
|
28
28
|
/**
|
|
29
29
|
* Produces a Buffer backed by the same allocated memory as
|
|
30
30
|
* the given {ArrayBuffer}/{SharedArrayBuffer}.
|
|
@@ -33,20 +33,6 @@ declare module "buffer" {
|
|
|
33
33
|
* @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead.
|
|
34
34
|
*/
|
|
35
35
|
new(arrayBuffer: ArrayBuffer | SharedArrayBuffer): Buffer;
|
|
36
|
-
/**
|
|
37
|
-
* Allocates a new buffer containing the given {array} of octets.
|
|
38
|
-
*
|
|
39
|
-
* @param array The octets to store.
|
|
40
|
-
* @deprecated since v10.0.0 - Use `Buffer.from(array)` instead.
|
|
41
|
-
*/
|
|
42
|
-
new(array: readonly any[]): Buffer;
|
|
43
|
-
/**
|
|
44
|
-
* Copies the passed {buffer} data onto a new {Buffer} instance.
|
|
45
|
-
*
|
|
46
|
-
* @param buffer The buffer to copy.
|
|
47
|
-
* @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead.
|
|
48
|
-
*/
|
|
49
|
-
new(buffer: Buffer): Buffer;
|
|
50
36
|
/**
|
|
51
37
|
* Allocates a new `Buffer` using an `array` of bytes in the range `0` – `255`.
|
|
52
38
|
* Array entries outside that range will be truncated to fit into it.
|
|
@@ -58,40 +44,121 @@ declare module "buffer" {
|
|
|
58
44
|
* const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);
|
|
59
45
|
* ```
|
|
60
46
|
*
|
|
61
|
-
* If `array` is an `Array
|
|
47
|
+
* If `array` is an `Array`-like object (that is, one with a `length` property of
|
|
62
48
|
* type `number`), it is treated as if it is an array, unless it is a `Buffer` or
|
|
63
|
-
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an
|
|
49
|
+
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an
|
|
50
|
+
* `Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use
|
|
51
|
+
* `Buffer.copyBytesFrom()`.
|
|
64
52
|
*
|
|
65
53
|
* A `TypeError` will be thrown if `array` is not an `Array` or another type
|
|
66
54
|
* appropriate for `Buffer.from()` variants.
|
|
67
55
|
*
|
|
68
|
-
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal
|
|
56
|
+
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal
|
|
57
|
+
* `Buffer` pool like `Buffer.allocUnsafe()` does.
|
|
69
58
|
* @since v5.10.0
|
|
70
59
|
*/
|
|
60
|
+
from(array: WithImplicitCoercion<ArrayLike<number>>): Buffer;
|
|
61
|
+
/**
|
|
62
|
+
* This creates a view of the `ArrayBuffer` without copying the underlying
|
|
63
|
+
* memory. For example, when passed a reference to the `.buffer` property of a
|
|
64
|
+
* `TypedArray` instance, the newly created `Buffer` will share the same
|
|
65
|
+
* allocated memory as the `TypedArray`'s underlying `ArrayBuffer`.
|
|
66
|
+
*
|
|
67
|
+
* ```js
|
|
68
|
+
* import { Buffer } from 'node:buffer';
|
|
69
|
+
*
|
|
70
|
+
* const arr = new Uint16Array(2);
|
|
71
|
+
*
|
|
72
|
+
* arr[0] = 5000;
|
|
73
|
+
* arr[1] = 4000;
|
|
74
|
+
*
|
|
75
|
+
* // Shares memory with `arr`.
|
|
76
|
+
* const buf = Buffer.from(arr.buffer);
|
|
77
|
+
*
|
|
78
|
+
* console.log(buf);
|
|
79
|
+
* // Prints: <Buffer 88 13 a0 0f>
|
|
80
|
+
*
|
|
81
|
+
* // Changing the original Uint16Array changes the Buffer also.
|
|
82
|
+
* arr[1] = 6000;
|
|
83
|
+
*
|
|
84
|
+
* console.log(buf);
|
|
85
|
+
* // Prints: <Buffer 88 13 70 17>
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* The optional `byteOffset` and `length` arguments specify a memory range within
|
|
89
|
+
* the `arrayBuffer` that will be shared by the `Buffer`.
|
|
90
|
+
*
|
|
91
|
+
* ```js
|
|
92
|
+
* import { Buffer } from 'node:buffer';
|
|
93
|
+
*
|
|
94
|
+
* const ab = new ArrayBuffer(10);
|
|
95
|
+
* const buf = Buffer.from(ab, 0, 2);
|
|
96
|
+
*
|
|
97
|
+
* console.log(buf.length);
|
|
98
|
+
* // Prints: 2
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* A `TypeError` will be thrown if `arrayBuffer` is not an `ArrayBuffer` or a
|
|
102
|
+
* `SharedArrayBuffer` or another type appropriate for `Buffer.from()`
|
|
103
|
+
* variants.
|
|
104
|
+
*
|
|
105
|
+
* It is important to remember that a backing `ArrayBuffer` can cover a range
|
|
106
|
+
* of memory that extends beyond the bounds of a `TypedArray` view. A new
|
|
107
|
+
* `Buffer` created using the `buffer` property of a `TypedArray` may extend
|
|
108
|
+
* beyond the range of the `TypedArray`:
|
|
109
|
+
*
|
|
110
|
+
* ```js
|
|
111
|
+
* import { Buffer } from 'node:buffer';
|
|
112
|
+
*
|
|
113
|
+
* const arrA = Uint8Array.from([0x63, 0x64, 0x65, 0x66]); // 4 elements
|
|
114
|
+
* const arrB = new Uint8Array(arrA.buffer, 1, 2); // 2 elements
|
|
115
|
+
* console.log(arrA.buffer === arrB.buffer); // true
|
|
116
|
+
*
|
|
117
|
+
* const buf = Buffer.from(arrB.buffer);
|
|
118
|
+
* console.log(buf);
|
|
119
|
+
* // Prints: <Buffer 63 64 65 66>
|
|
120
|
+
* ```
|
|
121
|
+
* @since v5.10.0
|
|
122
|
+
* @param arrayBuffer An `ArrayBuffer`, `SharedArrayBuffer`, for example the
|
|
123
|
+
* `.buffer` property of a `TypedArray`.
|
|
124
|
+
* @param byteOffset Index of first byte to expose. **Default:** `0`.
|
|
125
|
+
* @param length Number of bytes to expose. **Default:**
|
|
126
|
+
* `arrayBuffer.byteLength - byteOffset`.
|
|
127
|
+
*/
|
|
71
128
|
from(
|
|
72
129
|
arrayBuffer: WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>,
|
|
73
130
|
byteOffset?: number,
|
|
74
131
|
length?: number,
|
|
75
132
|
): Buffer;
|
|
76
133
|
/**
|
|
77
|
-
* Creates a new Buffer
|
|
78
|
-
*
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
134
|
+
* Creates a new `Buffer` containing `string`. The `encoding` parameter identifies
|
|
135
|
+
* the character encoding to be used when converting `string` into bytes.
|
|
136
|
+
*
|
|
137
|
+
* ```js
|
|
138
|
+
* import { Buffer } from 'node:buffer';
|
|
139
|
+
*
|
|
140
|
+
* const buf1 = Buffer.from('this is a tést');
|
|
141
|
+
* const buf2 = Buffer.from('7468697320697320612074c3a97374', 'hex');
|
|
142
|
+
*
|
|
143
|
+
* console.log(buf1.toString());
|
|
144
|
+
* // Prints: this is a tést
|
|
145
|
+
* console.log(buf2.toString());
|
|
146
|
+
* // Prints: this is a tést
|
|
147
|
+
* console.log(buf1.toString('latin1'));
|
|
148
|
+
* // Prints: this is a tést
|
|
149
|
+
* ```
|
|
150
|
+
*
|
|
151
|
+
* A `TypeError` will be thrown if `string` is not a string or another type
|
|
152
|
+
* appropriate for `Buffer.from()` variants.
|
|
153
|
+
*
|
|
154
|
+
* `Buffer.from(string)` may also use the internal `Buffer` pool like
|
|
155
|
+
* `Buffer.allocUnsafe()` does.
|
|
156
|
+
* @since v5.10.0
|
|
157
|
+
* @param string A string to encode.
|
|
158
|
+
* @param encoding The encoding of `string`. **Default:** `'utf8'`.
|
|
86
159
|
*/
|
|
87
|
-
from(
|
|
88
|
-
|
|
89
|
-
| WithImplicitCoercion<string>
|
|
90
|
-
| {
|
|
91
|
-
[Symbol.toPrimitive](hint: "string"): string;
|
|
92
|
-
},
|
|
93
|
-
encoding?: BufferEncoding,
|
|
94
|
-
): Buffer;
|
|
160
|
+
from(string: WithImplicitCoercion<string>, encoding?: BufferEncoding): Buffer;
|
|
161
|
+
from(arrayOrString: WithImplicitCoercion<ArrayLike<number> | string>): Buffer;
|
|
95
162
|
/**
|
|
96
163
|
* Creates a new Buffer using the passed {data}
|
|
97
164
|
* @param values to create a new Buffer
|
|
@@ -381,5 +448,13 @@ declare module "buffer" {
|
|
|
381
448
|
*/
|
|
382
449
|
subarray(start?: number, end?: number): Buffer;
|
|
383
450
|
}
|
|
451
|
+
type NonSharedBuffer = Buffer;
|
|
452
|
+
type AllowSharedBuffer = Buffer;
|
|
384
453
|
}
|
|
454
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
|
455
|
+
var SlowBuffer: {
|
|
456
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
|
457
|
+
new(size: number): Buffer;
|
|
458
|
+
prototype: Buffer;
|
|
459
|
+
};
|
|
385
460
|
}
|