node-red-contrib-tak-registration 0.14.1 → 0.15.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 +124 -0
- package/node_modules/axios/README.md +38 -16
- package/node_modules/axios/dist/axios.js +44 -39
- 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 +43 -39
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +43 -39
- 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 +74 -43
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +3 -2
- package/node_modules/axios/index.d.ts +5 -2
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/adapters/http.js +1 -1
- package/node_modules/axios/lib/core/Axios.js +11 -2
- 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/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/platform/node/index.js +26 -0
- package/node_modules/axios/lib/utils.js +12 -28
- package/node_modules/axios/package.json +3 -3
- 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 +63 -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 -18
- package/node_modules/fast-xml-parser/src/cli/cli.js +12 -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 +28 -1
- 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/lib/form_data.js +24 -22
- package/node_modules/form-data/package.json +17 -14
- 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 +531 -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 +671 -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/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 +124 -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 +52 -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 +13 -6
- package/node_modules/axios/SECURITY.md +0 -6
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -18,43 +18,11 @@ type _EventSource = typeof globalThis extends { onmessage: any } ? {} : import("
|
|
|
18
18
|
|
|
19
19
|
// Conditional type definitions for webstorage interface, which conflicts with lib.dom otherwise.
|
|
20
20
|
type _Storage = typeof globalThis extends { onabort: any } ? {} : {
|
|
21
|
-
/**
|
|
22
|
-
* Returns the number of key/value pairs.
|
|
23
|
-
*
|
|
24
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/length)
|
|
25
|
-
*/
|
|
26
21
|
readonly length: number;
|
|
27
|
-
/**
|
|
28
|
-
* Removes all key/value pairs, if there are any.
|
|
29
|
-
*
|
|
30
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/clear)
|
|
31
|
-
*/
|
|
32
22
|
clear(): void;
|
|
33
|
-
/**
|
|
34
|
-
* Returns the current value associated with the given key, or null if the given key does not exist.
|
|
35
|
-
*
|
|
36
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/getItem)
|
|
37
|
-
*/
|
|
38
23
|
getItem(key: string): string | null;
|
|
39
|
-
/**
|
|
40
|
-
* Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.
|
|
41
|
-
*
|
|
42
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/key)
|
|
43
|
-
*/
|
|
44
24
|
key(index: number): string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Removes the key/value pair with the given key, if a key/value pair with the given key exists.
|
|
47
|
-
*
|
|
48
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/removeItem)
|
|
49
|
-
*/
|
|
50
25
|
removeItem(key: string): void;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.
|
|
53
|
-
*
|
|
54
|
-
* Throws a "QuotaExceededError" DOMException exception if the new value couldn't be set.
|
|
55
|
-
*
|
|
56
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage/setItem)
|
|
57
|
-
*/
|
|
58
26
|
setItem(key: string, value: string): void;
|
|
59
27
|
[key: string]: any;
|
|
60
28
|
};
|
|
@@ -62,15 +30,8 @@ type _Storage = typeof globalThis extends { onabort: any } ? {} : {
|
|
|
62
30
|
// #region DOMException
|
|
63
31
|
type _DOMException = typeof globalThis extends { onmessage: any } ? {} : NodeDOMException;
|
|
64
32
|
interface NodeDOMException extends Error {
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated
|
|
67
|
-
*
|
|
68
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/code)
|
|
69
|
-
*/
|
|
70
33
|
readonly code: number;
|
|
71
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/message) */
|
|
72
34
|
readonly message: string;
|
|
73
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException/name) */
|
|
74
35
|
readonly name: string;
|
|
75
36
|
readonly INDEX_SIZE_ERR: 1;
|
|
76
37
|
readonly DOMSTRING_SIZE_ERR: 2;
|
|
@@ -130,277 +91,104 @@ interface NodeDOMExceptionConstructor {
|
|
|
130
91
|
// #endregion DOMException
|
|
131
92
|
|
|
132
93
|
declare global {
|
|
133
|
-
// Declare "static" methods in Error
|
|
134
|
-
interface ErrorConstructor {
|
|
135
|
-
/** Create .stack property on a target object */
|
|
136
|
-
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Optional override for formatting stack traces
|
|
140
|
-
*
|
|
141
|
-
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
142
|
-
*/
|
|
143
|
-
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
144
|
-
|
|
145
|
-
stackTraceLimit: number;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/*-----------------------------------------------*
|
|
149
|
-
* *
|
|
150
|
-
* GLOBAL *
|
|
151
|
-
* *
|
|
152
|
-
------------------------------------------------*/
|
|
153
|
-
|
|
154
|
-
// For backwards compability
|
|
155
|
-
interface NodeRequire extends NodeJS.Require {}
|
|
156
|
-
interface RequireResolve extends NodeJS.RequireResolve {}
|
|
157
|
-
interface NodeModule extends NodeJS.Module {}
|
|
158
|
-
|
|
159
94
|
var global: typeof globalThis;
|
|
160
95
|
|
|
161
96
|
var process: NodeJS.Process;
|
|
162
97
|
var console: Console;
|
|
163
98
|
|
|
164
|
-
|
|
165
|
-
var __dirname: string;
|
|
166
|
-
|
|
167
|
-
var require: NodeRequire;
|
|
168
|
-
var module: NodeModule;
|
|
169
|
-
|
|
170
|
-
// Same as module.exports
|
|
171
|
-
var exports: any;
|
|
172
|
-
|
|
173
|
-
interface GCFunction {
|
|
174
|
-
(options: {
|
|
175
|
-
execution?: "sync";
|
|
176
|
-
flavor?: "regular" | "last-resort";
|
|
177
|
-
type?: "major-snapshot" | "major" | "minor";
|
|
178
|
-
filename?: string;
|
|
179
|
-
}): void;
|
|
180
|
-
(options: {
|
|
181
|
-
execution: "async";
|
|
182
|
-
flavor?: "regular" | "last-resort";
|
|
183
|
-
type?: "major-snapshot" | "major" | "minor";
|
|
184
|
-
filename?: string;
|
|
185
|
-
}): Promise<void>;
|
|
186
|
-
(options?: boolean): void;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Only available if `--expose-gc` is passed to the process.
|
|
191
|
-
*/
|
|
192
|
-
var gc: undefined | GCFunction;
|
|
193
|
-
|
|
194
|
-
// #region borrowed
|
|
195
|
-
// from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
|
|
196
|
-
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
197
|
-
interface AbortController {
|
|
99
|
+
interface ErrorConstructor {
|
|
198
100
|
/**
|
|
199
|
-
*
|
|
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
|
+
* ```
|
|
200
144
|
*/
|
|
201
|
-
|
|
202
|
-
readonly signal: AbortSignal;
|
|
145
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
203
146
|
/**
|
|
204
|
-
*
|
|
147
|
+
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
205
148
|
*/
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
|
|
210
|
-
interface AbortSignal extends EventTarget {
|
|
149
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
211
150
|
/**
|
|
212
|
-
*
|
|
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.
|
|
213
160
|
*/
|
|
214
|
-
|
|
215
|
-
readonly reason: any;
|
|
216
|
-
onabort: null | ((this: AbortSignal, event: Event) => any);
|
|
217
|
-
throwIfAborted(): void;
|
|
161
|
+
stackTraceLimit: number;
|
|
218
162
|
}
|
|
219
163
|
|
|
220
|
-
var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
|
|
221
|
-
: {
|
|
222
|
-
prototype: AbortController;
|
|
223
|
-
new(): AbortController;
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
|
|
227
|
-
: {
|
|
228
|
-
prototype: AbortSignal;
|
|
229
|
-
new(): AbortSignal;
|
|
230
|
-
abort(reason?: any): AbortSignal;
|
|
231
|
-
timeout(milliseconds: number): AbortSignal;
|
|
232
|
-
any(signals: AbortSignal[]): AbortSignal;
|
|
233
|
-
};
|
|
234
|
-
// #endregion borrowed
|
|
235
|
-
|
|
236
|
-
// #region Storage
|
|
237
|
-
/**
|
|
238
|
-
* This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
|
|
239
|
-
*
|
|
240
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Storage)
|
|
241
|
-
*/
|
|
242
|
-
interface Storage extends _Storage {}
|
|
243
|
-
|
|
244
|
-
// Conditional on `onabort` rather than `onmessage`, in order to exclude lib.webworker
|
|
245
|
-
var Storage: typeof globalThis extends { onabort: any; Storage: infer T } ? T
|
|
246
|
-
: {
|
|
247
|
-
prototype: Storage;
|
|
248
|
-
new(): Storage;
|
|
249
|
-
};
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* A browser-compatible implementation of [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). Data is stored
|
|
253
|
-
* unencrypted in the file specified by the `--localstorage-file` CLI flag.
|
|
254
|
-
* The maximum amount of data that can be stored is 10 MB.
|
|
255
|
-
* Any modification of this data outside of the Web Storage API is not supported.
|
|
256
|
-
* Enable this API with the `--experimental-webstorage` CLI flag.
|
|
257
|
-
* `localStorage` data is not stored per user or per request when used in the context
|
|
258
|
-
* of a server, it is shared across all users and requests.
|
|
259
|
-
* @since v22.4.0
|
|
260
|
-
*/
|
|
261
|
-
var localStorage: Storage;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* A browser-compatible implementation of [`sessionStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage). Data is stored in
|
|
265
|
-
* memory, with a storage quota of 10 MB. `sessionStorage` data persists only within
|
|
266
|
-
* the currently running process, and is not shared between workers.
|
|
267
|
-
* @since v22.4.0
|
|
268
|
-
*/
|
|
269
|
-
var sessionStorage: Storage;
|
|
270
|
-
// #endregion Storage
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* @since v17.0.0
|
|
274
|
-
*
|
|
275
|
-
* Creates a deep clone of an object.
|
|
276
|
-
*/
|
|
277
|
-
function structuredClone<T>(
|
|
278
|
-
value: T,
|
|
279
|
-
transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> },
|
|
280
|
-
): T;
|
|
281
|
-
|
|
282
|
-
// #region DOMException
|
|
283
|
-
/**
|
|
284
|
-
* @since v17.0.0
|
|
285
|
-
* An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
|
|
286
|
-
*
|
|
287
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)
|
|
288
|
-
*/
|
|
289
|
-
interface DOMException extends _DOMException {}
|
|
290
|
-
|
|
291
164
|
/**
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
* The WHATWG `DOMException` class. See [DOMException](https://developer.mozilla.org/docs/Web/API/DOMException) for more details.
|
|
165
|
+
* Enable this API with the `--expose-gc` CLI flag.
|
|
295
166
|
*/
|
|
296
|
-
var
|
|
297
|
-
: NodeDOMExceptionConstructor;
|
|
298
|
-
// #endregion DOMException
|
|
167
|
+
var gc: NodeJS.GCFunction | undefined;
|
|
299
168
|
|
|
300
|
-
/*----------------------------------------------*
|
|
301
|
-
* *
|
|
302
|
-
* GLOBAL INTERFACES *
|
|
303
|
-
* *
|
|
304
|
-
*-----------------------------------------------*/
|
|
305
169
|
namespace NodeJS {
|
|
306
170
|
interface CallSite {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
* Type of "this" as a string.
|
|
314
|
-
* This is the name of the function stored in the constructor field of
|
|
315
|
-
* "this", if available. Otherwise the object's [[Class]] internal
|
|
316
|
-
* property.
|
|
317
|
-
*/
|
|
318
|
-
getTypeName(): string | null;
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* Current function
|
|
322
|
-
*/
|
|
171
|
+
getColumnNumber(): number | null;
|
|
172
|
+
getEnclosingColumnNumber(): number | null;
|
|
173
|
+
getEnclosingLineNumber(): number | null;
|
|
174
|
+
getEvalOrigin(): string | undefined;
|
|
175
|
+
getFileName(): string | null;
|
|
323
176
|
getFunction(): Function | undefined;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Name of the current function, typically its name property.
|
|
327
|
-
* If a name property is not available an attempt will be made to try
|
|
328
|
-
* to infer a name from the function's context.
|
|
329
|
-
*/
|
|
330
177
|
getFunctionName(): string | null;
|
|
331
|
-
|
|
332
|
-
/**
|
|
333
|
-
* Name of the property [of "this" or one of its prototypes] that holds
|
|
334
|
-
* the current function
|
|
335
|
-
*/
|
|
336
|
-
getMethodName(): string | null;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Name of the script [if this function was defined in a script]
|
|
340
|
-
*/
|
|
341
|
-
getFileName(): string | undefined;
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Current line number [if this function was defined in a script]
|
|
345
|
-
*/
|
|
346
178
|
getLineNumber(): number | null;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
*/
|
|
357
|
-
getEvalOrigin(): string | undefined;
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* Is this a toplevel invocation, that is, is "this" the global object?
|
|
361
|
-
*/
|
|
362
|
-
isToplevel(): boolean;
|
|
363
|
-
|
|
364
|
-
/**
|
|
365
|
-
* Does this call take place in code defined by a call to eval?
|
|
366
|
-
*/
|
|
179
|
+
getMethodName(): string | null;
|
|
180
|
+
getPosition(): number;
|
|
181
|
+
getPromiseIndex(): number | null;
|
|
182
|
+
getScriptHash(): string;
|
|
183
|
+
getScriptNameOrSourceURL(): string | null;
|
|
184
|
+
getThis(): unknown;
|
|
185
|
+
getTypeName(): string | null;
|
|
186
|
+
isAsync(): boolean;
|
|
187
|
+
isConstructor(): boolean;
|
|
367
188
|
isEval(): boolean;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Is this call in native V8 code?
|
|
371
|
-
*/
|
|
372
189
|
isNative(): boolean;
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Is this a constructor call?
|
|
376
|
-
*/
|
|
377
|
-
isConstructor(): boolean;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* is this an async call (i.e. await, Promise.all(), or Promise.any())?
|
|
381
|
-
*/
|
|
382
|
-
isAsync(): boolean;
|
|
383
|
-
|
|
384
|
-
/**
|
|
385
|
-
* is this an async call to Promise.all()?
|
|
386
|
-
*/
|
|
387
190
|
isPromiseAll(): boolean;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* returns the index of the promise element that was followed in
|
|
391
|
-
* Promise.all() or Promise.any() for async stack traces, or null
|
|
392
|
-
* if the CallSite is not an async
|
|
393
|
-
*/
|
|
394
|
-
getPromiseIndex(): number | null;
|
|
395
|
-
|
|
396
|
-
getScriptNameOrSourceURL(): string;
|
|
397
|
-
getScriptHash(): string;
|
|
398
|
-
|
|
399
|
-
getEnclosingColumnNumber(): number;
|
|
400
|
-
getEnclosingLineNumber(): number;
|
|
401
|
-
getPosition(): number;
|
|
402
|
-
|
|
403
|
-
toString(): string;
|
|
191
|
+
isToplevel(): boolean;
|
|
404
192
|
}
|
|
405
193
|
|
|
406
194
|
interface ErrnoException extends Error {
|
|
@@ -421,7 +209,7 @@ declare global {
|
|
|
421
209
|
unpipe(destination?: WritableStream): this;
|
|
422
210
|
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
|
|
423
211
|
wrap(oldStream: ReadableStream): this;
|
|
424
|
-
[Symbol.asyncIterator]():
|
|
212
|
+
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
|
|
425
213
|
}
|
|
426
214
|
|
|
427
215
|
interface WritableStream extends EventEmitter {
|
|
@@ -440,49 +228,6 @@ declare global {
|
|
|
440
228
|
unref(): this;
|
|
441
229
|
}
|
|
442
230
|
|
|
443
|
-
interface Require {
|
|
444
|
-
(id: string): any;
|
|
445
|
-
resolve: RequireResolve;
|
|
446
|
-
cache: Dict<NodeModule>;
|
|
447
|
-
/**
|
|
448
|
-
* @deprecated
|
|
449
|
-
*/
|
|
450
|
-
extensions: RequireExtensions;
|
|
451
|
-
main: Module | undefined;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
interface RequireResolve {
|
|
455
|
-
(id: string, options?: { paths?: string[] | undefined }): string;
|
|
456
|
-
paths(request: string): string[] | null;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
interface RequireExtensions extends Dict<(m: Module, filename: string) => any> {
|
|
460
|
-
".js": (m: Module, filename: string) => any;
|
|
461
|
-
".json": (m: Module, filename: string) => any;
|
|
462
|
-
".node": (m: Module, filename: string) => any;
|
|
463
|
-
}
|
|
464
|
-
interface Module {
|
|
465
|
-
/**
|
|
466
|
-
* `true` if the module is running during the Node.js preload
|
|
467
|
-
*/
|
|
468
|
-
isPreloading: boolean;
|
|
469
|
-
exports: any;
|
|
470
|
-
require: Require;
|
|
471
|
-
id: string;
|
|
472
|
-
filename: string;
|
|
473
|
-
loaded: boolean;
|
|
474
|
-
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
|
|
475
|
-
parent: Module | null | undefined;
|
|
476
|
-
children: Module[];
|
|
477
|
-
/**
|
|
478
|
-
* @since v11.14.0
|
|
479
|
-
*
|
|
480
|
-
* The directory name of the module. This is usually the same as the path.dirname() of the module.id.
|
|
481
|
-
*/
|
|
482
|
-
path: string;
|
|
483
|
-
paths: string[];
|
|
484
|
-
}
|
|
485
|
-
|
|
486
231
|
interface Dict<T> {
|
|
487
232
|
[key: string]: T | undefined;
|
|
488
233
|
}
|
|
@@ -491,6 +236,19 @@ declare global {
|
|
|
491
236
|
readonly [key: string]: T | undefined;
|
|
492
237
|
}
|
|
493
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
|
+
|
|
494
252
|
/** An iterable iterator returned by the Node.js API. */
|
|
495
253
|
// Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used IterableIterator.
|
|
496
254
|
// TODO: In next major @types/node version, change default TReturn to undefined.
|
|
@@ -506,6 +264,58 @@ declare global {
|
|
|
506
264
|
}
|
|
507
265
|
}
|
|
508
266
|
|
|
267
|
+
// Global DOM types
|
|
268
|
+
|
|
269
|
+
function structuredClone<T>(
|
|
270
|
+
value: T,
|
|
271
|
+
transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> },
|
|
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;
|
|
282
|
+
}
|
|
283
|
+
var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
|
|
284
|
+
: {
|
|
285
|
+
prototype: AbortController;
|
|
286
|
+
new(): AbortController;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
interface AbortSignal extends EventTarget {
|
|
290
|
+
readonly aborted: boolean;
|
|
291
|
+
onabort: ((this: AbortSignal, ev: Event) => any) | null;
|
|
292
|
+
readonly reason: any;
|
|
293
|
+
throwIfAborted(): void;
|
|
294
|
+
}
|
|
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
|
+
|
|
318
|
+
// #region fetch
|
|
509
319
|
interface RequestInit extends _RequestInit {}
|
|
510
320
|
|
|
511
321
|
function fetch(
|
|
@@ -544,9 +354,6 @@ declare global {
|
|
|
544
354
|
: typeof import("undici-types").Headers;
|
|
545
355
|
|
|
546
356
|
interface MessageEvent extends _MessageEvent {}
|
|
547
|
-
/**
|
|
548
|
-
* @since v15.0.0
|
|
549
|
-
*/
|
|
550
357
|
var MessageEvent: typeof globalThis extends {
|
|
551
358
|
onmessage: any;
|
|
552
359
|
MessageEvent: infer T;
|
|
@@ -558,11 +365,7 @@ declare global {
|
|
|
558
365
|
: typeof import("undici-types").WebSocket;
|
|
559
366
|
|
|
560
367
|
interface EventSource extends _EventSource {}
|
|
561
|
-
/**
|
|
562
|
-
* Only available through the [--experimental-eventsource](https://nodejs.org/api/cli.html#--experimental-eventsource) flag.
|
|
563
|
-
*
|
|
564
|
-
* @since v22.3.0
|
|
565
|
-
*/
|
|
566
368
|
var EventSource: typeof globalThis extends { onmessage: any; EventSource: infer T } ? T
|
|
567
369
|
: typeof import("undici-types").EventSource;
|
|
370
|
+
// #endregion fetch
|
|
568
371
|
}
|
|
@@ -48,6 +48,7 @@ declare module "http" {
|
|
|
48
48
|
// incoming headers will never contain number
|
|
49
49
|
interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
|
|
50
50
|
accept?: string | undefined;
|
|
51
|
+
"accept-encoding"?: string | undefined;
|
|
51
52
|
"accept-language"?: string | undefined;
|
|
52
53
|
"accept-patch"?: string | undefined;
|
|
53
54
|
"accept-ranges"?: string | undefined;
|
|
@@ -207,7 +208,7 @@ declare module "http" {
|
|
|
207
208
|
| undefined;
|
|
208
209
|
defaultPort?: number | string | undefined;
|
|
209
210
|
family?: number | undefined;
|
|
210
|
-
headers?: OutgoingHttpHeaders | undefined;
|
|
211
|
+
headers?: OutgoingHttpHeaders | readonly string[] | undefined;
|
|
211
212
|
hints?: LookupOptions["hints"];
|
|
212
213
|
host?: string | null | undefined;
|
|
213
214
|
hostname?: string | null | undefined;
|
|
@@ -223,6 +224,7 @@ declare module "http" {
|
|
|
223
224
|
path?: string | null | undefined;
|
|
224
225
|
port?: number | string | null | undefined;
|
|
225
226
|
protocol?: string | null | undefined;
|
|
227
|
+
setDefaultHeaders?: boolean | undefined;
|
|
226
228
|
setHost?: boolean | undefined;
|
|
227
229
|
signal?: AbortSignal | undefined;
|
|
228
230
|
socketPath?: string | undefined;
|
|
@@ -268,6 +270,13 @@ declare module "http" {
|
|
|
268
270
|
* @default 30000
|
|
269
271
|
*/
|
|
270
272
|
connectionsCheckingInterval?: number | undefined;
|
|
273
|
+
/**
|
|
274
|
+
* Sets the timeout value in milliseconds for receiving the complete HTTP headers from the client.
|
|
275
|
+
* See {@link Server.headersTimeout} for more information.
|
|
276
|
+
* @default 60000
|
|
277
|
+
* @since 18.0.0
|
|
278
|
+
*/
|
|
279
|
+
headersTimeout?: number | undefined;
|
|
271
280
|
/**
|
|
272
281
|
* Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`.
|
|
273
282
|
* This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`.
|
|
@@ -295,6 +304,13 @@ declare module "http" {
|
|
|
295
304
|
* @since v16.5.0
|
|
296
305
|
*/
|
|
297
306
|
noDelay?: boolean | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* If set to `true`, it forces the server to respond with a 400 (Bad Request) status code
|
|
309
|
+
* to any HTTP/1.1 request message that lacks a Host header (as mandated by the specification).
|
|
310
|
+
* @default true
|
|
311
|
+
* @since 20.0.0
|
|
312
|
+
*/
|
|
313
|
+
requireHostHeader?: boolean | undefined;
|
|
298
314
|
/**
|
|
299
315
|
* If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received,
|
|
300
316
|
* similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`.
|
|
@@ -313,6 +329,12 @@ declare module "http" {
|
|
|
313
329
|
* If the header's value is an array, the items will be joined using `; `.
|
|
314
330
|
*/
|
|
315
331
|
uniqueHeaders?: Array<string | string[]> | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* If set to `true`, an error is thrown when writing to an HTTP response which does not have a body.
|
|
334
|
+
* @default false
|
|
335
|
+
* @since v18.17.0, v20.2.0
|
|
336
|
+
*/
|
|
337
|
+
rejectNonStandardBodyWrites?: boolean | undefined;
|
|
316
338
|
}
|
|
317
339
|
type RequestListener<
|
|
318
340
|
Request extends typeof IncomingMessage = typeof IncomingMessage,
|
|
@@ -341,8 +363,8 @@ declare module "http" {
|
|
|
341
363
|
* @since v0.9.12
|
|
342
364
|
* @param [msecs=0 (no timeout)]
|
|
343
365
|
*/
|
|
344
|
-
setTimeout(msecs?: number, callback?: () => void): this;
|
|
345
|
-
setTimeout(callback: () => void): this;
|
|
366
|
+
setTimeout(msecs?: number, callback?: (socket: Socket) => void): this;
|
|
367
|
+
setTimeout(callback: (socket: Socket) => void): this;
|
|
346
368
|
/**
|
|
347
369
|
* Limits maximum incoming headers count. If set to 0, no limit will be applied.
|
|
348
370
|
* @since v0.7.0
|
|
@@ -1252,6 +1252,8 @@ declare module "http2" {
|
|
|
1252
1252
|
Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
|
|
1253
1253
|
Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
|
|
1254
1254
|
> extends SessionOptions {
|
|
1255
|
+
streamResetBurst?: number | undefined;
|
|
1256
|
+
streamResetRate?: number | undefined;
|
|
1255
1257
|
Http1IncomingMessage?: Http1Request | undefined;
|
|
1256
1258
|
Http1ServerResponse?: Http1Response | undefined;
|
|
1257
1259
|
Http2ServerRequest?: Http2Request | undefined;
|
|
@@ -1269,10 +1271,7 @@ declare module "http2" {
|
|
|
1269
1271
|
Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
|
|
1270
1272
|
Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
|
|
1271
1273
|
Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
|
|
1272
|
-
> extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {
|
|
1273
|
-
streamResetBurst?: number | undefined;
|
|
1274
|
-
streamResetRate?: number | undefined;
|
|
1275
|
-
}
|
|
1274
|
+
> extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {}
|
|
1276
1275
|
export interface SecureServerOptions<
|
|
1277
1276
|
Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
|
|
1278
1277
|
Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
|
|
@@ -16,7 +16,9 @@ declare module "https" {
|
|
|
16
16
|
& http.RequestOptions
|
|
17
17
|
& tls.SecureContextOptions
|
|
18
18
|
& {
|
|
19
|
-
checkServerIdentity?:
|
|
19
|
+
checkServerIdentity?:
|
|
20
|
+
| ((hostname: string, cert: tls.DetailedPeerCertificate) => Error | undefined)
|
|
21
|
+
| undefined;
|
|
20
22
|
rejectUnauthorized?: boolean | undefined; // Defaults to true
|
|
21
23
|
servername?: string | undefined; // SNI TLS Extension
|
|
22
24
|
};
|