node-red-contrib-tak-registration 0.16.3 β 0.16.5
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/centroid/package.json +6 -7
- package/node_modules/@turf/helpers/dist/cjs/index.cjs.map +1 -1
- package/node_modules/@turf/helpers/dist/cjs/index.d.cts +5 -3
- package/node_modules/@turf/helpers/dist/esm/index.d.ts +5 -3
- package/node_modules/@turf/helpers/dist/esm/index.js.map +1 -1
- package/node_modules/@turf/helpers/package.json +3 -4
- package/node_modules/@turf/meta/dist/cjs/index.cjs +188 -95
- package/node_modules/@turf/meta/dist/cjs/index.cjs.map +1 -1
- package/node_modules/@turf/meta/dist/cjs/index.d.cts +607 -251
- package/node_modules/@turf/meta/dist/esm/index.d.ts +607 -251
- package/node_modules/@turf/meta/dist/esm/index.js +188 -95
- package/node_modules/@turf/meta/dist/esm/index.js.map +1 -1
- package/node_modules/@turf/meta/package.json +10 -8
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/assert/strict.d.ts +5 -11
- package/node_modules/@types/node/assert.d.ts +9 -169
- package/node_modules/@types/node/async_hooks.d.ts +8 -8
- package/node_modules/@types/node/buffer.buffer.d.ts +1 -7
- package/node_modules/@types/node/buffer.d.ts +44 -168
- package/node_modules/@types/node/child_process.d.ts +16 -64
- package/node_modules/@types/node/cluster.d.ts +240 -332
- package/node_modules/@types/node/console.d.ts +49 -351
- package/node_modules/@types/node/constants.d.ts +3 -4
- package/node_modules/@types/node/crypto.d.ts +279 -1631
- package/node_modules/@types/node/dgram.d.ts +15 -51
- package/node_modules/@types/node/diagnostics_channel.d.ts +4 -4
- package/node_modules/@types/node/dns/promises.d.ts +3 -3
- package/node_modules/@types/node/dns.d.ts +131 -132
- package/node_modules/@types/node/domain.d.ts +13 -17
- package/node_modules/@types/node/events.d.ts +869 -791
- package/node_modules/@types/node/fs/promises.d.ts +21 -9
- package/node_modules/@types/node/fs.d.ts +419 -457
- package/node_modules/@types/node/globals.d.ts +6 -26
- package/node_modules/@types/node/globals.typedarray.d.ts +60 -0
- package/node_modules/@types/node/http.d.ts +263 -254
- package/node_modules/@types/node/http2.d.ts +528 -804
- package/node_modules/@types/node/https.d.ts +59 -239
- package/node_modules/@types/node/index.d.ts +15 -1
- package/node_modules/@types/node/inspector/promises.d.ts +41 -0
- package/node_modules/@types/node/inspector.d.ts +6 -59
- package/node_modules/@types/node/inspector.generated.d.ts +3 -10
- package/node_modules/@types/node/module.d.ts +47 -122
- package/node_modules/@types/node/net.d.ts +63 -184
- package/node_modules/@types/node/os.d.ts +6 -6
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@types/node/path.d.ts +120 -133
- package/node_modules/@types/node/perf_hooks.d.ts +282 -643
- package/node_modules/@types/node/process.d.ts +218 -126
- package/node_modules/@types/node/punycode.d.ts +5 -5
- package/node_modules/@types/node/querystring.d.ts +4 -4
- package/node_modules/@types/node/quic.d.ts +910 -0
- package/node_modules/@types/node/readline/promises.d.ts +3 -3
- package/node_modules/@types/node/readline.d.ts +67 -120
- package/node_modules/@types/node/repl.d.ts +75 -98
- package/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/node/sqlite.d.ts +2 -2
- package/node_modules/@types/node/stream/consumers.d.ts +10 -10
- package/node_modules/@types/node/stream/promises.d.ts +136 -15
- package/node_modules/@types/node/stream/web.d.ts +176 -453
- package/node_modules/@types/node/stream.d.ts +555 -478
- package/node_modules/@types/node/string_decoder.d.ts +4 -4
- package/node_modules/@types/node/test/reporters.d.ts +96 -0
- package/node_modules/@types/node/test.d.ts +80 -180
- package/node_modules/@types/node/timers/promises.d.ts +4 -4
- package/node_modules/@types/node/timers.d.ts +4 -130
- package/node_modules/@types/node/tls.d.ts +106 -177
- package/node_modules/@types/node/trace_events.d.ts +9 -9
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +1 -7
- package/node_modules/@types/node/ts5.6/index.d.ts +15 -1
- package/node_modules/@types/node/ts5.7/index.d.ts +15 -1
- package/node_modules/@types/node/tty.d.ts +58 -16
- package/node_modules/@types/node/url.d.ts +54 -592
- package/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@types/node/util.d.ts +120 -792
- package/node_modules/@types/node/v8.d.ts +32 -5
- package/node_modules/@types/node/vm.d.ts +13 -13
- package/node_modules/@types/node/wasi.d.ts +4 -4
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
- package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@types/node/web-globals/crypto.d.ts +7 -0
- package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@types/node/web-globals/events.d.ts +9 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +4 -0
- package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +93 -0
- package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@types/node/worker_threads.d.ts +179 -358
- package/node_modules/@types/node/zlib.d.ts +8 -71
- package/node_modules/axios/CHANGELOG.md +296 -239
- package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
- package/node_modules/axios/README.md +580 -446
- package/node_modules/axios/dist/axios.js +246 -148
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +145 -166
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +145 -166
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +180 -198
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +21 -3
- package/node_modules/axios/index.d.ts +340 -116
- package/node_modules/axios/lib/adapters/README.md +1 -1
- package/node_modules/axios/lib/adapters/http.js +13 -10
- package/node_modules/axios/lib/adapters/xhr.js +2 -2
- package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
- package/node_modules/axios/lib/core/Axios.js +1 -1
- package/node_modules/axios/lib/core/AxiosError.js +65 -102
- package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
- package/node_modules/axios/lib/core/mergeConfig.js +2 -3
- package/node_modules/axios/lib/core/transformData.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +7 -10
- package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
- package/node_modules/axios/lib/helpers/cookies.js +1 -1
- package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
- package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
- package/node_modules/axios/lib/helpers/spread.js +1 -1
- package/node_modules/axios/lib/utils.js +24 -7
- package/node_modules/axios/package.json +26 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +3 -0
- package/node_modules/fast-xml-parser/README.md +5 -4
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/fast-xml-parser/package.json +4 -2
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +19 -8
- package/node_modules/protobufjs/dist/light/protobuf.js +8 -5
- 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 +53 -6
- 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/package.json +1 -1
- package/node_modules/protobufjs/src/object.js +6 -3
- package/node_modules/protobufjs/src/parse.js +45 -1
- package/node_modules/strnum/README.md +6 -0
- package/node_modules/strnum/package.json +1 -1
- package/node_modules/strnum/strnum.js +1 -1
- package/node_modules/uuid/README.md +19 -8
- 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 +4 -0
- package/node_modules/uuid/dist/cjs/md5.js +13 -0
- package/node_modules/uuid/dist/cjs/native.d.ts +6 -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 +4 -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 +39 -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.js +72 -0
- package/node_modules/uuid/dist/cjs/v1.d.ts +11 -0
- package/node_modules/uuid/dist/cjs/v1.js +87 -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 +29 -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 +69 -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.js +31 -0
- package/node_modules/uuid/dist/cjs-browser/max.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/md5.js +137 -0
- package/node_modules/uuid/dist/cjs-browser/native.js +4 -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.js +11 -0
- package/node_modules/uuid/dist/cjs-browser/regex.js +3 -0
- package/node_modules/uuid/dist/cjs-browser/rng.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/sha1.js +72 -0
- package/node_modules/uuid/dist/cjs-browser/stringify.js +39 -0
- package/node_modules/uuid/dist/cjs-browser/types.js +2 -0
- package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +72 -0
- package/node_modules/uuid/dist/cjs-browser/v1.js +87 -0
- package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +13 -0
- package/node_modules/uuid/dist/cjs-browser/v3.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/v35.js +41 -0
- package/node_modules/uuid/dist/cjs-browser/v4.js +29 -0
- package/node_modules/uuid/dist/cjs-browser/v5.js +14 -0
- package/node_modules/uuid/dist/cjs-browser/v6.js +19 -0
- package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +13 -0
- package/node_modules/uuid/dist/cjs-browser/v7.js +69 -0
- package/node_modules/uuid/dist/cjs-browser/validate.js +7 -0
- package/node_modules/uuid/dist/cjs-browser/version.js +10 -0
- package/node_modules/uuid/dist/esm/index.d.ts +15 -0
- package/node_modules/uuid/dist/esm/max.d.ts +2 -0
- package/node_modules/uuid/dist/esm/md5.d.ts +4 -0
- package/node_modules/uuid/dist/esm/md5.js +11 -0
- package/node_modules/uuid/dist/esm/native.d.ts +6 -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/parse.d.ts +2 -0
- package/node_modules/uuid/dist/esm/regex.d.ts +2 -0
- 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 +4 -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/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/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/esm/v3.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v35.d.ts +7 -0
- package/node_modules/uuid/dist/esm/v4.d.ts +4 -0
- package/node_modules/uuid/dist/esm/v4.js +27 -0
- package/node_modules/uuid/dist/esm/v5.d.ts +9 -0
- package/node_modules/uuid/dist/esm/v6.d.ts +4 -0
- package/node_modules/uuid/dist/esm/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/esm/v7.d.ts +9 -0
- package/node_modules/uuid/dist/esm/validate.d.ts +2 -0
- package/node_modules/uuid/dist/esm/version.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/index.d.ts +15 -0
- package/node_modules/uuid/dist/esm-browser/max.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/md5.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/native.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/nil.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/parse.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/regex.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/rng.d.ts +1 -0
- package/node_modules/uuid/dist/esm-browser/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/esm-browser/types.d.ts +21 -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/v1ToV6.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +7 -0
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/v4.js +27 -0
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +4 -0
- package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +9 -0
- package/node_modules/uuid/dist/esm-browser/validate.d.ts +2 -0
- package/node_modules/uuid/dist/esm-browser/version.d.ts +2 -0
- package/node_modules/uuid/package.json +41 -28
- package/package.json +12 -10
- package/tak-registration.js +7 -3
- package/node_modules/@turf/along/LICENSE +0 -20
- package/node_modules/@turf/along/README.md +0 -61
- package/node_modules/@turf/along/dist/cjs/index.cjs +0 -39
- package/node_modules/@turf/along/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/along/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/along/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/along/dist/esm/index.js +0 -39
- package/node_modules/@turf/along/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/along/package.json +0 -75
- package/node_modules/@turf/angle/LICENSE +0 -20
- package/node_modules/@turf/angle/README.md +0 -60
- package/node_modules/@turf/angle/dist/cjs/index.cjs +0 -41
- package/node_modules/@turf/angle/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/angle/dist/cjs/index.d.cts +0 -24
- package/node_modules/@turf/angle/dist/esm/index.d.ts +0 -24
- package/node_modules/@turf/angle/dist/esm/index.js +0 -41
- package/node_modules/@turf/angle/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/angle/package.json +0 -79
- package/node_modules/@turf/area/LICENSE +0 -20
- package/node_modules/@turf/area/README.md +0 -55
- package/node_modules/@turf/area/dist/cjs/index.cjs +0 -66
- package/node_modules/@turf/area/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/area/dist/cjs/index.d.cts +0 -20
- package/node_modules/@turf/area/dist/esm/index.d.ts +0 -20
- package/node_modules/@turf/area/dist/esm/index.js +0 -66
- package/node_modules/@turf/area/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/area/package.json +0 -72
- package/node_modules/@turf/bbox/LICENSE +0 -20
- package/node_modules/@turf/bbox/README.md +0 -56
- package/node_modules/@turf/bbox/dist/cjs/index.cjs +0 -29
- package/node_modules/@turf/bbox/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/bbox/dist/cjs/index.d.cts +0 -25
- package/node_modules/@turf/bbox/dist/esm/index.d.ts +0 -25
- package/node_modules/@turf/bbox/dist/esm/index.js +0 -29
- package/node_modules/@turf/bbox/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/bbox/package.json +0 -72
- package/node_modules/@turf/bbox-clip/LICENSE +0 -20
- package/node_modules/@turf/bbox-clip/README.md +0 -62
- package/node_modules/@turf/bbox-clip/dist/cjs/index.cjs +0 -133
- package/node_modules/@turf/bbox-clip/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/bbox-clip/dist/cjs/index.d.cts +0 -23
- package/node_modules/@turf/bbox-clip/dist/esm/index.d.ts +0 -23
- package/node_modules/@turf/bbox-clip/dist/esm/index.js +0 -133
- package/node_modules/@turf/bbox-clip/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/bbox-clip/package.json +0 -79
- package/node_modules/@turf/bbox-polygon/LICENSE +0 -20
- package/node_modules/@turf/bbox-polygon/README.md +0 -60
- package/node_modules/@turf/bbox-polygon/dist/cjs/index.cjs +0 -28
- package/node_modules/@turf/bbox-polygon/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/bbox-polygon/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/bbox-polygon/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/bbox-polygon/dist/esm/index.js +0 -28
- package/node_modules/@turf/bbox-polygon/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/bbox-polygon/package.json +0 -70
- package/node_modules/@turf/bearing/LICENSE +0 -20
- package/node_modules/@turf/bearing/README.md +0 -63
- package/node_modules/@turf/bearing/dist/cjs/index.cjs +0 -28
- package/node_modules/@turf/bearing/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/bearing/dist/cjs/index.d.cts +0 -29
- package/node_modules/@turf/bearing/dist/esm/index.d.ts +0 -29
- package/node_modules/@turf/bearing/dist/esm/index.js +0 -28
- package/node_modules/@turf/bearing/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/bearing/package.json +0 -70
- package/node_modules/@turf/bezier-spline/LICENSE +0 -20
- package/node_modules/@turf/bezier-spline/README.md +0 -73
- package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs +0 -165
- package/node_modules/@turf/bezier-spline/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/bezier-spline/dist/cjs/index.d.cts +0 -39
- package/node_modules/@turf/bezier-spline/dist/esm/index.d.ts +0 -39
- package/node_modules/@turf/bezier-spline/dist/esm/index.js +0 -165
- package/node_modules/@turf/bezier-spline/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/bezier-spline/package.json +0 -73
- package/node_modules/@turf/boolean-clockwise/LICENSE +0 -20
- package/node_modules/@turf/boolean-clockwise/README.md +0 -55
- package/node_modules/@turf/boolean-clockwise/dist/cjs/index.cjs +0 -22
- package/node_modules/@turf/boolean-clockwise/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-clockwise/dist/cjs/index.d.cts +0 -20
- package/node_modules/@turf/boolean-clockwise/dist/esm/index.d.ts +0 -20
- package/node_modules/@turf/boolean-clockwise/dist/esm/index.js +0 -22
- package/node_modules/@turf/boolean-clockwise/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-clockwise/package.json +0 -77
- package/node_modules/@turf/boolean-concave/LICENSE +0 -20
- package/node_modules/@turf/boolean-concave/README.md +0 -48
- package/node_modules/@turf/boolean-concave/dist/cjs/index.cjs +0 -29
- package/node_modules/@turf/boolean-concave/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-concave/dist/cjs/index.d.cts +0 -17
- package/node_modules/@turf/boolean-concave/dist/esm/index.d.ts +0 -17
- package/node_modules/@turf/boolean-concave/dist/esm/index.js +0 -29
- package/node_modules/@turf/boolean-concave/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-concave/package.json +0 -76
- package/node_modules/@turf/boolean-contains/LICENSE +0 -20
- package/node_modules/@turf/boolean-contains/README.md +0 -58
- package/node_modules/@turf/boolean-contains/dist/cjs/index.cjs +0 -216
- package/node_modules/@turf/boolean-contains/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-contains/dist/cjs/index.d.cts +0 -50
- package/node_modules/@turf/boolean-contains/dist/esm/index.d.ts +0 -50
- package/node_modules/@turf/boolean-contains/dist/esm/index.js +0 -216
- package/node_modules/@turf/boolean-contains/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-contains/package.json +0 -81
- package/node_modules/@turf/boolean-crosses/LICENSE +0 -20
- package/node_modules/@turf/boolean-crosses/README.md +0 -60
- package/node_modules/@turf/boolean-crosses/dist/cjs/index.cjs +0 -141
- package/node_modules/@turf/boolean-crosses/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-crosses/dist/cjs/index.d.cts +0 -24
- package/node_modules/@turf/boolean-crosses/dist/esm/index.d.ts +0 -24
- package/node_modules/@turf/boolean-crosses/dist/esm/index.js +0 -141
- package/node_modules/@turf/boolean-crosses/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-crosses/package.json +0 -80
- package/node_modules/@turf/boolean-disjoint/LICENSE +0 -20
- package/node_modules/@turf/boolean-disjoint/README.md +0 -60
- package/node_modules/@turf/boolean-disjoint/dist/cjs/index.cjs +0 -143
- package/node_modules/@turf/boolean-disjoint/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-disjoint/dist/cjs/index.d.cts +0 -23
- package/node_modules/@turf/boolean-disjoint/dist/esm/index.d.ts +0 -23
- package/node_modules/@turf/boolean-disjoint/dist/esm/index.js +0 -143
- package/node_modules/@turf/boolean-disjoint/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-disjoint/package.json +0 -79
- package/node_modules/@turf/boolean-equal/LICENSE +0 -20
- package/node_modules/@turf/boolean-equal/README.md +0 -68
- package/node_modules/@turf/boolean-equal/dist/cjs/index.cjs +0 -23
- package/node_modules/@turf/boolean-equal/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-equal/dist/cjs/index.d.cts +0 -27
- package/node_modules/@turf/boolean-equal/dist/esm/index.d.ts +0 -27
- package/node_modules/@turf/boolean-equal/dist/esm/index.js +0 -23
- package/node_modules/@turf/boolean-equal/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-equal/package.json +0 -82
- package/node_modules/@turf/boolean-intersects/LICENSE +0 -20
- package/node_modules/@turf/boolean-intersects/README.md +0 -64
- package/node_modules/@turf/boolean-intersects/dist/cjs/index.cjs +0 -25
- package/node_modules/@turf/boolean-intersects/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-intersects/dist/cjs/index.d.cts +0 -32
- package/node_modules/@turf/boolean-intersects/dist/esm/index.d.ts +0 -32
- package/node_modules/@turf/boolean-intersects/dist/esm/index.js +0 -25
- package/node_modules/@turf/boolean-intersects/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-intersects/package.json +0 -78
- package/node_modules/@turf/boolean-overlap/LICENSE +0 -20
- package/node_modules/@turf/boolean-overlap/README.md +0 -70
- package/node_modules/@turf/boolean-overlap/dist/cjs/index.cjs +0 -55
- package/node_modules/@turf/boolean-overlap/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-overlap/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/boolean-overlap/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/boolean-overlap/dist/esm/index.js +0 -55
- package/node_modules/@turf/boolean-overlap/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-overlap/package.json +0 -83
- package/node_modules/@turf/boolean-parallel/LICENSE +0 -20
- package/node_modules/@turf/boolean-parallel/README.md +0 -52
- package/node_modules/@turf/boolean-parallel/dist/cjs/index.cjs +0 -39
- package/node_modules/@turf/boolean-parallel/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-parallel/dist/cjs/index.d.cts +0 -19
- package/node_modules/@turf/boolean-parallel/dist/esm/index.d.ts +0 -19
- package/node_modules/@turf/boolean-parallel/dist/esm/index.js +0 -39
- package/node_modules/@turf/boolean-parallel/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-parallel/package.json +0 -77
- package/node_modules/@turf/boolean-point-in-polygon/LICENSE +0 -20
- package/node_modules/@turf/boolean-point-in-polygon/README.md +0 -69
- package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.cjs +0 -38
- package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-point-in-polygon/dist/cjs/index.d.cts +0 -32
- package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.d.ts +0 -32
- package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.js +0 -38
- package/node_modules/@turf/boolean-point-in-polygon/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-point-in-polygon/package.json +0 -73
- package/node_modules/@turf/boolean-point-on-line/LICENSE +0 -20
- package/node_modules/@turf/boolean-point-on-line/README.md +0 -60
- package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.cjs +0 -88
- package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-point-on-line/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/boolean-point-on-line/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/boolean-point-on-line/dist/esm/index.js +0 -88
- package/node_modules/@turf/boolean-point-on-line/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-point-on-line/package.json +0 -74
- package/node_modules/@turf/boolean-touches/LICENSE +0 -20
- package/node_modules/@turf/boolean-touches/README.md +0 -51
- package/node_modules/@turf/boolean-touches/dist/cjs/index.cjs +0 -647
- package/node_modules/@turf/boolean-touches/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-touches/dist/cjs/index.d.cts +0 -20
- package/node_modules/@turf/boolean-touches/dist/esm/index.d.ts +0 -20
- package/node_modules/@turf/boolean-touches/dist/esm/index.js +0 -647
- package/node_modules/@turf/boolean-touches/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-touches/package.json +0 -82
- package/node_modules/@turf/boolean-valid/LICENSE +0 -20
- package/node_modules/@turf/boolean-valid/README.md +0 -48
- package/node_modules/@turf/boolean-valid/dist/cjs/index.cjs +0 -93
- package/node_modules/@turf/boolean-valid/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-valid/dist/cjs/index.d.cts +0 -17
- package/node_modules/@turf/boolean-valid/dist/esm/index.d.ts +0 -17
- package/node_modules/@turf/boolean-valid/dist/esm/index.js +0 -93
- package/node_modules/@turf/boolean-valid/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-valid/package.json +0 -86
- package/node_modules/@turf/boolean-within/LICENSE +0 -20
- package/node_modules/@turf/boolean-within/README.md +0 -53
- package/node_modules/@turf/boolean-within/dist/cjs/index.cjs +0 -186
- package/node_modules/@turf/boolean-within/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/boolean-within/dist/cjs/index.d.cts +0 -22
- package/node_modules/@turf/boolean-within/dist/esm/index.d.ts +0 -22
- package/node_modules/@turf/boolean-within/dist/esm/index.js +0 -186
- package/node_modules/@turf/boolean-within/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/boolean-within/package.json +0 -83
- package/node_modules/@turf/buffer/LICENSE +0 -20
- package/node_modules/@turf/buffer/README.md +0 -72
- package/node_modules/@turf/buffer/dist/cjs/index.cjs +0 -99
- package/node_modules/@turf/buffer/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/buffer/dist/cjs/index.d.cts +0 -30
- package/node_modules/@turf/buffer/dist/esm/index.d.ts +0 -30
- package/node_modules/@turf/buffer/dist/esm/index.js +0 -99
- package/node_modules/@turf/buffer/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/buffer/package.json +0 -85
- package/node_modules/@turf/center/LICENSE +0 -20
- package/node_modules/@turf/center/README.md +0 -65
- package/node_modules/@turf/center/dist/cjs/index.cjs +0 -15
- package/node_modules/@turf/center/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/center/dist/cjs/index.d.cts +0 -34
- package/node_modules/@turf/center/dist/esm/index.d.ts +0 -34
- package/node_modules/@turf/center/dist/esm/index.js +0 -15
- package/node_modules/@turf/center/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/center/package.json +0 -78
- package/node_modules/@turf/center-mean/LICENSE +0 -20
- package/node_modules/@turf/center-mean/README.md +0 -69
- package/node_modules/@turf/center-mean/dist/cjs/index.cjs +0 -31
- package/node_modules/@turf/center-mean/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/center-mean/dist/cjs/index.d.cts +0 -38
- package/node_modules/@turf/center-mean/dist/esm/index.d.ts +0 -38
- package/node_modules/@turf/center-mean/dist/esm/index.js +0 -31
- package/node_modules/@turf/center-mean/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/center-mean/package.json +0 -83
- package/node_modules/@turf/center-median/LICENSE +0 -20
- package/node_modules/@turf/center-median/README.md +0 -97
- package/node_modules/@turf/center-median/dist/cjs/index.cjs +0 -80
- package/node_modules/@turf/center-median/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/center-median/dist/cjs/index.d.cts +0 -64
- package/node_modules/@turf/center-median/dist/esm/index.d.ts +0 -64
- package/node_modules/@turf/center-median/dist/esm/index.js +0 -80
- package/node_modules/@turf/center-median/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/center-median/package.json +0 -80
- package/node_modules/@turf/center-of-mass/LICENSE +0 -20
- package/node_modules/@turf/center-of-mass/README.md +0 -61
- package/node_modules/@turf/center-of-mass/dist/cjs/index.cjs +0 -58
- package/node_modules/@turf/center-of-mass/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/center-of-mass/dist/cjs/index.d.cts +0 -23
- package/node_modules/@turf/center-of-mass/dist/esm/index.d.ts +0 -23
- package/node_modules/@turf/center-of-mass/dist/esm/index.js +0 -58
- package/node_modules/@turf/center-of-mass/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/center-of-mass/package.json +0 -75
- package/node_modules/@turf/circle/LICENSE +0 -20
- package/node_modules/@turf/circle/README.md +0 -65
- package/node_modules/@turf/circle/dist/cjs/index.cjs +0 -21
- package/node_modules/@turf/circle/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/circle/dist/cjs/index.d.cts +0 -30
- package/node_modules/@turf/circle/dist/esm/index.d.ts +0 -30
- package/node_modules/@turf/circle/dist/esm/index.js +0 -21
- package/node_modules/@turf/circle/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/circle/package.json +0 -77
- package/node_modules/@turf/clean-coords/LICENSE +0 -20
- package/node_modules/@turf/clean-coords/README.md +0 -57
- package/node_modules/@turf/clean-coords/dist/cjs/index.cjs +0 -106
- package/node_modules/@turf/clean-coords/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/clean-coords/dist/cjs/index.d.cts +0 -23
- package/node_modules/@turf/clean-coords/dist/esm/index.d.ts +0 -23
- package/node_modules/@turf/clean-coords/dist/esm/index.js +0 -106
- package/node_modules/@turf/clean-coords/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/clean-coords/package.json +0 -79
- package/node_modules/@turf/clone/LICENSE +0 -20
- package/node_modules/@turf/clone/README.md +0 -44
- package/node_modules/@turf/clone/dist/cjs/index.cjs +0 -111
- package/node_modules/@turf/clone/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/clone/dist/cjs/index.d.cts +0 -28
- package/node_modules/@turf/clone/dist/esm/index.d.ts +0 -28
- package/node_modules/@turf/clone/dist/esm/index.js +0 -111
- package/node_modules/@turf/clone/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/clone/package.json +0 -72
- package/node_modules/@turf/clusters/LICENSE +0 -20
- package/node_modules/@turf/clusters/README.md +0 -209
- package/node_modules/@turf/clusters/dist/cjs/index.cjs +0 -108
- package/node_modules/@turf/clusters/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/clusters/dist/cjs/index.d.cts +0 -201
- package/node_modules/@turf/clusters/dist/esm/index.d.ts +0 -201
- package/node_modules/@turf/clusters/dist/esm/index.js +0 -108
- package/node_modules/@turf/clusters/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/clusters/package.json +0 -75
- package/node_modules/@turf/clusters-dbscan/LICENSE +0 -20
- package/node_modules/@turf/clusters-dbscan/README.md +0 -90
- package/node_modules/@turf/clusters-dbscan/dist/cjs/index.cjs +0 -105
- package/node_modules/@turf/clusters-dbscan/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/clusters-dbscan/dist/cjs/index.d.cts +0 -51
- package/node_modules/@turf/clusters-dbscan/dist/esm/index.d.ts +0 -51
- package/node_modules/@turf/clusters-dbscan/dist/esm/index.js +0 -105
- package/node_modules/@turf/clusters-dbscan/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/clusters-dbscan/package.json +0 -89
- package/node_modules/@turf/clusters-kmeans/LICENSE +0 -20
- package/node_modules/@turf/clusters-kmeans/README.md +0 -63
- package/node_modules/@turf/clusters-kmeans/dist/cjs/index.cjs +0 -29
- package/node_modules/@turf/clusters-kmeans/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/clusters-kmeans/dist/cjs/index.d.cts +0 -33
- package/node_modules/@turf/clusters-kmeans/dist/esm/index.d.ts +0 -33
- package/node_modules/@turf/clusters-kmeans/dist/esm/index.js +0 -29
- package/node_modules/@turf/clusters-kmeans/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/clusters-kmeans/package.json +0 -89
- package/node_modules/@turf/collect/LICENSE +0 -20
- package/node_modules/@turf/collect/README.md +0 -68
- package/node_modules/@turf/collect/dist/cjs/index.cjs +0 -44
- package/node_modules/@turf/collect/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/collect/dist/cjs/index.d.cts +0 -35
- package/node_modules/@turf/collect/dist/esm/index.d.ts +0 -35
- package/node_modules/@turf/collect/dist/esm/index.js +0 -44
- package/node_modules/@turf/collect/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/collect/package.json +0 -78
- package/node_modules/@turf/combine/LICENSE +0 -20
- package/node_modules/@turf/combine/README.md +0 -62
- package/node_modules/@turf/combine/dist/cjs/index.cjs +0 -67
- package/node_modules/@turf/combine/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/combine/dist/cjs/index.d.cts +0 -25
- package/node_modules/@turf/combine/dist/esm/index.d.ts +0 -25
- package/node_modules/@turf/combine/dist/esm/index.js +0 -67
- package/node_modules/@turf/combine/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/combine/package.json +0 -71
- package/node_modules/@turf/concave/LICENSE +0 -20
- package/node_modules/@turf/concave/README.md +0 -76
- package/node_modules/@turf/concave/dist/cjs/index.cjs +0 -198
- package/node_modules/@turf/concave/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/concave/dist/cjs/index.d.cts +0 -36
- package/node_modules/@turf/concave/dist/esm/index.d.ts +0 -36
- package/node_modules/@turf/concave/dist/esm/index.js +0 -198
- package/node_modules/@turf/concave/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/concave/package.json +0 -91
- package/node_modules/@turf/convex/LICENSE +0 -20
- package/node_modules/@turf/convex/README.md +0 -75
- package/node_modules/@turf/convex/dist/cjs/index.cjs +0 -25
- package/node_modules/@turf/convex/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/convex/dist/cjs/index.d.cts +0 -37
- package/node_modules/@turf/convex/dist/esm/index.d.ts +0 -37
- package/node_modules/@turf/convex/dist/esm/index.js +0 -25
- package/node_modules/@turf/convex/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/convex/package.json +0 -73
- package/node_modules/@turf/destination/LICENSE +0 -20
- package/node_modules/@turf/destination/README.md +0 -71
- package/node_modules/@turf/destination/dist/cjs/index.cjs +0 -34
- package/node_modules/@turf/destination/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/destination/dist/cjs/index.d.cts +0 -35
- package/node_modules/@turf/destination/dist/esm/index.d.ts +0 -35
- package/node_modules/@turf/destination/dist/esm/index.js +0 -34
- package/node_modules/@turf/destination/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/destination/package.json +0 -79
- package/node_modules/@turf/difference/LICENSE +0 -20
- package/node_modules/@turf/difference/README.md +0 -71
- package/node_modules/@turf/difference/dist/cjs/index.cjs +0 -24
- package/node_modules/@turf/difference/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/difference/dist/cjs/index.d.cts +0 -38
- package/node_modules/@turf/difference/dist/esm/index.d.ts +0 -38
- package/node_modules/@turf/difference/dist/esm/index.js +0 -24
- package/node_modules/@turf/difference/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/difference/package.json +0 -72
- package/node_modules/@turf/dissolve/LICENSE +0 -20
- package/node_modules/@turf/dissolve/README.md +0 -63
- package/node_modules/@turf/dissolve/dist/cjs/index.cjs +0 -62
- package/node_modules/@turf/dissolve/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/dissolve/dist/cjs/index.d.cts +0 -28
- package/node_modules/@turf/dissolve/dist/esm/index.d.ts +0 -28
- package/node_modules/@turf/dissolve/dist/esm/index.js +0 -62
- package/node_modules/@turf/dissolve/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/dissolve/package.json +0 -76
- package/node_modules/@turf/distance/LICENSE +0 -20
- package/node_modules/@turf/distance/README.md +0 -63
- package/node_modules/@turf/distance/dist/cjs/index.cjs +0 -22
- package/node_modules/@turf/distance/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/distance/dist/cjs/index.d.cts +0 -29
- package/node_modules/@turf/distance/dist/esm/index.d.ts +0 -29
- package/node_modules/@turf/distance/dist/esm/index.js +0 -22
- package/node_modules/@turf/distance/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/distance/package.json +0 -72
- package/node_modules/@turf/distance-weight/LICENSE +0 -20
- package/node_modules/@turf/distance-weight/README.md +0 -76
- package/node_modules/@turf/distance-weight/dist/cjs/index.cjs +0 -80
- package/node_modules/@turf/distance-weight/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/distance-weight/dist/cjs/index.d.cts +0 -42
- package/node_modules/@turf/distance-weight/dist/esm/index.d.ts +0 -42
- package/node_modules/@turf/distance-weight/dist/esm/index.js +0 -80
- package/node_modules/@turf/distance-weight/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/distance-weight/package.json +0 -75
- package/node_modules/@turf/ellipse/LICENSE +0 -20
- package/node_modules/@turf/ellipse/README.md +0 -68
- package/node_modules/@turf/ellipse/dist/cjs/index.cjs +0 -92
- package/node_modules/@turf/ellipse/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/ellipse/dist/cjs/index.d.cts +0 -34
- package/node_modules/@turf/ellipse/dist/esm/index.d.ts +0 -34
- package/node_modules/@turf/ellipse/dist/esm/index.js +0 -92
- package/node_modules/@turf/ellipse/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/ellipse/package.json +0 -84
- package/node_modules/@turf/envelope/LICENSE +0 -20
- package/node_modules/@turf/envelope/README.md +0 -54
- package/node_modules/@turf/envelope/dist/cjs/index.cjs +0 -12
- package/node_modules/@turf/envelope/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/envelope/dist/cjs/index.d.cts +0 -24
- package/node_modules/@turf/envelope/dist/esm/index.d.ts +0 -24
- package/node_modules/@turf/envelope/dist/esm/index.js +0 -12
- package/node_modules/@turf/envelope/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/envelope/package.json +0 -73
- package/node_modules/@turf/explode/LICENSE +0 -20
- package/node_modules/@turf/explode/README.md +0 -54
- package/node_modules/@turf/explode/dist/cjs/index.cjs +0 -28
- package/node_modules/@turf/explode/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/explode/dist/cjs/index.d.cts +0 -21
- package/node_modules/@turf/explode/dist/esm/index.d.ts +0 -21
- package/node_modules/@turf/explode/dist/esm/index.js +0 -28
- package/node_modules/@turf/explode/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/explode/package.json +0 -72
- package/node_modules/@turf/flatten/LICENSE +0 -20
- package/node_modules/@turf/flatten/README.md +0 -54
- package/node_modules/@turf/flatten/dist/cjs/index.cjs +0 -17
- package/node_modules/@turf/flatten/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/flatten/dist/cjs/index.d.cts +0 -27
- package/node_modules/@turf/flatten/dist/esm/index.d.ts +0 -27
- package/node_modules/@turf/flatten/dist/esm/index.js +0 -17
- package/node_modules/@turf/flatten/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/flatten/package.json +0 -78
- package/node_modules/@turf/flip/LICENSE +0 -20
- package/node_modules/@turf/flip/README.md +0 -53
- package/node_modules/@turf/flip/dist/cjs/index.cjs +0 -25
- package/node_modules/@turf/flip/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/flip/dist/cjs/index.d.cts +0 -23
- package/node_modules/@turf/flip/dist/esm/index.d.ts +0 -23
- package/node_modules/@turf/flip/dist/esm/index.js +0 -25
- package/node_modules/@turf/flip/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/flip/package.json +0 -74
- package/node_modules/@turf/geojson-rbush/LICENSE +0 -20
- package/node_modules/@turf/geojson-rbush/README.md +0 -397
- package/node_modules/@turf/geojson-rbush/dist/cjs/index.cjs +0 -78
- package/node_modules/@turf/geojson-rbush/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/geojson-rbush/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/geojson-rbush/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/geojson-rbush/dist/esm/index.js +0 -78
- package/node_modules/@turf/geojson-rbush/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/geojson-rbush/package.json +0 -82
- package/node_modules/@turf/great-circle/LICENSE +0 -20
- package/node_modules/@turf/great-circle/README.md +0 -67
- package/node_modules/@turf/great-circle/dist/cjs/index.cjs +0 -273
- package/node_modules/@turf/great-circle/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/great-circle/dist/cjs/index.d.cts +0 -17
- package/node_modules/@turf/great-circle/dist/esm/index.d.ts +0 -17
- package/node_modules/@turf/great-circle/dist/esm/index.js +0 -273
- package/node_modules/@turf/great-circle/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/great-circle/package.json +0 -78
- package/node_modules/@turf/hex-grid/LICENSE +0 -20
- package/node_modules/@turf/hex-grid/README.md +0 -76
- package/node_modules/@turf/hex-grid/dist/cjs/index.cjs +0 -114
- package/node_modules/@turf/hex-grid/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/hex-grid/dist/cjs/index.d.cts +0 -36
- package/node_modules/@turf/hex-grid/dist/esm/index.d.ts +0 -36
- package/node_modules/@turf/hex-grid/dist/esm/index.js +0 -114
- package/node_modules/@turf/hex-grid/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/hex-grid/package.json +0 -87
- package/node_modules/@turf/interpolate/LICENSE +0 -20
- package/node_modules/@turf/interpolate/README.md +0 -75
- package/node_modules/@turf/interpolate/dist/cjs/index.cjs +0 -78
- package/node_modules/@turf/interpolate/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/interpolate/dist/cjs/index.d.cts +0 -30
- package/node_modules/@turf/interpolate/dist/esm/index.d.ts +0 -30
- package/node_modules/@turf/interpolate/dist/esm/index.js +0 -78
- package/node_modules/@turf/interpolate/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/interpolate/package.json +0 -84
- package/node_modules/@turf/intersect/LICENSE +0 -20
- package/node_modules/@turf/intersect/README.md +0 -76
- package/node_modules/@turf/intersect/dist/cjs/index.cjs +0 -24
- package/node_modules/@turf/intersect/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/intersect/dist/cjs/index.d.cts +0 -42
- package/node_modules/@turf/intersect/dist/esm/index.d.ts +0 -42
- package/node_modules/@turf/intersect/dist/esm/index.js +0 -24
- package/node_modules/@turf/intersect/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/intersect/package.json +0 -74
- package/node_modules/@turf/invariant/LICENSE +0 -20
- package/node_modules/@turf/invariant/README.md +0 -195
- package/node_modules/@turf/invariant/dist/cjs/index.cjs +0 -127
- package/node_modules/@turf/invariant/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/invariant/dist/cjs/index.d.cts +0 -108
- package/node_modules/@turf/invariant/dist/esm/index.d.ts +0 -108
- package/node_modules/@turf/invariant/dist/esm/index.js +0 -127
- package/node_modules/@turf/invariant/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/invariant/package.json +0 -73
- package/node_modules/@turf/isobands/LICENSE +0 -20
- package/node_modules/@turf/isobands/README.md +0 -54
- package/node_modules/@turf/isobands/dist/cjs/index.cjs +0 -513
- package/node_modules/@turf/isobands/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/isobands/dist/cjs/index.d.cts +0 -22
- package/node_modules/@turf/isobands/dist/esm/index.d.ts +0 -22
- package/node_modules/@turf/isobands/dist/esm/index.js +0 -513
- package/node_modules/@turf/isobands/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/isobands/package.json +0 -89
- package/node_modules/@turf/isolines/LICENSE +0 -20
- package/node_modules/@turf/isolines/README.md +0 -76
- package/node_modules/@turf/isolines/dist/cjs/index.cjs +0 -320
- package/node_modules/@turf/isolines/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/isolines/dist/cjs/index.d.cts +0 -38
- package/node_modules/@turf/isolines/dist/esm/index.d.ts +0 -38
- package/node_modules/@turf/isolines/dist/esm/index.js +0 -320
- package/node_modules/@turf/isolines/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/isolines/package.json +0 -86
- package/node_modules/@turf/jsts/README.md +0 -19
- package/node_modules/@turf/jsts/dist/jsts.min.js +0 -2
- package/node_modules/@turf/jsts/dist/jsts.min.js.map +0 -1
- package/node_modules/@turf/jsts/package.json +0 -45
- package/node_modules/@turf/kinks/LICENSE +0 -20
- package/node_modules/@turf/kinks/README.md +0 -66
- package/node_modules/@turf/kinks/dist/cjs/index.cjs +0 -108
- package/node_modules/@turf/kinks/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/kinks/dist/cjs/index.d.cts +0 -27
- package/node_modules/@turf/kinks/dist/esm/index.d.ts +0 -27
- package/node_modules/@turf/kinks/dist/esm/index.js +0 -108
- package/node_modules/@turf/kinks/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/kinks/package.json +0 -72
- package/node_modules/@turf/length/LICENSE +0 -20
- package/node_modules/@turf/length/README.md +0 -63
- package/node_modules/@turf/length/dist/cjs/index.cjs +0 -19
- package/node_modules/@turf/length/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/length/dist/cjs/index.d.cts +0 -24
- package/node_modules/@turf/length/dist/esm/index.d.ts +0 -24
- package/node_modules/@turf/length/dist/esm/index.js +0 -19
- package/node_modules/@turf/length/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/length/package.json +0 -79
- package/node_modules/@turf/line-arc/LICENSE +0 -20
- package/node_modules/@turf/line-arc/README.md +0 -67
- package/node_modules/@turf/line-arc/dist/cjs/index.cjs +0 -43
- package/node_modules/@turf/line-arc/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-arc/dist/cjs/index.d.cts +0 -33
- package/node_modules/@turf/line-arc/dist/esm/index.d.ts +0 -33
- package/node_modules/@turf/line-arc/dist/esm/index.js +0 -43
- package/node_modules/@turf/line-arc/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-arc/package.json +0 -73
- package/node_modules/@turf/line-chunk/LICENSE +0 -20
- package/node_modules/@turf/line-chunk/README.md +0 -68
- package/node_modules/@turf/line-chunk/dist/cjs/index.cjs +0 -46
- package/node_modules/@turf/line-chunk/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-chunk/dist/cjs/index.d.cts +0 -21
- package/node_modules/@turf/line-chunk/dist/esm/index.d.ts +0 -21
- package/node_modules/@turf/line-chunk/dist/esm/index.js +0 -46
- package/node_modules/@turf/line-chunk/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-chunk/package.json +0 -81
- package/node_modules/@turf/line-intersect/LICENSE +0 -20
- package/node_modules/@turf/line-intersect/README.md +0 -59
- package/node_modules/@turf/line-intersect/dist/cjs/index.cjs +0 -48
- package/node_modules/@turf/line-intersect/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-intersect/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/line-intersect/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/line-intersect/dist/esm/index.js +0 -48
- package/node_modules/@turf/line-intersect/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-intersect/package.json +0 -78
- package/node_modules/@turf/line-offset/LICENSE +0 -20
- package/node_modules/@turf/line-offset/README.md +0 -63
- package/node_modules/@turf/line-offset/dist/cjs/index.cjs +0 -128
- package/node_modules/@turf/line-offset/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-offset/dist/cjs/index.d.cts +0 -15
- package/node_modules/@turf/line-offset/dist/esm/index.d.ts +0 -15
- package/node_modules/@turf/line-offset/dist/esm/index.js +0 -128
- package/node_modules/@turf/line-offset/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-offset/package.json +0 -78
- package/node_modules/@turf/line-overlap/LICENSE +0 -20
- package/node_modules/@turf/line-overlap/README.md +0 -67
- package/node_modules/@turf/line-overlap/dist/cjs/index.cjs +0 -81
- package/node_modules/@turf/line-overlap/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-overlap/dist/cjs/index.d.cts +0 -25
- package/node_modules/@turf/line-overlap/dist/esm/index.d.ts +0 -25
- package/node_modules/@turf/line-overlap/dist/esm/index.js +0 -81
- package/node_modules/@turf/line-overlap/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-overlap/package.json +0 -83
- package/node_modules/@turf/line-segment/LICENSE +0 -20
- package/node_modules/@turf/line-segment/README.md +0 -52
- package/node_modules/@turf/line-segment/dist/cjs/index.cjs +0 -61
- package/node_modules/@turf/line-segment/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-segment/dist/cjs/index.d.cts +0 -19
- package/node_modules/@turf/line-segment/dist/esm/index.d.ts +0 -19
- package/node_modules/@turf/line-segment/dist/esm/index.js +0 -61
- package/node_modules/@turf/line-segment/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-segment/package.json +0 -72
- package/node_modules/@turf/line-slice/LICENSE +0 -20
- package/node_modules/@turf/line-slice/README.md +0 -67
- package/node_modules/@turf/line-slice/dist/cjs/index.cjs +0 -29
- package/node_modules/@turf/line-slice/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-slice/dist/cjs/index.d.cts +0 -13
- package/node_modules/@turf/line-slice/dist/esm/index.d.ts +0 -13
- package/node_modules/@turf/line-slice/dist/esm/index.js +0 -29
- package/node_modules/@turf/line-slice/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-slice/package.json +0 -75
- package/node_modules/@turf/line-slice-along/LICENSE +0 -20
- package/node_modules/@turf/line-slice-along/README.md +0 -66
- package/node_modules/@turf/line-slice-along/dist/cjs/index.cjs +0 -58
- package/node_modules/@turf/line-slice-along/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-slice-along/dist/cjs/index.d.cts +0 -16
- package/node_modules/@turf/line-slice-along/dist/esm/index.d.ts +0 -16
- package/node_modules/@turf/line-slice-along/dist/esm/index.js +0 -58
- package/node_modules/@turf/line-slice-along/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-slice-along/package.json +0 -72
- package/node_modules/@turf/line-split/LICENSE +0 -20
- package/node_modules/@turf/line-split/README.md +0 -55
- package/node_modules/@turf/line-split/dist/cjs/index.cjs +0 -124
- package/node_modules/@turf/line-split/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-split/dist/cjs/index.d.cts +0 -15
- package/node_modules/@turf/line-split/dist/esm/index.d.ts +0 -15
- package/node_modules/@turf/line-split/dist/esm/index.js +0 -124
- package/node_modules/@turf/line-split/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-split/package.json +0 -81
- package/node_modules/@turf/line-to-polygon/LICENSE +0 -20
- package/node_modules/@turf/line-to-polygon/README.md +0 -66
- package/node_modules/@turf/line-to-polygon/dist/cjs/index.cjs +0 -82
- package/node_modules/@turf/line-to-polygon/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/line-to-polygon/dist/cjs/index.d.cts +0 -34
- package/node_modules/@turf/line-to-polygon/dist/esm/index.d.ts +0 -34
- package/node_modules/@turf/line-to-polygon/dist/esm/index.js +0 -82
- package/node_modules/@turf/line-to-polygon/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-to-polygon/package.json +0 -79
- package/node_modules/@turf/mask/LICENSE +0 -20
- package/node_modules/@turf/mask/README.md +0 -62
- package/node_modules/@turf/mask/dist/cjs/index.cjs +0 -70
- package/node_modules/@turf/mask/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/mask/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/mask/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/mask/dist/esm/index.js +0 -70
- package/node_modules/@turf/mask/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/mask/package.json +0 -74
- package/node_modules/@turf/midpoint/LICENSE +0 -20
- package/node_modules/@turf/midpoint/README.md +0 -55
- package/node_modules/@turf/midpoint/dist/cjs/index.cjs +0 -16
- package/node_modules/@turf/midpoint/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/midpoint/dist/cjs/index.d.cts +0 -25
- package/node_modules/@turf/midpoint/dist/esm/index.d.ts +0 -25
- package/node_modules/@turf/midpoint/dist/esm/index.js +0 -16
- package/node_modules/@turf/midpoint/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/midpoint/package.json +0 -73
- package/node_modules/@turf/moran-index/LICENSE +0 -20
- package/node_modules/@turf/moran-index/README.md +0 -99
- package/node_modules/@turf/moran-index/dist/cjs/index.cjs +0 -76
- package/node_modules/@turf/moran-index/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/moran-index/dist/cjs/index.d.cts +0 -67
- package/node_modules/@turf/moran-index/dist/esm/index.d.ts +0 -67
- package/node_modules/@turf/moran-index/dist/esm/index.js +0 -76
- package/node_modules/@turf/moran-index/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/moran-index/package.json +0 -74
- package/node_modules/@turf/nearest-neighbor-analysis/LICENSE +0 -20
- package/node_modules/@turf/nearest-neighbor-analysis/README.md +0 -129
- package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.cjs +0 -57
- package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/nearest-neighbor-analysis/dist/cjs/index.d.cts +0 -94
- package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.d.ts +0 -94
- package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.js +0 -57
- package/node_modules/@turf/nearest-neighbor-analysis/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/nearest-neighbor-analysis/package.json +0 -80
- package/node_modules/@turf/nearest-point/LICENSE +0 -20
- package/node_modules/@turf/nearest-point/README.md +0 -69
- package/node_modules/@turf/nearest-point/dist/cjs/index.cjs +0 -50
- package/node_modules/@turf/nearest-point/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/nearest-point/dist/cjs/index.d.cts +0 -40
- package/node_modules/@turf/nearest-point/dist/esm/index.d.ts +0 -40
- package/node_modules/@turf/nearest-point/dist/esm/index.js +0 -50
- package/node_modules/@turf/nearest-point/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/nearest-point/package.json +0 -77
- package/node_modules/@turf/nearest-point-on-line/LICENSE +0 -20
- package/node_modules/@turf/nearest-point-on-line/README.md +0 -79
- package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs +0 -155
- package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.d.cts +0 -44
- package/node_modules/@turf/nearest-point-on-line/dist/esm/index.d.ts +0 -44
- package/node_modules/@turf/nearest-point-on-line/dist/esm/index.js +0 -155
- package/node_modules/@turf/nearest-point-on-line/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/nearest-point-on-line/package.json +0 -77
- package/node_modules/@turf/nearest-point-to-line/LICENSE +0 -20
- package/node_modules/@turf/nearest-point-to-line/README.md +0 -70
- package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.cjs +0 -74
- package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/nearest-point-to-line/dist/cjs/index.d.cts +0 -35
- package/node_modules/@turf/nearest-point-to-line/dist/esm/index.d.ts +0 -35
- package/node_modules/@turf/nearest-point-to-line/dist/esm/index.js +0 -74
- package/node_modules/@turf/nearest-point-to-line/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/nearest-point-to-line/package.json +0 -82
- package/node_modules/@turf/planepoint/LICENSE +0 -20
- package/node_modules/@turf/planepoint/README.md +0 -71
- package/node_modules/@turf/planepoint/dist/cjs/index.cjs +0 -33
- package/node_modules/@turf/planepoint/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/planepoint/dist/cjs/index.d.cts +0 -39
- package/node_modules/@turf/planepoint/dist/esm/index.d.ts +0 -39
- package/node_modules/@turf/planepoint/dist/esm/index.js +0 -33
- package/node_modules/@turf/planepoint/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/planepoint/package.json +0 -72
- package/node_modules/@turf/point-grid/LICENSE +0 -20
- package/node_modules/@turf/point-grid/README.md +0 -70
- package/node_modules/@turf/point-grid/dist/cjs/index.cjs +0 -43
- package/node_modules/@turf/point-grid/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/point-grid/dist/cjs/index.d.cts +0 -31
- package/node_modules/@turf/point-grid/dist/esm/index.d.ts +0 -31
- package/node_modules/@turf/point-grid/dist/esm/index.js +0 -43
- package/node_modules/@turf/point-grid/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/point-grid/package.json +0 -81
- package/node_modules/@turf/point-on-feature/LICENSE +0 -20
- package/node_modules/@turf/point-on-feature/README.md +0 -66
- package/node_modules/@turf/point-on-feature/dist/cjs/index.cjs +0 -105
- package/node_modules/@turf/point-on-feature/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/point-on-feature/dist/cjs/index.d.cts +0 -32
- package/node_modules/@turf/point-on-feature/dist/esm/index.d.ts +0 -32
- package/node_modules/@turf/point-on-feature/dist/esm/index.js +0 -105
- package/node_modules/@turf/point-on-feature/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/point-on-feature/package.json +0 -78
- package/node_modules/@turf/point-to-line-distance/LICENSE +0 -20
- package/node_modules/@turf/point-to-line-distance/README.md +0 -66
- package/node_modules/@turf/point-to-line-distance/dist/cjs/index.cjs +0 -79
- package/node_modules/@turf/point-to-line-distance/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/point-to-line-distance/dist/cjs/index.d.cts +0 -28
- package/node_modules/@turf/point-to-line-distance/dist/esm/index.d.ts +0 -28
- package/node_modules/@turf/point-to-line-distance/dist/esm/index.js +0 -79
- package/node_modules/@turf/point-to-line-distance/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/point-to-line-distance/package.json +0 -83
- package/node_modules/@turf/point-to-polygon-distance/LICENSE +0 -20
- package/node_modules/@turf/point-to-polygon-distance/README.md +0 -61
- package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.cjs +0 -49
- package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/point-to-polygon-distance/dist/cjs/index.d.cts +0 -23
- package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.d.ts +0 -23
- package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.js +0 -49
- package/node_modules/@turf/point-to-polygon-distance/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/point-to-polygon-distance/package.json +0 -80
- package/node_modules/@turf/points-within-polygon/LICENSE +0 -20
- package/node_modules/@turf/points-within-polygon/README.md +0 -79
- package/node_modules/@turf/points-within-polygon/dist/cjs/index.cjs +0 -44
- package/node_modules/@turf/points-within-polygon/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/points-within-polygon/dist/cjs/index.d.cts +0 -40
- package/node_modules/@turf/points-within-polygon/dist/esm/index.d.ts +0 -40
- package/node_modules/@turf/points-within-polygon/dist/esm/index.js +0 -44
- package/node_modules/@turf/points-within-polygon/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/points-within-polygon/package.json +0 -73
- package/node_modules/@turf/polygon-smooth/LICENSE +0 -20
- package/node_modules/@turf/polygon-smooth/README.md +0 -62
- package/node_modules/@turf/polygon-smooth/dist/cjs/index.cjs +0 -114
- package/node_modules/@turf/polygon-smooth/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/polygon-smooth/dist/cjs/index.d.cts +0 -24
- package/node_modules/@turf/polygon-smooth/dist/esm/index.d.ts +0 -24
- package/node_modules/@turf/polygon-smooth/dist/esm/index.js +0 -114
- package/node_modules/@turf/polygon-smooth/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/polygon-smooth/package.json +0 -76
- package/node_modules/@turf/polygon-tangents/LICENSE +0 -20
- package/node_modules/@turf/polygon-tangents/README.md +0 -58
- package/node_modules/@turf/polygon-tangents/dist/cjs/index.cjs +0 -108
- package/node_modules/@turf/polygon-tangents/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/polygon-tangents/dist/cjs/index.d.cts +0 -22
- package/node_modules/@turf/polygon-tangents/dist/esm/index.d.ts +0 -22
- package/node_modules/@turf/polygon-tangents/dist/esm/index.js +0 -108
- package/node_modules/@turf/polygon-tangents/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/polygon-tangents/package.json +0 -82
- package/node_modules/@turf/polygon-to-line/LICENSE +0 -20
- package/node_modules/@turf/polygon-to-line/README.md +0 -60
- package/node_modules/@turf/polygon-to-line/dist/cjs/index.cjs +0 -48
- package/node_modules/@turf/polygon-to-line/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/polygon-to-line/dist/cjs/index.d.cts +0 -40
- package/node_modules/@turf/polygon-to-line/dist/esm/index.d.ts +0 -40
- package/node_modules/@turf/polygon-to-line/dist/esm/index.js +0 -48
- package/node_modules/@turf/polygon-to-line/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/polygon-to-line/package.json +0 -73
- package/node_modules/@turf/polygonize/LICENSE +0 -20
- package/node_modules/@turf/polygonize/README.md +0 -61
- package/node_modules/@turf/polygonize/dist/cjs/index.cjs +0 -636
- package/node_modules/@turf/polygonize/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/polygonize/dist/cjs/index.d.cts +0 -23
- package/node_modules/@turf/polygonize/dist/esm/index.d.ts +0 -23
- package/node_modules/@turf/polygonize/dist/esm/index.js +0 -636
- package/node_modules/@turf/polygonize/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/polygonize/package.json +0 -80
- package/node_modules/@turf/projection/LICENSE +0 -20
- package/node_modules/@turf/projection/README.md +0 -77
- package/node_modules/@turf/projection/dist/cjs/index.cjs +0 -55
- package/node_modules/@turf/projection/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/projection/dist/cjs/index.d.cts +0 -41
- package/node_modules/@turf/projection/dist/esm/index.d.ts +0 -41
- package/node_modules/@turf/projection/dist/esm/index.js +0 -55
- package/node_modules/@turf/projection/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/projection/package.json +0 -88
- package/node_modules/@turf/quadrat-analysis/LICENSE +0 -20
- package/node_modules/@turf/quadrat-analysis/README.md +0 -114
- package/node_modules/@turf/quadrat-analysis/dist/cjs/index.cjs +0 -114
- package/node_modules/@turf/quadrat-analysis/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/quadrat-analysis/dist/cjs/index.d.cts +0 -55
- package/node_modules/@turf/quadrat-analysis/dist/esm/index.d.ts +0 -55
- package/node_modules/@turf/quadrat-analysis/dist/esm/index.js +0 -114
- package/node_modules/@turf/quadrat-analysis/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/quadrat-analysis/package.json +0 -81
- package/node_modules/@turf/random/LICENSE +0 -20
- package/node_modules/@turf/random/README.md +0 -138
- package/node_modules/@turf/random/dist/cjs/index.cjs +0 -158
- package/node_modules/@turf/random/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/random/dist/cjs/index.d.cts +0 -79
- package/node_modules/@turf/random/dist/esm/index.d.ts +0 -79
- package/node_modules/@turf/random/dist/esm/index.js +0 -158
- package/node_modules/@turf/random/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/random/package.json +0 -68
- package/node_modules/@turf/rectangle-grid/LICENSE +0 -20
- package/node_modules/@turf/rectangle-grid/README.md +0 -74
- package/node_modules/@turf/rectangle-grid/dist/cjs/index.cjs +0 -56
- package/node_modules/@turf/rectangle-grid/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/rectangle-grid/dist/cjs/index.d.cts +0 -37
- package/node_modules/@turf/rectangle-grid/dist/esm/index.d.ts +0 -37
- package/node_modules/@turf/rectangle-grid/dist/esm/index.js +0 -56
- package/node_modules/@turf/rectangle-grid/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/rectangle-grid/package.json +0 -79
- package/node_modules/@turf/rewind/LICENSE +0 -20
- package/node_modules/@turf/rewind/README.md +0 -60
- package/node_modules/@turf/rewind/dist/cjs/index.cjs +0 -86
- package/node_modules/@turf/rewind/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/rewind/dist/cjs/index.d.cts +0 -26
- package/node_modules/@turf/rewind/dist/esm/index.d.ts +0 -26
- package/node_modules/@turf/rewind/dist/esm/index.js +0 -86
- package/node_modules/@turf/rewind/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/rewind/package.json +0 -82
- package/node_modules/@turf/rhumb-bearing/LICENSE +0 -20
- package/node_modules/@turf/rhumb-bearing/README.md +0 -62
- package/node_modules/@turf/rhumb-bearing/dist/cjs/index.cjs +0 -35
- package/node_modules/@turf/rhumb-bearing/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/rhumb-bearing/dist/cjs/index.d.cts +0 -28
- package/node_modules/@turf/rhumb-bearing/dist/esm/index.d.ts +0 -28
- package/node_modules/@turf/rhumb-bearing/dist/esm/index.js +0 -35
- package/node_modules/@turf/rhumb-bearing/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/rhumb-bearing/package.json +0 -78
- package/node_modules/@turf/rhumb-destination/LICENSE +0 -20
- package/node_modules/@turf/rhumb-destination/README.md +0 -67
- package/node_modules/@turf/rhumb-destination/dist/cjs/index.cjs +0 -53
- package/node_modules/@turf/rhumb-destination/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/rhumb-destination/dist/cjs/index.d.cts +0 -33
- package/node_modules/@turf/rhumb-destination/dist/esm/index.d.ts +0 -33
- package/node_modules/@turf/rhumb-destination/dist/esm/index.js +0 -53
- package/node_modules/@turf/rhumb-destination/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/rhumb-destination/package.json +0 -83
- package/node_modules/@turf/rhumb-distance/LICENSE +0 -20
- package/node_modules/@turf/rhumb-distance/README.md +0 -62
- package/node_modules/@turf/rhumb-distance/dist/cjs/index.cjs +0 -37
- package/node_modules/@turf/rhumb-distance/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/rhumb-distance/dist/cjs/index.d.cts +0 -28
- package/node_modules/@turf/rhumb-distance/dist/esm/index.d.ts +0 -28
- package/node_modules/@turf/rhumb-distance/dist/esm/index.js +0 -37
- package/node_modules/@turf/rhumb-distance/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/rhumb-distance/package.json +0 -81
- package/node_modules/@turf/sample/LICENSE +0 -20
- package/node_modules/@turf/sample/README.md +0 -56
- package/node_modules/@turf/sample/dist/cjs/index.cjs +0 -25
- package/node_modules/@turf/sample/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/sample/dist/cjs/index.d.cts +0 -24
- package/node_modules/@turf/sample/dist/esm/index.d.ts +0 -24
- package/node_modules/@turf/sample/dist/esm/index.js +0 -25
- package/node_modules/@turf/sample/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/sample/package.json +0 -69
- package/node_modules/@turf/sector/LICENSE +0 -20
- package/node_modules/@turf/sector/README.md +0 -70
- package/node_modules/@turf/sector/dist/cjs/index.cjs +0 -42
- package/node_modules/@turf/sector/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/sector/dist/cjs/index.d.cts +0 -35
- package/node_modules/@turf/sector/dist/esm/index.d.ts +0 -35
- package/node_modules/@turf/sector/dist/esm/index.js +0 -42
- package/node_modules/@turf/sector/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/sector/package.json +0 -75
- package/node_modules/@turf/shortest-path/LICENSE +0 -20
- package/node_modules/@turf/shortest-path/README.md +0 -73
- package/node_modules/@turf/shortest-path/dist/cjs/index.cjs +0 -382
- package/node_modules/@turf/shortest-path/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/shortest-path/dist/cjs/index.d.cts +0 -34
- package/node_modules/@turf/shortest-path/dist/esm/index.d.ts +0 -34
- package/node_modules/@turf/shortest-path/dist/esm/index.js +0 -382
- package/node_modules/@turf/shortest-path/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/shortest-path/package.json +0 -85
- package/node_modules/@turf/simplify/LICENSE +0 -20
- package/node_modules/@turf/simplify/README.md +0 -81
- package/node_modules/@turf/simplify/dist/cjs/index.cjs +0 -150
- package/node_modules/@turf/simplify/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/simplify/dist/cjs/index.d.cts +0 -49
- package/node_modules/@turf/simplify/dist/esm/index.d.ts +0 -49
- package/node_modules/@turf/simplify/dist/esm/index.js +0 -150
- package/node_modules/@turf/simplify/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/simplify/package.json +0 -82
- package/node_modules/@turf/square/LICENSE +0 -20
- package/node_modules/@turf/square/README.md +0 -46
- package/node_modules/@turf/square/dist/cjs/index.cjs +0 -33
- package/node_modules/@turf/square/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/square/dist/cjs/index.d.cts +0 -19
- package/node_modules/@turf/square/dist/esm/index.d.ts +0 -19
- package/node_modules/@turf/square/dist/esm/index.js +0 -33
- package/node_modules/@turf/square/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/square/package.json +0 -70
- package/node_modules/@turf/square-grid/LICENSE +0 -20
- package/node_modules/@turf/square-grid/README.md +0 -72
- package/node_modules/@turf/square-grid/dist/cjs/index.cjs +0 -11
- package/node_modules/@turf/square-grid/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/square-grid/dist/cjs/index.d.cts +0 -35
- package/node_modules/@turf/square-grid/dist/esm/index.d.ts +0 -35
- package/node_modules/@turf/square-grid/dist/esm/index.js +0 -11
- package/node_modules/@turf/square-grid/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/square-grid/package.json +0 -74
- package/node_modules/@turf/standard-deviational-ellipse/LICENSE +0 -20
- package/node_modules/@turf/standard-deviational-ellipse/README.md +0 -88
- package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.cjs +0 -87
- package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/standard-deviational-ellipse/dist/cjs/index.d.cts +0 -61
- package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.d.ts +0 -61
- package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.js +0 -87
- package/node_modules/@turf/standard-deviational-ellipse/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/standard-deviational-ellipse/package.json +0 -82
- package/node_modules/@turf/tag/LICENSE +0 -20
- package/node_modules/@turf/tag/README.md +0 -75
- package/node_modules/@turf/tag/dist/cjs/index.cjs +0 -26
- package/node_modules/@turf/tag/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/tag/dist/cjs/index.d.cts +0 -40
- package/node_modules/@turf/tag/dist/esm/index.d.ts +0 -40
- package/node_modules/@turf/tag/dist/esm/index.js +0 -26
- package/node_modules/@turf/tag/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/tag/package.json +0 -77
- package/node_modules/@turf/tesselate/LICENSE +0 -20
- package/node_modules/@turf/tesselate/README.md +0 -54
- package/node_modules/@turf/tesselate/dist/cjs/index.cjs +0 -61
- package/node_modules/@turf/tesselate/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/tesselate/dist/cjs/index.d.cts +0 -19
- package/node_modules/@turf/tesselate/dist/esm/index.d.ts +0 -19
- package/node_modules/@turf/tesselate/dist/esm/index.js +0 -61
- package/node_modules/@turf/tesselate/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/tesselate/package.json +0 -78
- package/node_modules/@turf/tin/LICENSE +0 -20
- package/node_modules/@turf/tin/README.md +0 -72
- package/node_modules/@turf/tin/dist/cjs/index.cjs +0 -192
- package/node_modules/@turf/tin/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/tin/dist/cjs/index.d.cts +0 -47
- package/node_modules/@turf/tin/dist/esm/index.d.ts +0 -47
- package/node_modules/@turf/tin/dist/esm/index.js +0 -192
- package/node_modules/@turf/tin/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/tin/package.json +0 -69
- package/node_modules/@turf/transform-rotate/LICENSE +0 -20
- package/node_modules/@turf/transform-rotate/README.md +0 -60
- package/node_modules/@turf/transform-rotate/dist/cjs/index.cjs +0 -38
- package/node_modules/@turf/transform-rotate/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/transform-rotate/dist/cjs/index.d.cts +0 -28
- package/node_modules/@turf/transform-rotate/dist/esm/index.d.ts +0 -28
- package/node_modules/@turf/transform-rotate/dist/esm/index.js +0 -38
- package/node_modules/@turf/transform-rotate/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/transform-rotate/package.json +0 -84
- package/node_modules/@turf/transform-scale/LICENSE +0 -20
- package/node_modules/@turf/transform-scale/README.md +0 -64
- package/node_modules/@turf/transform-scale/dist/cjs/index.cjs +0 -109
- package/node_modules/@turf/transform-scale/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/transform-scale/dist/cjs/index.d.cts +0 -30
- package/node_modules/@turf/transform-scale/dist/esm/index.d.ts +0 -30
- package/node_modules/@turf/transform-scale/dist/esm/index.js +0 -109
- package/node_modules/@turf/transform-scale/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/transform-scale/package.json +0 -92
- package/node_modules/@turf/transform-translate/LICENSE +0 -20
- package/node_modules/@turf/transform-translate/README.md +0 -67
- package/node_modules/@turf/transform-translate/dist/cjs/index.cjs +0 -43
- package/node_modules/@turf/transform-translate/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/transform-translate/dist/cjs/index.d.cts +0 -34
- package/node_modules/@turf/transform-translate/dist/esm/index.d.ts +0 -34
- package/node_modules/@turf/transform-translate/dist/esm/index.js +0 -43
- package/node_modules/@turf/transform-translate/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/transform-translate/package.json +0 -83
- package/node_modules/@turf/triangle-grid/LICENSE +0 -20
- package/node_modules/@turf/triangle-grid/README.md +0 -66
- package/node_modules/@turf/triangle-grid/dist/cjs/index.cjs +0 -134
- package/node_modules/@turf/triangle-grid/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/triangle-grid/dist/cjs/index.d.cts +0 -31
- package/node_modules/@turf/triangle-grid/dist/esm/index.d.ts +0 -31
- package/node_modules/@turf/triangle-grid/dist/esm/index.js +0 -134
- package/node_modules/@turf/triangle-grid/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/triangle-grid/package.json +0 -78
- package/node_modules/@turf/truncate/LICENSE +0 -20
- package/node_modules/@turf/truncate/README.md +0 -62
- package/node_modules/@turf/truncate/dist/cjs/index.cjs +0 -37
- package/node_modules/@turf/truncate/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/truncate/dist/cjs/index.d.cts +0 -32
- package/node_modules/@turf/truncate/dist/esm/index.d.ts +0 -32
- package/node_modules/@turf/truncate/dist/esm/index.js +0 -37
- package/node_modules/@turf/truncate/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/truncate/package.json +0 -76
- package/node_modules/@turf/turf/LICENSE +0 -20
- package/node_modules/@turf/turf/README.md +0 -31
- package/node_modules/@turf/turf/dist/cjs/index.cjs +0 -233
- package/node_modules/@turf/turf/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/turf/dist/cjs/index.d.cts +0 -125
- package/node_modules/@turf/turf/dist/esm/index.d.ts +0 -125
- package/node_modules/@turf/turf/dist/esm/index.js +0 -233
- package/node_modules/@turf/turf/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/turf/package.json +0 -212
- package/node_modules/@turf/turf/turf.min.js +0 -28
- package/node_modules/@turf/union/LICENSE +0 -20
- package/node_modules/@turf/union/README.md +0 -88
- package/node_modules/@turf/union/dist/cjs/index.cjs +0 -23
- package/node_modules/@turf/union/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/union/dist/cjs/index.d.cts +0 -55
- package/node_modules/@turf/union/dist/esm/index.d.ts +0 -55
- package/node_modules/@turf/union/dist/esm/index.js +0 -23
- package/node_modules/@turf/union/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/union/package.json +0 -73
- package/node_modules/@turf/unkink-polygon/LICENSE +0 -20
- package/node_modules/@turf/unkink-polygon/README.md +0 -57
- package/node_modules/@turf/unkink-polygon/dist/cjs/index.cjs +0 -579
- package/node_modules/@turf/unkink-polygon/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/unkink-polygon/dist/cjs/index.d.cts +0 -22
- package/node_modules/@turf/unkink-polygon/dist/esm/index.d.ts +0 -22
- package/node_modules/@turf/unkink-polygon/dist/esm/index.js +0 -579
- package/node_modules/@turf/unkink-polygon/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/unkink-polygon/package.json +0 -78
- package/node_modules/@turf/voronoi/LICENSE +0 -20
- package/node_modules/@turf/voronoi/README.md +0 -62
- package/node_modules/@turf/voronoi/dist/cjs/index.cjs +0 -34
- package/node_modules/@turf/voronoi/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/voronoi/dist/cjs/index.d.cts +0 -28
- package/node_modules/@turf/voronoi/dist/esm/index.d.ts +0 -28
- package/node_modules/@turf/voronoi/dist/esm/index.js +0 -34
- package/node_modules/@turf/voronoi/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/voronoi/package.json +0 -83
- package/node_modules/@types/d3-voronoi/LICENSE +0 -21
- package/node_modules/@types/d3-voronoi/README.md +0 -15
- package/node_modules/@types/d3-voronoi/index.d.ts +0 -298
- package/node_modules/@types/d3-voronoi/package.json +0 -40
- package/node_modules/bignumber.js/CHANGELOG.md +0 -381
- package/node_modules/bignumber.js/LICENCE.md +0 -26
- package/node_modules/bignumber.js/README.md +0 -289
- package/node_modules/bignumber.js/bignumber.d.mts +0 -6
- package/node_modules/bignumber.js/bignumber.d.ts +0 -5
- package/node_modules/bignumber.js/bignumber.js +0 -2922
- package/node_modules/bignumber.js/bignumber.mjs +0 -2907
- package/node_modules/bignumber.js/doc/API.html +0 -2249
- package/node_modules/bignumber.js/package.json +0 -60
- package/node_modules/bignumber.js/types.d.ts +0 -1821
- package/node_modules/commander/CHANGELOG.md +0 -419
- package/node_modules/commander/LICENSE +0 -22
- package/node_modules/commander/Readme.md +0 -428
- package/node_modules/commander/index.js +0 -1224
- package/node_modules/commander/package.json +0 -38
- package/node_modules/commander/typings/index.d.ts +0 -310
- package/node_modules/concaveman/.travis.yml +0 -4
- package/node_modules/concaveman/LICENSE +0 -15
- package/node_modules/concaveman/README.md +0 -52
- package/node_modules/concaveman/index.js +0 -383
- package/node_modules/concaveman/package.json +0 -38
- package/node_modules/d3-array/.eslintrc.json +0 -15
- package/node_modules/d3-array/LICENSE +0 -27
- package/node_modules/d3-array/README.md +0 -382
- package/node_modules/d3-array/dist/d3-array.js +0 -590
- package/node_modules/d3-array/dist/d3-array.min.js +0 -2
- package/node_modules/d3-array/package.json +0 -42
- package/node_modules/d3-array/rollup.config.js +0 -36
- package/node_modules/d3-array/src/array.js +0 -4
- package/node_modules/d3-array/src/ascending.js +0 -3
- package/node_modules/d3-array/src/bisect.js +0 -7
- package/node_modules/d3-array/src/bisector.js +0 -33
- package/node_modules/d3-array/src/constant.js +0 -5
- package/node_modules/d3-array/src/cross.js +0 -21
- package/node_modules/d3-array/src/descending.js +0 -3
- package/node_modules/d3-array/src/deviation.js +0 -6
- package/node_modules/d3-array/src/extent.js +0 -37
- package/node_modules/d3-array/src/histogram.js +0 -75
- package/node_modules/d3-array/src/identity.js +0 -3
- package/node_modules/d3-array/src/index.js +0 -27
- package/node_modules/d3-array/src/max.js +0 -34
- package/node_modules/d3-array/src/mean.js +0 -25
- package/node_modules/d3-array/src/median.js +0 -28
- package/node_modules/d3-array/src/merge.js +0 -21
- package/node_modules/d3-array/src/min.js +0 -34
- package/node_modules/d3-array/src/number.js +0 -3
- package/node_modules/d3-array/src/pairs.js +0 -10
- package/node_modules/d3-array/src/permute.js +0 -5
- package/node_modules/d3-array/src/quantile.js +0 -14
- package/node_modules/d3-array/src/range.js +0 -13
- package/node_modules/d3-array/src/scan.js +0 -20
- package/node_modules/d3-array/src/shuffle.js +0 -14
- package/node_modules/d3-array/src/sum.js +0 -20
- package/node_modules/d3-array/src/threshold/freedmanDiaconis.js +0 -9
- package/node_modules/d3-array/src/threshold/scott.js +0 -5
- package/node_modules/d3-array/src/threshold/sturges.js +0 -3
- package/node_modules/d3-array/src/ticks.js +0 -51
- package/node_modules/d3-array/src/transpose.js +0 -15
- package/node_modules/d3-array/src/variance.js +0 -33
- package/node_modules/d3-array/src/zip.js +0 -5
- package/node_modules/d3-geo/.eslintrc +0 -13
- package/node_modules/d3-geo/LICENSE +0 -48
- package/node_modules/d3-geo/README.md +0 -619
- package/node_modules/d3-geo/build/d3-geo.js +0 -2987
- package/node_modules/d3-geo/build/d3-geo.min.js +0 -2
- package/node_modules/d3-geo/img/albers.png +0 -0
- package/node_modules/d3-geo/img/albersUsa-parameters.png +0 -0
- package/node_modules/d3-geo/img/albersUsa.png +0 -0
- package/node_modules/d3-geo/img/azimuthalEqualArea.png +0 -0
- package/node_modules/d3-geo/img/azimuthalEquidistant.png +0 -0
- package/node_modules/d3-geo/img/conicConformal.png +0 -0
- package/node_modules/d3-geo/img/conicEqualArea.png +0 -0
- package/node_modules/d3-geo/img/conicEquidistant.png +0 -0
- package/node_modules/d3-geo/img/equirectangular.png +0 -0
- package/node_modules/d3-geo/img/gnomonic.png +0 -0
- package/node_modules/d3-geo/img/graticule.png +0 -0
- package/node_modules/d3-geo/img/mercator.png +0 -0
- package/node_modules/d3-geo/img/naturalEarth1.png +0 -0
- package/node_modules/d3-geo/img/orthographic.png +0 -0
- package/node_modules/d3-geo/img/stereographic.png +0 -0
- package/node_modules/d3-geo/img/transverseMercator.png +0 -0
- package/node_modules/d3-geo/index.js +0 -30
- package/node_modules/d3-geo/package.json +0 -44
- package/node_modules/d3-geo/rollup.config.js +0 -15
- package/node_modules/d3-geo/src/adder.js +0 -40
- package/node_modules/d3-geo/src/area.js +0 -74
- package/node_modules/d3-geo/src/bounds.js +0 -176
- package/node_modules/d3-geo/src/cartesian.js +0 -33
- package/node_modules/d3-geo/src/centroid.js +0 -140
- package/node_modules/d3-geo/src/circle.js +0 -72
- package/node_modules/d3-geo/src/clip/antimeridian.js +0 -92
- package/node_modules/d3-geo/src/clip/buffer.js +0 -24
- package/node_modules/d3-geo/src/clip/circle.js +0 -181
- package/node_modules/d3-geo/src/clip/extent.js +0 -187
- package/node_modules/d3-geo/src/clip/index.js +0 -135
- package/node_modules/d3-geo/src/clip/line.js +0 -59
- package/node_modules/d3-geo/src/clip/polygon.js +0 -101
- package/node_modules/d3-geo/src/compose.js +0 -12
- package/node_modules/d3-geo/src/constant.js +0 -5
- package/node_modules/d3-geo/src/contains.js +0 -84
- package/node_modules/d3-geo/src/distance.js +0 -10
- package/node_modules/d3-geo/src/graticule.js +0 -105
- package/node_modules/d3-geo/src/identity.js +0 -3
- package/node_modules/d3-geo/src/interpolate.js +0 -36
- package/node_modules/d3-geo/src/length.js +0 -53
- package/node_modules/d3-geo/src/math.js +0 -35
- package/node_modules/d3-geo/src/noop.js +0 -1
- package/node_modules/d3-geo/src/path/area.js +0 -50
- package/node_modules/d3-geo/src/path/bounds.js +0 -28
- package/node_modules/d3-geo/src/path/centroid.js +0 -100
- package/node_modules/d3-geo/src/path/context.js +0 -45
- package/node_modules/d3-geo/src/path/index.js +0 -61
- package/node_modules/d3-geo/src/path/measure.js +0 -45
- package/node_modules/d3-geo/src/path/string.js +0 -59
- package/node_modules/d3-geo/src/pointEqual.js +0 -5
- package/node_modules/d3-geo/src/polygonContains.js +0 -68
- package/node_modules/d3-geo/src/projection/albers.js +0 -10
- package/node_modules/d3-geo/src/projection/albersUsa.js +0 -103
- package/node_modules/d3-geo/src/projection/azimuthal.js +0 -26
- package/node_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -17
- package/node_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -17
- package/node_modules/d3-geo/src/projection/conic.js +0 -15
- package/node_modules/d3-geo/src/projection/conicConformal.js +0 -35
- package/node_modules/d3-geo/src/projection/conicEqualArea.js +0 -30
- package/node_modules/d3-geo/src/projection/conicEquidistant.js +0 -29
- package/node_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -15
- package/node_modules/d3-geo/src/projection/equirectangular.js +0 -12
- package/node_modules/d3-geo/src/projection/fit.js +0 -31
- package/node_modules/d3-geo/src/projection/gnomonic.js +0 -16
- package/node_modules/d3-geo/src/projection/identity.js +0 -52
- package/node_modules/d3-geo/src/projection/index.js +0 -106
- package/node_modules/d3-geo/src/projection/mercator.js +0 -52
- package/node_modules/d3-geo/src/projection/naturalEarth1.js +0 -28
- package/node_modules/d3-geo/src/projection/orthographic.js +0 -15
- package/node_modules/d3-geo/src/projection/resample.js +0 -102
- package/node_modules/d3-geo/src/projection/stereographic.js +0 -18
- package/node_modules/d3-geo/src/projection/transverseMercator.js +0 -27
- package/node_modules/d3-geo/src/rotation.js +0 -76
- package/node_modules/d3-geo/src/stream.js +0 -69
- package/node_modules/d3-geo/src/transform.js +0 -26
- package/node_modules/d3-voronoi/.eslintrc +0 -9
- package/node_modules/d3-voronoi/.npmignore +0 -3
- package/node_modules/d3-voronoi/LICENSE +0 -50
- package/node_modules/d3-voronoi/README.md +0 -160
- package/node_modules/d3-voronoi/build/d3-voronoi.js +0 -999
- package/node_modules/d3-voronoi/build/d3-voronoi.min.js +0 -2
- package/node_modules/d3-voronoi/graph.png +0 -0
- package/node_modules/d3-voronoi/index.js +0 -1
- package/node_modules/d3-voronoi/package.json +0 -37
- package/node_modules/d3-voronoi/src/Beach.js +0 -193
- package/node_modules/d3-voronoi/src/Cell.js +0 -126
- package/node_modules/d3-voronoi/src/Circle.js +0 -78
- package/node_modules/d3-voronoi/src/Diagram.js +0 -142
- package/node_modules/d3-voronoi/src/Edge.js +0 -168
- package/node_modules/d3-voronoi/src/RedBlackTree.js +0 -237
- package/node_modules/d3-voronoi/src/constant.js +0 -5
- package/node_modules/d3-voronoi/src/point.js +0 -7
- package/node_modules/d3-voronoi/src/voronoi.js +0 -48
- package/node_modules/earcut/LICENSE +0 -15
- package/node_modules/earcut/README.md +0 -255
- package/node_modules/earcut/dist/earcut.dev.js +0 -687
- package/node_modules/earcut/dist/earcut.min.js +0 -1
- package/node_modules/earcut/package.json +0 -43
- package/node_modules/earcut/src/earcut.js +0 -681
- package/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/index.js +0 -72
- package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/react.js +0 -79
- package/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-deep-equal/index.js +0 -46
- package/node_modules/fast-deep-equal/package.json +0 -61
- package/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/react.js +0 -53
- package/node_modules/geojson-equality-ts/LICENSE.md +0 -22
- package/node_modules/geojson-equality-ts/README.md +0 -157
- package/node_modules/geojson-equality-ts/dist/cjs/index.cjs +0 -164
- package/node_modules/geojson-equality-ts/dist/cjs/index.cjs.map +0 -1
- package/node_modules/geojson-equality-ts/dist/cjs/index.d.cts +0 -37
- package/node_modules/geojson-equality-ts/dist/esm/index.d.ts +0 -37
- package/node_modules/geojson-equality-ts/dist/esm/index.js +0 -164
- package/node_modules/geojson-equality-ts/dist/esm/index.js.map +0 -1
- package/node_modules/geojson-equality-ts/package.json +0 -62
- package/node_modules/geojson-polygon-self-intersections/LICENSE +0 -21
- package/node_modules/geojson-polygon-self-intersections/README.md +0 -63
- package/node_modules/geojson-polygon-self-intersections/index.js +0 -196
- package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/LICENSE +0 -15
- package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/README.md +0 -28
- package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/index.js +0 -54
- package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/package.json +0 -42
- package/node_modules/geojson-polygon-self-intersections/node_modules/quickselect/quickselect.js +0 -63
- package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/LICENSE +0 -21
- package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/README.md +0 -291
- package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/index.js +0 -562
- package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/package.json +0 -55
- package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/rbush.js +0 -626
- package/node_modules/geojson-polygon-self-intersections/node_modules/rbush/rbush.min.js +0 -1
- package/node_modules/geojson-polygon-self-intersections/package.json +0 -27
- package/node_modules/jsts/README.md +0 -39
- package/node_modules/jsts/dist/jsts.es6.js +0 -33000
- package/node_modules/jsts/dist/jsts.es6.js.map +0 -1
- package/node_modules/jsts/dist/jsts.es6.min.js +0 -8
- package/node_modules/jsts/dist/jsts.es6.min.js.map +0 -1
- package/node_modules/jsts/dist/jsts.js +0 -33200
- package/node_modules/jsts/dist/jsts.js.map +0 -1
- package/node_modules/jsts/dist/jsts.min.js +0 -8
- package/node_modules/jsts/dist/jsts.min.js.map +0 -1
- package/node_modules/jsts/hasInterface.js +0 -3
- package/node_modules/jsts/java/io/ByteArrayOutputStream.js +0 -1
- package/node_modules/jsts/java/io/IOException.js +0 -3
- package/node_modules/jsts/java/io/InputStream.js +0 -1
- package/node_modules/jsts/java/io/LineNumberReader.js +0 -1
- package/node_modules/jsts/java/io/OutputStream.js +0 -1
- package/node_modules/jsts/java/io/PrintStream.js +0 -1
- package/node_modules/jsts/java/io/Serializable.js +0 -1
- package/node_modules/jsts/java/io/StringReader.js +0 -1
- package/node_modules/jsts/java/io/StringWriter.js +0 -1
- package/node_modules/jsts/java/io/Writer.js +0 -1
- package/node_modules/jsts/java/lang/Character.js +0 -9
- package/node_modules/jsts/java/lang/Cloneable.js +0 -1
- package/node_modules/jsts/java/lang/Comparable.js +0 -1
- package/node_modules/jsts/java/lang/Double.js +0 -301
- package/node_modules/jsts/java/lang/Exception.js +0 -9
- package/node_modules/jsts/java/lang/IllegalArgumentException.js +0 -8
- package/node_modules/jsts/java/lang/IndexOutOfBoundsException.js +0 -8
- package/node_modules/jsts/java/lang/Integer.js +0 -33
- package/node_modules/jsts/java/lang/Long.js +0 -16
- package/node_modules/jsts/java/lang/RuntimeException.js +0 -8
- package/node_modules/jsts/java/lang/StringBuffer.js +0 -14
- package/node_modules/jsts/java/lang/StringBuilder.js +0 -14
- package/node_modules/jsts/java/lang/System.js +0 -15
- package/node_modules/jsts/java/lang/UnsupportedOperationException.js +0 -8
- package/node_modules/jsts/java/text/DecimalFormat.js +0 -1
- package/node_modules/jsts/java/text/DecimalFormatSymbols.js +0 -1
- package/node_modules/jsts/java/util/ArrayList.js +0 -109
- package/node_modules/jsts/java/util/Arrays.js +0 -44
- package/node_modules/jsts/java/util/Collection.js +0 -47
- package/node_modules/jsts/java/util/Collections.js +0 -35
- package/node_modules/jsts/java/util/Comparator.js +0 -1
- package/node_modules/jsts/java/util/EmptyStackException.js +0 -8
- package/node_modules/jsts/java/util/HashMap.js +0 -43
- package/node_modules/jsts/java/util/HashSet.js +0 -87
- package/node_modules/jsts/java/util/Iterator.js +0 -24
- package/node_modules/jsts/java/util/LinkedList.js +0 -17
- package/node_modules/jsts/java/util/List.js +0 -26
- package/node_modules/jsts/java/util/Map.js +0 -51
- package/node_modules/jsts/java/util/NoSuchElementException.js +0 -8
- package/node_modules/jsts/java/util/PriorityQueue.js +0 -78
- package/node_modules/jsts/java/util/Set.js +0 -19
- package/node_modules/jsts/java/util/SortedMap.js +0 -6
- package/node_modules/jsts/java/util/SortedSet.js +0 -6
- package/node_modules/jsts/java/util/Stack.js +0 -103
- package/node_modules/jsts/java/util/TreeMap.js +0 -262
- package/node_modules/jsts/java/util/TreeSet.js +0 -82
- package/node_modules/jsts/org/locationtech/jts/JTSVersion.js +0 -25
- package/node_modules/jsts/org/locationtech/jts/algorithm/Angle.js +0 -97
- package/node_modules/jsts/org/locationtech/jts/algorithm/Area.js +0 -50
- package/node_modules/jsts/org/locationtech/jts/algorithm/BoundaryNodeRule.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/algorithm/CGAlgorithms3D.js +0 -58
- package/node_modules/jsts/org/locationtech/jts/algorithm/CGAlgorithmsDD.js +0 -78
- package/node_modules/jsts/org/locationtech/jts/algorithm/Centroid.js +0 -123
- package/node_modules/jsts/org/locationtech/jts/algorithm/ConvexHull.js +0 -244
- package/node_modules/jsts/org/locationtech/jts/algorithm/Distance.js +0 -55
- package/node_modules/jsts/org/locationtech/jts/algorithm/HCoordinate.js +0 -76
- package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPoint.js +0 -18
- package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPointArea.js +0 -194
- package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPointLine.js +0 -74
- package/node_modules/jsts/org/locationtech/jts/algorithm/InteriorPointPoint.js +0 -46
- package/node_modules/jsts/org/locationtech/jts/algorithm/Intersection.js +0 -43
- package/node_modules/jsts/org/locationtech/jts/algorithm/Length.js +0 -23
- package/node_modules/jsts/org/locationtech/jts/algorithm/LineIntersector.js +0 -152
- package/node_modules/jsts/org/locationtech/jts/algorithm/MinimumBoundingCircle.js +0 -180
- package/node_modules/jsts/org/locationtech/jts/algorithm/MinimumDiameter.js +0 -162
- package/node_modules/jsts/org/locationtech/jts/algorithm/NotRepresentableException.js +0 -10
- package/node_modules/jsts/org/locationtech/jts/algorithm/Orientation.js +0 -86
- package/node_modules/jsts/org/locationtech/jts/algorithm/PointLocation.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/algorithm/PointLocator.js +0 -111
- package/node_modules/jsts/org/locationtech/jts/algorithm/RayCrossingCounter.js +0 -87
- package/node_modules/jsts/org/locationtech/jts/algorithm/RectangleLineIntersector.js +0 -42
- package/node_modules/jsts/org/locationtech/jts/algorithm/RobustDeterminant.js +0 -196
- package/node_modules/jsts/org/locationtech/jts/algorithm/RobustLineIntersector.js +0 -155
- package/node_modules/jsts/org/locationtech/jts/algorithm/construct/LargestEmptyCircle.js +0 -193
- package/node_modules/jsts/org/locationtech/jts/algorithm/construct/MaximumInscribedCircle.js +0 -167
- package/node_modules/jsts/org/locationtech/jts/algorithm/distance/DiscreteHausdorffDistance.js +0 -128
- package/node_modules/jsts/org/locationtech/jts/algorithm/distance/DistanceToPoint.js +0 -46
- package/node_modules/jsts/org/locationtech/jts/algorithm/distance/PointPairDistance.js +0 -70
- package/node_modules/jsts/org/locationtech/jts/algorithm/distance_module.js +0 -9
- package/node_modules/jsts/org/locationtech/jts/algorithm/locate/IndexedPointInAreaLocator.js +0 -96
- package/node_modules/jsts/org/locationtech/jts/algorithm/locate/PointOnGeometryLocator.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/algorithm/locate/SimplePointInAreaLocator.js +0 -66
- package/node_modules/jsts/org/locationtech/jts/algorithm/locate.js +0 -9
- package/node_modules/jsts/org/locationtech/jts/algorithm/match/AreaSimilarityMeasure.js +0 -11
- package/node_modules/jsts/org/locationtech/jts/algorithm/match/HausdorffSimilarityMeasure.js +0 -23
- package/node_modules/jsts/org/locationtech/jts/algorithm/match/SimilarityMeasure.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/algorithm/match/SimilarityMeasureCombiner.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/algorithm/match.js +0 -11
- package/node_modules/jsts/org/locationtech/jts/algorithm.js +0 -41
- package/node_modules/jsts/org/locationtech/jts/densify/Densifier.js +0 -85
- package/node_modules/jsts/org/locationtech/jts/densify.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/dissolve/DissolveEdgeGraph.js +0 -10
- package/node_modules/jsts/org/locationtech/jts/dissolve/DissolveHalfEdge.js +0 -18
- package/node_modules/jsts/org/locationtech/jts/dissolve/LineDissolver.js +0 -148
- package/node_modules/jsts/org/locationtech/jts/dissolve.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/edgegraph/EdgeGraph.js +0 -59
- package/node_modules/jsts/org/locationtech/jts/edgegraph/EdgeGraphBuilder.js +0 -49
- package/node_modules/jsts/org/locationtech/jts/edgegraph/HalfEdge.js +0 -185
- package/node_modules/jsts/org/locationtech/jts/edgegraph/MarkHalfEdge.js +0 -38
- package/node_modules/jsts/org/locationtech/jts/geom/Coordinate.js +0 -219
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateArrays.js +0 -245
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateFilter.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateList.js +0 -130
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequence.js +0 -53
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequenceComparator.js +0 -67
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequenceFactory.js +0 -18
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequenceFilter.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateSequences.js +0 -139
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateXY.js +0 -66
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateXYM.js +0 -83
- package/node_modules/jsts/org/locationtech/jts/geom/CoordinateXYZM.js +0 -78
- package/node_modules/jsts/org/locationtech/jts/geom/Coordinates.js +0 -48
- package/node_modules/jsts/org/locationtech/jts/geom/Dimension.js +0 -50
- package/node_modules/jsts/org/locationtech/jts/geom/Envelope.js +0 -360
- package/node_modules/jsts/org/locationtech/jts/geom/Geometry.js +0 -230
- package/node_modules/jsts/org/locationtech/jts/geom/GeometryCollection.js +0 -211
- package/node_modules/jsts/org/locationtech/jts/geom/GeometryCollectionIterator.js +0 -68
- package/node_modules/jsts/org/locationtech/jts/geom/GeometryComponentFilter.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/geom/GeometryFactory.js +0 -267
- package/node_modules/jsts/org/locationtech/jts/geom/GeometryFilter.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/geom/IntersectionMatrix.js +0 -212
- package/node_modules/jsts/org/locationtech/jts/geom/LineSegment.js +0 -273
- package/node_modules/jsts/org/locationtech/jts/geom/LineString.js +0 -210
- package/node_modules/jsts/org/locationtech/jts/geom/Lineal.js +0 -1
- package/node_modules/jsts/org/locationtech/jts/geom/LinearRing.js +0 -48
- package/node_modules/jsts/org/locationtech/jts/geom/Location.js +0 -20
- package/node_modules/jsts/org/locationtech/jts/geom/MultiLineString.js +0 -65
- package/node_modules/jsts/org/locationtech/jts/geom/MultiPoint.js +0 -61
- package/node_modules/jsts/org/locationtech/jts/geom/MultiPolygon.js +0 -62
- package/node_modules/jsts/org/locationtech/jts/geom/OctagonalEnvelope.js +0 -273
- package/node_modules/jsts/org/locationtech/jts/geom/Point.js +0 -140
- package/node_modules/jsts/org/locationtech/jts/geom/Polygon.js +0 -275
- package/node_modules/jsts/org/locationtech/jts/geom/Polygonal.js +0 -1
- package/node_modules/jsts/org/locationtech/jts/geom/PrecisionModel.js +0 -133
- package/node_modules/jsts/org/locationtech/jts/geom/Puntal.js +0 -1
- package/node_modules/jsts/org/locationtech/jts/geom/TopologyException.js +0 -13
- package/node_modules/jsts/org/locationtech/jts/geom/Triangle.js +0 -158
- package/node_modules/jsts/org/locationtech/jts/geom/impl/CoordinateArraySequence.js +0 -177
- package/node_modules/jsts/org/locationtech/jts/geom/impl/CoordinateArraySequenceFactory.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/geom/impl/PackedCoordinateSequenceFactory.js +0 -98
- package/node_modules/jsts/org/locationtech/jts/geom/prep/AbstractPreparedPolygonContains.js +0 -60
- package/node_modules/jsts/org/locationtech/jts/geom/prep/BasicPreparedGeometry.js +0 -74
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedGeometry.js +0 -13
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedGeometryFactory.js +0 -19
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedLineString.js +0 -23
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedLineStringIntersects.js +0 -37
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPoint.js +0 -15
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygon.js +0 -57
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonContains.js +0 -22
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonContainsProperly.js +0 -30
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonCovers.js +0 -23
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonIntersects.js +0 -31
- package/node_modules/jsts/org/locationtech/jts/geom/prep/PreparedPolygonPredicate.js +0 -60
- package/node_modules/jsts/org/locationtech/jts/geom/util/AffineTransformation.js +0 -393
- package/node_modules/jsts/org/locationtech/jts/geom/util/AffineTransformationBuilder.js +0 -52
- package/node_modules/jsts/org/locationtech/jts/geom/util/AffineTransformationFactory.js +0 -55
- package/node_modules/jsts/org/locationtech/jts/geom/util/ComponentCoordinateExtracter.js +0 -25
- package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryCollectionMapper.js +0 -24
- package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryCombiner.js +0 -71
- package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryEditor.js +0 -138
- package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryExtracter.js +0 -41
- package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryMapper.js +0 -28
- package/node_modules/jsts/org/locationtech/jts/geom/util/GeometryTransformer.js +0 -125
- package/node_modules/jsts/org/locationtech/jts/geom/util/LineStringExtracter.js +0 -37
- package/node_modules/jsts/org/locationtech/jts/geom/util/LinearComponentExtracter.js +0 -88
- package/node_modules/jsts/org/locationtech/jts/geom/util/NoninvertibleTransformationException.js +0 -15
- package/node_modules/jsts/org/locationtech/jts/geom/util/PointExtracter.js +0 -38
- package/node_modules/jsts/org/locationtech/jts/geom/util/PolygonExtracter.js +0 -34
- package/node_modules/jsts/org/locationtech/jts/geom/util/ShortCircuitedGeometryVisitor.js +0 -23
- package/node_modules/jsts/org/locationtech/jts/geom/util/SineStarFactory.js +0 -62
- package/node_modules/jsts/org/locationtech/jts/geom/util.js +0 -35
- package/node_modules/jsts/org/locationtech/jts/geom.js +0 -51
- package/node_modules/jsts/org/locationtech/jts/geomgraph/Depth.js +0 -85
- package/node_modules/jsts/org/locationtech/jts/geomgraph/DirectedEdge.js +0 -143
- package/node_modules/jsts/org/locationtech/jts/geomgraph/DirectedEdgeStar.js +0 -233
- package/node_modules/jsts/org/locationtech/jts/geomgraph/Edge.js +0 -190
- package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeEnd.js +0 -94
- package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeEndStar.js +0 -173
- package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeIntersection.js +0 -52
- package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeIntersectionList.js +0 -74
- package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeList.js +0 -57
- package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeNodingValidator.js +0 -28
- package/node_modules/jsts/org/locationtech/jts/geomgraph/EdgeRing.js +0 -160
- package/node_modules/jsts/org/locationtech/jts/geomgraph/GeometryGraph.js +0 -238
- package/node_modules/jsts/org/locationtech/jts/geomgraph/GraphComponent.js +0 -49
- package/node_modules/jsts/org/locationtech/jts/geomgraph/Label.js +0 -132
- package/node_modules/jsts/org/locationtech/jts/geomgraph/Node.js +0 -91
- package/node_modules/jsts/org/locationtech/jts/geomgraph/NodeFactory.js +0 -6
- package/node_modules/jsts/org/locationtech/jts/geomgraph/NodeMap.js +0 -64
- package/node_modules/jsts/org/locationtech/jts/geomgraph/PlanarGraph.js +0 -138
- package/node_modules/jsts/org/locationtech/jts/geomgraph/Position.js +0 -10
- package/node_modules/jsts/org/locationtech/jts/geomgraph/Quadrant.js +0 -51
- package/node_modules/jsts/org/locationtech/jts/geomgraph/TopologyLocation.js +0 -122
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/EdgeSetIntersector.js +0 -1
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/MonotoneChain.js +0 -15
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/MonotoneChainEdge.js +0 -66
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/MonotoneChainIndexer.js +0 -45
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SegmentIntersector.js +0 -109
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SimpleEdgeSetIntersector.js +0 -45
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SimpleMCSweepLineIntersector.js +0 -92
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SimpleSweepLineIntersector.js +0 -91
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SweepLineEvent.js +0 -61
- package/node_modules/jsts/org/locationtech/jts/geomgraph/index/SweepLineSegment.js +0 -27
- package/node_modules/jsts/org/locationtech/jts/geomgraph.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/index/ArrayListVisitor.js +0 -19
- package/node_modules/jsts/org/locationtech/jts/index/ItemVisitor.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/index/SpatialIndex.js +0 -11
- package/node_modules/jsts/org/locationtech/jts/index/bintree/Bintree.js +0 -69
- package/node_modules/jsts/org/locationtech/jts/index/bintree/Interval.js +0 -67
- package/node_modules/jsts/org/locationtech/jts/index/bintree/Key.js +0 -42
- package/node_modules/jsts/org/locationtech/jts/index/bintree/Node.js +0 -89
- package/node_modules/jsts/org/locationtech/jts/index/bintree/NodeBase.js +0 -93
- package/node_modules/jsts/org/locationtech/jts/index/bintree/Root.js +0 -33
- package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChain.js +0 -99
- package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChainBuilder.js +0 -41
- package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChainOverlapAction.js +0 -20
- package/node_modules/jsts/org/locationtech/jts/index/chain/MonotoneChainSelectAction.js +0 -18
- package/node_modules/jsts/org/locationtech/jts/index/hprtree/HPRtree.js +0 -245
- package/node_modules/jsts/org/locationtech/jts/index/hprtree/HilbertEncoder.js +0 -29
- package/node_modules/jsts/org/locationtech/jts/index/hprtree/Item.js +0 -21
- package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/IntervalRTreeBranchNode.js +0 -26
- package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/IntervalRTreeLeafNode.js +0 -18
- package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/IntervalRTreeNode.js +0 -41
- package/node_modules/jsts/org/locationtech/jts/index/intervalrtree/SortedPackedIntervalRTree.js +0 -66
- package/node_modules/jsts/org/locationtech/jts/index/kdtree/KdNode.js +0 -61
- package/node_modules/jsts/org/locationtech/jts/index/kdtree/KdNodeVisitor.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/index/kdtree/KdTree.js +0 -190
- package/node_modules/jsts/org/locationtech/jts/index/kdtree.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/index/quadtree/DoubleBits.js +0 -84
- package/node_modules/jsts/org/locationtech/jts/index/quadtree/IntervalSize.js +0 -12
- package/node_modules/jsts/org/locationtech/jts/index/quadtree/Key.js +0 -52
- package/node_modules/jsts/org/locationtech/jts/index/quadtree/Node.js +0 -110
- package/node_modules/jsts/org/locationtech/jts/index/quadtree/NodeBase.js +0 -134
- package/node_modules/jsts/org/locationtech/jts/index/quadtree/Quadtree.js +0 -78
- package/node_modules/jsts/org/locationtech/jts/index/quadtree/Root.js +0 -35
- package/node_modules/jsts/org/locationtech/jts/index/quadtree.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/index/strtree/AbstractNode.js +0 -43
- package/node_modules/jsts/org/locationtech/jts/index/strtree/AbstractSTRtree.js +0 -281
- package/node_modules/jsts/org/locationtech/jts/index/strtree/Boundable.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/index/strtree/BoundablePair.js +0 -89
- package/node_modules/jsts/org/locationtech/jts/index/strtree/BoundablePairDistanceComparator.js +0 -34
- package/node_modules/jsts/org/locationtech/jts/index/strtree/EnvelopeDistance.js +0 -48
- package/node_modules/jsts/org/locationtech/jts/index/strtree/GeometryItemDistance.js +0 -13
- package/node_modules/jsts/org/locationtech/jts/index/strtree/Interval.js +0 -37
- package/node_modules/jsts/org/locationtech/jts/index/strtree/ItemBoundable.js +0 -23
- package/node_modules/jsts/org/locationtech/jts/index/strtree/ItemDistance.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/index/strtree/SIRtree.js +0 -72
- package/node_modules/jsts/org/locationtech/jts/index/strtree/STRtree.js +0 -284
- package/node_modules/jsts/org/locationtech/jts/index/strtree.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineEvent.js +0 -50
- package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineIndex.js +0 -49
- package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineInterval.js +0 -28
- package/node_modules/jsts/org/locationtech/jts/index/sweepline/SweepLineOverlapAction.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/index.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/io/GeoJSONParser.js +0 -420
- package/node_modules/jsts/org/locationtech/jts/io/GeoJSONReader.js +0 -37
- package/node_modules/jsts/org/locationtech/jts/io/GeoJSONWriter.js +0 -36
- package/node_modules/jsts/org/locationtech/jts/io/OL3Parser.js +0 -189
- package/node_modules/jsts/org/locationtech/jts/io/WKTParser.js +0 -784
- package/node_modules/jsts/org/locationtech/jts/io/WKTReader.js +0 -42
- package/node_modules/jsts/org/locationtech/jts/io/WKTWriter.js +0 -55
- package/node_modules/jsts/org/locationtech/jts/io.js +0 -13
- package/node_modules/jsts/org/locationtech/jts/linearref/ExtractLineByLocation.js +0 -64
- package/node_modules/jsts/org/locationtech/jts/linearref/LengthIndexOfPoint.js +0 -61
- package/node_modules/jsts/org/locationtech/jts/linearref/LengthIndexedLine.js +0 -78
- package/node_modules/jsts/org/locationtech/jts/linearref/LengthLocationMap.js +0 -98
- package/node_modules/jsts/org/locationtech/jts/linearref/LinearGeometryBuilder.js +0 -71
- package/node_modules/jsts/org/locationtech/jts/linearref/LinearIterator.js +0 -76
- package/node_modules/jsts/org/locationtech/jts/linearref/LinearLocation.js +0 -201
- package/node_modules/jsts/org/locationtech/jts/linearref/LocationIndexOfLine.js +0 -29
- package/node_modules/jsts/org/locationtech/jts/linearref/LocationIndexOfPoint.js +0 -64
- package/node_modules/jsts/org/locationtech/jts/linearref/LocationIndexedLine.js +0 -60
- package/node_modules/jsts/org/locationtech/jts/linearref.js +0 -15
- package/node_modules/jsts/org/locationtech/jts/math/DD.js +0 -608
- package/node_modules/jsts/org/locationtech/jts/math/MathUtil.js +0 -55
- package/node_modules/jsts/org/locationtech/jts/math/Matrix.js +0 -43
- package/node_modules/jsts/org/locationtech/jts/math/Plane3D.js +0 -36
- package/node_modules/jsts/org/locationtech/jts/math/Vector2D.js +0 -172
- package/node_modules/jsts/org/locationtech/jts/math/Vector3D.js +0 -104
- package/node_modules/jsts/org/locationtech/jts/monkey.js +0 -146
- package/node_modules/jsts/org/locationtech/jts/noding/BasicSegmentString.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/noding/FastNodingValidator.js +0 -60
- package/node_modules/jsts/org/locationtech/jts/noding/FastSegmentSetIntersectionFinder.js +0 -26
- package/node_modules/jsts/org/locationtech/jts/noding/InteriorIntersectionFinderAdder.js +0 -40
- package/node_modules/jsts/org/locationtech/jts/noding/IntersectionAdder.js +0 -88
- package/node_modules/jsts/org/locationtech/jts/noding/IteratedNoder.js +0 -53
- package/node_modules/jsts/org/locationtech/jts/noding/MCIndexNoder.js +0 -85
- package/node_modules/jsts/org/locationtech/jts/noding/MCIndexSegmentSetMutualIntersector.js +0 -82
- package/node_modules/jsts/org/locationtech/jts/noding/NodableSegmentString.js +0 -7
- package/node_modules/jsts/org/locationtech/jts/noding/NodedSegmentString.js +0 -96
- package/node_modules/jsts/org/locationtech/jts/noding/Noder.js +0 -4
- package/node_modules/jsts/org/locationtech/jts/noding/NodingIntersectionFinder.js +0 -139
- package/node_modules/jsts/org/locationtech/jts/noding/NodingValidator.js +0 -96
- package/node_modules/jsts/org/locationtech/jts/noding/Octant.js +0 -31
- package/node_modules/jsts/org/locationtech/jts/noding/OrientedCoordinateArray.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/noding/ScaledNoder.js +0 -82
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentIntersectionDetector.js +0 -80
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentIntersector.js +0 -4
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentNode.js +0 -51
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentNodeList.js +0 -199
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentPointComparator.js +0 -40
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentSetMutualIntersector.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentString.js +0 -8
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentStringDissolver.js +0 -53
- package/node_modules/jsts/org/locationtech/jts/noding/SegmentStringUtil.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/noding/SimpleNoder.js +0 -33
- package/node_modules/jsts/org/locationtech/jts/noding/SimpleSegmentSetMutualIntersector.js +0 -34
- package/node_modules/jsts/org/locationtech/jts/noding/SinglePassNoder.js +0 -19
- package/node_modules/jsts/org/locationtech/jts/noding/snapround/GeometryNoder.js +0 -59
- package/node_modules/jsts/org/locationtech/jts/noding/snapround/HotPixel.js +0 -120
- package/node_modules/jsts/org/locationtech/jts/noding/snapround/MCIndexPointSnapper.js +0 -65
- package/node_modules/jsts/org/locationtech/jts/noding/snapround/MCIndexSnapRounder.js +0 -89
- package/node_modules/jsts/org/locationtech/jts/noding/snapround/SimpleSnapRounder.js +0 -105
- package/node_modules/jsts/org/locationtech/jts/noding.js +0 -9
- package/node_modules/jsts/org/locationtech/jts/operation/BoundaryOp.js +0 -104
- package/node_modules/jsts/org/locationtech/jts/operation/GeometryGraphOperation.js +0 -36
- package/node_modules/jsts/org/locationtech/jts/operation/IsSimpleOp.js +0 -165
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferBuilder.js +0 -148
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferInputLineSimplifier.js +0 -96
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferOp.js +0 -126
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferParameters.js +0 -87
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/BufferSubgraph.js +0 -150
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetCurveBuilder.js +0 -170
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetCurveSetBuilder.js +0 -118
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetSegmentGenerator.js +0 -269
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/OffsetSegmentString.js +0 -62
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/RightmostEdgeFinder.js +0 -91
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/SubgraphDepthLocater.js +0 -100
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/VariableBuffer.js +0 -226
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/BufferCurveMaximumDistanceFinder.js +0 -92
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/BufferDistanceValidator.js +0 -107
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/BufferResultValidator.js +0 -116
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/DistanceToPointFinder.js +0 -46
- package/node_modules/jsts/org/locationtech/jts/operation/buffer/validate/PointPairDistance.js +0 -66
- package/node_modules/jsts/org/locationtech/jts/operation/buffer.js +0 -7
- package/node_modules/jsts/org/locationtech/jts/operation/distance/ConnectedElementLocationFilter.js +0 -28
- package/node_modules/jsts/org/locationtech/jts/operation/distance/ConnectedElementPointFilter.js +0 -26
- package/node_modules/jsts/org/locationtech/jts/operation/distance/DistanceOp.js +0 -231
- package/node_modules/jsts/org/locationtech/jts/operation/distance/FacetSequence.js +0 -150
- package/node_modules/jsts/org/locationtech/jts/operation/distance/FacetSequenceTreeBuilder.js +0 -50
- package/node_modules/jsts/org/locationtech/jts/operation/distance/GeometryLocation.js +0 -36
- package/node_modules/jsts/org/locationtech/jts/operation/distance/IndexedFacetDistance.js +0 -68
- package/node_modules/jsts/org/locationtech/jts/operation/distance.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/operation/distance3d/AxisPlaneCoordinateSequence.js +0 -82
- package/node_modules/jsts/org/locationtech/jts/operation/distance3d/Distance3DOp.js +0 -299
- package/node_modules/jsts/org/locationtech/jts/operation/distance3d/PlanarPolygon3D.js +0 -110
- package/node_modules/jsts/org/locationtech/jts/operation/linemerge/EdgeString.js +0 -42
- package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMergeDirectedEdge.js +0 -22
- package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMergeEdge.js +0 -15
- package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMergeGraph.js +0 -34
- package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineMerger.js +0 -108
- package/node_modules/jsts/org/locationtech/jts/operation/linemerge/LineSequencer.js +0 -245
- package/node_modules/jsts/org/locationtech/jts/operation/linemerge.js +0 -7
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/ConsistentPolygonRingChecker.js +0 -69
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/EdgeSetNoder.js +0 -28
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/LineBuilder.js +0 -89
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/MaximalEdgeRing.js +0 -39
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/MinimalEdgeRing.js +0 -17
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/OverlayNodeFactory.js +0 -11
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/OverlayOp.js +0 -312
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/PointBuilder.js +0 -39
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/PolygonBuilder.js +0 -144
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/GeometrySnapper.js +0 -118
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/LineStringSnapper.js +0 -87
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/SnapIfNeededOverlayOp.js +0 -54
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap/SnapOverlayOp.js +0 -70
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/snap.js +0 -7
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/validate/FuzzyPointLocator.js +0 -71
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/validate/OffsetPointGenerator.js +0 -51
- package/node_modules/jsts/org/locationtech/jts/operation/overlay/validate/OverlayResultValidator.js +0 -81
- package/node_modules/jsts/org/locationtech/jts/operation/overlay.js +0 -7
- package/node_modules/jsts/org/locationtech/jts/operation/polygonize/EdgeRing.js +0 -235
- package/node_modules/jsts/org/locationtech/jts/operation/polygonize/HoleAssigner.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/operation/polygonize/PolygonizeDirectedEdge.js +0 -35
- package/node_modules/jsts/org/locationtech/jts/operation/polygonize/PolygonizeEdge.js +0 -15
- package/node_modules/jsts/org/locationtech/jts/operation/polygonize/PolygonizeGraph.js +0 -247
- package/node_modules/jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js +0 -170
- package/node_modules/jsts/org/locationtech/jts/operation/polygonize.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/operation/predicate/RectangleContains.js +0 -62
- package/node_modules/jsts/org/locationtech/jts/operation/predicate/RectangleIntersects.js +0 -151
- package/node_modules/jsts/org/locationtech/jts/operation/relate/EdgeEndBuilder.js +0 -56
- package/node_modules/jsts/org/locationtech/jts/operation/relate/EdgeEndBundle.js +0 -93
- package/node_modules/jsts/org/locationtech/jts/operation/relate/EdgeEndBundleStar.js +0 -22
- package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateComputer.js +0 -168
- package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateNode.js +0 -17
- package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateNodeFactory.js +0 -11
- package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateNodeGraph.js +0 -48
- package/node_modules/jsts/org/locationtech/jts/operation/relate/RelateOp.js +0 -101
- package/node_modules/jsts/org/locationtech/jts/operation/relate.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/operation/union/CascadedPolygonUnion.js +0 -124
- package/node_modules/jsts/org/locationtech/jts/operation/union/InputExtracter.js +0 -93
- package/node_modules/jsts/org/locationtech/jts/operation/union/OverlapUnion.js +0 -146
- package/node_modules/jsts/org/locationtech/jts/operation/union/PointGeometryUnion.js +0 -42
- package/node_modules/jsts/org/locationtech/jts/operation/union/UnaryUnionOp.js +0 -97
- package/node_modules/jsts/org/locationtech/jts/operation/union/UnionInteracting.js +0 -70
- package/node_modules/jsts/org/locationtech/jts/operation/union/UnionOp.js +0 -22
- package/node_modules/jsts/org/locationtech/jts/operation/union.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/operation/valid/ConnectedInteriorTester.js +0 -118
- package/node_modules/jsts/org/locationtech/jts/operation/valid/ConsistentAreaTester.js +0 -50
- package/node_modules/jsts/org/locationtech/jts/operation/valid/IndexedNestedRingTester.js +0 -56
- package/node_modules/jsts/org/locationtech/jts/operation/valid/IsValidOp.js +0 -323
- package/node_modules/jsts/org/locationtech/jts/operation/valid/RepeatedPointTester.js +0 -48
- package/node_modules/jsts/org/locationtech/jts/operation/valid/TopologyValidationError.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/operation/valid.js +0 -7
- package/node_modules/jsts/org/locationtech/jts/operation.js +0 -23
- package/node_modules/jsts/org/locationtech/jts/planargraph/DirectedEdge.js +0 -99
- package/node_modules/jsts/org/locationtech/jts/planargraph/DirectedEdgeStar.js +0 -75
- package/node_modules/jsts/org/locationtech/jts/planargraph/Edge.js +0 -46
- package/node_modules/jsts/org/locationtech/jts/planargraph/GraphComponent.js +0 -53
- package/node_modules/jsts/org/locationtech/jts/planargraph/Node.js +0 -55
- package/node_modules/jsts/org/locationtech/jts/planargraph/NodeMap.js +0 -25
- package/node_modules/jsts/org/locationtech/jts/planargraph/PlanarGraph.js +0 -96
- package/node_modules/jsts/org/locationtech/jts/planargraph/Subgraph.js +0 -39
- package/node_modules/jsts/org/locationtech/jts/planargraph/algorithm/ConnectedSubgraphFinder.js +0 -48
- package/node_modules/jsts/org/locationtech/jts/precision/CommonBits.js +0 -86
- package/node_modules/jsts/org/locationtech/jts/precision/CommonBitsOp.js +0 -58
- package/node_modules/jsts/org/locationtech/jts/precision/CommonBitsRemover.js +0 -81
- package/node_modules/jsts/org/locationtech/jts/precision/CoordinatePrecisionReducerFilter.js +0 -24
- package/node_modules/jsts/org/locationtech/jts/precision/EnhancedPrecisionOp.js +0 -109
- package/node_modules/jsts/org/locationtech/jts/precision/GeometryPrecisionReducer.js +0 -80
- package/node_modules/jsts/org/locationtech/jts/precision/MinimumClearance.js +0 -125
- package/node_modules/jsts/org/locationtech/jts/precision/PrecisionReducerCoordinateOperation.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/precision/SimpleMinimumClearance.js +0 -114
- package/node_modules/jsts/org/locationtech/jts/precision.js +0 -17
- package/node_modules/jsts/org/locationtech/jts/shape/GeometricShapeBuilder.js +0 -50
- package/node_modules/jsts/org/locationtech/jts/shape/fractal/HilbertCode.js +0 -109
- package/node_modules/jsts/org/locationtech/jts/shape/fractal/HilbertCurveBuilder.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/shape/fractal/KochSnowflakeBuilder.js +0 -65
- package/node_modules/jsts/org/locationtech/jts/shape/fractal/MortonCode.js +0 -49
- package/node_modules/jsts/org/locationtech/jts/shape/fractal/MortonCurveBuilder.js +0 -43
- package/node_modules/jsts/org/locationtech/jts/shape/fractal/SierpinskiCarpetBuilder.js +0 -52
- package/node_modules/jsts/org/locationtech/jts/shape/random/RandomPointsBuilder.js +0 -60
- package/node_modules/jsts/org/locationtech/jts/shape/random/RandomPointsInGridBuilder.js +0 -71
- package/node_modules/jsts/org/locationtech/jts/simplify/DouglasPeuckerLineSimplifier.js +0 -60
- package/node_modules/jsts/org/locationtech/jts/simplify/DouglasPeuckerSimplifier.js +0 -81
- package/node_modules/jsts/org/locationtech/jts/simplify/LineSegmentIndex.js +0 -58
- package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLineSegment.js +0 -26
- package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLineString.js +0 -71
- package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLineStringSimplifier.js +0 -124
- package/node_modules/jsts/org/locationtech/jts/simplify/TaggedLinesSimplifier.js +0 -25
- package/node_modules/jsts/org/locationtech/jts/simplify/TopologyPreservingSimplifier.js +0 -79
- package/node_modules/jsts/org/locationtech/jts/simplify/VWLineSimplifier.js +0 -126
- package/node_modules/jsts/org/locationtech/jts/simplify/VWSimplifier.js +0 -81
- package/node_modules/jsts/org/locationtech/jts/simplify.js +0 -9
- package/node_modules/jsts/org/locationtech/jts/triangulate/ConformingDelaunayTriangulationBuilder.js +0 -90
- package/node_modules/jsts/org/locationtech/jts/triangulate/ConformingDelaunayTriangulator.js +0 -215
- package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintEnforcementException.js +0 -27
- package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintSplitPointFinder.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintVertex.js +0 -32
- package/node_modules/jsts/org/locationtech/jts/triangulate/ConstraintVertexFactory.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/triangulate/DelaunayTriangulationBuilder.js +0 -80
- package/node_modules/jsts/org/locationtech/jts/triangulate/IncrementalDelaunayTriangulator.js +0 -46
- package/node_modules/jsts/org/locationtech/jts/triangulate/MidpointSplitPointFinder.js +0 -12
- package/node_modules/jsts/org/locationtech/jts/triangulate/NonEncroachingSplitPointFinder.js +0 -27
- package/node_modules/jsts/org/locationtech/jts/triangulate/Segment.js +0 -73
- package/node_modules/jsts/org/locationtech/jts/triangulate/SplitSegment.js +0 -51
- package/node_modules/jsts/org/locationtech/jts/triangulate/VertexTaggedGeometryDataMapper.js +0 -44
- package/node_modules/jsts/org/locationtech/jts/triangulate/VoronoiDiagramBuilder.js +0 -78
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/EdgeConnectedTriangleTraversal.js +0 -35
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/LastFoundQuadEdgeLocator.js +0 -31
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/LocateFailureException.js +0 -32
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdge.js +0 -142
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeLocator.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeSubdivision.js +0 -443
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeTriangle.js +0 -184
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/QuadEdgeUtil.js +0 -12
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/TraversalVisitor.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/TrianglePredicate.js +0 -106
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/TriangleVisitor.js +0 -3
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge/Vertex.js +0 -199
- package/node_modules/jsts/org/locationtech/jts/triangulate/quadedge.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/triangulate.js +0 -11
- package/node_modules/jsts/org/locationtech/jts/util/Assert.js +0 -37
- package/node_modules/jsts/org/locationtech/jts/util/AssertionFailedException.js +0 -15
- package/node_modules/jsts/org/locationtech/jts/util/CollectionUtil.js +0 -27
- package/node_modules/jsts/org/locationtech/jts/util/CoordinateArrayFilter.js +0 -21
- package/node_modules/jsts/org/locationtech/jts/util/CoordinateCountFilter.js +0 -18
- package/node_modules/jsts/org/locationtech/jts/util/GeometricShapeFactory.js +0 -258
- package/node_modules/jsts/org/locationtech/jts/util/IntArrayList.js +0 -42
- package/node_modules/jsts/org/locationtech/jts/util/Memory.js +0 -41
- package/node_modules/jsts/org/locationtech/jts/util/NumberUtil.js +0 -5
- package/node_modules/jsts/org/locationtech/jts/util/ObjectCounter.js +0 -36
- package/node_modules/jsts/org/locationtech/jts/util/PriorityQueue.js +0 -56
- package/node_modules/jsts/org/locationtech/jts/util/StringUtil.js +0 -63
- package/node_modules/jsts/org/locationtech/jts/util/TestBuilderProxy.js +0 -33
- package/node_modules/jsts/org/locationtech/jts/util/UniqueCoordinateArrayFilter.js +0 -31
- package/node_modules/jsts/org/locationtech/jts/util.js +0 -21
- package/node_modules/jsts/package.json +0 -62
- package/node_modules/point-in-polygon/LICENSE +0 -21
- package/node_modules/point-in-polygon/example/inside.js +0 -6
- package/node_modules/point-in-polygon/flat.js +0 -15
- package/node_modules/point-in-polygon/index.js +0 -12
- package/node_modules/point-in-polygon/nested.js +0 -18
- package/node_modules/point-in-polygon/package.json +0 -32
- package/node_modules/point-in-polygon/readme.markdown +0 -51
- package/node_modules/point-in-polygon/test/box-offset.js +0 -24
- package/node_modules/point-in-polygon/test/box.js +0 -34
- package/node_modules/point-in-polygon/test/flat-offset.js +0 -24
- package/node_modules/point-in-polygon/test/flat.js +0 -24
- package/node_modules/point-in-polygon-hao/LICENSE +0 -20
- package/node_modules/point-in-polygon-hao/README.md +0 -74
- package/node_modules/point-in-polygon-hao/dist/cjs/index.cjs +0 -322
- package/node_modules/point-in-polygon-hao/dist/cjs/index.d.cts +0 -10
- package/node_modules/point-in-polygon-hao/dist/esm/index.d.ts +0 -10
- package/node_modules/point-in-polygon-hao/dist/esm/index.js +0 -56
- package/node_modules/point-in-polygon-hao/dist/pointInPolygon.js +0 -328
- package/node_modules/point-in-polygon-hao/dist/pointInPolygon.min.js +0 -1
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/LICENSE +0 -24
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/README.md +0 -82
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/incircle.js +0 -765
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/insphere.js +0 -766
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient2d.js +0 -184
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/orient3d.js +0 -462
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/esm/util.js +0 -138
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.d.ts +0 -49
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/index.js +0 -5
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/package.json +0 -75
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.js +0 -908
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/incircle.min.js +0 -1
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.js +0 -914
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/insphere.min.js +0 -1
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.js +0 -280
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient2d.min.js +0 -1
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.js +0 -601
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/orient3d.min.js +0 -1
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.js +0 -2328
- package/node_modules/point-in-polygon-hao/node_modules/robust-predicates/umd/predicates.min.js +0 -1
- package/node_modules/point-in-polygon-hao/package.json +0 -57
- package/node_modules/polyclip-ts/LICENSE +0 -21
- package/node_modules/polyclip-ts/README.md +0 -101
- package/node_modules/polyclip-ts/dist/cjs/index.cjs +0 -1179
- package/node_modules/polyclip-ts/dist/cjs/index.cjs.map +0 -1
- package/node_modules/polyclip-ts/dist/cjs/index.d.cts +0 -12
- package/node_modules/polyclip-ts/dist/esm/index.d.ts +0 -12
- package/node_modules/polyclip-ts/dist/esm/index.js +0 -1138
- package/node_modules/polyclip-ts/dist/esm/index.js.map +0 -1
- package/node_modules/polyclip-ts/dist/polyclip-ts.umd.js +0 -4811
- package/node_modules/polyclip-ts/dist/polyclip-ts.umd.min.js +0 -2
- package/node_modules/polyclip-ts/package.json +0 -72
- package/node_modules/quickselect/LICENSE +0 -15
- package/node_modules/quickselect/README.md +0 -28
- package/node_modules/quickselect/index.js +0 -54
- package/node_modules/quickselect/package.json +0 -43
- package/node_modules/quickselect/quickselect.js +0 -63
- package/node_modules/rbush/LICENSE +0 -21
- package/node_modules/rbush/README.md +0 -218
- package/node_modules/rbush/index.js +0 -512
- package/node_modules/rbush/package.json +0 -56
- package/node_modules/rbush/rbush.js +0 -574
- package/node_modules/rbush/rbush.min.js +0 -1
- package/node_modules/robust-predicates/LICENSE +0 -24
- package/node_modules/robust-predicates/README.md +0 -82
- package/node_modules/robust-predicates/esm/incircle.js +0 -765
- package/node_modules/robust-predicates/esm/insphere.js +0 -775
- package/node_modules/robust-predicates/esm/orient2d.js +0 -186
- package/node_modules/robust-predicates/esm/orient3d.js +0 -462
- package/node_modules/robust-predicates/esm/util.js +0 -138
- package/node_modules/robust-predicates/index.js +0 -5
- package/node_modules/robust-predicates/package.json +0 -68
- package/node_modules/robust-predicates/umd/incircle.js +0 -910
- package/node_modules/robust-predicates/umd/incircle.min.js +0 -1
- package/node_modules/robust-predicates/umd/insphere.js +0 -925
- package/node_modules/robust-predicates/umd/insphere.min.js +0 -1
- package/node_modules/robust-predicates/umd/orient2d.js +0 -284
- package/node_modules/robust-predicates/umd/orient2d.min.js +0 -1
- package/node_modules/robust-predicates/umd/orient3d.js +0 -603
- package/node_modules/robust-predicates/umd/orient3d.min.js +0 -1
- package/node_modules/robust-predicates/umd/predicates.js +0 -2341
- package/node_modules/robust-predicates/umd/predicates.min.js +0 -1
- package/node_modules/skmeans/.gitattributes +0 -17
- package/node_modules/skmeans/.npmignore +0 -52
- package/node_modules/skmeans/Gruntfile.js +0 -49
- package/node_modules/skmeans/README.md +0 -62
- package/node_modules/skmeans/browser.js +0 -19
- package/node_modules/skmeans/dist/browser/skmeans.js +0 -339
- package/node_modules/skmeans/dist/browser/skmeans.js.map +0 -1
- package/node_modules/skmeans/dist/browser/skmeans.min.js +0 -3
- package/node_modules/skmeans/dist/index.html +0 -15
- package/node_modules/skmeans/dist/node/Gruntfile.js +0 -49
- package/node_modules/skmeans/dist/node/Gruntfile.js.map +0 -1
- package/node_modules/skmeans/dist/node/browser.js +0 -19
- package/node_modules/skmeans/dist/node/browser.js.map +0 -1
- package/node_modules/skmeans/dist/node/distance.js +0 -39
- package/node_modules/skmeans/dist/node/distance.js.map +0 -1
- package/node_modules/skmeans/dist/node/kinit.js +0 -110
- package/node_modules/skmeans/dist/node/kinit.js.map +0 -1
- package/node_modules/skmeans/dist/node/main.js +0 -161
- package/node_modules/skmeans/dist/node/main.js.map +0 -1
- package/node_modules/skmeans/distance.js +0 -37
- package/node_modules/skmeans/kinit.js +0 -102
- package/node_modules/skmeans/main.js +0 -147
- package/node_modules/skmeans/package.json +0 -33
- package/node_modules/skmeans/test/data/random_pts.js +0 -1
- package/node_modules/skmeans/test/data/well-separated.js +0 -1
- package/node_modules/skmeans/test/multi.js +0 -15
- package/node_modules/skmeans/test/stats.js +0 -65
- package/node_modules/skmeans/test/test.js +0 -42
- package/node_modules/skmeans/test/test_rand.js +0 -23
- package/node_modules/skmeans/test/test_ws.js +0 -23
- package/node_modules/skmeans/test/uni.js +0 -15
- package/node_modules/splaytree-ts/LICENSE +0 -29
- package/node_modules/splaytree-ts/README.md +0 -296
- package/node_modules/splaytree-ts/dist/cjs/index.cjs +0 -714
- package/node_modules/splaytree-ts/dist/cjs/index.cjs.map +0 -1
- package/node_modules/splaytree-ts/dist/cjs/index.d.cts +0 -105
- package/node_modules/splaytree-ts/dist/esm/index.d.ts +0 -105
- package/node_modules/splaytree-ts/dist/esm/index.js +0 -688
- package/node_modules/splaytree-ts/dist/esm/index.js.map +0 -1
- package/node_modules/splaytree-ts/dist/splaytree-ts.umd.js +0 -736
- package/node_modules/splaytree-ts/dist/splaytree-ts.umd.min.js +0 -2
- package/node_modules/splaytree-ts/package.json +0 -59
- package/node_modules/sweepline-intersections/LICENSE +0 -21
- package/node_modules/sweepline-intersections/README.md +0 -118
- package/node_modules/sweepline-intersections/dist/SweeplineIntersectionsClass.esm.js +0 -277
- package/node_modules/sweepline-intersections/dist/SweeplineIntersectionsClass.js +0 -281
- package/node_modules/sweepline-intersections/dist/sweeplineIntersections.esm.js +0 -253
- package/node_modules/sweepline-intersections/dist/sweeplineIntersections.js +0 -260
- package/node_modules/sweepline-intersections/dist/sweeplineIntersections.min.js +0 -1
- package/node_modules/sweepline-intersections/package.json +0 -79
- package/node_modules/sweepline-intersections/types.d.ts +0 -8
- package/node_modules/tinyqueue/LICENSE +0 -15
- package/node_modules/tinyqueue/README.md +0 -59
- package/node_modules/tinyqueue/index.d.ts +0 -11
- package/node_modules/tinyqueue/index.js +0 -79
- package/node_modules/tinyqueue/package.json +0 -53
- package/node_modules/tinyqueue/tinyqueue.js +0 -93
- package/node_modules/tinyqueue/tinyqueue.min.js +0 -1
- package/node_modules/topojson-client/LICENSE +0 -13
- package/node_modules/topojson-client/README.md +0 -242
- package/node_modules/topojson-client/bin/topo2geo +0 -106
- package/node_modules/topojson-client/bin/topomerge +0 -216
- package/node_modules/topojson-client/bin/topoquantize +0 -74
- package/node_modules/topojson-client/dist/topojson-client.js +0 -508
- package/node_modules/topojson-client/dist/topojson-client.min.js +0 -2
- package/node_modules/topojson-client/package.json +0 -49
- package/node_modules/topojson-client/src/bbox.js +0 -39
- package/node_modules/topojson-client/src/bisect.js +0 -9
- package/node_modules/topojson-client/src/feature.js +0 -70
- package/node_modules/topojson-client/src/identity.js +0 -3
- package/node_modules/topojson-client/src/index.js +0 -8
- package/node_modules/topojson-client/src/merge.js +0 -103
- package/node_modules/topojson-client/src/mesh.js +0 -53
- package/node_modules/topojson-client/src/neighbors.js +0 -45
- package/node_modules/topojson-client/src/quantize.js +0 -54
- package/node_modules/topojson-client/src/reverse.js +0 -4
- package/node_modules/topojson-client/src/stitch.js +0 -73
- package/node_modules/topojson-client/src/transform.js +0 -19
- package/node_modules/topojson-client/src/untransform.js +0 -23
- package/node_modules/topojson-server/LICENSE +0 -13
- package/node_modules/topojson-server/README.md +0 -75
- package/node_modules/topojson-server/bin/geo2topo +0 -125
- package/node_modules/topojson-server/dist/topojson-server.js +0 -838
- package/node_modules/topojson-server/dist/topojson-server.min.js +0 -2
- package/node_modules/topojson-server/package.json +0 -47
- package/node_modules/topojson-server/src/bounds.js +0 -46
- package/node_modules/topojson-server/src/cut.js +0 -62
- package/node_modules/topojson-server/src/dedup.js +0 -187
- package/node_modules/topojson-server/src/delta.js +0 -30
- package/node_modules/topojson-server/src/extract.js +0 -67
- package/node_modules/topojson-server/src/geometry.js +0 -39
- package/node_modules/topojson-server/src/hash/hashmap.js +0 -70
- package/node_modules/topojson-server/src/hash/hashset.js +0 -53
- package/node_modules/topojson-server/src/hash/point-equal.js +0 -3
- package/node_modules/topojson-server/src/hash/point-hash.js +0 -13
- package/node_modules/topojson-server/src/index.js +0 -1
- package/node_modules/topojson-server/src/join.js +0 -116
- package/node_modules/topojson-server/src/object.js +0 -1
- package/node_modules/topojson-server/src/prequantize.js +0 -72
- package/node_modules/topojson-server/src/topology.js +0 -80
- package/node_modules/uuid/dist/uuid-bin.js +0 -70
- package/node_modules/uuid/dist/v4.js +0 -30
- package/node_modules/uuid/dist-node/md5.js +0 -11
- package/node_modules/uuid/dist-node/native.js +0 -2
- package/node_modules/uuid/dist-node/rng.js +0 -10
- package/node_modules/uuid/dist-node/sha1.js +0 -11
- package/node_modules/uuid/dist-node/uuid-bin.js +0 -70
- package/node_modules/uuid/dist-node/v4.js +0 -30
- package/tak-registration.bak +0 -557
- /package/node_modules/uuid/{dist-node/types.js β dist/cjs/uuid-bin.d.ts} +0 -0
- /package/node_modules/uuid/dist/{index.d.ts β cjs-browser/index.d.ts} +0 -0
- /package/node_modules/uuid/dist/{max.d.ts β cjs-browser/max.d.ts} +0 -0
- /package/node_modules/uuid/dist/{md5.d.ts β cjs-browser/md5.d.ts} +0 -0
- /package/node_modules/uuid/dist/{native.d.ts β cjs-browser/native.d.ts} +0 -0
- /package/node_modules/uuid/dist/{nil.d.ts β cjs-browser/nil.d.ts} +0 -0
- /package/node_modules/uuid/dist/{parse.d.ts β cjs-browser/parse.d.ts} +0 -0
- /package/node_modules/uuid/dist/{regex.d.ts β cjs-browser/regex.d.ts} +0 -0
- /package/node_modules/uuid/dist/{rng.d.ts β cjs-browser/rng.d.ts} +0 -0
- /package/node_modules/uuid/dist/{sha1.d.ts β cjs-browser/sha1.d.ts} +0 -0
- /package/node_modules/uuid/dist/{stringify.d.ts β cjs-browser/stringify.d.ts} +0 -0
- /package/node_modules/uuid/dist/{types.d.ts β cjs-browser/types.d.ts} +0 -0
- /package/node_modules/uuid/dist/{uuid-bin.d.ts β cjs-browser/uuid-bin.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v1.d.ts β cjs-browser/v1.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v1ToV6.d.ts β cjs-browser/v1ToV6.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v3.d.ts β cjs-browser/v3.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v35.d.ts β cjs-browser/v35.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v4.d.ts β cjs-browser/v4.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v5.d.ts β cjs-browser/v5.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v6.d.ts β cjs-browser/v6.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v6ToV1.d.ts β cjs-browser/v6ToV1.d.ts} +0 -0
- /package/node_modules/uuid/dist/{v7.d.ts β cjs-browser/v7.d.ts} +0 -0
- /package/node_modules/uuid/dist/{validate.d.ts β cjs-browser/validate.d.ts} +0 -0
- /package/node_modules/uuid/dist/{version.d.ts β cjs-browser/version.d.ts} +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm}/bin/uuid +0 -0
- /package/node_modules/uuid/dist/{index.js β esm/index.js} +0 -0
- /package/node_modules/uuid/dist/{max.js β esm/max.js} +0 -0
- /package/node_modules/uuid/dist/{nil.js β esm/nil.js} +0 -0
- /package/node_modules/uuid/dist/{parse.js β esm/parse.js} +0 -0
- /package/node_modules/uuid/dist/{regex.js β esm/regex.js} +0 -0
- /package/node_modules/uuid/dist/{stringify.js β esm/stringify.js} +0 -0
- /package/node_modules/uuid/dist/{v1.js β esm/v1.js} +0 -0
- /package/node_modules/uuid/dist/{v1ToV6.js β esm/v1ToV6.js} +0 -0
- /package/node_modules/uuid/dist/{v3.js β esm/v3.js} +0 -0
- /package/node_modules/uuid/dist/{v35.js β esm/v35.js} +0 -0
- /package/node_modules/uuid/dist/{v5.js β esm/v5.js} +0 -0
- /package/node_modules/uuid/dist/{v6.js β esm/v6.js} +0 -0
- /package/node_modules/uuid/dist/{v6ToV1.js β esm/v6ToV1.js} +0 -0
- /package/node_modules/uuid/dist/{v7.js β esm/v7.js} +0 -0
- /package/node_modules/uuid/dist/{validate.js β esm/validate.js} +0 -0
- /package/node_modules/uuid/dist/{version.js β esm/version.js} +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/index.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/max.js +0 -0
- /package/node_modules/uuid/dist/{md5.js β esm-browser/md5.js} +0 -0
- /package/node_modules/uuid/dist/{native.js β esm-browser/native.js} +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/nil.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/parse.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/regex.js +0 -0
- /package/node_modules/uuid/dist/{rng.js β esm-browser/rng.js} +0 -0
- /package/node_modules/uuid/dist/{sha1.js β esm-browser/sha1.js} +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/stringify.js +0 -0
- /package/node_modules/uuid/dist/{types.js β esm-browser/types.js} +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v1.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v1ToV6.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v3.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v35.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v5.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v6.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v6ToV1.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/v7.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/validate.js +0 -0
- /package/node_modules/uuid/{dist-node β dist/esm-browser}/version.js +0 -0
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
<h3 align="center"> π₯ Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="38px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/stytch_white.png"> <img width="200px" height="38px" src="https://axios-http.com/assets/sponsors/stytch.png" alt="Stytch"/> </picture> </a> <p align="center" title="API-first authentication, authorization, and fraud prevention">API-first authentication, authorization, and fraud prevention</p> <p align="center"> <a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http" target="_blank"><b>Website</b></a> | <a href="https://stytch.com/docs?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=docs-link&utm_campaign=axios-http" target="_blank"><b>Documentation</b></a> | <a href="https://github.com/stytchauth/stytch-node?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=node-sdk&utm_campaign=axios-http" target="_blank"><b>Node.js</b></a> </p>
|
|
3
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="133px" height="43px" src="https://axios-http.com/assets/sponsors/principal.svg" alt="Principal Financial Group"/> </a> <p align="center" title="Weβre bound by one common purpose: to give you the financial tools, resources and information you need to live your best life.">Weβre bound by one common purpose: to give you the financial tools, resources and information you ne...</p> <p align="center"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>www.principal.com</b></a> </p>
|
|
1
|
+
<h3 align="center"> π₯ Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="133px" height="43px" src="https://axios-http.com/assets/sponsors/principal.svg" alt="Principal Financial Group"/> </a> <p align="center" title="Weβre bound by one common purpose: to give you the financial tools, resources and information you need to live your best life.">Weβre bound by one common purpose: to give you the financial tools, resources and information you ne...</p> <p align="center"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>www.principal.com</b></a> </p>
|
|
4
2
|
</td><td align="center" width="33.333333333333336%"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/dfa9670ad5e66eea17315332453c7f4e3a3b5905.png" alt="Buy Instagram Followers Twicsy"/> </a> <p align="center" title="Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site to buy followers from the likes of US Magazine.">Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site...</p> <p align="center"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>twicsy.com</b></a> </p>
|
|
5
|
-
</td
|
|
6
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://route4me.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="51px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/route4me_white.png"> <img width="200px" height="51px" src="https://axios-http.com/assets/sponsors/route4me.png" alt="Route4Me"/> </picture> </a> <p align="center" title="Best Route Planning And Route Optimization Software">Best Route Planning And Route Optimization Software</p> <p align="center"> <a href="https://route4me.com/platform/route-optimization-software?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Explore</b></a> | <a href="https://route4me.com/platform/marketplace/pricing?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Free Trial</b></a> | <a href="https://route4me.com/contact?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Contact</b></a> </p>
|
|
3
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" title="Hi, we're Descope! We are building something in the authentication space for app developers and canβt wait to place it in your hands.">Hi, we're Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" target="_blank"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" target="_blank"><b>Docs</b></a> | <a href="https://www.descope.com/community?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" target="_blank"><b>Community</b></a> </p>
|
|
4
|
+
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://route4me.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <picture> <source width="200px" height="51px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/route4me_white.png"> <img width="200px" height="51px" src="https://axios-http.com/assets/sponsors/route4me.png" alt="Route4Me"/> </picture> </a> <p align="center" title="Best Route Planning And Route Optimization Software">Best Route Planning And Route Optimization Software</p> <p align="center"> <a href="https://route4me.com/platform/route-optimization-software?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Explore</b></a> | <a href="https://route4me.com/platform/marketplace/pricing?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Free Trial</b></a> | <a href="https://route4me.com/contact?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>Contact</b></a> </p>
|
|
7
5
|
</td><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e1625cb54e10ee40180c99d1495a462e9d6664a4.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world's #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>buzzoid.com</b></a> </p>
|
|
8
|
-
</td
|
|
9
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://requestly.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="71px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/16450b4dc0deb9dab5a511bf2bc8b8b4ac33412f.png" alt="Requestly"/> </a> <p align="center" title="A lightweight open-source API Development, Testing & Mocking platform">A lightweight open-source API Development, Testing & Mocking platform</p> <p align="center"> <a href="https://requestly.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>requestly.com</b></a> </p>
|
|
6
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/e699ec99f7df3a203ddbc49d3c7712a907e628ea.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>poprey.com</b></a> </p>
|
|
7
|
+
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://requestly.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block" target="_blank"> <img width="71px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/16450b4dc0deb9dab5a511bf2bc8b8b4ac33412f.png" alt="Requestly"/> </a> <p align="center" title="A lightweight open-source API Development, Testing & Mocking platform">A lightweight open-source API Development, Testing & Mocking platform</p> <p align="center"> <a href="https://requestly.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship" target="_blank"><b>requestly.com</b></a> </p>
|
|
8
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute" target="_blank" >π Become a sponsor</a>
|
|
10
9
|
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute" target="_blank" >π Become a sponsor</a>
|
|
11
10
|
</td></tr></table>
|
|
12
11
|
|
|
13
12
|
<!--<div>marker</div>-->
|
|
13
|
+
|
|
14
14
|
<br><br>
|
|
15
|
+
|
|
15
16
|
<div align="center">
|
|
16
17
|
<a href="https://axios-http.com"><img src="https://axios-http.com/assets/logo.svg" alt="Axios" /></a><br>
|
|
17
18
|
</div>
|
|
@@ -38,78 +39,76 @@
|
|
|
38
39
|
[](https://snyk.io/test/npm/axios)
|
|
39
40
|
[](CONTRIBUTORS.md)
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
42
|
</div>
|
|
45
43
|
|
|
46
44
|
## Table of Contents
|
|
47
45
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
- [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
- [
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
- [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
46
|
+
- [Features](#features)
|
|
47
|
+
- [Browser Support](#browser-support)
|
|
48
|
+
- [Installing](#installing)
|
|
49
|
+
- [Package manager](#package-manager)
|
|
50
|
+
- [CDN](#cdn)
|
|
51
|
+
- [Example](#example)
|
|
52
|
+
- [Axios API](#axios-api)
|
|
53
|
+
- [Request method aliases](#request-method-aliases)
|
|
54
|
+
- [Concurrency π](#concurrency-deprecated)
|
|
55
|
+
- [Creating an instance](#creating-an-instance)
|
|
56
|
+
- [Instance methods](#instance-methods)
|
|
57
|
+
- [Request Config](#request-config)
|
|
58
|
+
- [Response Schema](#response-schema)
|
|
59
|
+
- [Config Defaults](#config-defaults)
|
|
60
|
+
- [Global axios defaults](#global-axios-defaults)
|
|
61
|
+
- [Custom instance defaults](#custom-instance-defaults)
|
|
62
|
+
- [Config order of precedence](#config-order-of-precedence)
|
|
63
|
+
- [Interceptors](#interceptors)
|
|
64
|
+
- [Multiple Interceptors](#multiple-interceptors)
|
|
65
|
+
- [Handling Errors](#handling-errors)
|
|
66
|
+
- [Handling Timeouts](#handling-timeouts)
|
|
67
|
+
- [Cancellation](#cancellation)
|
|
68
|
+
- [AbortController](#abortcontroller)
|
|
69
|
+
- [CancelToken π](#canceltoken-deprecated)
|
|
70
|
+
- [Using application/x-www-form-urlencoded format](#using-applicationx-www-form-urlencoded-format)
|
|
71
|
+
- [URLSearchParams](#urlsearchparams)
|
|
72
|
+
- [Query string](#query-string-older-browsers)
|
|
73
|
+
- [π Automatic serialization](#-automatic-serialization-to-urlsearchparams)
|
|
74
|
+
- [Using multipart/form-data format](#using-multipartform-data-format)
|
|
75
|
+
- [FormData](#formdata)
|
|
76
|
+
- [π Automatic serialization](#-automatic-serialization-to-formdata)
|
|
77
|
+
- [Files Posting](#files-posting)
|
|
78
|
+
- [HTML Form Posting](#-html-form-posting-browser)
|
|
79
|
+
- [π Progress capturing](#-progress-capturing)
|
|
80
|
+
- [π Rate limiting](#-rate-limiting)
|
|
81
|
+
- [π AxiosHeaders](#-axiosheaders)
|
|
82
|
+
- [π₯ Fetch adapter](#-fetch-adapter)
|
|
83
|
+
- [π₯ Custom fetch](#-custom-fetch)
|
|
84
|
+
- [π₯ Using with Tauri](#-using-with-tauri)
|
|
85
|
+
- [π₯ Using with SvelteKit](#-using-with-sveltekit-)
|
|
86
|
+
- [π₯ HTTP2](#-http2)
|
|
87
|
+
- [Semver](#semver)
|
|
88
|
+
- [Promises](#promises)
|
|
89
|
+
- [TypeScript](#typescript)
|
|
90
|
+
- [Resources](#resources)
|
|
91
|
+
- [Credits](#credits)
|
|
92
|
+
- [License](#license)
|
|
94
93
|
|
|
95
94
|
## Features
|
|
96
95
|
|
|
97
|
-
- **Browser Requests:** Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) directly from the browser.
|
|
98
|
-
- **Node.js Requests:** Make [http](https://nodejs.org/api/http.html) requests from Node.js environments.
|
|
99
|
-
- **Promise-based:** Fully supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API for easier asynchronous code.
|
|
100
|
-
- **Interceptors:** Intercept requests and responses to add custom logic or transform data.
|
|
101
|
-
- **Data Transformation:** Transform request and response data automatically.
|
|
102
|
-
- **Request Cancellation:** Cancel requests using built-in mechanisms.
|
|
103
|
-
- **Automatic JSON Handling:** Automatically serializes and parses [JSON](https://www.json.org/json-en.html) data.
|
|
104
|
-
- **Form Serialization:** π Automatically serializes data objects to `multipart/form-data` or `x-www-form-urlencoded` formats.
|
|
96
|
+
- **Browser Requests:** Make [XMLHttpRequests](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest) directly from the browser.
|
|
97
|
+
- **Node.js Requests:** Make [http](https://nodejs.org/api/http.html) requests from Node.js environments.
|
|
98
|
+
- **Promise-based:** Fully supports the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) API for easier asynchronous code.
|
|
99
|
+
- **Interceptors:** Intercept requests and responses to add custom logic or transform data.
|
|
100
|
+
- **Data Transformation:** Transform request and response data automatically.
|
|
101
|
+
- **Request Cancellation:** Cancel requests using built-in mechanisms.
|
|
102
|
+
- **Automatic JSON Handling:** Automatically serializes and parses [JSON](https://www.json.org/json-en.html) data.
|
|
103
|
+
- **Form Serialization:** π Automatically serializes data objects to `multipart/form-data` or `x-www-form-urlencoded` formats.
|
|
105
104
|
- **XSRF Protection:** Client-side support to protect against [Cross-Site Request Forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery).
|
|
106
105
|
|
|
107
106
|
## Browser Support
|
|
108
107
|
|
|
109
|
-
|
|
|
110
|
-
|
|
108
|
+
| Chrome | Firefox | Safari | Opera | Edge |
|
|
109
|
+
| :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------: |
|
|
111
110
|
|  |  |  |  |  |
|
|
112
|
-
|
|
|
111
|
+
| Latest β | Latest β | Latest β | Latest β | Latest β |
|
|
113
112
|
|
|
114
113
|
[](https://saucelabs.com/u/axios)
|
|
115
114
|
|
|
@@ -150,36 +149,36 @@ $ bun add axios
|
|
|
150
149
|
Once the package is installed, you can import the library using `import` or `require` approach:
|
|
151
150
|
|
|
152
151
|
```js
|
|
153
|
-
import axios, {isCancel, AxiosError} from
|
|
152
|
+
import axios, { isCancel, AxiosError } from "axios";
|
|
154
153
|
```
|
|
155
154
|
|
|
156
155
|
You can also use the default export, since the named export is just a re-export from the Axios factory:
|
|
157
156
|
|
|
158
157
|
```js
|
|
159
|
-
import axios from
|
|
158
|
+
import axios from "axios";
|
|
160
159
|
|
|
161
|
-
console.log(axios.isCancel(
|
|
162
|
-
|
|
160
|
+
console.log(axios.isCancel("something"));
|
|
161
|
+
```
|
|
163
162
|
|
|
164
|
-
If you use `require` for importing, **only default export is available**:
|
|
163
|
+
If you use `require` for importing, **only the default export is available**:
|
|
165
164
|
|
|
166
165
|
```js
|
|
167
|
-
const axios = require(
|
|
166
|
+
const axios = require("axios");
|
|
168
167
|
|
|
169
|
-
console.log(axios.isCancel(
|
|
168
|
+
console.log(axios.isCancel("something"));
|
|
170
169
|
```
|
|
171
170
|
|
|
172
171
|
For some bundlers and some ES6 linters you may need to do the following:
|
|
173
172
|
|
|
174
173
|
```js
|
|
175
|
-
import { default as axios } from
|
|
174
|
+
import { default as axios } from "axios";
|
|
176
175
|
```
|
|
177
176
|
|
|
178
177
|
For cases where something went wrong when trying to import a module into a custom or legacy environment,
|
|
179
178
|
you can try importing the module package directly:
|
|
180
179
|
|
|
181
180
|
```js
|
|
182
|
-
const axios = require(
|
|
181
|
+
const axios = require("axios/dist/browser/axios.cjs"); // browser commonJS bundle (ES2017)
|
|
183
182
|
// const axios = require('axios/dist/node/axios.cjs'); // node commonJS bundle (ES2017)
|
|
184
183
|
```
|
|
185
184
|
|
|
@@ -188,43 +187,34 @@ const axios = require('axios/dist/browser/axios.cjs'); // browser commonJS bundl
|
|
|
188
187
|
Using jsDelivr CDN (ES5 UMD browser module):
|
|
189
188
|
|
|
190
189
|
```html
|
|
191
|
-
<script src="https://cdn.jsdelivr.net/npm/axios@1.
|
|
190
|
+
<script src="https://cdn.jsdelivr.net/npm/axios@1.13.2/dist/axios.min.js"></script>
|
|
192
191
|
```
|
|
193
192
|
|
|
194
193
|
Using unpkg CDN:
|
|
195
194
|
|
|
196
195
|
```html
|
|
197
|
-
<script src="https://unpkg.com/axios@1.
|
|
196
|
+
<script src="https://unpkg.com/axios@1.13.2/dist/axios.min.js"></script>
|
|
198
197
|
```
|
|
199
198
|
|
|
200
199
|
## Example
|
|
201
200
|
|
|
202
|
-
> **Note**: CommonJS usage
|
|
203
|
-
> In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with `require()`, use the following approach:
|
|
204
|
-
|
|
205
201
|
```js
|
|
206
|
-
import axios from
|
|
202
|
+
import axios from "axios";
|
|
207
203
|
//const axios = require('axios'); // legacy way
|
|
208
204
|
|
|
209
|
-
|
|
210
|
-
axios.get(
|
|
211
|
-
.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
.catch(function (error) {
|
|
216
|
-
// handle error
|
|
217
|
-
console.log(error);
|
|
218
|
-
})
|
|
219
|
-
.finally(function () {
|
|
220
|
-
// always executed
|
|
221
|
-
});
|
|
205
|
+
try {
|
|
206
|
+
const response = await axios.get("/user?ID=12345");
|
|
207
|
+
console.log(response);
|
|
208
|
+
} catch (error) {
|
|
209
|
+
console.error(error);
|
|
210
|
+
}
|
|
222
211
|
|
|
223
212
|
// Optionally the request above could also be done as
|
|
224
|
-
axios
|
|
213
|
+
axios
|
|
214
|
+
.get("/user", {
|
|
225
215
|
params: {
|
|
226
|
-
ID: 12345
|
|
227
|
-
}
|
|
216
|
+
ID: 12345,
|
|
217
|
+
},
|
|
228
218
|
})
|
|
229
219
|
.then(function (response) {
|
|
230
220
|
console.log(response);
|
|
@@ -239,7 +229,7 @@ axios.get('/user', {
|
|
|
239
229
|
// Want to use async/await? Add the `async` keyword to your outer function/method.
|
|
240
230
|
async function getUser() {
|
|
241
231
|
try {
|
|
242
|
-
const response = await axios.get(
|
|
232
|
+
const response = await axios.get("/user?ID=12345");
|
|
243
233
|
console.log(response);
|
|
244
234
|
} catch (error) {
|
|
245
235
|
console.error(error);
|
|
@@ -253,34 +243,28 @@ async function getUser() {
|
|
|
253
243
|
Performing a `POST` request
|
|
254
244
|
|
|
255
245
|
```js
|
|
256
|
-
axios.post(
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
console.log(response);
|
|
262
|
-
})
|
|
263
|
-
.catch(function (error) {
|
|
264
|
-
console.log(error);
|
|
265
|
-
});
|
|
246
|
+
const response = await axios.post("/user", {
|
|
247
|
+
firstName: "Fred",
|
|
248
|
+
lastName: "Flintstone",
|
|
249
|
+
});
|
|
250
|
+
console.log(response);
|
|
266
251
|
```
|
|
267
252
|
|
|
268
253
|
Performing multiple concurrent requests
|
|
269
254
|
|
|
270
255
|
```js
|
|
271
256
|
function getUserAccount() {
|
|
272
|
-
return axios.get(
|
|
257
|
+
return axios.get("/user/12345");
|
|
273
258
|
}
|
|
274
259
|
|
|
275
260
|
function getUserPermissions() {
|
|
276
|
-
return axios.get(
|
|
261
|
+
return axios.get("/user/12345/permissions");
|
|
277
262
|
}
|
|
278
263
|
|
|
279
|
-
Promise.all([getUserAccount(), getUserPermissions()])
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
});
|
|
264
|
+
Promise.all([getUserAccount(), getUserPermissions()]).then(function (results) {
|
|
265
|
+
const acct = results[0];
|
|
266
|
+
const perm = results[1];
|
|
267
|
+
});
|
|
284
268
|
```
|
|
285
269
|
|
|
286
270
|
## axios API
|
|
@@ -292,32 +276,30 @@ Requests can be made by passing the relevant config to `axios`.
|
|
|
292
276
|
```js
|
|
293
277
|
// Send a POST request
|
|
294
278
|
axios({
|
|
295
|
-
method:
|
|
296
|
-
url:
|
|
279
|
+
method: "post",
|
|
280
|
+
url: "/user/12345",
|
|
297
281
|
data: {
|
|
298
|
-
firstName:
|
|
299
|
-
lastName:
|
|
300
|
-
}
|
|
282
|
+
firstName: "Fred",
|
|
283
|
+
lastName: "Flintstone",
|
|
284
|
+
},
|
|
301
285
|
});
|
|
302
286
|
```
|
|
303
287
|
|
|
304
288
|
```js
|
|
305
289
|
// GET request for remote image in node.js
|
|
306
|
-
axios({
|
|
307
|
-
method:
|
|
308
|
-
url:
|
|
309
|
-
responseType:
|
|
310
|
-
})
|
|
311
|
-
|
|
312
|
-
response.data.pipe(fs.createWriteStream('ada_lovelace.jpg'))
|
|
313
|
-
});
|
|
290
|
+
const response = await axios({
|
|
291
|
+
method: "get",
|
|
292
|
+
url: "https://bit.ly/2mTM3nY",
|
|
293
|
+
responseType: "stream",
|
|
294
|
+
});
|
|
295
|
+
response.data.pipe(fs.createWriteStream("ada_lovelace.jpg"));
|
|
314
296
|
```
|
|
315
297
|
|
|
316
298
|
##### axios(url[, config])
|
|
317
299
|
|
|
318
300
|
```js
|
|
319
301
|
// Send a GET request (default method)
|
|
320
|
-
axios(
|
|
302
|
+
axios("/user/12345");
|
|
321
303
|
```
|
|
322
304
|
|
|
323
305
|
### Request method aliases
|
|
@@ -325,18 +307,27 @@ axios('/user/12345');
|
|
|
325
307
|
For convenience, aliases have been provided for all common request methods.
|
|
326
308
|
|
|
327
309
|
##### axios.request(config)
|
|
310
|
+
|
|
328
311
|
##### axios.get(url[, config])
|
|
312
|
+
|
|
329
313
|
##### axios.delete(url[, config])
|
|
314
|
+
|
|
330
315
|
##### axios.head(url[, config])
|
|
316
|
+
|
|
331
317
|
##### axios.options(url[, config])
|
|
318
|
+
|
|
332
319
|
##### axios.post(url[, data[, config]])
|
|
320
|
+
|
|
333
321
|
##### axios.put(url[, data[, config]])
|
|
322
|
+
|
|
334
323
|
##### axios.patch(url[, data[, config]])
|
|
335
324
|
|
|
336
325
|
###### NOTE
|
|
326
|
+
|
|
337
327
|
When using the alias methods `url`, `method`, and `data` properties don't need to be specified in config.
|
|
338
328
|
|
|
339
329
|
### Concurrency (Deprecated)
|
|
330
|
+
|
|
340
331
|
Please use `Promise.all` to replace the below functions.
|
|
341
332
|
|
|
342
333
|
Helper functions for dealing with concurrent requests.
|
|
@@ -352,9 +343,9 @@ You can create a new instance of axios with a custom config.
|
|
|
352
343
|
|
|
353
344
|
```js
|
|
354
345
|
const instance = axios.create({
|
|
355
|
-
baseURL:
|
|
346
|
+
baseURL: "https://some-domain.com/api/",
|
|
356
347
|
timeout: 1000,
|
|
357
|
-
headers: {
|
|
348
|
+
headers: { "X-Custom-Header": "foobar" },
|
|
358
349
|
});
|
|
359
350
|
```
|
|
360
351
|
|
|
@@ -363,13 +354,21 @@ const instance = axios.create({
|
|
|
363
354
|
The available instance methods are listed below. The specified config will be merged with the instance config.
|
|
364
355
|
|
|
365
356
|
##### axios#request(config)
|
|
357
|
+
|
|
366
358
|
##### axios#get(url[, config])
|
|
359
|
+
|
|
367
360
|
##### axios#delete(url[, config])
|
|
361
|
+
|
|
368
362
|
##### axios#head(url[, config])
|
|
363
|
+
|
|
369
364
|
##### axios#options(url[, config])
|
|
365
|
+
|
|
370
366
|
##### axios#post(url[, data[, config]])
|
|
367
|
+
|
|
371
368
|
##### axios#put(url[, data[, config]])
|
|
369
|
+
|
|
372
370
|
##### axios#patch(url[, data[, config]])
|
|
371
|
+
|
|
373
372
|
##### axios#getUri([config])
|
|
374
373
|
|
|
375
374
|
## Request Config
|
|
@@ -384,9 +383,9 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
384
383
|
// `method` is the request method to be used when making the request
|
|
385
384
|
method: 'get', // default
|
|
386
385
|
|
|
387
|
-
// `baseURL` will be prepended to `url` unless `url` is absolute and option `allowAbsoluteUrls` is set to true.
|
|
386
|
+
// `baseURL` will be prepended to `url` unless `url` is absolute and the option `allowAbsoluteUrls` is set to true.
|
|
388
387
|
// It can be convenient to set `baseURL` for an instance of axios to pass relative URLs
|
|
389
|
-
// to methods of that instance.
|
|
388
|
+
// to the methods of that instance.
|
|
390
389
|
baseURL: 'https://some-domain.com/api/',
|
|
391
390
|
|
|
392
391
|
// `allowAbsoluteUrls` determines whether or not absolute URLs will override a configured `baseUrl`.
|
|
@@ -428,7 +427,7 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
428
427
|
// Custom encoder function which sends key/value pairs in an iterative fashion.
|
|
429
428
|
encode?: (param: string): string => { /* Do custom operations here and return transformed string */ },
|
|
430
429
|
|
|
431
|
-
// Custom serializer function for the entire parameter. Allows user to mimic pre 1.x behaviour.
|
|
430
|
+
// Custom serializer function for the entire parameter. Allows the user to mimic pre 1.x behaviour.
|
|
432
431
|
serialize?: (params: Record<string, any>, options?: ParamsSerializerOptions ),
|
|
433
432
|
|
|
434
433
|
// Configuration for formatting array indexes in the params.
|
|
@@ -436,8 +435,8 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
436
435
|
},
|
|
437
436
|
|
|
438
437
|
// `data` is the data to be sent as the request body
|
|
439
|
-
// Only applicable for request methods 'PUT', 'POST', 'DELETE
|
|
440
|
-
// When no `transformRequest` is set, must be of one of the following types:
|
|
438
|
+
// Only applicable for request methods 'PUT', 'POST', 'DELETE', and 'PATCH'
|
|
439
|
+
// When no `transformRequest` is set, it must be of one of the following types:
|
|
441
440
|
// - string, plain object, ArrayBuffer, ArrayBufferView, URLSearchParams
|
|
442
441
|
// - Browser only: FormData, File, Blob
|
|
443
442
|
// - Node only: Stream, Buffer, FormData (form-data package)
|
|
@@ -489,7 +488,7 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
489
488
|
// 'utf8', 'UTF8', 'utf16le', 'UTF16LE'
|
|
490
489
|
responseEncoding: 'utf8', // default
|
|
491
490
|
|
|
492
|
-
// `xsrfCookieName` is the name of the cookie to use as a value for xsrf token
|
|
491
|
+
// `xsrfCookieName` is the name of the cookie to use as a value for the xsrf token
|
|
493
492
|
xsrfCookieName: 'XSRF-TOKEN', // default
|
|
494
493
|
|
|
495
494
|
// `xsrfHeaderName` is the name of the http header that carries the xsrf token value
|
|
@@ -568,7 +567,7 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
568
567
|
// Use `false` to disable proxies, ignoring environment variables.
|
|
569
568
|
// `auth` indicates that HTTP Basic auth should be used to connect to the proxy, and
|
|
570
569
|
// supplies credentials.
|
|
571
|
-
// This will set
|
|
570
|
+
// This will set a `Proxy-Authorization` header, overwriting any existing
|
|
572
571
|
// `Proxy-Authorization` custom headers you have set using `headers`.
|
|
573
572
|
// If the proxy server uses HTTPS, then you must set the protocol to `https`.
|
|
574
573
|
proxy: {
|
|
@@ -640,7 +639,7 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
640
639
|
|
|
641
640
|
## Response Schema
|
|
642
641
|
|
|
643
|
-
The response
|
|
642
|
+
The response to a request contains the following information.
|
|
644
643
|
|
|
645
644
|
```js
|
|
646
645
|
{
|
|
@@ -671,14 +670,12 @@ The response for a request contains the following information.
|
|
|
671
670
|
When using `then`, you will receive the response as follows:
|
|
672
671
|
|
|
673
672
|
```js
|
|
674
|
-
axios.get(
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
console.log(response.config);
|
|
681
|
-
});
|
|
673
|
+
const response = await axios.get("/user/12345");
|
|
674
|
+
console.log(response.data);
|
|
675
|
+
console.log(response.status);
|
|
676
|
+
console.log(response.statusText);
|
|
677
|
+
console.log(response.headers);
|
|
678
|
+
console.log(response.config);
|
|
682
679
|
```
|
|
683
680
|
|
|
684
681
|
When using `catch`, or passing a [rejection callback](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then) as second parameter of `then`, the response will be available through the `error` object as explained in the [Handling Errors](#handling-errors) section.
|
|
@@ -690,13 +687,14 @@ You can specify config defaults that will be applied to every request.
|
|
|
690
687
|
### Global axios defaults
|
|
691
688
|
|
|
692
689
|
```js
|
|
693
|
-
axios.defaults.baseURL =
|
|
690
|
+
axios.defaults.baseURL = "https://api.example.com";
|
|
694
691
|
|
|
695
692
|
// Important: If axios is used with multiple domains, the AUTH_TOKEN will be sent to all of them.
|
|
696
693
|
// See below for an example using Custom instance defaults instead.
|
|
697
|
-
axios.defaults.headers.common[
|
|
694
|
+
axios.defaults.headers.common["Authorization"] = AUTH_TOKEN;
|
|
698
695
|
|
|
699
|
-
axios.defaults.headers.post[
|
|
696
|
+
axios.defaults.headers.post["Content-Type"] =
|
|
697
|
+
"application/x-www-form-urlencoded";
|
|
700
698
|
```
|
|
701
699
|
|
|
702
700
|
### Custom instance defaults
|
|
@@ -704,11 +702,11 @@ axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded
|
|
|
704
702
|
```js
|
|
705
703
|
// Set config defaults when creating the instance
|
|
706
704
|
const instance = axios.create({
|
|
707
|
-
baseURL:
|
|
705
|
+
baseURL: "https://api.example.com",
|
|
708
706
|
});
|
|
709
707
|
|
|
710
708
|
// Alter defaults after instance has been created
|
|
711
|
-
instance.defaults.headers.common[
|
|
709
|
+
instance.defaults.headers.common["Authorization"] = AUTH_TOKEN;
|
|
712
710
|
```
|
|
713
711
|
|
|
714
712
|
### Config order of precedence
|
|
@@ -725,54 +723,67 @@ const instance = axios.create();
|
|
|
725
723
|
instance.defaults.timeout = 2500;
|
|
726
724
|
|
|
727
725
|
// Override timeout for this request as it's known to take a long time
|
|
728
|
-
instance.get(
|
|
729
|
-
timeout: 5000
|
|
726
|
+
instance.get("/longRequest", {
|
|
727
|
+
timeout: 5000,
|
|
730
728
|
});
|
|
731
729
|
```
|
|
732
730
|
|
|
733
731
|
## Interceptors
|
|
734
732
|
|
|
735
|
-
You can intercept requests or responses before
|
|
733
|
+
You can intercept requests or responses before methods like `.get()` or `.post()`
|
|
734
|
+
resolve their promises (before code inside `then` or `catch`, or after `await`)
|
|
736
735
|
|
|
737
736
|
```js
|
|
738
|
-
|
|
739
737
|
const instance = axios.create();
|
|
740
738
|
|
|
741
739
|
// Add a request interceptor
|
|
742
|
-
instance.interceptors.request.use(
|
|
743
|
-
|
|
740
|
+
instance.interceptors.request.use(
|
|
741
|
+
function (config) {
|
|
742
|
+
// Do something before the request is sent
|
|
744
743
|
return config;
|
|
745
|
-
},
|
|
746
|
-
|
|
744
|
+
},
|
|
745
|
+
function (error) {
|
|
746
|
+
// Do something with the request error
|
|
747
747
|
return Promise.reject(error);
|
|
748
|
-
}
|
|
748
|
+
},
|
|
749
|
+
);
|
|
749
750
|
|
|
750
751
|
// Add a response interceptor
|
|
751
|
-
instance.interceptors.response.use(
|
|
752
|
-
|
|
752
|
+
instance.interceptors.response.use(
|
|
753
|
+
function (response) {
|
|
754
|
+
// Any status code that lies within the range of 2xx causes this function to trigger
|
|
753
755
|
// Do something with response data
|
|
754
756
|
return response;
|
|
755
|
-
},
|
|
756
|
-
|
|
757
|
+
},
|
|
758
|
+
function (error) {
|
|
759
|
+
// Any status codes that fall outside the range of 2xx cause this function to trigger
|
|
757
760
|
// Do something with response error
|
|
758
761
|
return Promise.reject(error);
|
|
759
|
-
}
|
|
762
|
+
},
|
|
763
|
+
);
|
|
760
764
|
```
|
|
761
765
|
|
|
762
766
|
If you need to remove an interceptor later you can.
|
|
763
767
|
|
|
764
768
|
```js
|
|
765
769
|
const instance = axios.create();
|
|
766
|
-
const myInterceptor = instance.interceptors.request.use(function () {
|
|
770
|
+
const myInterceptor = instance.interceptors.request.use(function () {
|
|
771
|
+
/*...*/
|
|
772
|
+
});
|
|
767
773
|
axios.interceptors.request.eject(myInterceptor);
|
|
768
774
|
```
|
|
769
775
|
|
|
770
776
|
You can also clear all interceptors for requests or responses.
|
|
777
|
+
|
|
771
778
|
```js
|
|
772
779
|
const instance = axios.create();
|
|
773
|
-
instance.interceptors.request.use(function () {
|
|
780
|
+
instance.interceptors.request.use(function () {
|
|
781
|
+
/*...*/
|
|
782
|
+
});
|
|
774
783
|
instance.interceptors.request.clear(); // Removes interceptors from requests
|
|
775
|
-
instance.interceptors.response.use(function () {
|
|
784
|
+
instance.interceptors.response.use(function () {
|
|
785
|
+
/*...*/
|
|
786
|
+
});
|
|
776
787
|
instance.interceptors.response.clear(); // Removes interceptors from responses
|
|
777
788
|
```
|
|
778
789
|
|
|
@@ -780,19 +791,25 @@ You can add interceptors to a custom instance of axios.
|
|
|
780
791
|
|
|
781
792
|
```js
|
|
782
793
|
const instance = axios.create();
|
|
783
|
-
instance.interceptors.request.use(function () {
|
|
794
|
+
instance.interceptors.request.use(function () {
|
|
795
|
+
/*...*/
|
|
796
|
+
});
|
|
784
797
|
```
|
|
785
798
|
|
|
786
799
|
When you add request interceptors, they are presumed to be asynchronous by default. This can cause a delay
|
|
787
800
|
in the execution of your axios request when the main thread is blocked (a promise is created under the hood for
|
|
788
|
-
the interceptor and your request gets put
|
|
801
|
+
the interceptor and your request gets put at the bottom of the call stack). If your request interceptors are synchronous you can add a flag
|
|
789
802
|
to the options object that will tell axios to run the code synchronously and avoid any delays in request execution.
|
|
790
803
|
|
|
791
804
|
```js
|
|
792
|
-
axios.interceptors.request.use(
|
|
793
|
-
config
|
|
794
|
-
|
|
795
|
-
|
|
805
|
+
axios.interceptors.request.use(
|
|
806
|
+
function (config) {
|
|
807
|
+
config.headers.test = "I am only a header!";
|
|
808
|
+
return config;
|
|
809
|
+
},
|
|
810
|
+
null,
|
|
811
|
+
{ synchronous: true },
|
|
812
|
+
);
|
|
796
813
|
```
|
|
797
814
|
|
|
798
815
|
If you want to execute a particular interceptor based on a runtime check,
|
|
@@ -803,49 +820,89 @@ asynchronous request interceptor that only needs to run at certain times.
|
|
|
803
820
|
|
|
804
821
|
```js
|
|
805
822
|
function onGetCall(config) {
|
|
806
|
-
return config.method ===
|
|
823
|
+
return config.method === "get";
|
|
807
824
|
}
|
|
808
|
-
axios.interceptors.request.use(
|
|
809
|
-
config
|
|
810
|
-
|
|
811
|
-
|
|
825
|
+
axios.interceptors.request.use(
|
|
826
|
+
function (config) {
|
|
827
|
+
config.headers.test = "special get headers";
|
|
828
|
+
return config;
|
|
829
|
+
},
|
|
830
|
+
null,
|
|
831
|
+
{ runWhen: onGetCall },
|
|
832
|
+
);
|
|
812
833
|
```
|
|
813
834
|
|
|
814
|
-
> **Note:** options parameter(having `synchronous` and `runWhen` properties) is only supported for request interceptors at the moment.
|
|
835
|
+
> **Note:** The options parameter(having `synchronous` and `runWhen` properties) is only supported for request interceptors at the moment.
|
|
836
|
+
|
|
837
|
+
### Interceptor Execution Order
|
|
838
|
+
|
|
839
|
+
**Important:** Interceptors have different execution orders depending on their type!
|
|
840
|
+
|
|
841
|
+
Request interceptors are executed in **reverse order** (LIFO - Last In, First Out). This means the _last_ interceptor added is executed **first**.
|
|
842
|
+
|
|
843
|
+
Response interceptors are executed in the **order they were added** (FIFO - First In, First Out). This means the _first_ interceptor added is executed **first**.
|
|
844
|
+
|
|
845
|
+
Example:
|
|
846
|
+
|
|
847
|
+
```js
|
|
848
|
+
const instance = axios.create();
|
|
849
|
+
|
|
850
|
+
const interceptor = (id) => (base) => {
|
|
851
|
+
console.log(id);
|
|
852
|
+
return base;
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
instance.interceptors.request.use(interceptor("Request Interceptor 1"));
|
|
856
|
+
instance.interceptors.request.use(interceptor("Request Interceptor 2"));
|
|
857
|
+
instance.interceptors.request.use(interceptor("Request Interceptor 3"));
|
|
858
|
+
instance.interceptors.response.use(interceptor("Response Interceptor 1"));
|
|
859
|
+
instance.interceptors.response.use(interceptor("Response Interceptor 2"));
|
|
860
|
+
instance.interceptors.response.use(interceptor("Response Interceptor 3"));
|
|
861
|
+
|
|
862
|
+
// Console output:
|
|
863
|
+
// Request Interceptor 3
|
|
864
|
+
// Request Interceptor 2
|
|
865
|
+
// Request Interceptor 1
|
|
866
|
+
// [HTTP request is made]
|
|
867
|
+
// Response Interceptor 1
|
|
868
|
+
// Response Interceptor 2
|
|
869
|
+
// Response Interceptor 3
|
|
870
|
+
```
|
|
815
871
|
|
|
816
872
|
### Multiple Interceptors
|
|
817
873
|
|
|
818
|
-
Given you add multiple response interceptors
|
|
874
|
+
Given that you add multiple response interceptors
|
|
819
875
|
and when the response was fulfilled
|
|
876
|
+
|
|
820
877
|
- then each interceptor is executed
|
|
821
878
|
- then they are executed in the order they were added
|
|
822
879
|
- then only the last interceptor's result is returned
|
|
823
880
|
- then every interceptor receives the result of its predecessor
|
|
824
881
|
- and when the fulfillment-interceptor throws
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
882
|
+
- then the following fulfillment-interceptor is not called
|
|
883
|
+
- then the following rejection-interceptor is called
|
|
884
|
+
- once caught, another following fulfill-interceptor is called again (just like in a promise chain).
|
|
828
885
|
|
|
829
|
-
Read [the interceptor tests](./test/specs/interceptors.spec.js)
|
|
886
|
+
Read [the interceptor tests](./test/specs/interceptors.spec.js) to see all this in code.
|
|
830
887
|
|
|
831
888
|
## Error Types
|
|
832
889
|
|
|
833
|
-
There are many different axios error messages that can appear
|
|
890
|
+
There are many different axios error messages that can appear which can provide basic information about the specifics of the error and where opportunities may lie in debugging.
|
|
834
891
|
|
|
835
892
|
The general structure of axios errors is as follows:
|
|
836
|
-
| Property
|
|
837
|
-
| -------- | ----------
|
|
838
|
-
| message
|
|
839
|
-
| name
|
|
840
|
-
| stack
|
|
841
|
-
| config
|
|
842
|
-
| code
|
|
843
|
-
| status
|
|
893
|
+
| Property | Definition |
|
|
894
|
+
| -------- | ---------- |
|
|
895
|
+
| message | A quick summary of the error message and the status it failed with. |
|
|
896
|
+
| name | This defines where the error originated from. For axios, it will always be an 'AxiosError'. |
|
|
897
|
+
| stack | Provides the stack trace of the error. |
|
|
898
|
+
| config | An axios config object with specific instance configurations defined by the user from when the request was made |
|
|
899
|
+
| code | Represents an axios identified error. The table below lists specific definitions for internal axios error. |
|
|
900
|
+
| status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings.
|
|
844
901
|
|
|
845
902
|
Below is a list of potential axios identified error:
|
|
846
903
|
|
|
847
904
|
| Code | Definition |
|
|
848
|
-
|
|
|
905
|
+
| ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
849
906
|
| ERR_BAD_OPTION_VALUE | Invalid value provided in axios configuration. |
|
|
850
907
|
| ERR_BAD_OPTION | Invalid option provided in axios configuration. |
|
|
851
908
|
| ERR_NOT_SUPPORT | Feature or method not supported in the current axios environment. |
|
|
@@ -853,78 +910,98 @@ Below is a list of potential axios identified error:
|
|
|
853
910
|
| ERR_INVALID_URL | Invalid URL provided for axios request. |
|
|
854
911
|
| ECONNABORTED | Typically indicates that the request has been timed out (unless `transitional.clarifyTimeoutError` is set) or aborted by the browser or its plugin. |
|
|
855
912
|
| ERR_CANCELED | Feature or method is canceled explicitly by the user using an AbortSignal (or a CancelToken). |
|
|
856
|
-
| ETIMEDOUT | Request timed out due to exceeding default axios timelimit. `transitional.clarifyTimeoutError` must be set to `true`, otherwise a generic `ECONNABORTED` error will be thrown instead.
|
|
913
|
+
| ETIMEDOUT | Request timed out due to exceeding the default axios timelimit. `transitional.clarifyTimeoutError` must be set to `true`, otherwise a generic `ECONNABORTED` error will be thrown instead. |
|
|
857
914
|
| ERR_NETWORK | Network-related issue. In the browser, this error can also be caused by a [CORS](https://developer.mozilla.org/ru/docs/Web/HTTP/Guides/CORS) or [Mixed Content](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content) policy violation. The browser does not allow the JS code to clarify the real reason for the error caused by security issues, so please check the console. |
|
|
858
915
|
| ERR_FR_TOO_MANY_REDIRECTS | Request is redirected too many times; exceeds max redirects specified in axios configuration. |
|
|
859
|
-
| ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. Usually related to a response with `5xx` status code.
|
|
860
|
-
| ERR_BAD_REQUEST | The request has an unexpected format or is missing required parameters. Usually related to a response with `4xx` status code.
|
|
916
|
+
| ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. Usually related to a response with `5xx` status code. |
|
|
917
|
+
| ERR_BAD_REQUEST | The request has an unexpected format or is missing required parameters. Usually related to a response with `4xx` status code. |
|
|
861
918
|
|
|
862
919
|
## Handling Errors
|
|
863
920
|
|
|
864
|
-
|
|
921
|
+
The default behavior is to reject every response that returns with a status code that falls out of the range of 2xx and treat it as an error.
|
|
865
922
|
|
|
866
923
|
```js
|
|
867
|
-
axios.get(
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
});
|
|
924
|
+
axios.get("/user/12345").catch(function (error) {
|
|
925
|
+
if (error.response) {
|
|
926
|
+
// The request was made and the server responded with a status code
|
|
927
|
+
// that falls out of the range of 2xx
|
|
928
|
+
console.log(error.response.data);
|
|
929
|
+
console.log(error.response.status);
|
|
930
|
+
console.log(error.response.headers);
|
|
931
|
+
} else if (error.request) {
|
|
932
|
+
// The request was made but no response was received
|
|
933
|
+
// `error.request` is an instance of XMLHttpRequest in the browser and an instance of
|
|
934
|
+
// http.ClientRequest in node.js
|
|
935
|
+
console.log(error.request);
|
|
936
|
+
} else {
|
|
937
|
+
// Something happened in setting up the request that triggered an Error
|
|
938
|
+
console.log("Error", error.message);
|
|
939
|
+
}
|
|
940
|
+
console.log(error.config);
|
|
941
|
+
});
|
|
886
942
|
```
|
|
887
943
|
|
|
888
944
|
Using the `validateStatus` config option, you can override the default condition (status >= 200 && status < 300) and define HTTP code(s) that should throw an error.
|
|
889
945
|
|
|
890
946
|
```js
|
|
891
|
-
axios.get(
|
|
947
|
+
axios.get("/user/12345", {
|
|
892
948
|
validateStatus: function (status) {
|
|
893
949
|
return status < 500; // Resolve only if the status code is less than 500
|
|
894
|
-
}
|
|
895
|
-
})
|
|
950
|
+
},
|
|
951
|
+
});
|
|
896
952
|
```
|
|
897
953
|
|
|
898
954
|
Using `toJSON` you get an object with more information about the HTTP error.
|
|
899
955
|
|
|
900
956
|
```js
|
|
901
|
-
axios.get(
|
|
902
|
-
.
|
|
903
|
-
|
|
904
|
-
|
|
957
|
+
axios.get("/user/12345").catch(function (error) {
|
|
958
|
+
console.log(error.toJSON());
|
|
959
|
+
});
|
|
960
|
+
```
|
|
961
|
+
|
|
962
|
+
## Handling Timeouts
|
|
963
|
+
|
|
964
|
+
```js
|
|
965
|
+
async function fetchWithTimeout() {
|
|
966
|
+
try {
|
|
967
|
+
const response = await axios.get("https://example.com/data", {
|
|
968
|
+
timeout: 5000, // 5 seconds
|
|
969
|
+
});
|
|
970
|
+
|
|
971
|
+
console.log("Response:", response.data);
|
|
972
|
+
} catch (error) {
|
|
973
|
+
if (axios.isAxiosError(error) && error.code === "ECONNABORTED") {
|
|
974
|
+
console.error("β Request timed out!");
|
|
975
|
+
} else {
|
|
976
|
+
console.error("β Error:", error.message);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
}
|
|
905
980
|
```
|
|
906
981
|
|
|
907
982
|
## Cancellation
|
|
908
983
|
|
|
909
984
|
### AbortController
|
|
910
985
|
|
|
911
|
-
Starting from `v0.22.0` Axios supports AbortController to cancel requests in fetch API way:
|
|
986
|
+
Starting from `v0.22.0` Axios supports AbortController to cancel requests in a fetch API way:
|
|
912
987
|
|
|
913
988
|
```js
|
|
914
989
|
const controller = new AbortController();
|
|
915
990
|
|
|
916
|
-
axios
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
991
|
+
axios
|
|
992
|
+
.get("/foo/bar", {
|
|
993
|
+
signal: controller.signal,
|
|
994
|
+
})
|
|
995
|
+
.then(function (response) {
|
|
996
|
+
//...
|
|
997
|
+
});
|
|
921
998
|
// cancel the request
|
|
922
|
-
controller.abort()
|
|
999
|
+
controller.abort();
|
|
923
1000
|
```
|
|
924
1001
|
|
|
925
1002
|
### CancelToken `πdeprecated`
|
|
926
1003
|
|
|
927
|
-
You can also cancel a request using a
|
|
1004
|
+
You can also cancel a request using a _CancelToken_.
|
|
928
1005
|
|
|
929
1006
|
> The axios cancel token API is based on the withdrawn [cancellable promises proposal](https://github.com/tc39/proposal-cancelable-promises).
|
|
930
1007
|
|
|
@@ -936,24 +1013,30 @@ You can create a cancel token using the `CancelToken.source` factory as shown be
|
|
|
936
1013
|
const CancelToken = axios.CancelToken;
|
|
937
1014
|
const source = CancelToken.source();
|
|
938
1015
|
|
|
939
|
-
axios
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
1016
|
+
axios
|
|
1017
|
+
.get("/user/12345", {
|
|
1018
|
+
cancelToken: source.token,
|
|
1019
|
+
})
|
|
1020
|
+
.catch(function (thrown) {
|
|
1021
|
+
if (axios.isCancel(thrown)) {
|
|
1022
|
+
console.log("Request canceled", thrown.message);
|
|
1023
|
+
} else {
|
|
1024
|
+
// handle error
|
|
1025
|
+
}
|
|
1026
|
+
});
|
|
948
1027
|
|
|
949
|
-
axios.post(
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
}
|
|
1028
|
+
axios.post(
|
|
1029
|
+
"/user/12345",
|
|
1030
|
+
{
|
|
1031
|
+
name: "new name",
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
cancelToken: source.token,
|
|
1035
|
+
},
|
|
1036
|
+
);
|
|
954
1037
|
|
|
955
1038
|
// cancel the request (the message parameter is optional)
|
|
956
|
-
source.cancel(
|
|
1039
|
+
source.cancel("Operation canceled by the user.");
|
|
957
1040
|
```
|
|
958
1041
|
|
|
959
1042
|
You can also create a cancel token by passing an executor function to the `CancelToken` constructor:
|
|
@@ -962,11 +1045,11 @@ You can also create a cancel token by passing an executor function to the `Cance
|
|
|
962
1045
|
const CancelToken = axios.CancelToken;
|
|
963
1046
|
let cancel;
|
|
964
1047
|
|
|
965
|
-
axios.get(
|
|
1048
|
+
axios.get("/user/12345", {
|
|
966
1049
|
cancelToken: new CancelToken(function executor(c) {
|
|
967
1050
|
// An executor function receives a cancel function as a parameter
|
|
968
1051
|
cancel = c;
|
|
969
|
-
})
|
|
1052
|
+
}),
|
|
970
1053
|
});
|
|
971
1054
|
|
|
972
1055
|
// cancel the request
|
|
@@ -985,9 +1068,9 @@ cancel();
|
|
|
985
1068
|
By default, axios serializes JavaScript objects to `JSON`. To send data in the [`application/x-www-form-urlencoded` format](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST) instead, you can use the [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams) API, which is [supported](http://www.caniuse.com/#feat=urlsearchparams) in the vast majority of browsers,and [ Node](https://nodejs.org/api/url.html#url_class_urlsearchparams) starting with v10 (released in 2018).
|
|
986
1069
|
|
|
987
1070
|
```js
|
|
988
|
-
const params = new URLSearchParams({ foo:
|
|
989
|
-
params.append(
|
|
990
|
-
axios.post(
|
|
1071
|
+
const params = new URLSearchParams({ foo: "bar" });
|
|
1072
|
+
params.append("extraparam", "value");
|
|
1073
|
+
axios.post("/foo", params);
|
|
991
1074
|
```
|
|
992
1075
|
|
|
993
1076
|
### Query string (Older browsers)
|
|
@@ -997,18 +1080,18 @@ For compatibility with very old browsers, there is a [polyfill](https://github.c
|
|
|
997
1080
|
Alternatively, you can encode data using the [`qs`](https://github.com/ljharb/qs) library:
|
|
998
1081
|
|
|
999
1082
|
```js
|
|
1000
|
-
const qs = require(
|
|
1001
|
-
axios.post(
|
|
1083
|
+
const qs = require("qs");
|
|
1084
|
+
axios.post("/foo", qs.stringify({ bar: 123 }));
|
|
1002
1085
|
```
|
|
1003
1086
|
|
|
1004
1087
|
Or in another way (ES6),
|
|
1005
1088
|
|
|
1006
1089
|
```js
|
|
1007
|
-
import qs from
|
|
1008
|
-
const data = {
|
|
1090
|
+
import qs from "qs";
|
|
1091
|
+
const data = { bar: 123 };
|
|
1009
1092
|
const options = {
|
|
1010
|
-
method:
|
|
1011
|
-
headers: {
|
|
1093
|
+
method: "POST",
|
|
1094
|
+
headers: { "content-type": "application/x-www-form-urlencoded" },
|
|
1012
1095
|
data: qs.stringify(data),
|
|
1013
1096
|
url,
|
|
1014
1097
|
};
|
|
@@ -1020,8 +1103,8 @@ axios(options);
|
|
|
1020
1103
|
For older Node.js engines, you can use the [`querystring`](https://nodejs.org/api/querystring.html) module as follows:
|
|
1021
1104
|
|
|
1022
1105
|
```js
|
|
1023
|
-
const querystring = require(
|
|
1024
|
-
axios.post(
|
|
1106
|
+
const querystring = require("querystring");
|
|
1107
|
+
axios.post("https://something.com/", querystring.stringify({ foo: "bar" }));
|
|
1025
1108
|
```
|
|
1026
1109
|
|
|
1027
1110
|
You can also use the [`qs`](https://github.com/ljharb/qs) library.
|
|
@@ -1037,12 +1120,15 @@ const data = {
|
|
|
1037
1120
|
x: 1,
|
|
1038
1121
|
arr: [1, 2, 3],
|
|
1039
1122
|
arr2: [1, [2], 3],
|
|
1040
|
-
users: [
|
|
1123
|
+
users: [
|
|
1124
|
+
{ name: "Peter", surname: "Griffin" },
|
|
1125
|
+
{ name: "Thomas", surname: "Anderson" },
|
|
1126
|
+
],
|
|
1041
1127
|
};
|
|
1042
1128
|
|
|
1043
|
-
await axios.postForm(
|
|
1044
|
-
|
|
1045
|
-
);
|
|
1129
|
+
await axios.postForm("https://postman-echo.com/post", data, {
|
|
1130
|
+
headers: { "content-type": "application/x-www-form-urlencoded" },
|
|
1131
|
+
});
|
|
1046
1132
|
```
|
|
1047
1133
|
|
|
1048
1134
|
The server will handle it as:
|
|
@@ -1060,48 +1146,48 @@ The server will handle it as:
|
|
|
1060
1146
|
'users[1][name]': 'Thomas',
|
|
1061
1147
|
'users[1][surname]': 'Anderson'
|
|
1062
1148
|
}
|
|
1063
|
-
|
|
1149
|
+
```
|
|
1064
1150
|
|
|
1065
1151
|
If your backend body-parser (like `body-parser` of `express.js`) supports nested objects decoding, you will get the same object on the server-side automatically
|
|
1066
1152
|
|
|
1067
1153
|
```js
|
|
1068
|
-
|
|
1154
|
+
const app = express();
|
|
1069
1155
|
|
|
1070
|
-
|
|
1156
|
+
app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies
|
|
1071
1157
|
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1158
|
+
app.post("/", function (req, res, next) {
|
|
1159
|
+
// echo body as JSON
|
|
1160
|
+
res.send(JSON.stringify(req.body));
|
|
1161
|
+
});
|
|
1076
1162
|
|
|
1077
|
-
|
|
1163
|
+
server = app.listen(3000);
|
|
1078
1164
|
```
|
|
1079
1165
|
|
|
1080
1166
|
## Using `multipart/form-data` format
|
|
1081
1167
|
|
|
1082
1168
|
### FormData
|
|
1083
1169
|
|
|
1084
|
-
To send the data as a `multipart/
|
|
1170
|
+
To send the data as a `multipart/form-data` you need to pass a formData instance as a payload.
|
|
1085
1171
|
Setting the `Content-Type` header is not required as Axios guesses it based on the payload type.
|
|
1086
1172
|
|
|
1087
1173
|
```js
|
|
1088
1174
|
const formData = new FormData();
|
|
1089
|
-
formData.append(
|
|
1175
|
+
formData.append("foo", "bar");
|
|
1090
1176
|
|
|
1091
|
-
axios.post(
|
|
1177
|
+
axios.post("https://httpbin.org/post", formData);
|
|
1092
1178
|
```
|
|
1093
1179
|
|
|
1094
1180
|
In node.js, you can use the [`form-data`](https://github.com/form-data/form-data) library as follows:
|
|
1095
1181
|
|
|
1096
1182
|
```js
|
|
1097
|
-
const FormData = require(
|
|
1183
|
+
const FormData = require("form-data");
|
|
1098
1184
|
|
|
1099
1185
|
const form = new FormData();
|
|
1100
|
-
form.append(
|
|
1101
|
-
form.append(
|
|
1102
|
-
form.append(
|
|
1186
|
+
form.append("my_field", "my value");
|
|
1187
|
+
form.append("my_buffer", new Buffer(10));
|
|
1188
|
+
form.append("my_file", fs.createReadStream("/foo/bar.jpg"));
|
|
1103
1189
|
|
|
1104
|
-
axios.post(
|
|
1190
|
+
axios.post("https://example.com", form);
|
|
1105
1191
|
```
|
|
1106
1192
|
|
|
1107
1193
|
### π Automatic serialization to FormData
|
|
@@ -1112,13 +1198,19 @@ header is set to `multipart/form-data`.
|
|
|
1112
1198
|
The following request will submit the data in a FormData format (Browser & Node.js):
|
|
1113
1199
|
|
|
1114
1200
|
```js
|
|
1115
|
-
import axios from
|
|
1201
|
+
import axios from "axios";
|
|
1116
1202
|
|
|
1117
|
-
axios
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1203
|
+
axios
|
|
1204
|
+
.post(
|
|
1205
|
+
"https://httpbin.org/post",
|
|
1206
|
+
{ x: 1 },
|
|
1207
|
+
{
|
|
1208
|
+
headers: {
|
|
1209
|
+
"Content-Type": "multipart/form-data",
|
|
1210
|
+
},
|
|
1211
|
+
},
|
|
1212
|
+
)
|
|
1213
|
+
.then(({ data }) => console.log(data));
|
|
1122
1214
|
```
|
|
1123
1215
|
|
|
1124
1216
|
In the `node.js` build, the ([`form-data`](https://github.com/form-data/form-data)) polyfill is used by default.
|
|
@@ -1127,14 +1219,20 @@ You can overload the FormData class by setting the `env.FormData` config variabl
|
|
|
1127
1219
|
but you probably won't need it in most cases:
|
|
1128
1220
|
|
|
1129
1221
|
```js
|
|
1130
|
-
const axios = require(
|
|
1131
|
-
var FormData = require(
|
|
1132
|
-
|
|
1133
|
-
axios
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1222
|
+
const axios = require("axios");
|
|
1223
|
+
var FormData = require("form-data");
|
|
1224
|
+
|
|
1225
|
+
axios
|
|
1226
|
+
.post(
|
|
1227
|
+
"https://httpbin.org/post",
|
|
1228
|
+
{ x: 1, buf: new Buffer(10) },
|
|
1229
|
+
{
|
|
1230
|
+
headers: {
|
|
1231
|
+
"Content-Type": "multipart/form-data",
|
|
1232
|
+
},
|
|
1233
|
+
},
|
|
1234
|
+
)
|
|
1235
|
+
.then(({ data }) => console.log(data));
|
|
1138
1236
|
```
|
|
1139
1237
|
|
|
1140
1238
|
Axios FormData serializer supports some special endings to perform the following operations:
|
|
@@ -1147,18 +1245,17 @@ Axios FormData serializer supports some special endings to perform the following
|
|
|
1147
1245
|
FormData serializer supports additional options via `config.formSerializer: object` property to handle rare cases:
|
|
1148
1246
|
|
|
1149
1247
|
- `visitor: Function` - user-defined visitor function that will be called recursively to serialize the data object
|
|
1150
|
-
to a `FormData` object by following custom rules.
|
|
1248
|
+
to a `FormData` object by following custom rules.
|
|
1151
1249
|
|
|
1152
1250
|
- `dots: boolean = false` - use dot notation instead of brackets to serialize arrays and objects;
|
|
1153
1251
|
|
|
1154
1252
|
- `metaTokens: boolean = true` - add the special ending (e.g `user{}: '{"name": "John"}'`) in the FormData key.
|
|
1155
|
-
The back-end body-parser could potentially use this meta-information to automatically parse the value as JSON.
|
|
1253
|
+
The back-end body-parser could potentially use this meta-information to automatically parse the value as JSON.
|
|
1156
1254
|
|
|
1157
1255
|
- `indexes: null|false|true = false` - controls how indexes will be added to unwrapped keys of `flat` array-like objects.
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
- `true` - add brackets with indexes (`arr[0]: 1`, `arr[1]: 2`, `arr[2]: 3`)
|
|
1256
|
+
- `null` - don't add brackets (`arr: 1`, `arr: 2`, `arr: 3`)
|
|
1257
|
+
- `false`(default) - add empty brackets (`arr[]: 1`, `arr[]: 2`, `arr[]: 3`)
|
|
1258
|
+
- `true` - add brackets with indexes (`arr[0]: 1`, `arr[1]: 2`, `arr[2]: 3`)
|
|
1162
1259
|
|
|
1163
1260
|
Let's say we have an object like this one:
|
|
1164
1261
|
|
|
@@ -1167,8 +1264,11 @@ const obj = {
|
|
|
1167
1264
|
x: 1,
|
|
1168
1265
|
arr: [1, 2, 3],
|
|
1169
1266
|
arr2: [1, [2], 3],
|
|
1170
|
-
users: [
|
|
1171
|
-
|
|
1267
|
+
users: [
|
|
1268
|
+
{ name: "Peter", surname: "Griffin" },
|
|
1269
|
+
{ name: "Thomas", surname: "Anderson" },
|
|
1270
|
+
],
|
|
1271
|
+
"obj2{}": [{ x: 1 }],
|
|
1172
1272
|
};
|
|
1173
1273
|
```
|
|
1174
1274
|
|
|
@@ -1176,18 +1276,18 @@ The following steps will be executed by the Axios serializer internally:
|
|
|
1176
1276
|
|
|
1177
1277
|
```js
|
|
1178
1278
|
const formData = new FormData();
|
|
1179
|
-
formData.append(
|
|
1180
|
-
formData.append(
|
|
1181
|
-
formData.append(
|
|
1182
|
-
formData.append(
|
|
1183
|
-
formData.append(
|
|
1184
|
-
formData.append(
|
|
1185
|
-
formData.append(
|
|
1186
|
-
formData.append(
|
|
1187
|
-
formData.append(
|
|
1188
|
-
formData.append(
|
|
1189
|
-
formData.append(
|
|
1190
|
-
formData.append(
|
|
1279
|
+
formData.append("x", "1");
|
|
1280
|
+
formData.append("arr[]", "1");
|
|
1281
|
+
formData.append("arr[]", "2");
|
|
1282
|
+
formData.append("arr[]", "3");
|
|
1283
|
+
formData.append("arr2[0]", "1");
|
|
1284
|
+
formData.append("arr2[1][0]", "2");
|
|
1285
|
+
formData.append("arr2[2]", "3");
|
|
1286
|
+
formData.append("users[0][name]", "Peter");
|
|
1287
|
+
formData.append("users[0][surname]", "Griffin");
|
|
1288
|
+
formData.append("users[1][name]", "Thomas");
|
|
1289
|
+
formData.append("users[1][surname]", "Anderson");
|
|
1290
|
+
formData.append("obj2{}", '[{"x":1}]');
|
|
1191
1291
|
```
|
|
1192
1292
|
|
|
1193
1293
|
Axios supports the following shortcut methods: `postForm`, `putForm`, `patchForm`
|
|
@@ -1198,55 +1298,65 @@ which are just the corresponding http methods with the `Content-Type` header pre
|
|
|
1198
1298
|
You can easily submit a single file:
|
|
1199
1299
|
|
|
1200
1300
|
```js
|
|
1201
|
-
await axios.postForm(
|
|
1202
|
-
|
|
1203
|
-
|
|
1301
|
+
await axios.postForm("https://httpbin.org/post", {
|
|
1302
|
+
myVar: "foo",
|
|
1303
|
+
file: document.querySelector("#fileInput").files[0],
|
|
1204
1304
|
});
|
|
1205
1305
|
```
|
|
1206
1306
|
|
|
1207
1307
|
or multiple files as `multipart/form-data`:
|
|
1208
1308
|
|
|
1209
1309
|
```js
|
|
1210
|
-
await axios.postForm(
|
|
1211
|
-
|
|
1310
|
+
await axios.postForm("https://httpbin.org/post", {
|
|
1311
|
+
"files[]": document.querySelector("#fileInput").files,
|
|
1212
1312
|
});
|
|
1213
1313
|
```
|
|
1214
1314
|
|
|
1215
1315
|
`FileList` object can be passed directly:
|
|
1216
1316
|
|
|
1217
1317
|
```js
|
|
1218
|
-
await axios.postForm(
|
|
1318
|
+
await axios.postForm(
|
|
1319
|
+
"https://httpbin.org/post",
|
|
1320
|
+
document.querySelector("#fileInput").files,
|
|
1321
|
+
);
|
|
1219
1322
|
```
|
|
1220
1323
|
|
|
1221
1324
|
All files will be sent with the same field names: `files[]`.
|
|
1222
1325
|
|
|
1223
1326
|
## π HTML Form Posting (browser)
|
|
1224
1327
|
|
|
1225
|
-
Pass HTML Form element as a payload to submit it as `multipart/form-data` content.
|
|
1328
|
+
Pass an HTML Form element as a payload to submit it as `multipart/form-data` content.
|
|
1226
1329
|
|
|
1227
1330
|
```js
|
|
1228
|
-
await axios.postForm(
|
|
1331
|
+
await axios.postForm(
|
|
1332
|
+
"https://httpbin.org/post",
|
|
1333
|
+
document.querySelector("#htmlForm"),
|
|
1334
|
+
);
|
|
1229
1335
|
```
|
|
1230
1336
|
|
|
1231
1337
|
`FormData` and `HTMLForm` objects can also be posted as `JSON` by explicitly setting the `Content-Type` header to `application/json`:
|
|
1232
1338
|
|
|
1233
1339
|
```js
|
|
1234
|
-
await axios.post(
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1340
|
+
await axios.post(
|
|
1341
|
+
"https://httpbin.org/post",
|
|
1342
|
+
document.querySelector("#htmlForm"),
|
|
1343
|
+
{
|
|
1344
|
+
headers: {
|
|
1345
|
+
"Content-Type": "application/json",
|
|
1346
|
+
},
|
|
1347
|
+
},
|
|
1348
|
+
);
|
|
1239
1349
|
```
|
|
1240
1350
|
|
|
1241
1351
|
For example, the Form
|
|
1242
1352
|
|
|
1243
1353
|
```html
|
|
1244
1354
|
<form id="form">
|
|
1245
|
-
<input type="text" name="foo" value="1"
|
|
1246
|
-
<input type="text" name="deep.prop" value="2"
|
|
1247
|
-
<input type="text" name="deep prop spaced" value="3"
|
|
1248
|
-
<input type="text" name="baz" value="4"
|
|
1249
|
-
<input type="text" name="baz" value="5"
|
|
1355
|
+
<input type="text" name="foo" value="1" />
|
|
1356
|
+
<input type="text" name="deep.prop" value="2" />
|
|
1357
|
+
<input type="text" name="deep prop spaced" value="3" />
|
|
1358
|
+
<input type="text" name="baz" value="4" />
|
|
1359
|
+
<input type="text" name="baz" value="5" />
|
|
1250
1360
|
|
|
1251
1361
|
<select name="user.age">
|
|
1252
1362
|
<option value="value1">Value 1</option>
|
|
@@ -1254,7 +1364,7 @@ For example, the Form
|
|
|
1254
1364
|
<option value="value3">Value 3</option>
|
|
1255
1365
|
</select>
|
|
1256
1366
|
|
|
1257
|
-
<input type="submit" value="Save"
|
|
1367
|
+
<input type="submit" value="Save" />
|
|
1258
1368
|
</form>
|
|
1259
1369
|
```
|
|
1260
1370
|
|
|
@@ -1276,7 +1386,7 @@ will be submitted as the following JSON object:
|
|
|
1276
1386
|
"age": "value2"
|
|
1277
1387
|
}
|
|
1278
1388
|
}
|
|
1279
|
-
|
|
1389
|
+
```
|
|
1280
1390
|
|
|
1281
1391
|
Sending `Blobs`/`Files` as JSON (`base64`) is not currently supported.
|
|
1282
1392
|
|
|
@@ -1309,42 +1419,43 @@ await axios.post(url, data, {
|
|
|
1309
1419
|
rate?: number; // download speed in bytes
|
|
1310
1420
|
download: true; // download sign
|
|
1311
1421
|
}*/
|
|
1312
|
-
}
|
|
1422
|
+
},
|
|
1313
1423
|
});
|
|
1314
1424
|
```
|
|
1315
1425
|
|
|
1316
1426
|
You can also track stream upload/download progress in node.js:
|
|
1317
1427
|
|
|
1318
1428
|
```js
|
|
1319
|
-
const {data} = await axios.post(SERVER_URL, readableStream, {
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1429
|
+
const { data } = await axios.post(SERVER_URL, readableStream, {
|
|
1430
|
+
onUploadProgress: ({ progress }) => {
|
|
1431
|
+
console.log((progress * 100).toFixed(2));
|
|
1432
|
+
},
|
|
1323
1433
|
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1434
|
+
headers: {
|
|
1435
|
+
"Content-Length": contentLength,
|
|
1436
|
+
},
|
|
1327
1437
|
|
|
1328
|
-
|
|
1438
|
+
maxRedirects: 0, // avoid buffering the entire stream
|
|
1329
1439
|
});
|
|
1330
|
-
|
|
1440
|
+
```
|
|
1331
1441
|
|
|
1332
1442
|
> **Note:**
|
|
1333
1443
|
> Capturing FormData upload progress is not currently supported in node.js environments.
|
|
1334
1444
|
|
|
1335
1445
|
> **β οΈ Warning**
|
|
1336
1446
|
> It is recommended to disable redirects by setting maxRedirects: 0 to upload the stream in the **node.js** environment,
|
|
1337
|
-
> as follow-redirects package will buffer the entire stream in RAM without following the "backpressure" algorithm.
|
|
1338
|
-
|
|
1447
|
+
> as the follow-redirects package will buffer the entire stream in RAM without following the "backpressure" algorithm.
|
|
1339
1448
|
|
|
1340
1449
|
## π Rate limiting
|
|
1341
1450
|
|
|
1342
1451
|
Download and upload rate limits can only be set for the http adapter (node.js):
|
|
1343
1452
|
|
|
1344
1453
|
```js
|
|
1345
|
-
const {data} = await axios.post(LOCAL_SERVER_URL, myBuffer, {
|
|
1346
|
-
onUploadProgress: ({progress, rate}) => {
|
|
1347
|
-
console.log(
|
|
1454
|
+
const { data } = await axios.post(LOCAL_SERVER_URL, myBuffer, {
|
|
1455
|
+
onUploadProgress: ({ progress, rate }) => {
|
|
1456
|
+
console.log(
|
|
1457
|
+
`Upload [${(progress * 100).toFixed(2)}%]: ${(rate / 1024).toFixed(2)}KB/s`,
|
|
1458
|
+
);
|
|
1348
1459
|
},
|
|
1349
1460
|
|
|
1350
1461
|
maxRate: [100 * 1024], // 100KB/s limit
|
|
@@ -1355,8 +1466,8 @@ const {data} = await axios.post(LOCAL_SERVER_URL, myBuffer, {
|
|
|
1355
1466
|
|
|
1356
1467
|
Axios has its own `AxiosHeaders` class to manipulate headers using a Map-like API that guarantees caseless work.
|
|
1357
1468
|
Although HTTP is case-insensitive in headers, Axios will retain the case of the original header for stylistic reasons
|
|
1358
|
-
and
|
|
1359
|
-
The old approach of directly manipulating headers object is still available, but deprecated and not recommended for future usage.
|
|
1469
|
+
and as a workaround when servers mistakenly consider the header's case.
|
|
1470
|
+
The old approach of directly manipulating the headers object is still available, but deprecated and not recommended for future usage.
|
|
1360
1471
|
|
|
1361
1472
|
### Working with headers
|
|
1362
1473
|
|
|
@@ -1366,6 +1477,7 @@ The final headers object with string values is obtained by Axios by calling the
|
|
|
1366
1477
|
> Note: By JSON here we mean an object consisting only of string values intended to be sent over the network.
|
|
1367
1478
|
|
|
1368
1479
|
The header value can be one of the following types:
|
|
1480
|
+
|
|
1369
1481
|
- `string` - normal string value that will be sent to the server
|
|
1370
1482
|
- `null` - skip header when rendering to JSON
|
|
1371
1483
|
- `false` - skip header when rendering to JSON, additionally indicates that `set` method must be called with `rewrite` option set to `true`
|
|
@@ -1377,42 +1489,41 @@ The header value can be one of the following types:
|
|
|
1377
1489
|
The headers object is always initialized inside interceptors and transformers:
|
|
1378
1490
|
|
|
1379
1491
|
```ts
|
|
1380
|
-
|
|
1381
|
-
|
|
1492
|
+
axios.interceptors.request.use((request: InternalAxiosRequestConfig) => {
|
|
1493
|
+
request.headers.set("My-header", "value");
|
|
1382
1494
|
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1495
|
+
request.headers.set({
|
|
1496
|
+
"My-set-header1": "my-set-value1",
|
|
1497
|
+
"My-set-header2": "my-set-value2",
|
|
1498
|
+
});
|
|
1387
1499
|
|
|
1388
|
-
|
|
1500
|
+
request.headers.set("User-Agent", false); // disable subsequent setting the header by Axios
|
|
1389
1501
|
|
|
1390
|
-
|
|
1502
|
+
request.headers.setContentType("text/plain");
|
|
1391
1503
|
|
|
1392
|
-
|
|
1504
|
+
request.headers["My-set-header2"] = "newValue"; // direct access is deprecated
|
|
1393
1505
|
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
````
|
|
1506
|
+
return request;
|
|
1507
|
+
});
|
|
1508
|
+
```
|
|
1398
1509
|
|
|
1399
1510
|
You can iterate over an `AxiosHeaders` instance using a `for...of` statement:
|
|
1400
1511
|
|
|
1401
|
-
|
|
1512
|
+
```js
|
|
1402
1513
|
const headers = new AxiosHeaders({
|
|
1403
|
-
foo:
|
|
1404
|
-
bar:
|
|
1405
|
-
baz:
|
|
1514
|
+
foo: "1",
|
|
1515
|
+
bar: "2",
|
|
1516
|
+
baz: "3",
|
|
1406
1517
|
});
|
|
1407
1518
|
|
|
1408
|
-
for(const [header, value] of headers) {
|
|
1519
|
+
for (const [header, value] of headers) {
|
|
1409
1520
|
console.log(header, value);
|
|
1410
1521
|
}
|
|
1411
1522
|
|
|
1412
1523
|
// foo 1
|
|
1413
1524
|
// bar 2
|
|
1414
1525
|
// baz 3
|
|
1415
|
-
|
|
1526
|
+
```
|
|
1416
1527
|
|
|
1417
1528
|
### new AxiosHeaders(headers?)
|
|
1418
1529
|
|
|
@@ -1424,7 +1535,7 @@ constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
|
|
|
1424
1535
|
|
|
1425
1536
|
If the headers object is a string, it will be parsed as RAW HTTP headers.
|
|
1426
1537
|
|
|
1427
|
-
|
|
1538
|
+
```js
|
|
1428
1539
|
const headers = new AxiosHeaders(`
|
|
1429
1540
|
Host: www.bing.com
|
|
1430
1541
|
User-Agent: curl/7.54.0
|
|
@@ -1437,7 +1548,7 @@ console.log(headers);
|
|
|
1437
1548
|
// 'user-agent': 'curl/7.54.0',
|
|
1438
1549
|
// accept: '*/*'
|
|
1439
1550
|
// }
|
|
1440
|
-
|
|
1551
|
+
```
|
|
1441
1552
|
|
|
1442
1553
|
### AxiosHeaders#set
|
|
1443
1554
|
|
|
@@ -1448,7 +1559,8 @@ set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean);
|
|
|
1448
1559
|
```
|
|
1449
1560
|
|
|
1450
1561
|
The `rewrite` argument controls the overwriting behavior:
|
|
1451
|
-
|
|
1562
|
+
|
|
1563
|
+
- `false` - do not overwrite if the header's value is set (is not `undefined`)
|
|
1452
1564
|
- `undefined` (default) - overwrite the header unless its value is set to `false`
|
|
1453
1565
|
- `true` - rewrite anyway
|
|
1454
1566
|
|
|
@@ -1461,34 +1573,34 @@ Returns `this`.
|
|
|
1461
1573
|
```
|
|
1462
1574
|
get(headerName: string, matcher?: true | AxiosHeaderMatcher): AxiosHeaderValue;
|
|
1463
1575
|
get(headerName: string, parser: RegExp): RegExpExecArray | null;
|
|
1464
|
-
|
|
1576
|
+
```
|
|
1465
1577
|
|
|
1466
1578
|
Returns the internal value of the header. It can take an extra argument to parse the header's value with `RegExp.exec`,
|
|
1467
1579
|
matcher function or internal key-value parser.
|
|
1468
1580
|
|
|
1469
1581
|
```ts
|
|
1470
1582
|
const headers = new AxiosHeaders({
|
|
1471
|
-
|
|
1583
|
+
"Content-Type": "multipart/form-data; boundary=Asrf456BGe4h",
|
|
1472
1584
|
});
|
|
1473
1585
|
|
|
1474
|
-
console.log(headers.get(
|
|
1586
|
+
console.log(headers.get("Content-Type"));
|
|
1475
1587
|
// multipart/form-data; boundary=Asrf456BGe4h
|
|
1476
1588
|
|
|
1477
|
-
console.log(headers.get(
|
|
1589
|
+
console.log(headers.get("Content-Type", true)); // parse key-value pairs from a string separated with \s,;= delimiters:
|
|
1478
1590
|
// [Object: null prototype] {
|
|
1479
1591
|
// 'multipart/form-data': undefined,
|
|
1480
1592
|
// boundary: 'Asrf456BGe4h'
|
|
1481
1593
|
// }
|
|
1482
1594
|
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
})
|
|
1595
|
+
console.log(
|
|
1596
|
+
headers.get("Content-Type", (value, name, headers) => {
|
|
1597
|
+
return String(value).replace(/a/g, "ZZZ");
|
|
1598
|
+
}),
|
|
1599
|
+
);
|
|
1487
1600
|
// multipZZZrt/form-dZZZtZZZ; boundZZZry=Asrf456BGe4h
|
|
1488
1601
|
|
|
1489
|
-
console.log(headers.get(
|
|
1602
|
+
console.log(headers.get("Content-Type", /boundary=(\w+)/)?.[0]);
|
|
1490
1603
|
// boundary=Asrf456BGe4h
|
|
1491
|
-
|
|
1492
1604
|
```
|
|
1493
1605
|
|
|
1494
1606
|
Returns the value of the header.
|
|
@@ -1520,9 +1632,9 @@ Unlike the `delete` method matcher, this optional matcher will be used to match
|
|
|
1520
1632
|
|
|
1521
1633
|
```ts
|
|
1522
1634
|
const headers = new AxiosHeaders({
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1635
|
+
foo: "1",
|
|
1636
|
+
"x-foo": "2",
|
|
1637
|
+
"x-bar": "3",
|
|
1526
1638
|
});
|
|
1527
1639
|
|
|
1528
1640
|
console.log(headers.clear(/^x-/)); // true
|
|
@@ -1537,15 +1649,15 @@ Returns `true` if at least one header has been cleared.
|
|
|
1537
1649
|
If the headers object was changed directly, it can have duplicates with the same name but in different cases.
|
|
1538
1650
|
This method normalizes the headers object by combining duplicate keys into one.
|
|
1539
1651
|
Axios uses this method internally after calling each interceptor.
|
|
1540
|
-
Set `format` to true for converting
|
|
1652
|
+
Set `format` to true for converting header names to lowercase and capitalizing the initial letters (`cOntEnt-type` => `Content-Type`)
|
|
1541
1653
|
|
|
1542
1654
|
```js
|
|
1543
1655
|
const headers = new AxiosHeaders({
|
|
1544
|
-
|
|
1656
|
+
foo: "1",
|
|
1545
1657
|
});
|
|
1546
1658
|
|
|
1547
|
-
headers.Foo =
|
|
1548
|
-
headers.FOO =
|
|
1659
|
+
headers.Foo = "2";
|
|
1660
|
+
headers.FOO = "3";
|
|
1549
1661
|
|
|
1550
1662
|
console.log(headers.toJSON()); // [Object: null prototype] { foo: '1', Foo: '2', FOO: '3' }
|
|
1551
1663
|
console.log(headers.normalize().toJSON()); // [Object: null prototype] { foo: '3' }
|
|
@@ -1566,27 +1678,27 @@ Returns a new `AxiosHeaders` instance.
|
|
|
1566
1678
|
|
|
1567
1679
|
### AxiosHeaders#toJSON(asStrings?)
|
|
1568
1680
|
|
|
1569
|
-
|
|
1681
|
+
```
|
|
1570
1682
|
toJSON(asStrings?: boolean): RawAxiosHeaders;
|
|
1571
|
-
|
|
1683
|
+
```
|
|
1572
1684
|
|
|
1573
|
-
Resolve all internal
|
|
1685
|
+
Resolve all internal header values into a new null prototype object.
|
|
1574
1686
|
Set `asStrings` to true to resolve arrays as a string containing all elements, separated by commas.
|
|
1575
1687
|
|
|
1576
1688
|
### AxiosHeaders.from(thing?)
|
|
1577
1689
|
|
|
1578
|
-
|
|
1690
|
+
```
|
|
1579
1691
|
from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders;
|
|
1580
|
-
|
|
1692
|
+
```
|
|
1581
1693
|
|
|
1582
1694
|
Returns a new `AxiosHeaders` instance created from the raw headers passed in,
|
|
1583
1695
|
or simply returns the given headers object if it's an `AxiosHeaders` instance.
|
|
1584
1696
|
|
|
1585
1697
|
### AxiosHeaders.concat(...targets)
|
|
1586
1698
|
|
|
1587
|
-
|
|
1699
|
+
```
|
|
1588
1700
|
concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
|
|
1589
|
-
|
|
1701
|
+
```
|
|
1590
1702
|
|
|
1591
1703
|
Returns a new `AxiosHeaders` instance created by merging the target objects.
|
|
1592
1704
|
|
|
@@ -1611,22 +1723,22 @@ or not supported by the environment.
|
|
|
1611
1723
|
To use it by default, it must be selected explicitly:
|
|
1612
1724
|
|
|
1613
1725
|
```js
|
|
1614
|
-
const {data} = axios.get(url, {
|
|
1615
|
-
adapter:
|
|
1616
|
-
})
|
|
1726
|
+
const { data } = axios.get(url, {
|
|
1727
|
+
adapter: "fetch", // by default ['xhr', 'http', 'fetch']
|
|
1728
|
+
});
|
|
1617
1729
|
```
|
|
1618
1730
|
|
|
1619
1731
|
You can create a separate instance for this:
|
|
1620
1732
|
|
|
1621
1733
|
```js
|
|
1622
1734
|
const fetchAxios = axios.create({
|
|
1623
|
-
adapter:
|
|
1735
|
+
adapter: "fetch",
|
|
1624
1736
|
});
|
|
1625
1737
|
|
|
1626
|
-
const {data} = fetchAxios.get(url);
|
|
1738
|
+
const { data } = fetchAxios.get(url);
|
|
1627
1739
|
```
|
|
1628
1740
|
|
|
1629
|
-
The adapter supports the same functionality as `xhr` adapter, **including upload and download progress capturing**.
|
|
1741
|
+
The adapter supports the same functionality as the `xhr` adapter, **including upload and download progress capturing**.
|
|
1630
1742
|
Also, it supports additional response types such as `stream` and `formdata` (if supported by the environment).
|
|
1631
1743
|
|
|
1632
1744
|
### π₯ Custom fetch
|
|
@@ -1644,18 +1756,18 @@ you must disable their use inside the fetch adapter by passing null.
|
|
|
1644
1756
|
Basic example:
|
|
1645
1757
|
|
|
1646
1758
|
```js
|
|
1647
|
-
import customFetchFunction from
|
|
1759
|
+
import customFetchFunction from "customFetchModule";
|
|
1648
1760
|
|
|
1649
1761
|
const instance = axios.create({
|
|
1650
|
-
adapter:
|
|
1762
|
+
adapter: "fetch",
|
|
1651
1763
|
onDownloadProgress(e) {
|
|
1652
|
-
console.log(
|
|
1764
|
+
console.log("downloadProgress", e);
|
|
1653
1765
|
},
|
|
1654
1766
|
env: {
|
|
1655
1767
|
fetch: customFetchFunction,
|
|
1656
1768
|
Request: null, // undefined -> use the global constructor
|
|
1657
|
-
Response: null
|
|
1658
|
-
}
|
|
1769
|
+
Response: null,
|
|
1770
|
+
},
|
|
1659
1771
|
});
|
|
1660
1772
|
```
|
|
1661
1773
|
|
|
@@ -1668,16 +1780,16 @@ import { fetch } from "@tauri-apps/plugin-http";
|
|
|
1668
1780
|
import axios from "axios";
|
|
1669
1781
|
|
|
1670
1782
|
const instance = axios.create({
|
|
1671
|
-
adapter:
|
|
1783
|
+
adapter: "fetch",
|
|
1672
1784
|
onDownloadProgress(e) {
|
|
1673
|
-
console.log(
|
|
1785
|
+
console.log("downloadProgress", e);
|
|
1674
1786
|
},
|
|
1675
1787
|
env: {
|
|
1676
|
-
fetch
|
|
1677
|
-
}
|
|
1788
|
+
fetch,
|
|
1789
|
+
},
|
|
1678
1790
|
});
|
|
1679
1791
|
|
|
1680
|
-
|
|
1792
|
+
const { data } = await instance.get("https://google.com");
|
|
1681
1793
|
```
|
|
1682
1794
|
|
|
1683
1795
|
#### π₯ Using with SvelteKit
|
|
@@ -1687,14 +1799,17 @@ which makes it incompatible with the standard URL API. So, Axios must be configu
|
|
|
1687
1799
|
|
|
1688
1800
|
```js
|
|
1689
1801
|
export async function load({ fetch }) {
|
|
1690
|
-
const {data: post} = await axios.get(
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
fetch,
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1802
|
+
const { data: post } = await axios.get(
|
|
1803
|
+
"https://jsonplaceholder.typicode.com/posts/1",
|
|
1804
|
+
{
|
|
1805
|
+
adapter: "fetch",
|
|
1806
|
+
env: {
|
|
1807
|
+
fetch,
|
|
1808
|
+
Request: null,
|
|
1809
|
+
Response: null,
|
|
1810
|
+
},
|
|
1811
|
+
},
|
|
1812
|
+
);
|
|
1698
1813
|
|
|
1699
1814
|
return { post };
|
|
1700
1815
|
}
|
|
@@ -1702,7 +1817,7 @@ export async function load({ fetch }) {
|
|
|
1702
1817
|
|
|
1703
1818
|
## π₯ HTTP2
|
|
1704
1819
|
|
|
1705
|
-
In version `1.13.0`, experimental `HTTP2` support was added to the `http` adapter.
|
|
1820
|
+
In version `1.13.0`, experimental `HTTP2` support was added to the `http` adapter.
|
|
1706
1821
|
The `httpVersion` option is now available to select the protocol version used.
|
|
1707
1822
|
Additional native options for the internal `session.request()` call can be passed via the `http2Options` config.
|
|
1708
1823
|
This config also includes the custom `sessionTimeout` parameter, which defaults to `1000ms`.
|
|
@@ -1710,22 +1825,26 @@ This config also includes the custom `sessionTimeout` parameter, which defaults
|
|
|
1710
1825
|
```js
|
|
1711
1826
|
const form = new FormData();
|
|
1712
1827
|
|
|
1713
|
-
|
|
1828
|
+
form.append("foo", "123");
|
|
1714
1829
|
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1830
|
+
const { data, headers, status } = await axios.post(
|
|
1831
|
+
"https://httpbin.org/post",
|
|
1832
|
+
form,
|
|
1833
|
+
{
|
|
1834
|
+
httpVersion: 2,
|
|
1835
|
+
http2Options: {
|
|
1836
|
+
// rejectUnauthorized: false,
|
|
1837
|
+
// sessionTimeout: 1000
|
|
1838
|
+
},
|
|
1839
|
+
onUploadProgress(e) {
|
|
1840
|
+
console.log("upload progress", e);
|
|
1841
|
+
},
|
|
1842
|
+
onDownloadProgress(e) {
|
|
1843
|
+
console.log("download progress", e);
|
|
1844
|
+
},
|
|
1845
|
+
responseType: "arraybuffer",
|
|
1846
|
+
},
|
|
1847
|
+
);
|
|
1729
1848
|
```
|
|
1730
1849
|
|
|
1731
1850
|
## Semver
|
|
@@ -1744,7 +1863,7 @@ axios includes [TypeScript](https://typescriptlang.org) definitions and a type g
|
|
|
1744
1863
|
```typescript
|
|
1745
1864
|
let user: User = null;
|
|
1746
1865
|
try {
|
|
1747
|
-
const { data } = await axios.get(
|
|
1866
|
+
const { data } = await axios.get("/user?ID=12345");
|
|
1748
1867
|
user = data.userDetails;
|
|
1749
1868
|
} catch (error) {
|
|
1750
1869
|
if (axios.isAxiosError(error)) {
|
|
@@ -1761,19 +1880,34 @@ If use ESM, your settings should be fine.
|
|
|
1761
1880
|
If you compile TypeScript to CJS and you canβt use `"moduleResolution": "node 16"`, you have to enable `esModuleInterop`.
|
|
1762
1881
|
If you use TypeScript to type check CJS JavaScript code, your only option is to use `"moduleResolution": "node16"`.
|
|
1763
1882
|
|
|
1883
|
+
You can also create a custom instance with typed interceptors:
|
|
1884
|
+
|
|
1885
|
+
```typescript
|
|
1886
|
+
import axios, { AxiosInstance, InternalAxiosRequestConfig } from "axios";
|
|
1887
|
+
|
|
1888
|
+
const apiClient: AxiosInstance = axios.create({
|
|
1889
|
+
baseURL: "https://api.example.com",
|
|
1890
|
+
timeout: 10000,
|
|
1891
|
+
});
|
|
1892
|
+
|
|
1893
|
+
apiClient.interceptors.request.use((config: InternalAxiosRequestConfig) => {
|
|
1894
|
+
// Add auth token
|
|
1895
|
+
return config;
|
|
1896
|
+
});
|
|
1897
|
+
```
|
|
1898
|
+
|
|
1764
1899
|
## Online one-click setup
|
|
1765
1900
|
|
|
1766
1901
|
You can use Gitpod, an online IDE(which is free for Open Source) for contributing or running the examples online.
|
|
1767
1902
|
|
|
1768
1903
|
[](https://gitpod.io/#https://github.com/axios/axios/blob/main/examples/server.js)
|
|
1769
1904
|
|
|
1770
|
-
|
|
1771
1905
|
## Resources
|
|
1772
1906
|
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1907
|
+
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
|
|
1908
|
+
- [Ecosystem](https://github.com/axios/axios/blob/v1.x/ECOSYSTEM.md)
|
|
1909
|
+
- [Contributing Guide](https://github.com/axios/axios/blob/v1.x/CONTRIBUTING.md)
|
|
1910
|
+
- [Code of Conduct](https://github.com/axios/axios/blob/v1.x/CODE_OF_CONDUCT.md)
|
|
1777
1911
|
|
|
1778
1912
|
## Credits
|
|
1779
1913
|
|