node-red-contrib-tak-registration 0.13.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@turf/jsts/dist/jsts.min.js +1 -1
- package/node_modules/@turf/jsts/dist/jsts.min.js.map +1 -0
- package/node_modules/@turf/jsts/package.json +17 -17
- package/node_modules/@types/geojson/README.md +1 -1
- package/node_modules/@types/geojson/index.d.ts +4 -1
- package/node_modules/@types/geojson/package.json +4 -3
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/node_modules/@types/node/compatibility/indexable.d.ts +23 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/node_modules/@types/node/crypto.d.ts +33 -9
- package/node_modules/@types/node/events.d.ts +2 -2
- package/node_modules/@types/node/fs/promises.d.ts +16 -5
- package/node_modules/@types/node/fs.d.ts +14 -8
- package/node_modules/@types/node/globals.d.ts +17 -48
- package/node_modules/@types/node/http.d.ts +38 -1
- package/node_modules/@types/node/http2.d.ts +4 -1
- package/node_modules/@types/node/https.d.ts +0 -1
- package/node_modules/@types/node/index.d.ts +8 -10
- package/node_modules/@types/node/module.d.ts +102 -1
- package/node_modules/@types/node/package.json +5 -9
- package/node_modules/@types/node/perf_hooks.d.ts +24 -0
- package/node_modules/@types/node/process.d.ts +61 -10
- package/node_modules/@types/node/readline/promises.d.ts +14 -2
- package/node_modules/@types/node/readline.d.ts +58 -9
- package/node_modules/@types/node/stream/promises.d.ts +8 -1
- package/node_modules/@types/node/stream/web.d.ts +5 -2
- package/node_modules/@types/node/stream.d.ts +2 -2
- package/node_modules/@types/node/test.d.ts +155 -5
- package/node_modules/@types/node/timers/promises.d.ts +1 -1
- package/node_modules/@types/node/tls.d.ts +6 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +8 -10
- package/node_modules/@types/node/url.d.ts +7 -4
- package/node_modules/@types/node/util.d.ts +80 -10
- package/node_modules/@types/node/v8.d.ts +1 -1
- package/node_modules/@types/node/vm.d.ts +81 -27
- package/node_modules/@types/node/worker_threads.d.ts +34 -1
- package/node_modules/axios/CHANGELOG.md +49 -0
- package/node_modules/axios/README.md +20 -8
- package/node_modules/axios/dist/axios.js +34 -63
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +40 -71
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +40 -71
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +45 -75
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +5 -1
- package/node_modules/axios/index.d.ts +8 -1
- package/node_modules/axios/lib/adapters/http.js +4 -4
- package/node_modules/axios/lib/core/Axios.js +7 -2
- package/node_modules/axios/lib/core/mergeConfig.js +5 -5
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +7 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +12 -65
- package/node_modules/axios/lib/helpers/validator.js +8 -0
- package/node_modules/axios/package.json +3 -3
- package/node_modules/fast-xml-parser/CHANGELOG.md +4 -0
- package/node_modules/fast-xml-parser/README.md +3 -2
- package/node_modules/fast-xml-parser/package.json +1 -1
- package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +21 -17
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +1 -0
- package/node_modules/point-in-polygon-hao/README.md +8 -7
- package/node_modules/point-in-polygon-hao/dist/cjs/index.cjs +322 -0
- package/node_modules/point-in-polygon-hao/dist/esm/index.d.ts +10 -0
- package/node_modules/point-in-polygon-hao/dist/esm/index.js +56 -0
- package/node_modules/point-in-polygon-hao/dist/pointInPolygon.js +286 -42
- package/node_modules/point-in-polygon-hao/dist/pointInPolygon.min.js +1 -1
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/LICENSE +24 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/README.md +82 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/incircle.js +765 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/insphere.js +766 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient2d.js +184 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient3d.js +462 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/util.js +138 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.d.ts +49 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.js +5 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/package.json +75 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.js +908 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.min.js +1 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.js +914 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.min.js +1 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.js +280 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.min.js +1 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.js +601 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.min.js +1 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.js +2328 -0
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.min.js +1 -0
- package/node_modules/point-in-polygon-hao/package.json +24 -20
- package/node_modules/tslib/modules/index.d.ts +1 -0
- package/node_modules/tslib/modules/index.js +2 -0
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +7 -0
- package/node_modules/tslib/tslib.es6.js +24 -1
- package/node_modules/tslib/tslib.es6.mjs +24 -1
- package/node_modules/tslib/tslib.js +56 -1
- package/node_modules/undici-types/eventsource.d.ts +0 -2
- package/node_modules/undici-types/filereader.d.ts +1 -1
- package/node_modules/undici-types/interceptors.d.ts +3 -1
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/patch.d.ts +0 -38
- package/node_modules/undici-types/websocket.d.ts +0 -2
- package/node_modules/uuid/CHANGELOG.md +45 -2
- package/node_modules/uuid/README.md +71 -158
- package/node_modules/uuid/dist/cjs/index.d.ts +15 -0
- package/node_modules/uuid/dist/cjs/index.js +31 -0
- package/node_modules/uuid/dist/cjs/max.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/max.js +3 -0
- package/node_modules/uuid/dist/cjs/md5.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/md5.js +13 -0
- package/node_modules/uuid/dist/cjs/native.d.ts +5 -0
- package/node_modules/uuid/dist/cjs/native.js +4 -0
- package/node_modules/uuid/dist/cjs/nil.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/nil.js +3 -0
- package/node_modules/uuid/dist/cjs/package.json +1 -0
- package/node_modules/uuid/dist/cjs/parse.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/parse.js +11 -0
- package/node_modules/uuid/dist/cjs/regex.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/regex.js +3 -0
- package/node_modules/uuid/dist/cjs/rng.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/rng.js +13 -0
- package/node_modules/uuid/dist/cjs/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/sha1.js +13 -0
- package/node_modules/uuid/dist/cjs/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/cjs/stringify.js +38 -0
- package/node_modules/uuid/dist/cjs/test/parse.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/parse.test.js +50 -0
- package/node_modules/uuid/dist/cjs/test/rng.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/rng.test.js +14 -0
- package/node_modules/uuid/dist/cjs/test/stringify.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/stringify.test.js +23 -0
- package/node_modules/uuid/dist/cjs/test/test_constants.d.ts +33 -0
- package/node_modules/uuid/dist/cjs/test/test_constants.js +91 -0
- package/node_modules/uuid/dist/cjs/test/v1.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/v1.test.js +127 -0
- package/node_modules/uuid/dist/cjs/test/v35.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/v35.test.js +143 -0
- package/node_modules/uuid/dist/cjs/test/v4.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/v4.test.js +60 -0
- package/node_modules/uuid/dist/cjs/test/v6.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/v6.test.js +56 -0
- package/node_modules/uuid/dist/cjs/test/v7.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/v7.test.js +194 -0
- package/node_modules/uuid/dist/cjs/test/validate.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/validate.test.js +13 -0
- package/node_modules/uuid/dist/cjs/test/version.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/test/version.test.js +20 -0
- package/node_modules/uuid/dist/cjs/types.d.ts +21 -0
- package/node_modules/uuid/dist/cjs/types.js +2 -0
- package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/cjs/uuid-bin.js +72 -0
- package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
- package/node_modules/uuid/dist/cjs/v1.js +78 -0
- package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/v1ToV6.js +13 -0
- package/node_modules/uuid/dist/cjs/v3.d.ts +9 -0
- package/node_modules/uuid/dist/cjs/v3.js +14 -0
- package/node_modules/uuid/dist/cjs/v35.d.ts +7 -0
- package/node_modules/uuid/dist/cjs/v35.js +41 -0
- package/node_modules/uuid/dist/cjs/v4.d.ts +4 -0
- package/node_modules/uuid/dist/cjs/v4.js +23 -0
- package/node_modules/uuid/dist/cjs/v5.d.ts +9 -0
- package/node_modules/uuid/dist/cjs/v5.js +14 -0
- package/node_modules/uuid/dist/cjs/v6.d.ts +4 -0
- package/node_modules/uuid/dist/cjs/v6.js +19 -0
- package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/v6ToV1.js +13 -0
- package/node_modules/uuid/dist/cjs/v7.d.ts +9 -0
- package/node_modules/uuid/dist/cjs/v7.js +60 -0
- package/node_modules/uuid/dist/cjs/validate.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/validate.js +7 -0
- package/node_modules/uuid/dist/cjs/version.d.ts +2 -0
- package/node_modules/uuid/dist/cjs/version.js +10 -0
- package/node_modules/uuid/dist/cjs-browser/index.d.ts +15 -0
- package/node_modules/uuid/dist/cjs-browser/index.js +31 -0
- package/node_modules/uuid/dist/cjs-browser/max.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/md5.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
- package/node_modules/uuid/dist/cjs-browser/native.d.ts +4 -0
- package/node_modules/uuid/dist/cjs-browser/native.js +4 -0
- package/node_modules/uuid/dist/cjs-browser/nil.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/nil.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/package.json +1 -0
- package/node_modules/uuid/dist/cjs-browser/parse.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/parse.js +11 -0
- package/node_modules/uuid/dist/cjs-browser/regex.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/rng.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
- package/node_modules/uuid/dist/cjs-browser/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/cjs-browser/stringify.js +38 -0
- package/node_modules/uuid/dist/cjs-browser/test/parse.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/parse.test.js +50 -0
- package/node_modules/uuid/dist/cjs-browser/test/rng.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/rng.test.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/test/stringify.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/stringify.test.js +23 -0
- package/node_modules/uuid/dist/cjs-browser/test/test_constants.d.ts +33 -0
- package/node_modules/uuid/dist/cjs-browser/test/test_constants.js +91 -0
- package/node_modules/uuid/dist/cjs-browser/test/v1.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/v1.test.js +127 -0
- package/node_modules/uuid/dist/cjs-browser/test/v35.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/v35.test.js +143 -0
- package/node_modules/uuid/dist/cjs-browser/test/v4.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/v4.test.js +60 -0
- package/node_modules/uuid/dist/cjs-browser/test/v6.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/v6.test.js +56 -0
- package/node_modules/uuid/dist/cjs-browser/test/v7.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/v7.test.js +194 -0
- package/node_modules/uuid/dist/cjs-browser/test/validate.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/validate.test.js +13 -0
- package/node_modules/uuid/dist/cjs-browser/test/version.test.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/test/version.test.js +20 -0
- package/node_modules/uuid/dist/cjs-browser/types.d.ts +21 -0
- package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
- package/node_modules/uuid/dist/cjs-browser/v1.d.ts +11 -0
- package/node_modules/uuid/dist/cjs-browser/v1.js +78 -0
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
- package/node_modules/uuid/dist/cjs-browser/v3.d.ts +9 -0
- package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/v35.d.ts +7 -0
- package/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
- package/node_modules/uuid/dist/cjs-browser/v4.d.ts +4 -0
- package/node_modules/uuid/dist/cjs-browser/v4.js +23 -0
- package/node_modules/uuid/dist/cjs-browser/v5.d.ts +9 -0
- package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/v6.d.ts +4 -0
- package/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
- package/node_modules/uuid/dist/cjs-browser/v7.d.ts +9 -0
- package/node_modules/uuid/dist/cjs-browser/v7.js +60 -0
- package/node_modules/uuid/dist/cjs-browser/validate.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
- package/node_modules/uuid/dist/cjs-browser/version.d.ts +2 -0
- package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
- package/node_modules/uuid/dist/esm/bin/uuid +2 -0
- package/node_modules/uuid/dist/esm/index.d.ts +15 -0
- package/node_modules/uuid/dist/{esm-node → esm}/index.js +1 -1
- package/node_modules/uuid/dist/esm/max.d.ts +2 -0
- package/node_modules/uuid/dist/esm/max.js +1 -0
- package/node_modules/uuid/dist/esm/md5.d.ts +2 -0
- package/node_modules/uuid/dist/esm/md5.js +11 -0
- package/node_modules/uuid/dist/esm/native.d.ts +5 -0
- package/node_modules/uuid/dist/esm/native.js +2 -0
- package/node_modules/uuid/dist/esm/nil.d.ts +2 -0
- package/node_modules/uuid/dist/esm/nil.js +1 -0
- package/node_modules/uuid/dist/esm/parse.d.ts +2 -0
- package/node_modules/uuid/dist/esm/parse.js +9 -0
- package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
- package/node_modules/uuid/dist/{esm-node → esm}/regex.js +1 -1
- package/node_modules/uuid/dist/esm/rng.d.ts +1 -0
- package/node_modules/uuid/dist/esm/rng.js +10 -0
- package/node_modules/uuid/dist/esm/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/esm/sha1.js +11 -0
- package/node_modules/uuid/dist/esm/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/esm/stringify.js +35 -0
- package/node_modules/uuid/dist/esm/test/parse.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/parse.test.js +48 -0
- package/node_modules/uuid/dist/esm/test/rng.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/rng.test.js +12 -0
- package/node_modules/uuid/dist/esm/test/stringify.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/stringify.test.js +21 -0
- package/node_modules/uuid/dist/esm/test/test_constants.d.ts +33 -0
- package/node_modules/uuid/dist/esm/test/test_constants.js +88 -0
- package/node_modules/uuid/dist/esm/test/v1.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/v1.test.js +125 -0
- package/node_modules/uuid/dist/esm/test/v35.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/v35.test.js +141 -0
- package/node_modules/uuid/dist/esm/test/v4.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/v4.test.js +58 -0
- package/node_modules/uuid/dist/esm/test/v6.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/v6.test.js +54 -0
- package/node_modules/uuid/dist/esm/test/v7.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/v7.test.js +192 -0
- package/node_modules/uuid/dist/esm/test/validate.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/validate.test.js +11 -0
- package/node_modules/uuid/dist/esm/test/version.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm/test/version.test.js +18 -0
- package/node_modules/uuid/dist/esm/types.d.ts +21 -0
- package/node_modules/uuid/dist/esm/types.js +1 -0
- package/node_modules/uuid/dist/esm/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/esm/uuid-bin.js +70 -0
- package/node_modules/uuid/dist/esm/v1.d.ts +11 -0
- package/node_modules/uuid/dist/esm/v1.js +75 -0
- package/node_modules/uuid/dist/esm/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/esm/v1ToV6.js +10 -0
- package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v3.js +9 -0
- package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
- package/node_modules/uuid/dist/esm/v35.js +36 -0
- package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
- package/node_modules/uuid/dist/esm/v4.js +21 -0
- package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v5.js +9 -0
- package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
- package/node_modules/uuid/dist/esm/v6.js +17 -0
- package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/esm/v6ToV1.js +10 -0
- package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v7.js +57 -0
- package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
- package/node_modules/uuid/dist/esm/validate.js +5 -0
- package/node_modules/uuid/dist/esm/version.d.ts +2 -0
- package/node_modules/uuid/dist/esm/version.js +8 -0
- package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
- package/node_modules/uuid/dist/esm-browser/index.js +1 -1
- package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/max.js +1 -1
- package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +113 -172
- package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/native.js +2 -4
- package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/nil.js +1 -1
- package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/parse.js +6 -34
- package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
- package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/rng.js +8 -14
- package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/sha1.js +62 -68
- package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/esm-browser/stringify.js +29 -25
- package/node_modules/uuid/dist/esm-browser/test/parse.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/parse.test.js +48 -0
- package/node_modules/uuid/dist/esm-browser/test/rng.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/rng.test.js +12 -0
- package/node_modules/uuid/dist/esm-browser/test/stringify.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/stringify.test.js +21 -0
- package/node_modules/uuid/dist/esm-browser/test/test_constants.d.ts +33 -0
- package/node_modules/uuid/dist/esm-browser/test/test_constants.js +88 -0
- package/node_modules/uuid/dist/esm-browser/test/v1.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/v1.test.js +125 -0
- package/node_modules/uuid/dist/esm-browser/test/v35.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/v35.test.js +141 -0
- package/node_modules/uuid/dist/esm-browser/test/v4.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/v4.test.js +58 -0
- package/node_modules/uuid/dist/esm-browser/test/v6.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/v6.test.js +54 -0
- package/node_modules/uuid/dist/esm-browser/test/v7.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/v7.test.js +192 -0
- package/node_modules/uuid/dist/esm-browser/test/validate.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/validate.test.js +11 -0
- package/node_modules/uuid/dist/esm-browser/test/version.test.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/test/version.test.js +18 -0
- package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -0
- package/node_modules/uuid/dist/esm-browser/types.js +1 -0
- package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/uuid-bin.js +70 -0
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +11 -0
- package/node_modules/uuid/dist/esm-browser/v1.js +67 -117
- package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/v1ToV6.js +6 -16
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v3.js +8 -3
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
- package/node_modules/uuid/dist/esm-browser/v35.js +28 -47
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/v4.js +15 -19
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v5.js +8 -3
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/v6.js +13 -32
- package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/v6ToV1.js +5 -15
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v7.js +50 -139
- package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/validate.js +2 -2
- package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/version.js +5 -5
- package/node_modules/uuid/package.json +58 -66
- package/package.json +4 -4
- package/tak-registration.js +1 -4
- package/node_modules/@types/node/globals.global.d.ts +0 -1
- package/node_modules/point-in-polygon-hao/.eslintrc +0 -10
- package/node_modules/point-in-polygon-hao/CHANGES.md +0 -8
- package/node_modules/point-in-polygon-hao/FUNDING.yml +0 -2
- package/node_modules/point-in-polygon-hao/dist/pointInPolygon.mjs +0 -76
- package/node_modules/point-in-polygon-hao/rollup.config.js +0 -19
- package/node_modules/point-in-polygon-hao/src/index.js +0 -74
- package/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/uuid/dist/commonjs-browser/index.js +0 -104
- package/node_modules/uuid/dist/commonjs-browser/max.js +0 -7
- package/node_modules/uuid/dist/commonjs-browser/md5.js +0 -200
- package/node_modules/uuid/dist/commonjs-browser/native.js +0 -10
- package/node_modules/uuid/dist/commonjs-browser/nil.js +0 -7
- package/node_modules/uuid/dist/commonjs-browser/parse.js +0 -44
- package/node_modules/uuid/dist/commonjs-browser/regex.js +0 -7
- package/node_modules/uuid/dist/commonjs-browser/rng.js +0 -23
- package/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -82
- package/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -38
- package/node_modules/uuid/dist/commonjs-browser/v1.js +0 -131
- package/node_modules/uuid/dist/commonjs-browser/v1ToV6.js +0 -26
- package/node_modules/uuid/dist/commonjs-browser/v3.js +0 -11
- package/node_modules/uuid/dist/commonjs-browser/v35.js +0 -63
- package/node_modules/uuid/dist/commonjs-browser/v4.js +0 -32
- package/node_modules/uuid/dist/commonjs-browser/v5.js +0 -11
- package/node_modules/uuid/dist/commonjs-browser/v6.js +0 -42
- package/node_modules/uuid/dist/commonjs-browser/v6ToV1.js +0 -26
- package/node_modules/uuid/dist/commonjs-browser/v7.js +0 -152
- package/node_modules/uuid/dist/commonjs-browser/validate.js +0 -12
- package/node_modules/uuid/dist/commonjs-browser/version.js +0 -15
- package/node_modules/uuid/dist/esm-node/max.js +0 -1
- package/node_modules/uuid/dist/esm-node/md5.js +0 -10
- package/node_modules/uuid/dist/esm-node/native.js +0 -4
- package/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/uuid/dist/esm-node/parse.js +0 -37
- package/node_modules/uuid/dist/esm-node/rng.js +0 -10
- package/node_modules/uuid/dist/esm-node/sha1.js +0 -10
- package/node_modules/uuid/dist/esm-node/stringify.js +0 -31
- package/node_modules/uuid/dist/esm-node/v1.js +0 -125
- package/node_modules/uuid/dist/esm-node/v1ToV6.js +0 -20
- package/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/uuid/dist/esm-node/v35.js +0 -55
- package/node_modules/uuid/dist/esm-node/v4.js +0 -25
- package/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/uuid/dist/esm-node/v6.js +0 -32
- package/node_modules/uuid/dist/esm-node/v6ToV1.js +0 -20
- package/node_modules/uuid/dist/esm-node/v7.js +0 -146
- package/node_modules/uuid/dist/esm-node/validate.js +0 -5
- package/node_modules/uuid/dist/esm-node/version.js +0 -8
- package/node_modules/uuid/dist/index.js +0 -104
- package/node_modules/uuid/dist/max.js +0 -7
- package/node_modules/uuid/dist/md5-browser.js +0 -200
- package/node_modules/uuid/dist/md5.js +0 -17
- package/node_modules/uuid/dist/native-browser.js +0 -10
- package/node_modules/uuid/dist/native.js +0 -11
- package/node_modules/uuid/dist/nil.js +0 -7
- package/node_modules/uuid/dist/parse.js +0 -44
- package/node_modules/uuid/dist/regex.js +0 -7
- package/node_modules/uuid/dist/rng-browser.js +0 -23
- package/node_modules/uuid/dist/rng.js +0 -17
- package/node_modules/uuid/dist/sha1-browser.js +0 -82
- package/node_modules/uuid/dist/sha1.js +0 -17
- package/node_modules/uuid/dist/stringify.js +0 -38
- package/node_modules/uuid/dist/uuid-bin.js +0 -75
- package/node_modules/uuid/dist/v1.js +0 -131
- package/node_modules/uuid/dist/v1ToV6.js +0 -26
- package/node_modules/uuid/dist/v3.js +0 -11
- package/node_modules/uuid/dist/v35.js +0 -63
- package/node_modules/uuid/dist/v4.js +0 -32
- package/node_modules/uuid/dist/v5.js +0 -11
- package/node_modules/uuid/dist/v6.js +0 -38
- package/node_modules/uuid/dist/v6ToV1.js +0 -26
- package/node_modules/uuid/dist/v7.js +0 -152
- package/node_modules/uuid/dist/validate.js +0 -12
- package/node_modules/uuid/dist/version.js +0 -15
- package/node_modules/uuid/wrapper.mjs +0 -15
- /package/node_modules/point-in-polygon-hao/{index.d.ts → dist/cjs/index.d.cts} +0 -0
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turf/jsts",
|
|
3
|
-
"description": "A
|
|
4
|
-
"version": "2.7.
|
|
3
|
+
"description": "A treeshaken subset of JSTS functions for use within",
|
|
4
|
+
"version": "2.7.2",
|
|
5
5
|
"main": "dist/jsts.min.js",
|
|
6
6
|
"files": [
|
|
7
|
-
"dist/
|
|
7
|
+
"dist/"
|
|
8
8
|
],
|
|
9
9
|
"author": "Björn Harrtell <bjorn@wololo.org>",
|
|
10
10
|
"contributors": [
|
|
11
11
|
"Denis Carriere <@DenisCarriere>",
|
|
12
|
-
"James Milner"
|
|
12
|
+
"James Milner",
|
|
13
|
+
"James Beard <james@smallsaucepan.com>"
|
|
13
14
|
],
|
|
14
15
|
"keywords": [
|
|
15
16
|
"Turf",
|
|
@@ -24,22 +25,21 @@
|
|
|
24
25
|
"dependencies": {
|
|
25
26
|
"jsts": "2.7.1"
|
|
26
27
|
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"@babel/preset-env": "7.15.6",
|
|
29
|
-
"@babel/core": "7.15.5",
|
|
30
|
-
"@rollup/plugin-babel": "5.3.0",
|
|
31
|
-
"@rollup/plugin-node-resolve": "*",
|
|
32
|
-
"rollup": "*",
|
|
33
|
-
"rollup-plugin-buble": "*",
|
|
34
|
-
"rollup-plugin-terser": "*",
|
|
35
|
-
"rollup-plugin-uglify": "*"
|
|
36
|
-
},
|
|
37
28
|
"repository": {
|
|
38
29
|
"type": "git",
|
|
39
|
-
"url": "git://github.com/
|
|
30
|
+
"url": "git://github.com/turfjs/turf-jsts.git"
|
|
40
31
|
},
|
|
41
32
|
"scripts": {
|
|
42
|
-
"build": "rollup -c rollup.config.
|
|
43
|
-
"test": "
|
|
33
|
+
"build": "rollup -c rollup.config.mjs",
|
|
34
|
+
"test": "node test/test.js | tap-nirvana"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@babel/preset-env": "^7.26.0",
|
|
38
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
39
|
+
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
40
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
41
|
+
"rollup": "^4.26.0",
|
|
42
|
+
"tap-nirvana": "^1.1.0",
|
|
43
|
+
"tape": "^5.9.0"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for geojson (https://geojson.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geojson.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 06 Dec 2024 13:37:42 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -60,7 +60,10 @@ export interface GeoJsonObject {
|
|
|
60
60
|
/**
|
|
61
61
|
* Union of GeoJSON objects.
|
|
62
62
|
*/
|
|
63
|
-
export type GeoJSON
|
|
63
|
+
export type GeoJSON<G extends Geometry | null = Geometry, P = GeoJsonProperties> =
|
|
64
|
+
| G
|
|
65
|
+
| Feature<G, P>
|
|
66
|
+
| FeatureCollection<G, P>;
|
|
64
67
|
|
|
65
68
|
/**
|
|
66
69
|
* Geometry object.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/geojson",
|
|
3
|
-
"version": "7946.0.
|
|
3
|
+
"version": "7946.0.15",
|
|
4
4
|
"description": "TypeScript definitions for geojson",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geojson",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
|
-
"
|
|
44
|
-
"
|
|
43
|
+
"peerDependencies": {},
|
|
44
|
+
"typesPublisherContentHash": "02df8352d5727746ff9d35d4abccf719e7584d4724aa89d4293d996bed5b0469",
|
|
45
|
+
"typeScriptVersion": "5.0"
|
|
45
46
|
}
|
|
@@ -8,8 +8,8 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 11 Dec 2024 09:35:14 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
15
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [
|
|
15
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), and [Dmitry Semigradsky](https://github.com/Semigradsky).
|
|
@@ -45,7 +45,7 @@ declare module "assert" {
|
|
|
45
45
|
/** The `operator` property on the error instance. */
|
|
46
46
|
operator?: string | undefined;
|
|
47
47
|
/** If provided, the generated stack trace omits frames before this function. */
|
|
48
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
48
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
49
49
|
stackStartFn?: Function | undefined;
|
|
50
50
|
});
|
|
51
51
|
}
|
|
@@ -226,7 +226,7 @@ declare module "assert" {
|
|
|
226
226
|
expected: unknown,
|
|
227
227
|
message?: string | Error,
|
|
228
228
|
operator?: string,
|
|
229
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
229
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
230
230
|
stackStartFn?: Function,
|
|
231
231
|
): never;
|
|
232
232
|
/**
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Polyfills for the explicit resource management types added in TypeScript 5.2.
|
|
2
|
+
// TODO: remove once this package no longer supports TS 5.1, and replace with a
|
|
3
|
+
// <reference> to TypeScript's disposable library in index.d.ts.
|
|
4
|
+
|
|
5
|
+
interface SymbolConstructor {
|
|
6
|
+
readonly dispose: unique symbol;
|
|
7
|
+
readonly asyncDispose: unique symbol;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface Disposable {
|
|
11
|
+
[Symbol.dispose](): void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
interface AsyncDisposable {
|
|
15
|
+
[Symbol.asyncDispose](): PromiseLike<void>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Declaration files in this directory contain types relating to TypeScript library features
|
|
2
|
+
// that are not included in all TypeScript versions supported by DefinitelyTyped, but
|
|
3
|
+
// which can be made backwards-compatible without needing `typesVersions`.
|
|
4
|
+
// If adding declarations to this directory, please specify which versions of TypeScript require them,
|
|
5
|
+
// so that they can be removed when no longer needed.
|
|
6
|
+
|
|
7
|
+
/// <reference path="disposable.d.ts" />
|
|
8
|
+
/// <reference path="indexable.d.ts" />
|
|
9
|
+
/// <reference path="iterators.d.ts" />
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Polyfill for ES2022's .at() method on string/array prototypes, added to TypeScript in 4.6.
|
|
2
|
+
// TODO: these methods are not used within @types/node, and should be removed at the next
|
|
3
|
+
// major @types/node version; users should include the es2022 TypeScript libraries
|
|
4
|
+
// if they need these features.
|
|
5
|
+
|
|
6
|
+
interface RelativeIndexable<T> {
|
|
7
|
+
at(index: number): T | undefined;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
interface String extends RelativeIndexable<string> {}
|
|
11
|
+
interface Array<T> extends RelativeIndexable<T> {}
|
|
12
|
+
interface ReadonlyArray<T> extends RelativeIndexable<T> {}
|
|
13
|
+
interface Int8Array extends RelativeIndexable<number> {}
|
|
14
|
+
interface Uint8Array extends RelativeIndexable<number> {}
|
|
15
|
+
interface Uint8ClampedArray extends RelativeIndexable<number> {}
|
|
16
|
+
interface Int16Array extends RelativeIndexable<number> {}
|
|
17
|
+
interface Uint16Array extends RelativeIndexable<number> {}
|
|
18
|
+
interface Int32Array extends RelativeIndexable<number> {}
|
|
19
|
+
interface Uint32Array extends RelativeIndexable<number> {}
|
|
20
|
+
interface Float32Array extends RelativeIndexable<number> {}
|
|
21
|
+
interface Float64Array extends RelativeIndexable<number> {}
|
|
22
|
+
interface BigInt64Array extends RelativeIndexable<bigint> {}
|
|
23
|
+
interface BigUint64Array extends RelativeIndexable<bigint> {}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Backwards-compatible iterator interfaces, augmented with iterator helper methods by lib.esnext.iterator in TypeScript 5.6.
|
|
2
|
+
// The IterableIterator interface does not contain these methods, which creates assignability issues in places where IteratorObjects
|
|
3
|
+
// are expected (eg. DOM-compatible APIs) if lib.esnext.iterator is loaded.
|
|
4
|
+
// Also ensures that iterators returned by the Node API, which inherit from Iterator.prototype, correctly expose the iterator helper methods
|
|
5
|
+
// if lib.esnext.iterator is loaded.
|
|
6
|
+
// TODO: remove once this package no longer supports TS 5.5, and replace NodeJS.BuiltinIteratorReturn with BuiltinIteratorReturn.
|
|
7
|
+
|
|
8
|
+
// Placeholders for TS <5.6
|
|
9
|
+
interface IteratorObject<T, TReturn, TNext> {}
|
|
10
|
+
interface AsyncIteratorObject<T, TReturn, TNext> {}
|
|
11
|
+
|
|
12
|
+
declare namespace NodeJS {
|
|
13
|
+
// Populate iterator methods for TS <5.6
|
|
14
|
+
interface Iterator<T, TReturn, TNext> extends globalThis.Iterator<T, TReturn, TNext> {}
|
|
15
|
+
interface AsyncIterator<T, TReturn, TNext> extends globalThis.AsyncIterator<T, TReturn, TNext> {}
|
|
16
|
+
|
|
17
|
+
// Polyfill for TS 5.6's instrinsic BuiltinIteratorReturn type, required for DOM-compatible iterators
|
|
18
|
+
type BuiltinIteratorReturn = ReturnType<any[][typeof Symbol.iterator]> extends
|
|
19
|
+
globalThis.Iterator<any, infer TReturn> ? TReturn
|
|
20
|
+
: any;
|
|
21
|
+
}
|
|
@@ -609,11 +609,6 @@ declare module "crypto" {
|
|
|
609
609
|
* @since v11.6.0
|
|
610
610
|
*/
|
|
611
611
|
asymmetricKeyType?: KeyType | undefined;
|
|
612
|
-
/**
|
|
613
|
-
* For asymmetric keys, this property represents the size of the embedded key in
|
|
614
|
-
* bytes. This property is `undefined` for symmetric keys.
|
|
615
|
-
*/
|
|
616
|
-
asymmetricKeySize?: number | undefined;
|
|
617
612
|
/**
|
|
618
613
|
* This property exists only on asymmetric keys. Depending on the type of the key,
|
|
619
614
|
* this object contains information about the key. None of the information obtained
|
|
@@ -667,6 +662,19 @@ declare module "crypto" {
|
|
|
667
662
|
* @since v11.6.0
|
|
668
663
|
*/
|
|
669
664
|
symmetricKeySize?: number | undefined;
|
|
665
|
+
/**
|
|
666
|
+
* Converts a `KeyObject` instance to a `CryptoKey`.
|
|
667
|
+
* @since 22.10.0
|
|
668
|
+
*/
|
|
669
|
+
toCryptoKey(
|
|
670
|
+
algorithm:
|
|
671
|
+
| webcrypto.AlgorithmIdentifier
|
|
672
|
+
| webcrypto.RsaHashedImportParams
|
|
673
|
+
| webcrypto.EcKeyImportParams
|
|
674
|
+
| webcrypto.HmacImportParams,
|
|
675
|
+
extractable: boolean,
|
|
676
|
+
keyUsages: readonly webcrypto.KeyUsage[],
|
|
677
|
+
): webcrypto.CryptoKey;
|
|
670
678
|
/**
|
|
671
679
|
* Depending on the type of this `KeyObject`, this property is either`'secret'` for secret (symmetric) keys, `'public'` for public (asymmetric) keys
|
|
672
680
|
* or `'private'` for private (asymmetric) keys.
|
|
@@ -2139,7 +2147,10 @@ declare module "crypto" {
|
|
|
2139
2147
|
* be passed instead of a public key.
|
|
2140
2148
|
* @since v0.11.14
|
|
2141
2149
|
*/
|
|
2142
|
-
function publicEncrypt(
|
|
2150
|
+
function publicEncrypt(
|
|
2151
|
+
key: RsaPublicKey | RsaPrivateKey | KeyLike,
|
|
2152
|
+
buffer: NodeJS.ArrayBufferView | string,
|
|
2153
|
+
): Buffer;
|
|
2143
2154
|
/**
|
|
2144
2155
|
* Decrypts `buffer` with `key`.`buffer` was previously encrypted using
|
|
2145
2156
|
* the corresponding private key, for example using {@link privateEncrypt}.
|
|
@@ -2151,7 +2162,10 @@ declare module "crypto" {
|
|
|
2151
2162
|
* be passed instead of a public key.
|
|
2152
2163
|
* @since v1.1.0
|
|
2153
2164
|
*/
|
|
2154
|
-
function publicDecrypt(
|
|
2165
|
+
function publicDecrypt(
|
|
2166
|
+
key: RsaPublicKey | RsaPrivateKey | KeyLike,
|
|
2167
|
+
buffer: NodeJS.ArrayBufferView | string,
|
|
2168
|
+
): Buffer;
|
|
2155
2169
|
/**
|
|
2156
2170
|
* Decrypts `buffer` with `privateKey`. `buffer` was previously encrypted using
|
|
2157
2171
|
* the corresponding public key, for example using {@link publicEncrypt}.
|
|
@@ -2160,7 +2174,7 @@ declare module "crypto" {
|
|
|
2160
2174
|
* object, the `padding` property can be passed. Otherwise, this function uses `RSA_PKCS1_OAEP_PADDING`.
|
|
2161
2175
|
* @since v0.11.14
|
|
2162
2176
|
*/
|
|
2163
|
-
function privateDecrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
|
|
2177
|
+
function privateDecrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView | string): Buffer;
|
|
2164
2178
|
/**
|
|
2165
2179
|
* Encrypts `buffer` with `privateKey`. The returned data can be decrypted using
|
|
2166
2180
|
* the corresponding public key, for example using {@link publicDecrypt}.
|
|
@@ -2169,7 +2183,7 @@ declare module "crypto" {
|
|
|
2169
2183
|
* object, the `padding` property can be passed. Otherwise, this function uses `RSA_PKCS1_PADDING`.
|
|
2170
2184
|
* @since v1.1.0
|
|
2171
2185
|
*/
|
|
2172
|
-
function privateEncrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer;
|
|
2186
|
+
function privateEncrypt(privateKey: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView | string): Buffer;
|
|
2173
2187
|
/**
|
|
2174
2188
|
* ```js
|
|
2175
2189
|
* const {
|
|
@@ -3648,11 +3662,21 @@ declare module "crypto" {
|
|
|
3648
3662
|
* @since v15.6.0
|
|
3649
3663
|
*/
|
|
3650
3664
|
readonly validFrom: string;
|
|
3665
|
+
/**
|
|
3666
|
+
* The date/time from which this certificate is valid, encapsulated in a `Date` object.
|
|
3667
|
+
* @since v22.10.0
|
|
3668
|
+
*/
|
|
3669
|
+
readonly validFromDate: Date;
|
|
3651
3670
|
/**
|
|
3652
3671
|
* The date/time until which this certificate is considered valid.
|
|
3653
3672
|
* @since v15.6.0
|
|
3654
3673
|
*/
|
|
3655
3674
|
readonly validTo: string;
|
|
3675
|
+
/**
|
|
3676
|
+
* The date/time until which this certificate is valid, encapsulated in a `Date` object.
|
|
3677
|
+
* @since v22.10.0
|
|
3678
|
+
*/
|
|
3679
|
+
readonly validToDate: Date;
|
|
3656
3680
|
constructor(buffer: BinaryLike);
|
|
3657
3681
|
/**
|
|
3658
3682
|
* Checks whether the certificate matches the given email address.
|
|
@@ -304,12 +304,12 @@ declare module "events" {
|
|
|
304
304
|
emitter: NodeJS.EventEmitter,
|
|
305
305
|
eventName: string | symbol,
|
|
306
306
|
options?: StaticEventEmitterIteratorOptions,
|
|
307
|
-
):
|
|
307
|
+
): NodeJS.AsyncIterator<any[]>;
|
|
308
308
|
static on(
|
|
309
309
|
emitter: EventTarget,
|
|
310
310
|
eventName: string,
|
|
311
311
|
options?: StaticEventEmitterIteratorOptions,
|
|
312
|
-
):
|
|
312
|
+
): NodeJS.AsyncIterator<any[]>;
|
|
313
313
|
/**
|
|
314
314
|
* A class method that returns the number of listeners for the given `eventName` registered on the given `emitter`.
|
|
315
315
|
*
|
|
@@ -71,7 +71,7 @@ declare module "fs/promises" {
|
|
|
71
71
|
length?: number | null;
|
|
72
72
|
position?: number | null;
|
|
73
73
|
}
|
|
74
|
-
interface CreateReadStreamOptions {
|
|
74
|
+
interface CreateReadStreamOptions extends Abortable {
|
|
75
75
|
encoding?: BufferEncoding | null | undefined;
|
|
76
76
|
autoClose?: boolean | undefined;
|
|
77
77
|
emitClose?: boolean | undefined;
|
|
@@ -238,6 +238,10 @@ declare module "fs/promises" {
|
|
|
238
238
|
length?: number | null,
|
|
239
239
|
position?: number | null,
|
|
240
240
|
): Promise<FileReadResult<T>>;
|
|
241
|
+
read<T extends NodeJS.ArrayBufferView = Buffer>(
|
|
242
|
+
buffer: T,
|
|
243
|
+
options?: FileReadOptions<T>,
|
|
244
|
+
): Promise<FileReadResult<T>>;
|
|
241
245
|
read<T extends NodeJS.ArrayBufferView = Buffer>(options?: FileReadOptions<T>): Promise<FileReadResult<T>>;
|
|
242
246
|
/**
|
|
243
247
|
* Returns a `ReadableStream` that may be used to read the files data.
|
|
@@ -429,6 +433,13 @@ declare module "fs/promises" {
|
|
|
429
433
|
bytesWritten: number;
|
|
430
434
|
buffer: TBuffer;
|
|
431
435
|
}>;
|
|
436
|
+
write<TBuffer extends Uint8Array>(
|
|
437
|
+
buffer: TBuffer,
|
|
438
|
+
options?: { offset?: number; length?: number; position?: number },
|
|
439
|
+
): Promise<{
|
|
440
|
+
bytesWritten: number;
|
|
441
|
+
buffer: TBuffer;
|
|
442
|
+
}>;
|
|
432
443
|
write(
|
|
433
444
|
data: string,
|
|
434
445
|
position?: number | null,
|
|
@@ -1245,19 +1256,19 @@ declare module "fs/promises" {
|
|
|
1245
1256
|
/**
|
|
1246
1257
|
* Retrieves the files matching the specified pattern.
|
|
1247
1258
|
*/
|
|
1248
|
-
function glob(pattern: string | string[]):
|
|
1259
|
+
function glob(pattern: string | string[]): NodeJS.AsyncIterator<string>;
|
|
1249
1260
|
function glob(
|
|
1250
1261
|
pattern: string | string[],
|
|
1251
1262
|
opt: GlobOptionsWithFileTypes,
|
|
1252
|
-
):
|
|
1263
|
+
): NodeJS.AsyncIterator<Dirent>;
|
|
1253
1264
|
function glob(
|
|
1254
1265
|
pattern: string | string[],
|
|
1255
1266
|
opt: GlobOptionsWithoutFileTypes,
|
|
1256
|
-
):
|
|
1267
|
+
): NodeJS.AsyncIterator<string>;
|
|
1257
1268
|
function glob(
|
|
1258
1269
|
pattern: string | string[],
|
|
1259
1270
|
opt: GlobOptions,
|
|
1260
|
-
):
|
|
1271
|
+
): NodeJS.AsyncIterator<Dirent | string>;
|
|
1261
1272
|
}
|
|
1262
1273
|
declare module "node:fs/promises" {
|
|
1263
1274
|
export * from "fs/promises";
|
|
@@ -284,7 +284,7 @@ declare module "fs" {
|
|
|
284
284
|
/**
|
|
285
285
|
* Asynchronously iterates over the directory via `readdir(3)` until all entries have been read.
|
|
286
286
|
*/
|
|
287
|
-
[Symbol.asyncIterator]():
|
|
287
|
+
[Symbol.asyncIterator](): NodeJS.AsyncIterator<Dirent>;
|
|
288
288
|
/**
|
|
289
289
|
* Asynchronously close the directory's underlying resource handle.
|
|
290
290
|
* Subsequent reads will result in errors.
|
|
@@ -4314,29 +4314,35 @@ declare module "fs" {
|
|
|
4314
4314
|
*/
|
|
4315
4315
|
export function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void;
|
|
4316
4316
|
|
|
4317
|
-
|
|
4317
|
+
interface GlobOptionsBase {
|
|
4318
4318
|
/**
|
|
4319
4319
|
* Current working directory.
|
|
4320
4320
|
* @default process.cwd()
|
|
4321
4321
|
*/
|
|
4322
4322
|
cwd?: string | undefined;
|
|
4323
|
-
/**
|
|
4324
|
-
* Function to filter out files/directories. Return true to exclude the item, false to include it.
|
|
4325
|
-
*/
|
|
4326
|
-
exclude?: ((fileName: string) => boolean) | undefined;
|
|
4327
4323
|
/**
|
|
4328
4324
|
* `true` if the glob should return paths as `Dirent`s, `false` otherwise.
|
|
4329
4325
|
* @default false
|
|
4330
4326
|
* @since v22.2.0
|
|
4331
4327
|
*/
|
|
4332
4328
|
withFileTypes?: boolean | undefined;
|
|
4329
|
+
/**
|
|
4330
|
+
* Function to filter out files/directories. Return true to exclude the item, false to include it.
|
|
4331
|
+
*/
|
|
4332
|
+
exclude?: ((fileName: any) => boolean) | undefined;
|
|
4333
4333
|
}
|
|
4334
|
-
export interface GlobOptionsWithFileTypes extends
|
|
4334
|
+
export interface GlobOptionsWithFileTypes extends GlobOptionsBase {
|
|
4335
|
+
exclude?: ((fileName: Dirent) => boolean) | undefined;
|
|
4335
4336
|
withFileTypes: true;
|
|
4336
4337
|
}
|
|
4337
|
-
export interface GlobOptionsWithoutFileTypes extends
|
|
4338
|
+
export interface GlobOptionsWithoutFileTypes extends GlobOptionsBase {
|
|
4339
|
+
exclude?: ((fileName: string) => boolean) | undefined;
|
|
4338
4340
|
withFileTypes?: false | undefined;
|
|
4339
4341
|
}
|
|
4342
|
+
export interface GlobOptions extends GlobOptionsBase {
|
|
4343
|
+
exclude?: ((fileName: Dirent | string) => boolean) | undefined;
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4340
4346
|
/**
|
|
4341
4347
|
* Retrieves the files matching the specified pattern.
|
|
4342
4348
|
*/
|
|
@@ -156,6 +156,8 @@ declare global {
|
|
|
156
156
|
interface RequireResolve extends NodeJS.RequireResolve {}
|
|
157
157
|
interface NodeModule extends NodeJS.Module {}
|
|
158
158
|
|
|
159
|
+
var global: typeof globalThis;
|
|
160
|
+
|
|
159
161
|
var process: NodeJS.Process;
|
|
160
162
|
var console: Console;
|
|
161
163
|
|
|
@@ -265,53 +267,6 @@ declare global {
|
|
|
265
267
|
var sessionStorage: Storage;
|
|
266
268
|
// #endregion Storage
|
|
267
269
|
|
|
268
|
-
// #region Disposable
|
|
269
|
-
interface SymbolConstructor {
|
|
270
|
-
/**
|
|
271
|
-
* A method that is used to release resources held by an object. Called by the semantics of the `using` statement.
|
|
272
|
-
*/
|
|
273
|
-
readonly dispose: unique symbol;
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.
|
|
277
|
-
*/
|
|
278
|
-
readonly asyncDispose: unique symbol;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
interface Disposable {
|
|
282
|
-
[Symbol.dispose](): void;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
interface AsyncDisposable {
|
|
286
|
-
[Symbol.asyncDispose](): PromiseLike<void>;
|
|
287
|
-
}
|
|
288
|
-
// #endregion Disposable
|
|
289
|
-
|
|
290
|
-
// #region ArrayLike.at()
|
|
291
|
-
interface RelativeIndexable<T> {
|
|
292
|
-
/**
|
|
293
|
-
* Takes an integer value and returns the item at that index,
|
|
294
|
-
* allowing for positive and negative integers.
|
|
295
|
-
* Negative integers count back from the last item in the array.
|
|
296
|
-
*/
|
|
297
|
-
at(index: number): T | undefined;
|
|
298
|
-
}
|
|
299
|
-
interface String extends RelativeIndexable<string> {}
|
|
300
|
-
interface Array<T> extends RelativeIndexable<T> {}
|
|
301
|
-
interface ReadonlyArray<T> extends RelativeIndexable<T> {}
|
|
302
|
-
interface Int8Array extends RelativeIndexable<number> {}
|
|
303
|
-
interface Uint8Array extends RelativeIndexable<number> {}
|
|
304
|
-
interface Uint8ClampedArray extends RelativeIndexable<number> {}
|
|
305
|
-
interface Int16Array extends RelativeIndexable<number> {}
|
|
306
|
-
interface Uint16Array extends RelativeIndexable<number> {}
|
|
307
|
-
interface Int32Array extends RelativeIndexable<number> {}
|
|
308
|
-
interface Uint32Array extends RelativeIndexable<number> {}
|
|
309
|
-
interface Float32Array extends RelativeIndexable<number> {}
|
|
310
|
-
interface Float64Array extends RelativeIndexable<number> {}
|
|
311
|
-
interface BigInt64Array extends RelativeIndexable<bigint> {}
|
|
312
|
-
interface BigUint64Array extends RelativeIndexable<bigint> {}
|
|
313
|
-
// #endregion ArrayLike.at() end
|
|
314
|
-
|
|
315
270
|
/**
|
|
316
271
|
* @since v17.0.0
|
|
317
272
|
*
|
|
@@ -464,7 +419,7 @@ declare global {
|
|
|
464
419
|
unpipe(destination?: WritableStream): this;
|
|
465
420
|
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
|
|
466
421
|
wrap(oldStream: ReadableStream): this;
|
|
467
|
-
[Symbol.asyncIterator]():
|
|
422
|
+
[Symbol.asyncIterator](): NodeJS.AsyncIterator<string | Buffer>;
|
|
468
423
|
}
|
|
469
424
|
|
|
470
425
|
interface WritableStream extends EventEmitter {
|
|
@@ -533,6 +488,20 @@ declare global {
|
|
|
533
488
|
interface ReadOnlyDict<T> {
|
|
534
489
|
readonly [key: string]: T | undefined;
|
|
535
490
|
}
|
|
491
|
+
|
|
492
|
+
/** An iterable iterator returned by the Node.js API. */
|
|
493
|
+
// Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used IterableIterator.
|
|
494
|
+
// TODO: In next major @types/node version, change default TReturn to undefined.
|
|
495
|
+
interface Iterator<T, TReturn = any, TNext = any> extends IteratorObject<T, TReturn, TNext> {
|
|
496
|
+
[Symbol.iterator](): NodeJS.Iterator<T, TReturn, TNext>;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/** An async iterable iterator returned by the Node.js API. */
|
|
500
|
+
// Default TReturn/TNext in v22 is `any`, for compatibility with the previously-used AsyncIterableIterator.
|
|
501
|
+
// TODO: In next major @types/node version, change default TReturn to undefined.
|
|
502
|
+
interface AsyncIterator<T, TReturn = any, TNext = any> extends AsyncIteratorObject<T, TReturn, TNext> {
|
|
503
|
+
[Symbol.asyncIterator](): NodeJS.AsyncIterator<T, TReturn, TNext>;
|
|
504
|
+
}
|
|
536
505
|
}
|
|
537
506
|
|
|
538
507
|
interface RequestInit extends _RequestInit {}
|
|
@@ -141,6 +141,7 @@ declare module "http" {
|
|
|
141
141
|
"content-range"?: string | undefined;
|
|
142
142
|
"content-security-policy"?: string | undefined;
|
|
143
143
|
"content-security-policy-report-only"?: string | undefined;
|
|
144
|
+
"content-type"?: string | undefined;
|
|
144
145
|
cookie?: string | string[] | undefined;
|
|
145
146
|
dav?: string | string[] | undefined;
|
|
146
147
|
dnt?: string | undefined;
|
|
@@ -161,7 +162,7 @@ declare module "http" {
|
|
|
161
162
|
location?: string | undefined;
|
|
162
163
|
"max-forwards"?: string | undefined;
|
|
163
164
|
origin?: string | undefined;
|
|
164
|
-
|
|
165
|
+
pragma?: string | string[] | undefined;
|
|
165
166
|
"proxy-authenticate"?: string | string[] | undefined;
|
|
166
167
|
"proxy-authorization"?: string | undefined;
|
|
167
168
|
"public-key-pins"?: string | undefined;
|
|
@@ -588,6 +589,42 @@ declare module "http" {
|
|
|
588
589
|
* @param value Header value
|
|
589
590
|
*/
|
|
590
591
|
setHeader(name: string, value: number | string | readonly string[]): this;
|
|
592
|
+
/**
|
|
593
|
+
* Sets multiple header values for implicit headers. headers must be an instance of
|
|
594
|
+
* `Headers` or `Map`, if a header already exists in the to-be-sent headers, its
|
|
595
|
+
* value will be replaced.
|
|
596
|
+
*
|
|
597
|
+
* ```js
|
|
598
|
+
* const headers = new Headers({ foo: 'bar' });
|
|
599
|
+
* outgoingMessage.setHeaders(headers);
|
|
600
|
+
* ```
|
|
601
|
+
*
|
|
602
|
+
* or
|
|
603
|
+
*
|
|
604
|
+
* ```js
|
|
605
|
+
* const headers = new Map([['foo', 'bar']]);
|
|
606
|
+
* outgoingMessage.setHeaders(headers);
|
|
607
|
+
* ```
|
|
608
|
+
*
|
|
609
|
+
* When headers have been set with `outgoingMessage.setHeaders()`, they will be
|
|
610
|
+
* merged with any headers passed to `response.writeHead()`, with the headers passed
|
|
611
|
+
* to `response.writeHead()` given precedence.
|
|
612
|
+
*
|
|
613
|
+
* ```js
|
|
614
|
+
* // Returns content-type = text/plain
|
|
615
|
+
* const server = http.createServer((req, res) => {
|
|
616
|
+
* const headers = new Headers({ 'Content-Type': 'text/html' });
|
|
617
|
+
* res.setHeaders(headers);
|
|
618
|
+
* res.writeHead(200, { 'Content-Type': 'text/plain' });
|
|
619
|
+
* res.end('ok');
|
|
620
|
+
* });
|
|
621
|
+
* ```
|
|
622
|
+
*
|
|
623
|
+
* @since v19.6.0, v18.15.0
|
|
624
|
+
* @param name Header name
|
|
625
|
+
* @param value Header value
|
|
626
|
+
*/
|
|
627
|
+
setHeaders(headers: Headers | Map<string, number | string | readonly string[]>): this;
|
|
591
628
|
/**
|
|
592
629
|
* Append a single header value to the header object.
|
|
593
630
|
*
|
|
@@ -1269,7 +1269,10 @@ declare module "http2" {
|
|
|
1269
1269
|
Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
|
|
1270
1270
|
Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
|
|
1271
1271
|
Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
|
|
1272
|
-
> extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {
|
|
1272
|
+
> extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {
|
|
1273
|
+
streamResetBurst?: number | undefined;
|
|
1274
|
+
streamResetRate?: number | undefined;
|
|
1275
|
+
}
|
|
1273
1276
|
export interface SecureServerOptions<
|
|
1274
1277
|
Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
|
|
1275
1278
|
Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
|
|
@@ -21,7 +21,6 @@ declare module "https" {
|
|
|
21
21
|
servername?: string | undefined; // SNI TLS Extension
|
|
22
22
|
};
|
|
23
23
|
interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
|
|
24
|
-
rejectUnauthorized?: boolean | undefined;
|
|
25
24
|
maxCachedSessions?: number | undefined;
|
|
26
25
|
}
|
|
27
26
|
/**
|
|
@@ -22,22 +22,22 @@
|
|
|
22
22
|
* IN THE SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
// NOTE: These definitions support
|
|
25
|
+
// NOTE: These definitions support Node.js and TypeScript 5.7+.
|
|
26
26
|
|
|
27
|
-
// Reference required
|
|
27
|
+
// Reference required TypeScript libs:
|
|
28
28
|
/// <reference lib="es2020" />
|
|
29
|
-
/// <reference lib="esnext.asynciterable" />
|
|
30
|
-
/// <reference lib="esnext.intl" />
|
|
31
|
-
/// <reference lib="esnext.bigint" />
|
|
32
29
|
|
|
33
|
-
//
|
|
30
|
+
// TypeScript backwards-compatibility definitions:
|
|
31
|
+
/// <reference path="compatibility/index.d.ts" />
|
|
32
|
+
|
|
33
|
+
// Definitions specific to TypeScript 5.7+:
|
|
34
34
|
/// <reference path="globals.typedarray.d.ts" />
|
|
35
35
|
/// <reference path="buffer.buffer.d.ts" />
|
|
36
36
|
|
|
37
|
-
//
|
|
37
|
+
// Definitions for Node.js modules that are not specific to any version of TypeScript:
|
|
38
|
+
/// <reference path="globals.d.ts" />
|
|
38
39
|
/// <reference path="assert.d.ts" />
|
|
39
40
|
/// <reference path="assert/strict.d.ts" />
|
|
40
|
-
/// <reference path="globals.d.ts" />
|
|
41
41
|
/// <reference path="async_hooks.d.ts" />
|
|
42
42
|
/// <reference path="buffer.d.ts" />
|
|
43
43
|
/// <reference path="child_process.d.ts" />
|
|
@@ -90,5 +90,3 @@
|
|
|
90
90
|
/// <reference path="wasi.d.ts" />
|
|
91
91
|
/// <reference path="worker_threads.d.ts" />
|
|
92
92
|
/// <reference path="zlib.d.ts" />
|
|
93
|
-
|
|
94
|
-
/// <reference path="globals.global.d.ts" />
|