node-red-contrib-tak-registration 0.14.0 → 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 +16 -7
- package/node_modules/axios/SECURITY.md +0 -6
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
long.js
|
|
2
|
-
=======
|
|
1
|
+
# long.js
|
|
3
2
|
|
|
4
3
|
A Long class for representing a 64 bit two's-complement integer value derived from the [Closure Library](https://github.com/google/closure-library)
|
|
5
4
|
for stand-alone use and extended with unsigned support.
|
|
6
5
|
|
|
7
|
-
[](https://github.com/dcodeIO/long.js/actions/workflows/test.yml) [](https://github.com/dcodeIO/long.js/actions/workflows/publish.yml) [](https://www.npmjs.com/package/long)
|
|
8
7
|
|
|
9
|
-
Background
|
|
10
|
-
----------
|
|
8
|
+
## Background
|
|
11
9
|
|
|
12
10
|
As of [ECMA-262 5th Edition](http://ecma262-5.com/ELS5_HTML.htm#Section_8.5), "all the positive and negative integers
|
|
13
11
|
whose magnitude is no greater than 2<sup>53</sup> are representable in the Number type", which is "representing the
|
|
@@ -24,8 +22,7 @@ the Number type but first convert each such value to one of 2<sup>32</sup> integ
|
|
|
24
22
|
In some use cases, however, it is required to be able to reliably work with and perform bitwise operations on the full
|
|
25
23
|
64 bits. This is where long.js comes into play.
|
|
26
24
|
|
|
27
|
-
Usage
|
|
28
|
-
-----
|
|
25
|
+
## Usage
|
|
29
26
|
|
|
30
27
|
The package exports an ECMAScript module with an UMD fallback.
|
|
31
28
|
|
|
@@ -45,227 +42,236 @@ Note that mixing ESM and CommonJS is not recommended as it yields different clas
|
|
|
45
42
|
|
|
46
43
|
### Usage with a CDN
|
|
47
44
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
45
|
+
- From GitHub via [jsDelivr](https://www.jsdelivr.com):<br />
|
|
46
|
+
`https://cdn.jsdelivr.net/gh/dcodeIO/long.js@TAG/index.js` (ESM)
|
|
47
|
+
- From npm via [jsDelivr](https://www.jsdelivr.com):<br />
|
|
48
|
+
`https://cdn.jsdelivr.net/npm/long@VERSION/index.js` (ESM)<br />
|
|
49
|
+
`https://cdn.jsdelivr.net/npm/long@VERSION/umd/index.js` (UMD)
|
|
50
|
+
- From npm via [unpkg](https://unpkg.com):<br />
|
|
51
|
+
`https://unpkg.com/long@VERSION/index.js` (ESM)<br />
|
|
52
|
+
`https://unpkg.com/long@VERSION/umd/index.js` (UMD)
|
|
56
53
|
|
|
57
|
-
|
|
54
|
+
Replace `TAG` respectively `VERSION` with a [specific version](https://github.com/dcodeIO/long.js/releases) or omit it (not recommended in production) to use main/latest.
|
|
58
55
|
|
|
59
|
-
API
|
|
60
|
-
---
|
|
56
|
+
## API
|
|
61
57
|
|
|
62
58
|
### Constructor
|
|
63
59
|
|
|
64
|
-
|
|
65
|
-
Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as
|
|
60
|
+
- new **Long**(low: `number`, high?: `number`, unsigned?: `boolean`)<br />
|
|
61
|
+
Constructs a 64 bit two's-complement integer, given its low and high 32 bit values as _signed_ integers. See the from\* functions below for more convenient ways of constructing Longs.
|
|
66
62
|
|
|
67
63
|
### Fields
|
|
68
64
|
|
|
69
|
-
|
|
65
|
+
- Long#**low**: `number`<br />
|
|
70
66
|
The low 32 bits as a signed value.
|
|
71
67
|
|
|
72
|
-
|
|
68
|
+
- Long#**high**: `number`<br />
|
|
73
69
|
The high 32 bits as a signed value.
|
|
74
70
|
|
|
75
|
-
|
|
71
|
+
- Long#**unsigned**: `boolean`<br />
|
|
76
72
|
Whether unsigned or not.
|
|
77
73
|
|
|
78
74
|
### Constants
|
|
79
75
|
|
|
80
|
-
|
|
76
|
+
- Long.**ZERO**: `Long`<br />
|
|
81
77
|
Signed zero.
|
|
82
78
|
|
|
83
|
-
|
|
79
|
+
- Long.**ONE**: `Long`<br />
|
|
84
80
|
Signed one.
|
|
85
81
|
|
|
86
|
-
|
|
82
|
+
- Long.**NEG_ONE**: `Long`<br />
|
|
87
83
|
Signed negative one.
|
|
88
84
|
|
|
89
|
-
|
|
85
|
+
- Long.**UZERO**: `Long`<br />
|
|
90
86
|
Unsigned zero.
|
|
91
87
|
|
|
92
|
-
|
|
88
|
+
- Long.**UONE**: `Long`<br />
|
|
93
89
|
Unsigned one.
|
|
94
90
|
|
|
95
|
-
|
|
91
|
+
- Long.**MAX_VALUE**: `Long`<br />
|
|
96
92
|
Maximum signed value.
|
|
97
93
|
|
|
98
|
-
|
|
94
|
+
- Long.**MIN_VALUE**: `Long`<br />
|
|
99
95
|
Minimum signed value.
|
|
100
96
|
|
|
101
|
-
|
|
97
|
+
- Long.**MAX_UNSIGNED_VALUE**: `Long`<br />
|
|
102
98
|
Maximum unsigned value.
|
|
103
99
|
|
|
104
100
|
### Utility
|
|
105
101
|
|
|
106
|
-
|
|
102
|
+
- type **LongLike**: `Long | number | bigint | string`<br />
|
|
103
|
+
Any value or object that either is or can be converted to a Long.
|
|
104
|
+
|
|
105
|
+
- Long.**isLong**(obj: `any`): `boolean`<br />
|
|
107
106
|
Tests if the specified object is a Long.
|
|
108
107
|
|
|
109
|
-
|
|
108
|
+
- Long.**fromBits**(lowBits: `number`, highBits: `number`, unsigned?: `boolean`): `Long`<br />
|
|
110
109
|
Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits.
|
|
111
110
|
|
|
112
|
-
|
|
111
|
+
- Long.**fromBytes**(bytes: `number[]`, unsigned?: `boolean`, le?: `boolean`): `Long`<br />
|
|
113
112
|
Creates a Long from its byte representation.
|
|
114
113
|
|
|
115
|
-
|
|
114
|
+
- Long.**fromBytesLE**(bytes: `number[]`, unsigned?: `boolean`): `Long`<br />
|
|
116
115
|
Creates a Long from its little endian byte representation.
|
|
117
116
|
|
|
118
|
-
|
|
117
|
+
- Long.**fromBytesBE**(bytes: `number[]`, unsigned?: `boolean`): `Long`<br />
|
|
119
118
|
Creates a Long from its big endian byte representation.
|
|
120
119
|
|
|
121
|
-
|
|
120
|
+
- Long.**fromInt**(value: `number`, unsigned?: `boolean`): `Long`<br />
|
|
122
121
|
Returns a Long representing the given 32 bit integer value.
|
|
123
122
|
|
|
124
|
-
|
|
123
|
+
- Long.**fromNumber**(value: `number`, unsigned?: `boolean`): `Long`<br />
|
|
125
124
|
Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
|
|
126
125
|
|
|
127
|
-
|
|
126
|
+
- Long.**fromBigInt**(value: `bigint`, unsigned?: `boolean`): `Long`<br />
|
|
127
|
+
Returns a Long representing the given big integer.
|
|
128
|
+
|
|
129
|
+
- Long.**fromString**(str: `string`, unsigned?: `boolean`, radix?: `number`)<br />
|
|
128
130
|
Long.**fromString**(str: `string`, radix: `number`)<br />
|
|
129
131
|
Returns a Long representation of the given string, written using the specified radix.
|
|
130
132
|
|
|
131
|
-
|
|
132
|
-
Converts the specified value to a Long using the appropriate from
|
|
133
|
+
- Long.**fromValue**(val: `LongLike`, unsigned?: `boolean`): `Long`<br />
|
|
134
|
+
Converts the specified value to a Long using the appropriate from\* function for its type.
|
|
133
135
|
|
|
134
136
|
### Methods
|
|
135
137
|
|
|
136
|
-
|
|
138
|
+
- Long#**add**(addend: `LongLike`): `Long`<br />
|
|
137
139
|
Returns the sum of this and the specified Long.
|
|
138
140
|
|
|
139
|
-
|
|
141
|
+
- Long#**and**(other: `LongLike`): `Long`<br />
|
|
140
142
|
Returns the bitwise AND of this Long and the specified.
|
|
141
143
|
|
|
142
|
-
|
|
144
|
+
- Long#**compare**/**comp**(other: `LongLike`): `number`<br />
|
|
143
145
|
Compares this Long's value with the specified's. Returns `0` if they are the same, `1` if the this is greater and `-1` if the given one is greater.
|
|
144
146
|
|
|
145
|
-
|
|
147
|
+
- Long#**divide**/**div**(divisor: `LongLike`): `Long`<br />
|
|
146
148
|
Returns this Long divided by the specified.
|
|
147
149
|
|
|
148
|
-
|
|
150
|
+
- Long#**equals**/**eq**(other: `LongLike`): `boolean`<br />
|
|
149
151
|
Tests if this Long's value equals the specified's.
|
|
150
152
|
|
|
151
|
-
|
|
153
|
+
- Long#**getHighBits**(): `number`<br />
|
|
152
154
|
Gets the high 32 bits as a signed integer.
|
|
153
155
|
|
|
154
|
-
|
|
156
|
+
- Long#**getHighBitsUnsigned**(): `number`<br />
|
|
155
157
|
Gets the high 32 bits as an unsigned integer.
|
|
156
158
|
|
|
157
|
-
|
|
159
|
+
- Long#**getLowBits**(): `number`<br />
|
|
158
160
|
Gets the low 32 bits as a signed integer.
|
|
159
161
|
|
|
160
|
-
|
|
162
|
+
- Long#**getLowBitsUnsigned**(): `number`<br />
|
|
161
163
|
Gets the low 32 bits as an unsigned integer.
|
|
162
164
|
|
|
163
|
-
|
|
165
|
+
- Long#**getNumBitsAbs**(): `number`<br />
|
|
164
166
|
Gets the number of bits needed to represent the absolute value of this Long.
|
|
165
167
|
|
|
166
|
-
|
|
168
|
+
- Long#**greaterThan**/**gt**(other: `LongLike`): `boolean`<br />
|
|
167
169
|
Tests if this Long's value is greater than the specified's.
|
|
168
170
|
|
|
169
|
-
|
|
171
|
+
- Long#**greaterThanOrEqual**/**gte**/**ge**(other: `LongLike`): `boolean`<br />
|
|
170
172
|
Tests if this Long's value is greater than or equal the specified's.
|
|
171
173
|
|
|
172
|
-
|
|
174
|
+
- Long#**isEven**(): `boolean`<br />
|
|
173
175
|
Tests if this Long's value is even.
|
|
174
176
|
|
|
175
|
-
|
|
177
|
+
- Long#**isNegative**(): `boolean`<br />
|
|
176
178
|
Tests if this Long's value is negative.
|
|
177
179
|
|
|
178
|
-
|
|
180
|
+
- Long#**isOdd**(): `boolean`<br />
|
|
179
181
|
Tests if this Long's value is odd.
|
|
180
182
|
|
|
181
|
-
|
|
183
|
+
- Long#**isPositive**(): `boolean`<br />
|
|
182
184
|
Tests if this Long's value is positive or zero.
|
|
183
185
|
|
|
184
|
-
|
|
186
|
+
- Long#**isSafeInteger**(): `boolean`<br />
|
|
187
|
+
Tests if this Long can be safely represented as a JavaScript number.
|
|
188
|
+
|
|
189
|
+
- Long#**isZero**/**eqz**(): `boolean`<br />
|
|
185
190
|
Tests if this Long's value equals zero.
|
|
186
191
|
|
|
187
|
-
|
|
192
|
+
- Long#**lessThan**/**lt**(other: `LongLike`): `boolean`<br />
|
|
188
193
|
Tests if this Long's value is less than the specified's.
|
|
189
194
|
|
|
190
|
-
|
|
195
|
+
- Long#**lessThanOrEqual**/**lte**/**le**(other: `LongLike`): `boolean`<br />
|
|
191
196
|
Tests if this Long's value is less than or equal the specified's.
|
|
192
197
|
|
|
193
|
-
|
|
198
|
+
- Long#**modulo**/**mod**/**rem**(divisor: `LongLike`): `Long`<br />
|
|
194
199
|
Returns this Long modulo the specified.
|
|
195
200
|
|
|
196
|
-
|
|
201
|
+
- Long#**multiply**/**mul**(multiplier: `LongLike`): `Long`<br />
|
|
197
202
|
Returns the product of this and the specified Long.
|
|
198
203
|
|
|
199
|
-
|
|
204
|
+
- Long#**negate**/**neg**(): `Long`<br />
|
|
200
205
|
Negates this Long's value.
|
|
201
206
|
|
|
202
|
-
|
|
207
|
+
- Long#**not**(): `Long`<br />
|
|
203
208
|
Returns the bitwise NOT of this Long.
|
|
204
209
|
|
|
205
|
-
|
|
210
|
+
- Long#**countLeadingZeros**/**clz**(): `number`<br />
|
|
206
211
|
Returns count leading zeros of this Long.
|
|
207
212
|
|
|
208
|
-
|
|
213
|
+
- Long#**countTrailingZeros**/**ctz**(): `number`<br />
|
|
209
214
|
Returns count trailing zeros of this Long.
|
|
210
215
|
|
|
211
|
-
|
|
216
|
+
- Long#**notEquals**/**neq**/**ne**(other: `LongLike`): `boolean`<br />
|
|
212
217
|
Tests if this Long's value differs from the specified's.
|
|
213
218
|
|
|
214
|
-
|
|
219
|
+
- Long#**or**(other: `LongLike`): `Long`<br />
|
|
215
220
|
Returns the bitwise OR of this Long and the specified.
|
|
216
221
|
|
|
217
|
-
|
|
222
|
+
- Long#**shiftLeft**/**shl**(numBits: `Long | number`): `Long`<br />
|
|
218
223
|
Returns this Long with bits shifted to the left by the given amount.
|
|
219
224
|
|
|
220
|
-
|
|
225
|
+
- Long#**shiftRight**/**shr**(numBits: `Long | number`): `Long`<br />
|
|
221
226
|
Returns this Long with bits arithmetically shifted to the right by the given amount.
|
|
222
227
|
|
|
223
|
-
|
|
228
|
+
- Long#**shiftRightUnsigned**/**shru**/**shr_u**(numBits: `Long | number`): `Long`<br />
|
|
224
229
|
Returns this Long with bits logically shifted to the right by the given amount.
|
|
225
230
|
|
|
226
|
-
|
|
231
|
+
- Long#**rotateLeft**/**rotl**(numBits: `Long | number`): `Long`<br />
|
|
227
232
|
Returns this Long with bits rotated to the left by the given amount.
|
|
228
233
|
|
|
229
|
-
|
|
234
|
+
- Long#**rotateRight**/**rotr**(numBits: `Long | number`): `Long`<br />
|
|
230
235
|
Returns this Long with bits rotated to the right by the given amount.
|
|
231
236
|
|
|
232
|
-
|
|
237
|
+
- Long#**subtract**/**sub**(subtrahend: `LongLike`): `Long`<br />
|
|
233
238
|
Returns the difference of this and the specified Long.
|
|
234
239
|
|
|
235
|
-
|
|
240
|
+
- Long#**toBytes**(le?: `boolean`): `number[]`<br />
|
|
236
241
|
Converts this Long to its byte representation.
|
|
237
242
|
|
|
238
|
-
|
|
243
|
+
- Long#**toBytesLE**(): `number[]`<br />
|
|
239
244
|
Converts this Long to its little endian byte representation.
|
|
240
245
|
|
|
241
|
-
|
|
246
|
+
- Long#**toBytesBE**(): `number[]`<br />
|
|
242
247
|
Converts this Long to its big endian byte representation.
|
|
243
248
|
|
|
244
|
-
|
|
249
|
+
- Long#**toInt**(): `number`<br />
|
|
245
250
|
Converts the Long to a 32 bit integer, assuming it is a 32 bit integer.
|
|
246
251
|
|
|
247
|
-
|
|
252
|
+
- Long#**toNumber**(): `number`<br />
|
|
248
253
|
Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).
|
|
249
254
|
|
|
250
|
-
|
|
255
|
+
- Long#**toBigInt**(): `bigint`<br />
|
|
256
|
+
Converts the Long to its big integer representation.
|
|
257
|
+
|
|
258
|
+
- Long#**toSigned**(): `Long`<br />
|
|
251
259
|
Converts this Long to signed.
|
|
252
260
|
|
|
253
|
-
|
|
261
|
+
- Long#**toString**(radix?: `number`): `string`<br />
|
|
254
262
|
Converts the Long to a string written in the specified radix.
|
|
255
263
|
|
|
256
|
-
|
|
264
|
+
- Long#**toUnsigned**(): `Long`<br />
|
|
257
265
|
Converts this Long to unsigned.
|
|
258
266
|
|
|
259
|
-
|
|
267
|
+
- Long#**xor**(other: `Long | number | string`): `Long`<br />
|
|
260
268
|
Returns the bitwise XOR of this Long and the given one.
|
|
261
269
|
|
|
262
|
-
WebAssembly support
|
|
263
|
-
-------------------
|
|
270
|
+
## WebAssembly support
|
|
264
271
|
|
|
265
272
|
[WebAssembly](http://webassembly.org) supports 64-bit integer arithmetic out of the box, hence a [tiny WebAssembly module](./wasm.wat) is used to compute operations like multiplication, division and remainder more efficiently (slow operations like division are around twice as fast), falling back to floating point based computations in JavaScript where WebAssembly is not yet supported, e.g., in older versions of node.
|
|
266
273
|
|
|
267
|
-
Building
|
|
268
|
-
--------
|
|
274
|
+
## Building
|
|
269
275
|
|
|
270
276
|
Building the UMD fallback:
|
|
271
277
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import Long from
|
|
2
|
-
export default Long;
|
|
1
|
+
import { Long } from "./types.js";
|
|
2
|
+
export default Long;
|