node-red-contrib-tak-registration 0.16.1 → 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/dist/cjs/index.cjs +2 -2
- package/node_modules/@turf/centroid/dist/cjs/index.cjs.map +1 -1
- package/node_modules/@turf/centroid/dist/esm/index.js +2 -2
- package/node_modules/@turf/centroid/dist/esm/index.js.map +1 -1
- package/node_modules/@turf/centroid/package.json +12 -13
- package/node_modules/@turf/helpers/README.md +1 -1
- package/node_modules/@turf/helpers/dist/cjs/index.cjs.map +1 -1
- package/node_modules/@turf/helpers/dist/cjs/index.d.cts +6 -4
- package/node_modules/@turf/helpers/dist/esm/index.d.ts +6 -4
- package/node_modules/@turf/helpers/dist/esm/index.js.map +1 -1
- package/node_modules/@turf/helpers/package.json +8 -9
- 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 +12 -10
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/assert/strict.d.ts +101 -4
- package/node_modules/@types/node/assert.d.ts +150 -251
- package/node_modules/@types/node/async_hooks.d.ts +8 -8
- package/node_modules/@types/node/buffer.buffer.d.ts +10 -7
- package/node_modules/@types/node/buffer.d.ts +52 -172
- package/node_modules/@types/node/child_process.d.ts +81 -106
- package/node_modules/@types/node/cluster.d.ts +240 -333
- package/node_modules/@types/node/console.d.ts +49 -350
- package/node_modules/@types/node/constants.d.ts +3 -4
- package/node_modules/@types/node/crypto.d.ts +641 -1142
- package/node_modules/@types/node/dgram.d.ts +18 -53
- package/node_modules/@types/node/diagnostics_channel.d.ts +4 -6
- package/node_modules/@types/node/dns/promises.d.ts +3 -3
- package/node_modules/@types/node/dns.d.ts +137 -133
- package/node_modules/@types/node/domain.d.ts +13 -17
- package/node_modules/@types/node/events.d.ts +854 -730
- package/node_modules/@types/node/fs/promises.d.ts +60 -30
- package/node_modules/@types/node/fs.d.ts +666 -463
- package/node_modules/@types/node/globals.d.ts +8 -26
- package/node_modules/@types/node/globals.typedarray.d.ts +79 -0
- package/node_modules/@types/node/http.d.ts +341 -244
- package/node_modules/@types/node/http2.d.ts +552 -702
- package/node_modules/@types/node/https.d.ts +73 -219
- package/node_modules/@types/node/index.d.ts +18 -2
- package/node_modules/@types/node/inspector/promises.d.ts +41 -0
- package/node_modules/@types/node/inspector.d.ts +169 -4156
- package/node_modules/@types/node/inspector.generated.d.ts +4226 -0
- package/node_modules/@types/node/module.d.ts +47 -122
- package/node_modules/@types/node/net.d.ts +90 -189
- package/node_modules/@types/node/os.d.ts +20 -9
- package/node_modules/@types/node/package.json +3 -3
- 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 +284 -647
- package/node_modules/@types/node/process.d.ts +228 -140
- 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 +4 -4
- 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 +10 -1
- package/node_modules/@types/node/sqlite.d.ts +235 -12
- 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 -502
- package/node_modules/@types/node/stream.d.ts +586 -494
- package/node_modules/@types/node/string_decoder.d.ts +6 -6
- package/node_modules/@types/node/test/reporters.d.ts +96 -0
- package/node_modules/@types/node/test.d.ts +111 -206
- 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 +151 -166
- package/node_modules/@types/node/trace_events.d.ts +9 -9
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +11 -9
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +16 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +18 -2
- package/node_modules/@types/node/ts5.7/index.d.ts +18 -2
- package/node_modules/@types/node/tty.d.ts +58 -16
- package/node_modules/@types/node/url.d.ts +85 -591
- package/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@types/node/util.d.ts +142 -798
- package/node_modules/@types/node/v8.d.ts +70 -10
- package/node_modules/@types/node/vm.d.ts +182 -101
- package/node_modules/@types/node/wasi.d.ts +5 -5
- 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 +39 -0
- package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@types/node/web-globals/events.d.ts +12 -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/navigator.d.ts +3 -0
- package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +115 -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 +270 -358
- package/node_modules/@types/node/zlib.d.ts +39 -95
- package/node_modules/axios/CHANGELOG.md +595 -474
- package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
- package/node_modules/axios/README.md +620 -458
- package/node_modules/axios/dist/axios.js +363 -190
- 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 +267 -219
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +267 -219
- 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 +522 -286
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +25 -3
- package/node_modules/axios/index.d.ts +344 -116
- package/node_modules/axios/lib/adapters/README.md +1 -1
- package/node_modules/axios/lib/adapters/adapters.js +85 -40
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/adapters/http.js +236 -51
- 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 +3 -2
- package/node_modules/axios/lib/core/mergeConfig.js +6 -7
- 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/HttpStatusCode.js +6 -0
- package/node_modules/axios/lib/helpers/bind.js +7 -0
- 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 +25 -14
- 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 +34 -5
- package/node_modules/fast-xml-parser/CHANGELOG.md +12 -0
- package/node_modules/fast-xml-parser/README.md +6 -5
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +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/fxp.d.ts +2 -2
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
- package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +43 -20
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
- package/node_modules/form-data/CHANGELOG.md +60 -2
- package/node_modules/form-data/README.md +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -2
- package/node_modules/form-data/package.json +4 -4
- 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/undici-types/agent.d.ts +1 -4
- package/node_modules/undici-types/client.d.ts +0 -2
- package/node_modules/undici-types/diagnostics-channel.d.ts +0 -1
- package/node_modules/undici-types/dispatcher.d.ts +0 -6
- package/node_modules/undici-types/errors.d.ts +5 -15
- package/node_modules/undici-types/eventsource.d.ts +6 -1
- package/node_modules/undici-types/h2c-client.d.ts +0 -2
- package/node_modules/undici-types/index.d.ts +6 -1
- package/node_modules/undici-types/interceptors.d.ts +5 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +0 -1
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici-types/webidl.d.ts +92 -21
- package/node_modules/undici-types/websocket.d.ts +2 -0
- 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 +18 -14
- package/node_modules/@turf/along/LICENSE +0 -20
- package/node_modules/@turf/along/README.md +0 -59
- 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 -122
- 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 -122
- package/node_modules/@turf/clean-coords/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/clean-coords/package.json +0 -76
- 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 -110
- 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 -110
- 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 -49
- 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 -49
- 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 -31
- 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 -31
- package/node_modules/@turf/destination/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/destination/package.json +0 -76
- 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 -69
- 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 -69
- package/node_modules/@turf/ellipse/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/ellipse/package.json +0 -81
- 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 -74
- 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 -73
- 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 -209
- 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 -209
- 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 -135
- 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 -135
- 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 -52
- package/node_modules/@turf/line-split/dist/cjs/index.cjs +0 -129
- 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 -129
- package/node_modules/@turf/line-split/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/line-split/package.json +0 -82
- 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 -41
- package/node_modules/@turf/nearest-point/dist/esm/index.d.ts +0 -41
- 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 -75
- package/node_modules/@turf/nearest-point-on-line/dist/cjs/index.cjs +0 -162
- 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 -40
- package/node_modules/@turf/nearest-point-on-line/dist/esm/index.d.ts +0 -40
- package/node_modules/@turf/nearest-point-on-line/dist/esm/index.js +0 -162
- 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 -72
- 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 -65
- 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 -29
- package/node_modules/@turf/point-to-line-distance/dist/esm/index.d.ts +0 -29
- 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 -63
- 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 -29
- package/node_modules/@turf/rhumb-distance/dist/esm/index.d.ts +0 -29
- 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 -71
- package/node_modules/@turf/shortest-path/dist/cjs/index.cjs +0 -386
- 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 -386
- package/node_modules/@turf/shortest-path/dist/esm/index.js.map +0 -1
- package/node_modules/@turf/shortest-path/package.json +0 -84
- 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 -147
- package/node_modules/@turf/simplify/dist/cjs/index.cjs.map +0 -1
- package/node_modules/@turf/simplify/dist/cjs/index.d.cts +0 -50
- package/node_modules/@turf/simplify/dist/esm/index.d.ts +0 -50
- package/node_modules/@turf/simplify/dist/esm/index.js +0 -147
- 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 -62
- 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 -31
- package/node_modules/@turf/transform-translate/dist/esm/index.d.ts +0 -31
- 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 -37
- 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/marchingsquares/.eslintrc.json +0 -81
- package/node_modules/marchingsquares/Changelog.md +0 -81
- package/node_modules/marchingsquares/LICENSE.md +0 -37
- package/node_modules/marchingsquares/README.md +0 -312
- package/node_modules/marchingsquares/VERSION +0 -1
- package/node_modules/marchingsquares/agpl-3.0.txt +0 -661
- package/node_modules/marchingsquares/dist/marchingsquares-esm.js +0 -3410
- package/node_modules/marchingsquares/dist/marchingsquares-isobands.js +0 -2513
- package/node_modules/marchingsquares/dist/marchingsquares-isobands.min.js +0 -9
- package/node_modules/marchingsquares/dist/marchingsquares-isocontours.js +0 -1209
- package/node_modules/marchingsquares/dist/marchingsquares-isocontours.min.js +0 -9
- package/node_modules/marchingsquares/dist/marchingsquares-isolines.js +0 -1209
- package/node_modules/marchingsquares/dist/marchingsquares-isolines.min.js +0 -9
- package/node_modules/marchingsquares/dist/marchingsquares.js +0 -3424
- package/node_modules/marchingsquares/dist/marchingsquares.min.js +0 -9
- package/node_modules/marchingsquares/examples/contour/index.html +0 -117
- package/node_modules/marchingsquares/examples/editor/draw-lines.js +0 -60
- package/node_modules/marchingsquares/examples/editor/index.html +0 -39
- package/node_modules/marchingsquares/examples/editor/script.js +0 -110
- package/node_modules/marchingsquares/examples/editor/styles.css +0 -37
- package/node_modules/marchingsquares/examples/require/app.js +0 -9
- package/node_modules/marchingsquares/examples/require/index.html +0 -14
- package/node_modules/marchingsquares/examples/require/main.js +0 -98
- package/node_modules/marchingsquares/examples/require/require.js +0 -5
- package/node_modules/marchingsquares/examples/simple/index.html +0 -115
- package/node_modules/marchingsquares/examples/vienna/index.html +0 -229
- package/node_modules/marchingsquares/examples/vienna/vienna_basin.png +0 -0
- package/node_modules/marchingsquares/examples/vienna/vienna_data.js +0 -514
- package/node_modules/marchingsquares/package.json +0 -47
- package/node_modules/marchingsquares/rollup.config.js +0 -122
- package/node_modules/marchingsquares/rollup.config.test.js +0 -14
- package/node_modules/marchingsquares/src/interpolation.js +0 -84
- package/node_modules/marchingsquares/src/isobands.js +0 -1883
- package/node_modules/marchingsquares/src/isolines.js +0 -638
- package/node_modules/marchingsquares/src/main.js +0 -4
- package/node_modules/marchingsquares/src/options.js +0 -80
- package/node_modules/marchingsquares/src/polygons.js +0 -531
- package/node_modules/marchingsquares/src/quadtree.js +0 -228
- package/node_modules/marchingsquares/test/data/in/isoBands-example-case.json +0 -14
- package/node_modules/marchingsquares/test/data/in/isoBands-issue#6-0_3.json +0 -12
- package/node_modules/marchingsquares/test/data/in/isoBands-issue#6-3_5.json +0 -12
- package/node_modules/marchingsquares/test/data/in/isoBands-issue#6-5_7.json +0 -12
- package/node_modules/marchingsquares/test/data/in/isoBands-minimal.json +0 -8
- package/node_modules/marchingsquares/test/data/in/isoBands-simple.json +0 -9
- package/node_modules/marchingsquares/test/data/in/isoLines-example-case.json +0 -13
- package/node_modules/marchingsquares/test/data/in/isoLines-simple.json +0 -8
- package/node_modules/marchingsquares/test/data/out/isoBands-example-case.json +0 -72
- package/node_modules/marchingsquares/test/data/out/isoBands-issue#6-0_3.json +0 -9
- package/node_modules/marchingsquares/test/data/out/isoBands-issue#6-3_5.json +0 -36
- package/node_modules/marchingsquares/test/data/out/isoBands-issue#6-5_7.json +0 -8
- package/node_modules/marchingsquares/test/data/out/isoBands-minimal.json +0 -10
- package/node_modules/marchingsquares/test/data/out/isoBands-simple.json +0 -25
- package/node_modules/marchingsquares/test/data/out/isoLines-example-case.json +0 -481
- package/node_modules/marchingsquares/test/data/out/isoLines-simple.json +0 -8
- package/node_modules/marchingsquares/test/test.js +0 -152
- 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
|
@@ -16,33 +16,33 @@
|
|
|
16
16
|
*
|
|
17
17
|
* All file system operations have synchronous, callback, and promise-based
|
|
18
18
|
* forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
|
|
19
|
-
* @see [source](https://github.com/nodejs/node/blob/
|
|
19
|
+
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/fs.js)
|
|
20
20
|
*/
|
|
21
|
-
declare module "fs" {
|
|
21
|
+
declare module "node:fs" {
|
|
22
|
+
import { NonSharedBuffer } from "node:buffer";
|
|
23
|
+
import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
|
|
24
|
+
import { FileHandle } from "node:fs/promises";
|
|
22
25
|
import * as stream from "node:stream";
|
|
23
|
-
import { Abortable, EventEmitter } from "node:events";
|
|
24
26
|
import { URL } from "node:url";
|
|
25
|
-
import * as promises from "node:fs/promises";
|
|
26
|
-
export { promises };
|
|
27
27
|
/**
|
|
28
28
|
* Valid types for path values in "fs".
|
|
29
29
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
type PathLike = string | Buffer | URL;
|
|
31
|
+
type PathOrFileDescriptor = PathLike | number;
|
|
32
|
+
type TimeLike = string | number | Date;
|
|
33
|
+
type NoParamCallback = (err: NodeJS.ErrnoException | null) => void;
|
|
34
|
+
type BufferEncodingOption =
|
|
35
35
|
| "buffer"
|
|
36
36
|
| {
|
|
37
37
|
encoding: "buffer";
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
interface ObjectEncodingOptions {
|
|
40
40
|
encoding?: BufferEncoding | null | undefined;
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
type EncodingOption = ObjectEncodingOptions | BufferEncoding | undefined | null;
|
|
43
|
+
type OpenMode = number | string;
|
|
44
|
+
type Mode = number | string;
|
|
45
|
+
interface StatsBase<T> {
|
|
46
46
|
isFile(): boolean;
|
|
47
47
|
isDirectory(): boolean;
|
|
48
48
|
isBlockDevice(): boolean;
|
|
@@ -69,7 +69,7 @@ declare module "fs" {
|
|
|
69
69
|
ctime: Date;
|
|
70
70
|
birthtime: Date;
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
interface Stats extends StatsBase<number> {}
|
|
73
73
|
/**
|
|
74
74
|
* A `fs.Stats` object provides information about a file.
|
|
75
75
|
*
|
|
@@ -130,10 +130,10 @@ declare module "fs" {
|
|
|
130
130
|
* ```
|
|
131
131
|
* @since v0.1.21
|
|
132
132
|
*/
|
|
133
|
-
|
|
133
|
+
class Stats {
|
|
134
134
|
private constructor();
|
|
135
135
|
}
|
|
136
|
-
|
|
136
|
+
interface StatsFsBase<T> {
|
|
137
137
|
/** Type of file system. */
|
|
138
138
|
type: T;
|
|
139
139
|
/** Optimal transfer block size. */
|
|
@@ -149,7 +149,7 @@ declare module "fs" {
|
|
|
149
149
|
/** Free file nodes in file system. */
|
|
150
150
|
ffree: T;
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
interface StatsFs extends StatsFsBase<number> {}
|
|
153
153
|
/**
|
|
154
154
|
* Provides information about a mounted file system.
|
|
155
155
|
*
|
|
@@ -184,9 +184,9 @@ declare module "fs" {
|
|
|
184
184
|
* ```
|
|
185
185
|
* @since v19.6.0, v18.15.0
|
|
186
186
|
*/
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
class StatsFs {}
|
|
188
|
+
interface BigIntStatsFs extends StatsFsBase<bigint> {}
|
|
189
|
+
interface StatFsOptions {
|
|
190
190
|
bigint?: boolean | undefined;
|
|
191
191
|
}
|
|
192
192
|
/**
|
|
@@ -198,7 +198,7 @@ declare module "fs" {
|
|
|
198
198
|
* the `withFileTypes` option set to `true`, the resulting array is filled with `fs.Dirent` objects, rather than strings or `Buffer` s.
|
|
199
199
|
* @since v10.10.0
|
|
200
200
|
*/
|
|
201
|
-
|
|
201
|
+
class Dirent<Name extends string | Buffer = string> {
|
|
202
202
|
/**
|
|
203
203
|
* Returns `true` if the `fs.Dirent` object describes a regular file.
|
|
204
204
|
* @since v10.10.0
|
|
@@ -269,7 +269,7 @@ declare module "fs" {
|
|
|
269
269
|
* closed after the iterator exits.
|
|
270
270
|
* @since v12.12.0
|
|
271
271
|
*/
|
|
272
|
-
|
|
272
|
+
class Dir implements AsyncIterable<Dirent> {
|
|
273
273
|
/**
|
|
274
274
|
* The read-only path of this directory as was provided to {@link opendir},{@link opendirSync}, or `fsPromises.opendir()`.
|
|
275
275
|
* @since v12.12.0
|
|
@@ -341,7 +341,7 @@ declare module "fs" {
|
|
|
341
341
|
* Extends `EventEmitter`
|
|
342
342
|
* A successful call to {@link watchFile} method will return a new fs.StatWatcher object.
|
|
343
343
|
*/
|
|
344
|
-
|
|
344
|
+
interface StatWatcher extends EventEmitter {
|
|
345
345
|
/**
|
|
346
346
|
* When called, requests that the Node.js event loop _not_ exit so long as the `fs.StatWatcher` is active. Calling `watcher.ref()` multiple times will have
|
|
347
347
|
* no effect.
|
|
@@ -362,7 +362,12 @@ declare module "fs" {
|
|
|
362
362
|
*/
|
|
363
363
|
unref(): this;
|
|
364
364
|
}
|
|
365
|
-
|
|
365
|
+
interface FSWatcherEventMap {
|
|
366
|
+
"change": [eventType: string, filename: string | NonSharedBuffer];
|
|
367
|
+
"close": [];
|
|
368
|
+
"error": [error: Error];
|
|
369
|
+
}
|
|
370
|
+
interface FSWatcher extends InternalEventEmitter<FSWatcherEventMap> {
|
|
366
371
|
/**
|
|
367
372
|
* Stop watching for changes on the given `fs.FSWatcher`. Once stopped, the `fs.FSWatcher` object is no longer usable.
|
|
368
373
|
* @since v0.5.8
|
|
@@ -387,38 +392,18 @@ declare module "fs" {
|
|
|
387
392
|
* @since v14.3.0, v12.20.0
|
|
388
393
|
*/
|
|
389
394
|
unref(): this;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
397
|
-
addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
398
|
-
addListener(event: "close", listener: () => void): this;
|
|
399
|
-
addListener(event: "error", listener: (error: Error) => void): this;
|
|
400
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
|
401
|
-
on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
402
|
-
on(event: "close", listener: () => void): this;
|
|
403
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
404
|
-
once(event: string, listener: (...args: any[]) => void): this;
|
|
405
|
-
once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
406
|
-
once(event: "close", listener: () => void): this;
|
|
407
|
-
once(event: "error", listener: (error: Error) => void): this;
|
|
408
|
-
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
409
|
-
prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
410
|
-
prependListener(event: "close", listener: () => void): this;
|
|
411
|
-
prependListener(event: "error", listener: (error: Error) => void): this;
|
|
412
|
-
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
413
|
-
prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
414
|
-
prependOnceListener(event: "close", listener: () => void): this;
|
|
415
|
-
prependOnceListener(event: "error", listener: (error: Error) => void): this;
|
|
395
|
+
}
|
|
396
|
+
interface ReadStreamEventMap extends stream.ReadableEventMap {
|
|
397
|
+
"close": [];
|
|
398
|
+
"data": [chunk: string | NonSharedBuffer];
|
|
399
|
+
"open": [fd: number];
|
|
400
|
+
"ready": [];
|
|
416
401
|
}
|
|
417
402
|
/**
|
|
418
403
|
* Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function.
|
|
419
404
|
* @since v0.1.93
|
|
420
405
|
*/
|
|
421
|
-
|
|
406
|
+
class ReadStream extends stream.Readable {
|
|
422
407
|
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
423
408
|
/**
|
|
424
409
|
* The number of bytes that have been read so far.
|
|
@@ -438,60 +423,250 @@ declare module "fs" {
|
|
|
438
423
|
* @since v11.2.0, v10.16.0
|
|
439
424
|
*/
|
|
440
425
|
pending: boolean;
|
|
426
|
+
// #region InternalEventEmitter
|
|
427
|
+
addListener<E extends keyof ReadStreamEventMap>(
|
|
428
|
+
eventName: E,
|
|
429
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
430
|
+
): this;
|
|
431
|
+
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
432
|
+
emit<E extends keyof ReadStreamEventMap>(eventName: E, ...args: ReadStreamEventMap[E]): boolean;
|
|
433
|
+
emit(eventName: string | symbol, ...args: any[]): boolean;
|
|
434
|
+
listenerCount<E extends keyof ReadStreamEventMap>(
|
|
435
|
+
eventName: E,
|
|
436
|
+
listener?: (...args: ReadStreamEventMap[E]) => void,
|
|
437
|
+
): number;
|
|
438
|
+
listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
|
|
439
|
+
listeners<E extends keyof ReadStreamEventMap>(eventName: E): ((...args: ReadStreamEventMap[E]) => void)[];
|
|
440
|
+
listeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
441
|
+
off<E extends keyof ReadStreamEventMap>(eventName: E, listener: (...args: ReadStreamEventMap[E]) => void): this;
|
|
442
|
+
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
443
|
+
on<E extends keyof ReadStreamEventMap>(eventName: E, listener: (...args: ReadStreamEventMap[E]) => void): this;
|
|
444
|
+
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
445
|
+
once<E extends keyof ReadStreamEventMap>(
|
|
446
|
+
eventName: E,
|
|
447
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
448
|
+
): this;
|
|
449
|
+
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
450
|
+
prependListener<E extends keyof ReadStreamEventMap>(
|
|
451
|
+
eventName: E,
|
|
452
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
453
|
+
): this;
|
|
454
|
+
prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
455
|
+
prependOnceListener<E extends keyof ReadStreamEventMap>(
|
|
456
|
+
eventName: E,
|
|
457
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
458
|
+
): this;
|
|
459
|
+
prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
460
|
+
rawListeners<E extends keyof ReadStreamEventMap>(eventName: E): ((...args: ReadStreamEventMap[E]) => void)[];
|
|
461
|
+
rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
462
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
463
|
+
removeAllListeners<E extends keyof ReadStreamEventMap>(eventName?: E): this;
|
|
464
|
+
removeAllListeners(eventName?: string | symbol): this;
|
|
465
|
+
removeListener<E extends keyof ReadStreamEventMap>(
|
|
466
|
+
eventName: E,
|
|
467
|
+
listener: (...args: ReadStreamEventMap[E]) => void,
|
|
468
|
+
): this;
|
|
469
|
+
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
470
|
+
// #endregion
|
|
471
|
+
}
|
|
472
|
+
interface Utf8StreamOptions {
|
|
473
|
+
/**
|
|
474
|
+
* Appends writes to dest file instead of truncating it.
|
|
475
|
+
* @default true
|
|
476
|
+
*/
|
|
477
|
+
append?: boolean | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* Which type of data you can send to the write
|
|
480
|
+
* function, supported values are `'utf8'` or `'buffer'`.
|
|
481
|
+
* @default 'utf8'
|
|
482
|
+
*/
|
|
483
|
+
contentMode?: "utf8" | "buffer" | undefined;
|
|
484
|
+
/**
|
|
485
|
+
* A path to a file to be written to (mode controlled by the
|
|
486
|
+
* append option).
|
|
487
|
+
*/
|
|
488
|
+
dest?: string | undefined;
|
|
489
|
+
/**
|
|
490
|
+
* A file descriptor, something that is returned by `fs.open()`
|
|
491
|
+
* or `fs.openSync()`.
|
|
492
|
+
*/
|
|
493
|
+
fd?: number | undefined;
|
|
494
|
+
/**
|
|
495
|
+
* An object that has the same API as the `fs` module, useful
|
|
496
|
+
* for mocking, testing, or customizing the behavior of the stream.
|
|
497
|
+
*/
|
|
498
|
+
fs?: object | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* Perform a `fs.fsyncSync()` every time a write is
|
|
501
|
+
* completed.
|
|
502
|
+
*/
|
|
503
|
+
fsync?: boolean | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* The maximum length of the internal buffer. If a write
|
|
506
|
+
* operation would cause the buffer to exceed `maxLength`, the data written is
|
|
507
|
+
* dropped and a drop event is emitted with the dropped data
|
|
508
|
+
*/
|
|
509
|
+
maxLength?: number | undefined;
|
|
510
|
+
/**
|
|
511
|
+
* The maximum number of bytes that can be written;
|
|
512
|
+
* @default 16384
|
|
513
|
+
*/
|
|
514
|
+
maxWrite?: number | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* The minimum length of the internal buffer that is
|
|
517
|
+
* required to be full before flushing.
|
|
518
|
+
*/
|
|
519
|
+
minLength?: number | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* Ensure directory for `dest` file exists when true.
|
|
522
|
+
* @default false
|
|
523
|
+
*/
|
|
524
|
+
mkdir?: boolean | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* Specify the creating file mode (see `fs.open()`).
|
|
527
|
+
*/
|
|
528
|
+
mode?: number | string | undefined;
|
|
529
|
+
/**
|
|
530
|
+
* Calls flush every `periodicFlush` milliseconds.
|
|
531
|
+
*/
|
|
532
|
+
periodicFlush?: number | undefined;
|
|
441
533
|
/**
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
*
|
|
445
|
-
*
|
|
534
|
+
* A function that will be called when `write()`,
|
|
535
|
+
* `writeSync()`, or `flushSync()` encounters an `EAGAIN` or `EBUSY` error.
|
|
536
|
+
* If the return value is `true` the operation will be retried, otherwise it
|
|
537
|
+
* will bubble the error. The `err` is the error that caused this function to
|
|
538
|
+
* be called, `writeBufferLen` is the length of the buffer that was written,
|
|
539
|
+
* and `remainingBufferLen` is the length of the remaining buffer that the
|
|
540
|
+
* stream did not try to write.
|
|
446
541
|
*/
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
542
|
+
retryEAGAIN?: ((err: Error | null, writeBufferLen: number, remainingBufferLen: number) => boolean) | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* Perform writes synchronously.
|
|
545
|
+
*/
|
|
546
|
+
sync?: boolean | undefined;
|
|
547
|
+
}
|
|
548
|
+
interface Utf8StreamEventMap {
|
|
549
|
+
"close": [];
|
|
550
|
+
"drain": [];
|
|
551
|
+
"drop": [data: string | Buffer];
|
|
552
|
+
"error": [error: Error];
|
|
553
|
+
"finish": [];
|
|
554
|
+
"ready": [];
|
|
555
|
+
"write": [n: number];
|
|
452
556
|
}
|
|
453
|
-
|
|
454
|
-
/**
|
|
455
|
-
* The Keys are events of the ReadStream and the values are the functions that are called when the event is emitted.
|
|
456
|
-
*/
|
|
457
|
-
type ReadStreamEvents = {
|
|
458
|
-
close: () => void;
|
|
459
|
-
data: (chunk: Buffer | string) => void;
|
|
460
|
-
end: () => void;
|
|
461
|
-
error: (err: Error) => void;
|
|
462
|
-
open: (fd: number) => void;
|
|
463
|
-
pause: () => void;
|
|
464
|
-
readable: () => void;
|
|
465
|
-
ready: () => void;
|
|
466
|
-
resume: () => void;
|
|
467
|
-
} & CustomEvents;
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* string & {} allows to allow any kind of strings for the event
|
|
471
|
-
* but still allows to have auto completion for the normal events.
|
|
472
|
-
*/
|
|
473
|
-
type CustomEvents = { [Key in string & {} | symbol]: (...args: any[]) => void };
|
|
474
|
-
|
|
475
557
|
/**
|
|
476
|
-
*
|
|
558
|
+
* An optimized UTF-8 stream writer that allows for flushing all the internal
|
|
559
|
+
* buffering on demand. It handles `EAGAIN` errors correctly, allowing for
|
|
560
|
+
* customization, for example, by dropping content if the disk is busy.
|
|
561
|
+
* @since v24.6.0
|
|
562
|
+
* @experimental
|
|
477
563
|
*/
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
564
|
+
class Utf8Stream implements EventEmitter {
|
|
565
|
+
constructor(options: Utf8StreamOptions);
|
|
566
|
+
/**
|
|
567
|
+
* Whether the stream is appending to the file or truncating it.
|
|
568
|
+
*/
|
|
569
|
+
readonly append: boolean;
|
|
570
|
+
/**
|
|
571
|
+
* The type of data that can be written to the stream. Supported
|
|
572
|
+
* values are `'utf8'` or `'buffer'`.
|
|
573
|
+
* @default 'utf8'
|
|
574
|
+
*/
|
|
575
|
+
readonly contentMode: "utf8" | "buffer";
|
|
576
|
+
/**
|
|
577
|
+
* Close the stream immediately, without flushing the internal buffer.
|
|
578
|
+
*/
|
|
579
|
+
destroy(): void;
|
|
580
|
+
/**
|
|
581
|
+
* Close the stream gracefully, flushing the internal buffer before closing.
|
|
582
|
+
*/
|
|
583
|
+
end(): void;
|
|
584
|
+
/**
|
|
585
|
+
* The file descriptor that is being written to.
|
|
586
|
+
*/
|
|
587
|
+
readonly fd: number;
|
|
588
|
+
/**
|
|
589
|
+
* The file that is being written to.
|
|
590
|
+
*/
|
|
591
|
+
readonly file: string;
|
|
592
|
+
/**
|
|
593
|
+
* Writes the current buffer to the file if a write was not in progress. Do
|
|
594
|
+
* nothing if `minLength` is zero or if it is already writing.
|
|
595
|
+
*/
|
|
596
|
+
flush(callback: (err: Error | null) => void): void;
|
|
597
|
+
/**
|
|
598
|
+
* Flushes the buffered data synchronously. This is a costly operation.
|
|
599
|
+
*/
|
|
600
|
+
flushSync(): void;
|
|
601
|
+
/**
|
|
602
|
+
* Whether the stream is performing a `fs.fsyncSync()` after every
|
|
603
|
+
* write operation.
|
|
604
|
+
*/
|
|
605
|
+
readonly fsync: boolean;
|
|
606
|
+
/**
|
|
607
|
+
* The maximum length of the internal buffer. If a write
|
|
608
|
+
* operation would cause the buffer to exceed `maxLength`, the data written is
|
|
609
|
+
* dropped and a drop event is emitted with the dropped data.
|
|
610
|
+
*/
|
|
611
|
+
readonly maxLength: number;
|
|
612
|
+
/**
|
|
613
|
+
* The minimum length of the internal buffer that is required to be
|
|
614
|
+
* full before flushing.
|
|
615
|
+
*/
|
|
616
|
+
readonly minLength: number;
|
|
617
|
+
/**
|
|
618
|
+
* Whether the stream should ensure that the directory for the
|
|
619
|
+
* `dest` file exists. If `true`, it will create the directory if it does not
|
|
620
|
+
* exist.
|
|
621
|
+
* @default false
|
|
622
|
+
*/
|
|
623
|
+
readonly mkdir: boolean;
|
|
624
|
+
/**
|
|
625
|
+
* The mode of the file that is being written to.
|
|
626
|
+
*/
|
|
627
|
+
readonly mode: number | string;
|
|
628
|
+
/**
|
|
629
|
+
* The number of milliseconds between flushes. If set to `0`, no
|
|
630
|
+
* periodic flushes will be performed.
|
|
631
|
+
*/
|
|
632
|
+
readonly periodicFlush: number;
|
|
633
|
+
/**
|
|
634
|
+
* Reopen the file in place, useful for log rotation.
|
|
635
|
+
* @param file A path to a file to be written to (mode
|
|
636
|
+
* controlled by the append option).
|
|
637
|
+
*/
|
|
638
|
+
reopen(file: PathLike): void;
|
|
639
|
+
/**
|
|
640
|
+
* Whether the stream is writing synchronously or asynchronously.
|
|
641
|
+
*/
|
|
642
|
+
readonly sync: boolean;
|
|
643
|
+
/**
|
|
644
|
+
* When the `options.contentMode` is set to `'utf8'` when the stream is created,
|
|
645
|
+
* the `data` argument must be a string. If the `contentMode` is set to `'buffer'`,
|
|
646
|
+
* the `data` argument must be a `Buffer`.
|
|
647
|
+
* @param data The data to write.
|
|
648
|
+
*/
|
|
649
|
+
write(data: string | Buffer): boolean;
|
|
650
|
+
/**
|
|
651
|
+
* Whether the stream is currently writing data to the file.
|
|
652
|
+
*/
|
|
653
|
+
readonly writing: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Calls `utf8Stream.destroy()`.
|
|
656
|
+
*/
|
|
657
|
+
[Symbol.dispose](): void;
|
|
658
|
+
}
|
|
659
|
+
interface Utf8Stream extends InternalEventEmitter<Utf8StreamEventMap> {}
|
|
660
|
+
interface WriteStreamEventMap extends stream.WritableEventMap {
|
|
661
|
+
"close": [];
|
|
662
|
+
"open": [fd: number];
|
|
663
|
+
"ready": [];
|
|
664
|
+
}
|
|
488
665
|
/**
|
|
489
|
-
* * Extends `stream.Writable`
|
|
490
|
-
*
|
|
491
666
|
* Instances of `fs.WriteStream` are created and returned using the {@link createWriteStream} function.
|
|
492
667
|
* @since v0.1.93
|
|
493
668
|
*/
|
|
494
|
-
|
|
669
|
+
class WriteStream extends stream.Writable {
|
|
495
670
|
/**
|
|
496
671
|
* Closes `writeStream`. Optionally accepts a
|
|
497
672
|
* callback that will be executed once the `writeStream`is closed.
|
|
@@ -517,17 +692,57 @@ declare module "fs" {
|
|
|
517
692
|
* @since v11.2.0
|
|
518
693
|
*/
|
|
519
694
|
pending: boolean;
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
695
|
+
// #region InternalEventEmitter
|
|
696
|
+
addListener<E extends keyof WriteStreamEventMap>(
|
|
697
|
+
eventName: E,
|
|
698
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
699
|
+
): this;
|
|
700
|
+
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
701
|
+
emit<E extends keyof WriteStreamEventMap>(eventName: E, ...args: WriteStreamEventMap[E]): boolean;
|
|
702
|
+
emit(eventName: string | symbol, ...args: any[]): boolean;
|
|
703
|
+
listenerCount<E extends keyof WriteStreamEventMap>(
|
|
704
|
+
eventName: E,
|
|
705
|
+
listener?: (...args: WriteStreamEventMap[E]) => void,
|
|
706
|
+
): number;
|
|
707
|
+
listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
|
|
708
|
+
listeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
|
|
709
|
+
listeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
710
|
+
off<E extends keyof WriteStreamEventMap>(
|
|
711
|
+
eventName: E,
|
|
712
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
713
|
+
): this;
|
|
714
|
+
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
715
|
+
on<E extends keyof WriteStreamEventMap>(
|
|
716
|
+
eventName: E,
|
|
717
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
718
|
+
): this;
|
|
719
|
+
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
720
|
+
once<E extends keyof WriteStreamEventMap>(
|
|
721
|
+
eventName: E,
|
|
722
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
723
|
+
): this;
|
|
724
|
+
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
725
|
+
prependListener<E extends keyof WriteStreamEventMap>(
|
|
726
|
+
eventName: E,
|
|
727
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
728
|
+
): this;
|
|
729
|
+
prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
730
|
+
prependOnceListener<E extends keyof WriteStreamEventMap>(
|
|
731
|
+
eventName: E,
|
|
732
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
733
|
+
): this;
|
|
734
|
+
prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
735
|
+
rawListeners<E extends keyof WriteStreamEventMap>(eventName: E): ((...args: WriteStreamEventMap[E]) => void)[];
|
|
736
|
+
rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
737
|
+
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
738
|
+
removeAllListeners<E extends keyof WriteStreamEventMap>(eventName?: E): this;
|
|
739
|
+
removeAllListeners(eventName?: string | symbol): this;
|
|
740
|
+
removeListener<E extends keyof WriteStreamEventMap>(
|
|
741
|
+
eventName: E,
|
|
742
|
+
listener: (...args: WriteStreamEventMap[E]) => void,
|
|
743
|
+
): this;
|
|
744
|
+
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
745
|
+
// #endregion
|
|
531
746
|
}
|
|
532
747
|
/**
|
|
533
748
|
* Asynchronously rename file at `oldPath` to the pathname provided
|
|
@@ -548,8 +763,8 @@ declare module "fs" {
|
|
|
548
763
|
* ```
|
|
549
764
|
* @since v0.0.2
|
|
550
765
|
*/
|
|
551
|
-
|
|
552
|
-
|
|
766
|
+
function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
|
|
767
|
+
namespace rename {
|
|
553
768
|
/**
|
|
554
769
|
* Asynchronous rename(2) - Change the name or location of a file or directory.
|
|
555
770
|
* @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -565,7 +780,7 @@ declare module "fs" {
|
|
|
565
780
|
* See the POSIX [`rename(2)`](http://man7.org/linux/man-pages/man2/rename.2.html) documentation for more details.
|
|
566
781
|
* @since v0.1.21
|
|
567
782
|
*/
|
|
568
|
-
|
|
783
|
+
function renameSync(oldPath: PathLike, newPath: PathLike): void;
|
|
569
784
|
/**
|
|
570
785
|
* Truncates the file. No arguments other than a possible exception are
|
|
571
786
|
* given to the completion callback. A file descriptor can also be passed as the
|
|
@@ -587,13 +802,13 @@ declare module "fs" {
|
|
|
587
802
|
* @since v0.8.6
|
|
588
803
|
* @param [len=0]
|
|
589
804
|
*/
|
|
590
|
-
|
|
805
|
+
function truncate(path: PathLike, len: number | undefined, callback: NoParamCallback): void;
|
|
591
806
|
/**
|
|
592
807
|
* Asynchronous truncate(2) - Truncate a file to a specified length.
|
|
593
808
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
594
809
|
*/
|
|
595
|
-
|
|
596
|
-
|
|
810
|
+
function truncate(path: PathLike, callback: NoParamCallback): void;
|
|
811
|
+
namespace truncate {
|
|
597
812
|
/**
|
|
598
813
|
* Asynchronous truncate(2) - Truncate a file to a specified length.
|
|
599
814
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -610,7 +825,7 @@ declare module "fs" {
|
|
|
610
825
|
* @since v0.8.6
|
|
611
826
|
* @param [len=0]
|
|
612
827
|
*/
|
|
613
|
-
|
|
828
|
+
function truncateSync(path: PathLike, len?: number): void;
|
|
614
829
|
/**
|
|
615
830
|
* Truncates the file descriptor. No arguments other than a possible exception are
|
|
616
831
|
* given to the completion callback.
|
|
@@ -654,13 +869,13 @@ declare module "fs" {
|
|
|
654
869
|
* @since v0.8.6
|
|
655
870
|
* @param [len=0]
|
|
656
871
|
*/
|
|
657
|
-
|
|
872
|
+
function ftruncate(fd: number, len: number | undefined, callback: NoParamCallback): void;
|
|
658
873
|
/**
|
|
659
874
|
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
|
|
660
875
|
* @param fd A file descriptor.
|
|
661
876
|
*/
|
|
662
|
-
|
|
663
|
-
|
|
877
|
+
function ftruncate(fd: number, callback: NoParamCallback): void;
|
|
878
|
+
namespace ftruncate {
|
|
664
879
|
/**
|
|
665
880
|
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
|
|
666
881
|
* @param fd A file descriptor.
|
|
@@ -676,7 +891,7 @@ declare module "fs" {
|
|
|
676
891
|
* @since v0.8.6
|
|
677
892
|
* @param [len=0]
|
|
678
893
|
*/
|
|
679
|
-
|
|
894
|
+
function ftruncateSync(fd: number, len?: number): void;
|
|
680
895
|
/**
|
|
681
896
|
* Asynchronously changes owner and group of a file. No arguments other than a
|
|
682
897
|
* possible exception are given to the completion callback.
|
|
@@ -684,8 +899,8 @@ declare module "fs" {
|
|
|
684
899
|
* See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
|
|
685
900
|
* @since v0.1.97
|
|
686
901
|
*/
|
|
687
|
-
|
|
688
|
-
|
|
902
|
+
function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
|
|
903
|
+
namespace chown {
|
|
689
904
|
/**
|
|
690
905
|
* Asynchronous chown(2) - Change ownership of a file.
|
|
691
906
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -699,7 +914,7 @@ declare module "fs" {
|
|
|
699
914
|
* See the POSIX [`chown(2)`](http://man7.org/linux/man-pages/man2/chown.2.html) documentation for more detail.
|
|
700
915
|
* @since v0.1.97
|
|
701
916
|
*/
|
|
702
|
-
|
|
917
|
+
function chownSync(path: PathLike, uid: number, gid: number): void;
|
|
703
918
|
/**
|
|
704
919
|
* Sets the owner of the file. No arguments other than a possible exception are
|
|
705
920
|
* given to the completion callback.
|
|
@@ -707,8 +922,8 @@ declare module "fs" {
|
|
|
707
922
|
* See the POSIX [`fchown(2)`](http://man7.org/linux/man-pages/man2/fchown.2.html) documentation for more detail.
|
|
708
923
|
* @since v0.4.7
|
|
709
924
|
*/
|
|
710
|
-
|
|
711
|
-
|
|
925
|
+
function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void;
|
|
926
|
+
namespace fchown {
|
|
712
927
|
/**
|
|
713
928
|
* Asynchronous fchown(2) - Change ownership of a file.
|
|
714
929
|
* @param fd A file descriptor.
|
|
@@ -723,15 +938,15 @@ declare module "fs" {
|
|
|
723
938
|
* @param uid The file's new owner's user id.
|
|
724
939
|
* @param gid The file's new group's group id.
|
|
725
940
|
*/
|
|
726
|
-
|
|
941
|
+
function fchownSync(fd: number, uid: number, gid: number): void;
|
|
727
942
|
/**
|
|
728
943
|
* Set the owner of the symbolic link. No arguments other than a possible
|
|
729
944
|
* exception are given to the completion callback.
|
|
730
945
|
*
|
|
731
946
|
* See the POSIX [`lchown(2)`](http://man7.org/linux/man-pages/man2/lchown.2.html) documentation for more detail.
|
|
732
947
|
*/
|
|
733
|
-
|
|
734
|
-
|
|
948
|
+
function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void;
|
|
949
|
+
namespace lchown {
|
|
735
950
|
/**
|
|
736
951
|
* Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
|
|
737
952
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -745,7 +960,7 @@ declare module "fs" {
|
|
|
745
960
|
* @param uid The file's new owner's user id.
|
|
746
961
|
* @param gid The file's new group's group id.
|
|
747
962
|
*/
|
|
748
|
-
|
|
963
|
+
function lchownSync(path: PathLike, uid: number, gid: number): void;
|
|
749
964
|
/**
|
|
750
965
|
* Changes the access and modification times of a file in the same way as {@link utimes}, with the difference that if the path refers to a symbolic
|
|
751
966
|
* link, then the link is not dereferenced: instead, the timestamps of the
|
|
@@ -755,8 +970,8 @@ declare module "fs" {
|
|
|
755
970
|
* callback.
|
|
756
971
|
* @since v14.5.0, v12.19.0
|
|
757
972
|
*/
|
|
758
|
-
|
|
759
|
-
|
|
973
|
+
function lutimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
|
|
974
|
+
namespace lutimes {
|
|
760
975
|
/**
|
|
761
976
|
* Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
|
|
762
977
|
* with the difference that if the path refers to a symbolic link, then the link is not
|
|
@@ -773,7 +988,7 @@ declare module "fs" {
|
|
|
773
988
|
* the operation fails. This is the synchronous version of {@link lutimes}.
|
|
774
989
|
* @since v14.5.0, v12.19.0
|
|
775
990
|
*/
|
|
776
|
-
|
|
991
|
+
function lutimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
|
|
777
992
|
/**
|
|
778
993
|
* Asynchronously changes the permissions of a file. No arguments other than a
|
|
779
994
|
* possible exception are given to the completion callback.
|
|
@@ -790,8 +1005,8 @@ declare module "fs" {
|
|
|
790
1005
|
* ```
|
|
791
1006
|
* @since v0.1.30
|
|
792
1007
|
*/
|
|
793
|
-
|
|
794
|
-
|
|
1008
|
+
function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
|
|
1009
|
+
namespace chmod {
|
|
795
1010
|
/**
|
|
796
1011
|
* Asynchronous chmod(2) - Change permissions of a file.
|
|
797
1012
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -806,7 +1021,7 @@ declare module "fs" {
|
|
|
806
1021
|
* See the POSIX [`chmod(2)`](http://man7.org/linux/man-pages/man2/chmod.2.html) documentation for more detail.
|
|
807
1022
|
* @since v0.6.7
|
|
808
1023
|
*/
|
|
809
|
-
|
|
1024
|
+
function chmodSync(path: PathLike, mode: Mode): void;
|
|
810
1025
|
/**
|
|
811
1026
|
* Sets the permissions on the file. No arguments other than a possible exception
|
|
812
1027
|
* are given to the completion callback.
|
|
@@ -814,8 +1029,8 @@ declare module "fs" {
|
|
|
814
1029
|
* See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
|
|
815
1030
|
* @since v0.4.7
|
|
816
1031
|
*/
|
|
817
|
-
|
|
818
|
-
|
|
1032
|
+
function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void;
|
|
1033
|
+
namespace fchmod {
|
|
819
1034
|
/**
|
|
820
1035
|
* Asynchronous fchmod(2) - Change permissions of a file.
|
|
821
1036
|
* @param fd A file descriptor.
|
|
@@ -829,7 +1044,7 @@ declare module "fs" {
|
|
|
829
1044
|
* See the POSIX [`fchmod(2)`](http://man7.org/linux/man-pages/man2/fchmod.2.html) documentation for more detail.
|
|
830
1045
|
* @since v0.4.7
|
|
831
1046
|
*/
|
|
832
|
-
|
|
1047
|
+
function fchmodSync(fd: number, mode: Mode): void;
|
|
833
1048
|
/**
|
|
834
1049
|
* Changes the permissions on a symbolic link. No arguments other than a possible
|
|
835
1050
|
* exception are given to the completion callback.
|
|
@@ -839,9 +1054,9 @@ declare module "fs" {
|
|
|
839
1054
|
* See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
|
|
840
1055
|
* @deprecated Since v0.4.7
|
|
841
1056
|
*/
|
|
842
|
-
|
|
1057
|
+
function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void;
|
|
843
1058
|
/** @deprecated */
|
|
844
|
-
|
|
1059
|
+
namespace lchmod {
|
|
845
1060
|
/**
|
|
846
1061
|
* Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
|
|
847
1062
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -857,7 +1072,7 @@ declare module "fs" {
|
|
|
857
1072
|
* See the POSIX [`lchmod(2)`](https://www.freebsd.org/cgi/man.cgi?query=lchmod&sektion=2) documentation for more detail.
|
|
858
1073
|
* @deprecated Since v0.4.7
|
|
859
1074
|
*/
|
|
860
|
-
|
|
1075
|
+
function lchmodSync(path: PathLike, mode: Mode): void;
|
|
861
1076
|
/**
|
|
862
1077
|
* Asynchronous [`stat(2)`](http://man7.org/linux/man-pages/man2/stat.2.html). The callback gets two arguments `(err, stats)` where`stats` is an `fs.Stats` object.
|
|
863
1078
|
*
|
|
@@ -943,8 +1158,8 @@ declare module "fs" {
|
|
|
943
1158
|
* ```
|
|
944
1159
|
* @since v0.0.2
|
|
945
1160
|
*/
|
|
946
|
-
|
|
947
|
-
|
|
1161
|
+
function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
1162
|
+
function stat(
|
|
948
1163
|
path: PathLike,
|
|
949
1164
|
options:
|
|
950
1165
|
| (StatOptions & {
|
|
@@ -953,19 +1168,19 @@ declare module "fs" {
|
|
|
953
1168
|
| undefined,
|
|
954
1169
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
|
|
955
1170
|
): void;
|
|
956
|
-
|
|
1171
|
+
function stat(
|
|
957
1172
|
path: PathLike,
|
|
958
1173
|
options: StatOptions & {
|
|
959
1174
|
bigint: true;
|
|
960
1175
|
},
|
|
961
1176
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
|
|
962
1177
|
): void;
|
|
963
|
-
|
|
1178
|
+
function stat(
|
|
964
1179
|
path: PathLike,
|
|
965
1180
|
options: StatOptions | undefined,
|
|
966
1181
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
|
|
967
1182
|
): void;
|
|
968
|
-
|
|
1183
|
+
namespace stat {
|
|
969
1184
|
/**
|
|
970
1185
|
* Asynchronous stat(2) - Get file status.
|
|
971
1186
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -984,7 +1199,7 @@ declare module "fs" {
|
|
|
984
1199
|
): Promise<BigIntStats>;
|
|
985
1200
|
function __promisify__(path: PathLike, options?: StatOptions): Promise<Stats | BigIntStats>;
|
|
986
1201
|
}
|
|
987
|
-
|
|
1202
|
+
interface StatSyncFn extends Function {
|
|
988
1203
|
(path: PathLike, options?: undefined): Stats;
|
|
989
1204
|
(
|
|
990
1205
|
path: PathLike,
|
|
@@ -1025,15 +1240,15 @@ declare module "fs" {
|
|
|
1025
1240
|
* Synchronous stat(2) - Get file status.
|
|
1026
1241
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1027
1242
|
*/
|
|
1028
|
-
|
|
1243
|
+
const statSync: StatSyncFn;
|
|
1029
1244
|
/**
|
|
1030
1245
|
* Invokes the callback with the `fs.Stats` for the file descriptor.
|
|
1031
1246
|
*
|
|
1032
1247
|
* See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
|
|
1033
1248
|
* @since v0.1.95
|
|
1034
1249
|
*/
|
|
1035
|
-
|
|
1036
|
-
|
|
1250
|
+
function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
1251
|
+
function fstat(
|
|
1037
1252
|
fd: number,
|
|
1038
1253
|
options:
|
|
1039
1254
|
| (StatOptions & {
|
|
@@ -1042,19 +1257,19 @@ declare module "fs" {
|
|
|
1042
1257
|
| undefined,
|
|
1043
1258
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
|
|
1044
1259
|
): void;
|
|
1045
|
-
|
|
1260
|
+
function fstat(
|
|
1046
1261
|
fd: number,
|
|
1047
1262
|
options: StatOptions & {
|
|
1048
1263
|
bigint: true;
|
|
1049
1264
|
},
|
|
1050
1265
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
|
|
1051
1266
|
): void;
|
|
1052
|
-
|
|
1267
|
+
function fstat(
|
|
1053
1268
|
fd: number,
|
|
1054
1269
|
options: StatOptions | undefined,
|
|
1055
1270
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
|
|
1056
1271
|
): void;
|
|
1057
|
-
|
|
1272
|
+
namespace fstat {
|
|
1058
1273
|
/**
|
|
1059
1274
|
* Asynchronous fstat(2) - Get file status.
|
|
1060
1275
|
* @param fd A file descriptor.
|
|
@@ -1079,19 +1294,19 @@ declare module "fs" {
|
|
|
1079
1294
|
* See the POSIX [`fstat(2)`](http://man7.org/linux/man-pages/man2/fstat.2.html) documentation for more detail.
|
|
1080
1295
|
* @since v0.1.95
|
|
1081
1296
|
*/
|
|
1082
|
-
|
|
1297
|
+
function fstatSync(
|
|
1083
1298
|
fd: number,
|
|
1084
1299
|
options?: StatOptions & {
|
|
1085
1300
|
bigint?: false | undefined;
|
|
1086
1301
|
},
|
|
1087
1302
|
): Stats;
|
|
1088
|
-
|
|
1303
|
+
function fstatSync(
|
|
1089
1304
|
fd: number,
|
|
1090
1305
|
options: StatOptions & {
|
|
1091
1306
|
bigint: true;
|
|
1092
1307
|
},
|
|
1093
1308
|
): BigIntStats;
|
|
1094
|
-
|
|
1309
|
+
function fstatSync(fd: number, options?: StatOptions): Stats | BigIntStats;
|
|
1095
1310
|
/**
|
|
1096
1311
|
* Retrieves the `fs.Stats` for the symbolic link referred to by the path.
|
|
1097
1312
|
* The callback gets two arguments `(err, stats)` where `stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if `path` is a symbolic
|
|
@@ -1100,8 +1315,8 @@ declare module "fs" {
|
|
|
1100
1315
|
* See the POSIX [`lstat(2)`](http://man7.org/linux/man-pages/man2/lstat.2.html) documentation for more details.
|
|
1101
1316
|
* @since v0.1.30
|
|
1102
1317
|
*/
|
|
1103
|
-
|
|
1104
|
-
|
|
1318
|
+
function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void;
|
|
1319
|
+
function lstat(
|
|
1105
1320
|
path: PathLike,
|
|
1106
1321
|
options:
|
|
1107
1322
|
| (StatOptions & {
|
|
@@ -1110,19 +1325,19 @@ declare module "fs" {
|
|
|
1110
1325
|
| undefined,
|
|
1111
1326
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void,
|
|
1112
1327
|
): void;
|
|
1113
|
-
|
|
1328
|
+
function lstat(
|
|
1114
1329
|
path: PathLike,
|
|
1115
1330
|
options: StatOptions & {
|
|
1116
1331
|
bigint: true;
|
|
1117
1332
|
},
|
|
1118
1333
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void,
|
|
1119
1334
|
): void;
|
|
1120
|
-
|
|
1335
|
+
function lstat(
|
|
1121
1336
|
path: PathLike,
|
|
1122
1337
|
options: StatOptions | undefined,
|
|
1123
1338
|
callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void,
|
|
1124
1339
|
): void;
|
|
1125
|
-
|
|
1340
|
+
namespace lstat {
|
|
1126
1341
|
/**
|
|
1127
1342
|
* Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
1128
1343
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1149,8 +1364,8 @@ declare module "fs" {
|
|
|
1149
1364
|
* @since v19.6.0, v18.15.0
|
|
1150
1365
|
* @param path A path to an existing file or directory on the file system to be queried.
|
|
1151
1366
|
*/
|
|
1152
|
-
|
|
1153
|
-
|
|
1367
|
+
function statfs(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void): void;
|
|
1368
|
+
function statfs(
|
|
1154
1369
|
path: PathLike,
|
|
1155
1370
|
options:
|
|
1156
1371
|
| (StatFsOptions & {
|
|
@@ -1159,19 +1374,19 @@ declare module "fs" {
|
|
|
1159
1374
|
| undefined,
|
|
1160
1375
|
callback: (err: NodeJS.ErrnoException | null, stats: StatsFs) => void,
|
|
1161
1376
|
): void;
|
|
1162
|
-
|
|
1377
|
+
function statfs(
|
|
1163
1378
|
path: PathLike,
|
|
1164
1379
|
options: StatFsOptions & {
|
|
1165
1380
|
bigint: true;
|
|
1166
1381
|
},
|
|
1167
1382
|
callback: (err: NodeJS.ErrnoException | null, stats: BigIntStatsFs) => void,
|
|
1168
1383
|
): void;
|
|
1169
|
-
|
|
1384
|
+
function statfs(
|
|
1170
1385
|
path: PathLike,
|
|
1171
1386
|
options: StatFsOptions | undefined,
|
|
1172
1387
|
callback: (err: NodeJS.ErrnoException | null, stats: StatsFs | BigIntStatsFs) => void,
|
|
1173
1388
|
): void;
|
|
1174
|
-
|
|
1389
|
+
namespace statfs {
|
|
1175
1390
|
/**
|
|
1176
1391
|
* Asynchronous statfs(2) - Returns information about the mounted file system which contains path. The callback gets two arguments (err, stats) where stats is an <fs.StatFs> object.
|
|
1177
1392
|
* @param path A path to an existing file or directory on the file system to be queried.
|
|
@@ -1198,32 +1413,32 @@ declare module "fs" {
|
|
|
1198
1413
|
* @since v19.6.0, v18.15.0
|
|
1199
1414
|
* @param path A path to an existing file or directory on the file system to be queried.
|
|
1200
1415
|
*/
|
|
1201
|
-
|
|
1416
|
+
function statfsSync(
|
|
1202
1417
|
path: PathLike,
|
|
1203
1418
|
options?: StatFsOptions & {
|
|
1204
1419
|
bigint?: false | undefined;
|
|
1205
1420
|
},
|
|
1206
1421
|
): StatsFs;
|
|
1207
|
-
|
|
1422
|
+
function statfsSync(
|
|
1208
1423
|
path: PathLike,
|
|
1209
1424
|
options: StatFsOptions & {
|
|
1210
1425
|
bigint: true;
|
|
1211
1426
|
},
|
|
1212
1427
|
): BigIntStatsFs;
|
|
1213
|
-
|
|
1428
|
+
function statfsSync(path: PathLike, options?: StatFsOptions): StatsFs | BigIntStatsFs;
|
|
1214
1429
|
/**
|
|
1215
1430
|
* Synchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
|
1216
1431
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1217
1432
|
*/
|
|
1218
|
-
|
|
1433
|
+
const lstatSync: StatSyncFn;
|
|
1219
1434
|
/**
|
|
1220
1435
|
* Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. No arguments other than
|
|
1221
1436
|
* a possible
|
|
1222
1437
|
* exception are given to the completion callback.
|
|
1223
1438
|
* @since v0.1.31
|
|
1224
1439
|
*/
|
|
1225
|
-
|
|
1226
|
-
|
|
1440
|
+
function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void;
|
|
1441
|
+
namespace link {
|
|
1227
1442
|
/**
|
|
1228
1443
|
* Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
|
|
1229
1444
|
* @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1235,7 +1450,7 @@ declare module "fs" {
|
|
|
1235
1450
|
* Creates a new link from the `existingPath` to the `newPath`. See the POSIX [`link(2)`](http://man7.org/linux/man-pages/man2/link.2.html) documentation for more detail. Returns `undefined`.
|
|
1236
1451
|
* @since v0.1.31
|
|
1237
1452
|
*/
|
|
1238
|
-
|
|
1453
|
+
function linkSync(existingPath: PathLike, newPath: PathLike): void;
|
|
1239
1454
|
/**
|
|
1240
1455
|
* Creates the link called `path` pointing to `target`. No arguments other than a
|
|
1241
1456
|
* possible exception are given to the completion callback.
|
|
@@ -1269,7 +1484,7 @@ declare module "fs" {
|
|
|
1269
1484
|
* @since v0.1.31
|
|
1270
1485
|
* @param [type='null']
|
|
1271
1486
|
*/
|
|
1272
|
-
|
|
1487
|
+
function symlink(
|
|
1273
1488
|
target: PathLike,
|
|
1274
1489
|
path: PathLike,
|
|
1275
1490
|
type: symlink.Type | undefined | null,
|
|
@@ -1280,8 +1495,8 @@ declare module "fs" {
|
|
|
1280
1495
|
* @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
|
|
1281
1496
|
* @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
|
|
1282
1497
|
*/
|
|
1283
|
-
|
|
1284
|
-
|
|
1498
|
+
function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void;
|
|
1499
|
+
namespace symlink {
|
|
1285
1500
|
/**
|
|
1286
1501
|
* Asynchronous symlink(2) - Create a new symbolic link to an existing file.
|
|
1287
1502
|
* @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1300,7 +1515,7 @@ declare module "fs" {
|
|
|
1300
1515
|
* @since v0.1.31
|
|
1301
1516
|
* @param [type='null']
|
|
1302
1517
|
*/
|
|
1303
|
-
|
|
1518
|
+
function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void;
|
|
1304
1519
|
/**
|
|
1305
1520
|
* Reads the contents of the symbolic link referred to by `path`. The callback gets
|
|
1306
1521
|
* two arguments `(err, linkString)`.
|
|
@@ -1313,7 +1528,7 @@ declare module "fs" {
|
|
|
1313
1528
|
* the link path returned will be passed as a `Buffer` object.
|
|
1314
1529
|
* @since v0.1.31
|
|
1315
1530
|
*/
|
|
1316
|
-
|
|
1531
|
+
function readlink(
|
|
1317
1532
|
path: PathLike,
|
|
1318
1533
|
options: EncodingOption,
|
|
1319
1534
|
callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
|
|
@@ -1323,30 +1538,30 @@ declare module "fs" {
|
|
|
1323
1538
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1324
1539
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1325
1540
|
*/
|
|
1326
|
-
|
|
1541
|
+
function readlink(
|
|
1327
1542
|
path: PathLike,
|
|
1328
1543
|
options: BufferEncodingOption,
|
|
1329
|
-
callback: (err: NodeJS.ErrnoException | null, linkString:
|
|
1544
|
+
callback: (err: NodeJS.ErrnoException | null, linkString: NonSharedBuffer) => void,
|
|
1330
1545
|
): void;
|
|
1331
1546
|
/**
|
|
1332
1547
|
* Asynchronous readlink(2) - read value of a symbolic link.
|
|
1333
1548
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1334
1549
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1335
1550
|
*/
|
|
1336
|
-
|
|
1551
|
+
function readlink(
|
|
1337
1552
|
path: PathLike,
|
|
1338
1553
|
options: EncodingOption,
|
|
1339
|
-
callback: (err: NodeJS.ErrnoException | null, linkString: string |
|
|
1554
|
+
callback: (err: NodeJS.ErrnoException | null, linkString: string | NonSharedBuffer) => void,
|
|
1340
1555
|
): void;
|
|
1341
1556
|
/**
|
|
1342
1557
|
* Asynchronous readlink(2) - read value of a symbolic link.
|
|
1343
1558
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1344
1559
|
*/
|
|
1345
|
-
|
|
1560
|
+
function readlink(
|
|
1346
1561
|
path: PathLike,
|
|
1347
1562
|
callback: (err: NodeJS.ErrnoException | null, linkString: string) => void,
|
|
1348
1563
|
): void;
|
|
1349
|
-
|
|
1564
|
+
namespace readlink {
|
|
1350
1565
|
/**
|
|
1351
1566
|
* Asynchronous readlink(2) - read value of a symbolic link.
|
|
1352
1567
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1358,13 +1573,13 @@ declare module "fs" {
|
|
|
1358
1573
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1359
1574
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1360
1575
|
*/
|
|
1361
|
-
function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<
|
|
1576
|
+
function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<NonSharedBuffer>;
|
|
1362
1577
|
/**
|
|
1363
1578
|
* Asynchronous readlink(2) - read value of a symbolic link.
|
|
1364
1579
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1365
1580
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1366
1581
|
*/
|
|
1367
|
-
function __promisify__(path: PathLike, options?: EncodingOption): Promise<string |
|
|
1582
|
+
function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | NonSharedBuffer>;
|
|
1368
1583
|
}
|
|
1369
1584
|
/**
|
|
1370
1585
|
* Returns the symbolic link's string value.
|
|
@@ -1377,19 +1592,19 @@ declare module "fs" {
|
|
|
1377
1592
|
* the link path returned will be passed as a `Buffer` object.
|
|
1378
1593
|
* @since v0.1.31
|
|
1379
1594
|
*/
|
|
1380
|
-
|
|
1595
|
+
function readlinkSync(path: PathLike, options?: EncodingOption): string;
|
|
1381
1596
|
/**
|
|
1382
1597
|
* Synchronous readlink(2) - read value of a symbolic link.
|
|
1383
1598
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1384
1599
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1385
1600
|
*/
|
|
1386
|
-
|
|
1601
|
+
function readlinkSync(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
|
|
1387
1602
|
/**
|
|
1388
1603
|
* Synchronous readlink(2) - read value of a symbolic link.
|
|
1389
1604
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1390
1605
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1391
1606
|
*/
|
|
1392
|
-
|
|
1607
|
+
function readlinkSync(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
|
|
1393
1608
|
/**
|
|
1394
1609
|
* Asynchronously computes the canonical pathname by resolving `.`, `..`, and
|
|
1395
1610
|
* symbolic links.
|
|
@@ -1416,7 +1631,7 @@ declare module "fs" {
|
|
|
1416
1631
|
* dependent name for that object.
|
|
1417
1632
|
* @since v0.1.31
|
|
1418
1633
|
*/
|
|
1419
|
-
|
|
1634
|
+
function realpath(
|
|
1420
1635
|
path: PathLike,
|
|
1421
1636
|
options: EncodingOption,
|
|
1422
1637
|
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
|
|
@@ -1426,30 +1641,30 @@ declare module "fs" {
|
|
|
1426
1641
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1427
1642
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1428
1643
|
*/
|
|
1429
|
-
|
|
1644
|
+
function realpath(
|
|
1430
1645
|
path: PathLike,
|
|
1431
1646
|
options: BufferEncodingOption,
|
|
1432
|
-
callback: (err: NodeJS.ErrnoException | null, resolvedPath:
|
|
1647
|
+
callback: (err: NodeJS.ErrnoException | null, resolvedPath: NonSharedBuffer) => void,
|
|
1433
1648
|
): void;
|
|
1434
1649
|
/**
|
|
1435
1650
|
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1436
1651
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1437
1652
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1438
1653
|
*/
|
|
1439
|
-
|
|
1654
|
+
function realpath(
|
|
1440
1655
|
path: PathLike,
|
|
1441
1656
|
options: EncodingOption,
|
|
1442
|
-
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string |
|
|
1657
|
+
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | NonSharedBuffer) => void,
|
|
1443
1658
|
): void;
|
|
1444
1659
|
/**
|
|
1445
1660
|
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1446
1661
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1447
1662
|
*/
|
|
1448
|
-
|
|
1663
|
+
function realpath(
|
|
1449
1664
|
path: PathLike,
|
|
1450
1665
|
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void,
|
|
1451
1666
|
): void;
|
|
1452
|
-
|
|
1667
|
+
namespace realpath {
|
|
1453
1668
|
/**
|
|
1454
1669
|
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1455
1670
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1461,13 +1676,13 @@ declare module "fs" {
|
|
|
1461
1676
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1462
1677
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1463
1678
|
*/
|
|
1464
|
-
function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<
|
|
1679
|
+
function __promisify__(path: PathLike, options: BufferEncodingOption): Promise<NonSharedBuffer>;
|
|
1465
1680
|
/**
|
|
1466
1681
|
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1467
1682
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1468
1683
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1469
1684
|
*/
|
|
1470
|
-
function __promisify__(path: PathLike, options?: EncodingOption): Promise<string |
|
|
1685
|
+
function __promisify__(path: PathLike, options?: EncodingOption): Promise<string | NonSharedBuffer>;
|
|
1471
1686
|
/**
|
|
1472
1687
|
* Asynchronous [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html).
|
|
1473
1688
|
*
|
|
@@ -1493,12 +1708,12 @@ declare module "fs" {
|
|
|
1493
1708
|
function native(
|
|
1494
1709
|
path: PathLike,
|
|
1495
1710
|
options: BufferEncodingOption,
|
|
1496
|
-
callback: (err: NodeJS.ErrnoException | null, resolvedPath:
|
|
1711
|
+
callback: (err: NodeJS.ErrnoException | null, resolvedPath: NonSharedBuffer) => void,
|
|
1497
1712
|
): void;
|
|
1498
1713
|
function native(
|
|
1499
1714
|
path: PathLike,
|
|
1500
1715
|
options: EncodingOption,
|
|
1501
|
-
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string |
|
|
1716
|
+
callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | NonSharedBuffer) => void,
|
|
1502
1717
|
): void;
|
|
1503
1718
|
function native(
|
|
1504
1719
|
path: PathLike,
|
|
@@ -1512,23 +1727,23 @@ declare module "fs" {
|
|
|
1512
1727
|
* this API: {@link realpath}.
|
|
1513
1728
|
* @since v0.1.31
|
|
1514
1729
|
*/
|
|
1515
|
-
|
|
1730
|
+
function realpathSync(path: PathLike, options?: EncodingOption): string;
|
|
1516
1731
|
/**
|
|
1517
1732
|
* Synchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1518
1733
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1519
1734
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1520
1735
|
*/
|
|
1521
|
-
|
|
1736
|
+
function realpathSync(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
|
|
1522
1737
|
/**
|
|
1523
1738
|
* Synchronous realpath(3) - return the canonicalized absolute pathname.
|
|
1524
1739
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1525
1740
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1526
1741
|
*/
|
|
1527
|
-
|
|
1528
|
-
|
|
1742
|
+
function realpathSync(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
|
|
1743
|
+
namespace realpathSync {
|
|
1529
1744
|
function native(path: PathLike, options?: EncodingOption): string;
|
|
1530
|
-
function native(path: PathLike, options: BufferEncodingOption):
|
|
1531
|
-
function native(path: PathLike, options?: EncodingOption): string |
|
|
1745
|
+
function native(path: PathLike, options: BufferEncodingOption): NonSharedBuffer;
|
|
1746
|
+
function native(path: PathLike, options?: EncodingOption): string | NonSharedBuffer;
|
|
1532
1747
|
}
|
|
1533
1748
|
/**
|
|
1534
1749
|
* Asynchronously removes a file or symbolic link. No arguments other than a
|
|
@@ -1549,8 +1764,8 @@ declare module "fs" {
|
|
|
1549
1764
|
* See the POSIX [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html) documentation for more details.
|
|
1550
1765
|
* @since v0.0.2
|
|
1551
1766
|
*/
|
|
1552
|
-
|
|
1553
|
-
|
|
1767
|
+
function unlink(path: PathLike, callback: NoParamCallback): void;
|
|
1768
|
+
namespace unlink {
|
|
1554
1769
|
/**
|
|
1555
1770
|
* Asynchronous unlink(2) - delete a name and possibly the file it refers to.
|
|
1556
1771
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1561,34 +1776,10 @@ declare module "fs" {
|
|
|
1561
1776
|
* Synchronous [`unlink(2)`](http://man7.org/linux/man-pages/man2/unlink.2.html). Returns `undefined`.
|
|
1562
1777
|
* @since v0.1.21
|
|
1563
1778
|
*/
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
* `EPERM` error is encountered, Node.js will retry the operation with a linear
|
|
1569
|
-
* backoff wait of `retryDelay` ms longer on each try. This option represents the
|
|
1570
|
-
* number of retries. This option is ignored if the `recursive` option is not
|
|
1571
|
-
* `true`.
|
|
1572
|
-
* @default 0
|
|
1573
|
-
*/
|
|
1574
|
-
maxRetries?: number | undefined;
|
|
1575
|
-
/**
|
|
1576
|
-
* @deprecated since v14.14.0 In future versions of Node.js and will trigger a warning
|
|
1577
|
-
* `fs.rmdir(path, { recursive: true })` will throw if `path` does not exist or is a file.
|
|
1578
|
-
* Use `fs.rm(path, { recursive: true, force: true })` instead.
|
|
1579
|
-
*
|
|
1580
|
-
* If `true`, perform a recursive directory removal. In
|
|
1581
|
-
* recursive mode, operations are retried on failure.
|
|
1582
|
-
* @default false
|
|
1583
|
-
*/
|
|
1584
|
-
recursive?: boolean | undefined;
|
|
1585
|
-
/**
|
|
1586
|
-
* The amount of time in milliseconds to wait between retries.
|
|
1587
|
-
* This option is ignored if the `recursive` option is not `true`.
|
|
1588
|
-
* @default 100
|
|
1589
|
-
*/
|
|
1590
|
-
retryDelay?: number | undefined;
|
|
1591
|
-
}
|
|
1779
|
+
function unlinkSync(path: PathLike): void;
|
|
1780
|
+
/** @deprecated `rmdir()` no longer provides any options. This interface will be removed in a future version. */
|
|
1781
|
+
// TODO: remove in future major
|
|
1782
|
+
interface RmDirOptions {}
|
|
1592
1783
|
/**
|
|
1593
1784
|
* Asynchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). No arguments other than a possible exception are given
|
|
1594
1785
|
* to the completion callback.
|
|
@@ -1599,14 +1790,13 @@ declare module "fs" {
|
|
|
1599
1790
|
* To get a behavior similar to the `rm -rf` Unix command, use {@link rm} with options `{ recursive: true, force: true }`.
|
|
1600
1791
|
* @since v0.0.2
|
|
1601
1792
|
*/
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
export namespace rmdir {
|
|
1793
|
+
function rmdir(path: PathLike, callback: NoParamCallback): void;
|
|
1794
|
+
namespace rmdir {
|
|
1605
1795
|
/**
|
|
1606
1796
|
* Asynchronous rmdir(2) - delete a directory.
|
|
1607
1797
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1608
1798
|
*/
|
|
1609
|
-
function __promisify__(path: PathLike
|
|
1799
|
+
function __promisify__(path: PathLike): Promise<void>;
|
|
1610
1800
|
}
|
|
1611
1801
|
/**
|
|
1612
1802
|
* Synchronous [`rmdir(2)`](http://man7.org/linux/man-pages/man2/rmdir.2.html). Returns `undefined`.
|
|
@@ -1617,8 +1807,8 @@ declare module "fs" {
|
|
|
1617
1807
|
* To get a behavior similar to the `rm -rf` Unix command, use {@link rmSync} with options `{ recursive: true, force: true }`.
|
|
1618
1808
|
* @since v0.1.21
|
|
1619
1809
|
*/
|
|
1620
|
-
|
|
1621
|
-
|
|
1810
|
+
function rmdirSync(path: PathLike): void;
|
|
1811
|
+
interface RmOptions {
|
|
1622
1812
|
/**
|
|
1623
1813
|
* When `true`, exceptions will be ignored if `path` does not exist.
|
|
1624
1814
|
* @default false
|
|
@@ -1651,9 +1841,9 @@ declare module "fs" {
|
|
|
1651
1841
|
* completion callback.
|
|
1652
1842
|
* @since v14.14.0
|
|
1653
1843
|
*/
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1844
|
+
function rm(path: PathLike, callback: NoParamCallback): void;
|
|
1845
|
+
function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void;
|
|
1846
|
+
namespace rm {
|
|
1657
1847
|
/**
|
|
1658
1848
|
* Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
|
|
1659
1849
|
*/
|
|
@@ -1663,8 +1853,8 @@ declare module "fs" {
|
|
|
1663
1853
|
* Synchronously removes files and directories (modeled on the standard POSIX `rm` utility). Returns `undefined`.
|
|
1664
1854
|
* @since v14.14.0
|
|
1665
1855
|
*/
|
|
1666
|
-
|
|
1667
|
-
|
|
1856
|
+
function rmSync(path: PathLike, options?: RmOptions): void;
|
|
1857
|
+
interface MakeDirectoryOptions {
|
|
1668
1858
|
/**
|
|
1669
1859
|
* Indicates whether parent folders should be created.
|
|
1670
1860
|
* If a folder was created, the path to the first created folder will be returned.
|
|
@@ -1713,7 +1903,7 @@ declare module "fs" {
|
|
|
1713
1903
|
* See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
|
|
1714
1904
|
* @since v0.1.8
|
|
1715
1905
|
*/
|
|
1716
|
-
|
|
1906
|
+
function mkdir(
|
|
1717
1907
|
path: PathLike,
|
|
1718
1908
|
options: MakeDirectoryOptions & {
|
|
1719
1909
|
recursive: true;
|
|
@@ -1726,7 +1916,7 @@ declare module "fs" {
|
|
|
1726
1916
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1727
1917
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1728
1918
|
*/
|
|
1729
|
-
|
|
1919
|
+
function mkdir(
|
|
1730
1920
|
path: PathLike,
|
|
1731
1921
|
options:
|
|
1732
1922
|
| Mode
|
|
@@ -1743,7 +1933,7 @@ declare module "fs" {
|
|
|
1743
1933
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1744
1934
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1745
1935
|
*/
|
|
1746
|
-
|
|
1936
|
+
function mkdir(
|
|
1747
1937
|
path: PathLike,
|
|
1748
1938
|
options: Mode | MakeDirectoryOptions | null | undefined,
|
|
1749
1939
|
callback: (err: NodeJS.ErrnoException | null, path?: string) => void,
|
|
@@ -1752,8 +1942,8 @@ declare module "fs" {
|
|
|
1752
1942
|
* Asynchronous mkdir(2) - create a directory with a mode of `0o777`.
|
|
1753
1943
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
1754
1944
|
*/
|
|
1755
|
-
|
|
1756
|
-
|
|
1945
|
+
function mkdir(path: PathLike, callback: NoParamCallback): void;
|
|
1946
|
+
namespace mkdir {
|
|
1757
1947
|
/**
|
|
1758
1948
|
* Asynchronous mkdir(2) - create a directory.
|
|
1759
1949
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -1799,7 +1989,7 @@ declare module "fs" {
|
|
|
1799
1989
|
* See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
|
|
1800
1990
|
* @since v0.1.21
|
|
1801
1991
|
*/
|
|
1802
|
-
|
|
1992
|
+
function mkdirSync(
|
|
1803
1993
|
path: PathLike,
|
|
1804
1994
|
options: MakeDirectoryOptions & {
|
|
1805
1995
|
recursive: true;
|
|
@@ -1811,7 +2001,7 @@ declare module "fs" {
|
|
|
1811
2001
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1812
2002
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1813
2003
|
*/
|
|
1814
|
-
|
|
2004
|
+
function mkdirSync(
|
|
1815
2005
|
path: PathLike,
|
|
1816
2006
|
options?:
|
|
1817
2007
|
| Mode
|
|
@@ -1826,7 +2016,7 @@ declare module "fs" {
|
|
|
1826
2016
|
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
|
1827
2017
|
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
|
1828
2018
|
*/
|
|
1829
|
-
|
|
2019
|
+
function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined;
|
|
1830
2020
|
/**
|
|
1831
2021
|
* Creates a unique temporary directory.
|
|
1832
2022
|
*
|
|
@@ -1886,7 +2076,7 @@ declare module "fs" {
|
|
|
1886
2076
|
* ```
|
|
1887
2077
|
* @since v5.10.0
|
|
1888
2078
|
*/
|
|
1889
|
-
|
|
2079
|
+
function mkdtemp(
|
|
1890
2080
|
prefix: string,
|
|
1891
2081
|
options: EncodingOption,
|
|
1892
2082
|
callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
|
|
@@ -1896,34 +2086,30 @@ declare module "fs" {
|
|
|
1896
2086
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1897
2087
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1898
2088
|
*/
|
|
1899
|
-
|
|
2089
|
+
function mkdtemp(
|
|
1900
2090
|
prefix: string,
|
|
1901
|
-
options:
|
|
1902
|
-
|
|
1903
|
-
| {
|
|
1904
|
-
encoding: "buffer";
|
|
1905
|
-
},
|
|
1906
|
-
callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void,
|
|
2091
|
+
options: BufferEncodingOption,
|
|
2092
|
+
callback: (err: NodeJS.ErrnoException | null, folder: NonSharedBuffer) => void,
|
|
1907
2093
|
): void;
|
|
1908
2094
|
/**
|
|
1909
2095
|
* Asynchronously creates a unique temporary directory.
|
|
1910
2096
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1911
2097
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1912
2098
|
*/
|
|
1913
|
-
|
|
2099
|
+
function mkdtemp(
|
|
1914
2100
|
prefix: string,
|
|
1915
2101
|
options: EncodingOption,
|
|
1916
|
-
callback: (err: NodeJS.ErrnoException | null, folder: string |
|
|
2102
|
+
callback: (err: NodeJS.ErrnoException | null, folder: string | NonSharedBuffer) => void,
|
|
1917
2103
|
): void;
|
|
1918
2104
|
/**
|
|
1919
2105
|
* Asynchronously creates a unique temporary directory.
|
|
1920
2106
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1921
2107
|
*/
|
|
1922
|
-
|
|
2108
|
+
function mkdtemp(
|
|
1923
2109
|
prefix: string,
|
|
1924
2110
|
callback: (err: NodeJS.ErrnoException | null, folder: string) => void,
|
|
1925
2111
|
): void;
|
|
1926
|
-
|
|
2112
|
+
namespace mkdtemp {
|
|
1927
2113
|
/**
|
|
1928
2114
|
* Asynchronously creates a unique temporary directory.
|
|
1929
2115
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
@@ -1935,13 +2121,13 @@ declare module "fs" {
|
|
|
1935
2121
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1936
2122
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1937
2123
|
*/
|
|
1938
|
-
function __promisify__(prefix: string, options: BufferEncodingOption): Promise<
|
|
2124
|
+
function __promisify__(prefix: string, options: BufferEncodingOption): Promise<NonSharedBuffer>;
|
|
1939
2125
|
/**
|
|
1940
2126
|
* Asynchronously creates a unique temporary directory.
|
|
1941
2127
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1942
2128
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1943
2129
|
*/
|
|
1944
|
-
function __promisify__(prefix: string, options?: EncodingOption): Promise<string |
|
|
2130
|
+
function __promisify__(prefix: string, options?: EncodingOption): Promise<string | NonSharedBuffer>;
|
|
1945
2131
|
}
|
|
1946
2132
|
/**
|
|
1947
2133
|
* Returns the created directory path.
|
|
@@ -1953,20 +2139,20 @@ declare module "fs" {
|
|
|
1953
2139
|
* object with an `encoding` property specifying the character encoding to use.
|
|
1954
2140
|
* @since v5.10.0
|
|
1955
2141
|
*/
|
|
1956
|
-
|
|
2142
|
+
function mkdtempSync(prefix: string, options?: EncodingOption): string;
|
|
1957
2143
|
/**
|
|
1958
2144
|
* Synchronously creates a unique temporary directory.
|
|
1959
2145
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1960
2146
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1961
2147
|
*/
|
|
1962
|
-
|
|
2148
|
+
function mkdtempSync(prefix: string, options: BufferEncodingOption): NonSharedBuffer;
|
|
1963
2149
|
/**
|
|
1964
2150
|
* Synchronously creates a unique temporary directory.
|
|
1965
2151
|
* Generates six random characters to be appended behind a required prefix to create a unique temporary directory.
|
|
1966
2152
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
1967
2153
|
*/
|
|
1968
|
-
|
|
1969
|
-
|
|
2154
|
+
function mkdtempSync(prefix: string, options?: EncodingOption): string | NonSharedBuffer;
|
|
2155
|
+
interface DisposableTempDir extends Disposable {
|
|
1970
2156
|
/**
|
|
1971
2157
|
* The path of the created directory.
|
|
1972
2158
|
*/
|
|
@@ -1974,11 +2160,11 @@ declare module "fs" {
|
|
|
1974
2160
|
/**
|
|
1975
2161
|
* A function which removes the created directory.
|
|
1976
2162
|
*/
|
|
1977
|
-
remove():
|
|
2163
|
+
remove(): void;
|
|
1978
2164
|
/**
|
|
1979
2165
|
* The same as `remove`.
|
|
1980
2166
|
*/
|
|
1981
|
-
[Symbol.
|
|
2167
|
+
[Symbol.dispose](): void;
|
|
1982
2168
|
}
|
|
1983
2169
|
/**
|
|
1984
2170
|
* Returns a disposable object whose `path` property holds the created directory
|
|
@@ -1998,7 +2184,7 @@ declare module "fs" {
|
|
|
1998
2184
|
* object with an `encoding` property specifying the character encoding to use.
|
|
1999
2185
|
* @since v24.4.0
|
|
2000
2186
|
*/
|
|
2001
|
-
|
|
2187
|
+
function mkdtempDisposableSync(prefix: string, options?: EncodingOption): DisposableTempDir;
|
|
2002
2188
|
/**
|
|
2003
2189
|
* Reads the contents of a directory. The callback gets two arguments `(err, files)` where `files` is an array of the names of the files in the directory excluding `'.'` and `'..'`.
|
|
2004
2190
|
*
|
|
@@ -2012,7 +2198,7 @@ declare module "fs" {
|
|
|
2012
2198
|
* If `options.withFileTypes` is set to `true`, the `files` array will contain `fs.Dirent` objects.
|
|
2013
2199
|
* @since v0.1.8
|
|
2014
2200
|
*/
|
|
2015
|
-
|
|
2201
|
+
function readdir(
|
|
2016
2202
|
path: PathLike,
|
|
2017
2203
|
options:
|
|
2018
2204
|
| {
|
|
@@ -2030,7 +2216,7 @@ declare module "fs" {
|
|
|
2030
2216
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2031
2217
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
2032
2218
|
*/
|
|
2033
|
-
|
|
2219
|
+
function readdir(
|
|
2034
2220
|
path: PathLike,
|
|
2035
2221
|
options:
|
|
2036
2222
|
| {
|
|
@@ -2039,14 +2225,14 @@ declare module "fs" {
|
|
|
2039
2225
|
recursive?: boolean | undefined;
|
|
2040
2226
|
}
|
|
2041
2227
|
| "buffer",
|
|
2042
|
-
callback: (err: NodeJS.ErrnoException | null, files:
|
|
2228
|
+
callback: (err: NodeJS.ErrnoException | null, files: NonSharedBuffer[]) => void,
|
|
2043
2229
|
): void;
|
|
2044
2230
|
/**
|
|
2045
2231
|
* Asynchronous readdir(3) - read a directory.
|
|
2046
2232
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2047
2233
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
2048
2234
|
*/
|
|
2049
|
-
|
|
2235
|
+
function readdir(
|
|
2050
2236
|
path: PathLike,
|
|
2051
2237
|
options:
|
|
2052
2238
|
| (ObjectEncodingOptions & {
|
|
@@ -2056,13 +2242,13 @@ declare module "fs" {
|
|
|
2056
2242
|
| BufferEncoding
|
|
2057
2243
|
| undefined
|
|
2058
2244
|
| null,
|
|
2059
|
-
callback: (err: NodeJS.ErrnoException | null, files: string[] |
|
|
2245
|
+
callback: (err: NodeJS.ErrnoException | null, files: string[] | NonSharedBuffer[]) => void,
|
|
2060
2246
|
): void;
|
|
2061
2247
|
/**
|
|
2062
2248
|
* Asynchronous readdir(3) - read a directory.
|
|
2063
2249
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2064
2250
|
*/
|
|
2065
|
-
|
|
2251
|
+
function readdir(
|
|
2066
2252
|
path: PathLike,
|
|
2067
2253
|
callback: (err: NodeJS.ErrnoException | null, files: string[]) => void,
|
|
2068
2254
|
): void;
|
|
@@ -2071,7 +2257,7 @@ declare module "fs" {
|
|
|
2071
2257
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2072
2258
|
* @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
|
|
2073
2259
|
*/
|
|
2074
|
-
|
|
2260
|
+
function readdir(
|
|
2075
2261
|
path: PathLike,
|
|
2076
2262
|
options: ObjectEncodingOptions & {
|
|
2077
2263
|
withFileTypes: true;
|
|
@@ -2084,16 +2270,16 @@ declare module "fs" {
|
|
|
2084
2270
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2085
2271
|
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2086
2272
|
*/
|
|
2087
|
-
|
|
2273
|
+
function readdir(
|
|
2088
2274
|
path: PathLike,
|
|
2089
2275
|
options: {
|
|
2090
2276
|
encoding: "buffer";
|
|
2091
2277
|
withFileTypes: true;
|
|
2092
2278
|
recursive?: boolean | undefined;
|
|
2093
2279
|
},
|
|
2094
|
-
callback: (err: NodeJS.ErrnoException | null, files: Dirent<
|
|
2280
|
+
callback: (err: NodeJS.ErrnoException | null, files: Dirent<NonSharedBuffer>[]) => void,
|
|
2095
2281
|
): void;
|
|
2096
|
-
|
|
2282
|
+
namespace readdir {
|
|
2097
2283
|
/**
|
|
2098
2284
|
* Asynchronous readdir(3) - read a directory.
|
|
2099
2285
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2124,7 +2310,7 @@ declare module "fs" {
|
|
|
2124
2310
|
withFileTypes?: false | undefined;
|
|
2125
2311
|
recursive?: boolean | undefined;
|
|
2126
2312
|
},
|
|
2127
|
-
): Promise<
|
|
2313
|
+
): Promise<NonSharedBuffer[]>;
|
|
2128
2314
|
/**
|
|
2129
2315
|
* Asynchronous readdir(3) - read a directory.
|
|
2130
2316
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2139,7 +2325,7 @@ declare module "fs" {
|
|
|
2139
2325
|
})
|
|
2140
2326
|
| BufferEncoding
|
|
2141
2327
|
| null,
|
|
2142
|
-
): Promise<string[] |
|
|
2328
|
+
): Promise<string[] | NonSharedBuffer[]>;
|
|
2143
2329
|
/**
|
|
2144
2330
|
* Asynchronous readdir(3) - read a directory.
|
|
2145
2331
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2164,7 +2350,7 @@ declare module "fs" {
|
|
|
2164
2350
|
withFileTypes: true;
|
|
2165
2351
|
recursive?: boolean | undefined;
|
|
2166
2352
|
},
|
|
2167
|
-
): Promise<Dirent<
|
|
2353
|
+
): Promise<Dirent<NonSharedBuffer>[]>;
|
|
2168
2354
|
}
|
|
2169
2355
|
/**
|
|
2170
2356
|
* Reads the contents of the directory.
|
|
@@ -2179,7 +2365,7 @@ declare module "fs" {
|
|
|
2179
2365
|
* If `options.withFileTypes` is set to `true`, the result will contain `fs.Dirent` objects.
|
|
2180
2366
|
* @since v0.1.21
|
|
2181
2367
|
*/
|
|
2182
|
-
|
|
2368
|
+
function readdirSync(
|
|
2183
2369
|
path: PathLike,
|
|
2184
2370
|
options?:
|
|
2185
2371
|
| {
|
|
@@ -2195,7 +2381,7 @@ declare module "fs" {
|
|
|
2195
2381
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2196
2382
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
2197
2383
|
*/
|
|
2198
|
-
|
|
2384
|
+
function readdirSync(
|
|
2199
2385
|
path: PathLike,
|
|
2200
2386
|
options:
|
|
2201
2387
|
| {
|
|
@@ -2204,13 +2390,13 @@ declare module "fs" {
|
|
|
2204
2390
|
recursive?: boolean | undefined;
|
|
2205
2391
|
}
|
|
2206
2392
|
| "buffer",
|
|
2207
|
-
):
|
|
2393
|
+
): NonSharedBuffer[];
|
|
2208
2394
|
/**
|
|
2209
2395
|
* Synchronous readdir(3) - read a directory.
|
|
2210
2396
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2211
2397
|
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
|
2212
2398
|
*/
|
|
2213
|
-
|
|
2399
|
+
function readdirSync(
|
|
2214
2400
|
path: PathLike,
|
|
2215
2401
|
options?:
|
|
2216
2402
|
| (ObjectEncodingOptions & {
|
|
@@ -2219,13 +2405,13 @@ declare module "fs" {
|
|
|
2219
2405
|
})
|
|
2220
2406
|
| BufferEncoding
|
|
2221
2407
|
| null,
|
|
2222
|
-
): string[] |
|
|
2408
|
+
): string[] | NonSharedBuffer[];
|
|
2223
2409
|
/**
|
|
2224
2410
|
* Synchronous readdir(3) - read a directory.
|
|
2225
2411
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2226
2412
|
* @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
|
|
2227
2413
|
*/
|
|
2228
|
-
|
|
2414
|
+
function readdirSync(
|
|
2229
2415
|
path: PathLike,
|
|
2230
2416
|
options: ObjectEncodingOptions & {
|
|
2231
2417
|
withFileTypes: true;
|
|
@@ -2237,14 +2423,14 @@ declare module "fs" {
|
|
|
2237
2423
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2238
2424
|
* @param options Must include `withFileTypes: true` and `encoding: 'buffer'`.
|
|
2239
2425
|
*/
|
|
2240
|
-
|
|
2426
|
+
function readdirSync(
|
|
2241
2427
|
path: PathLike,
|
|
2242
2428
|
options: {
|
|
2243
2429
|
encoding: "buffer";
|
|
2244
2430
|
withFileTypes: true;
|
|
2245
2431
|
recursive?: boolean | undefined;
|
|
2246
2432
|
},
|
|
2247
|
-
): Dirent<
|
|
2433
|
+
): Dirent<NonSharedBuffer>[];
|
|
2248
2434
|
/**
|
|
2249
2435
|
* Closes the file descriptor. No arguments other than a possible exception are
|
|
2250
2436
|
* given to the completion callback.
|
|
@@ -2255,8 +2441,8 @@ declare module "fs" {
|
|
|
2255
2441
|
* See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
|
|
2256
2442
|
* @since v0.0.2
|
|
2257
2443
|
*/
|
|
2258
|
-
|
|
2259
|
-
|
|
2444
|
+
function close(fd: number, callback?: NoParamCallback): void;
|
|
2445
|
+
namespace close {
|
|
2260
2446
|
/**
|
|
2261
2447
|
* Asynchronous close(2) - close a file descriptor.
|
|
2262
2448
|
* @param fd A file descriptor.
|
|
@@ -2272,7 +2458,7 @@ declare module "fs" {
|
|
|
2272
2458
|
* See the POSIX [`close(2)`](http://man7.org/linux/man-pages/man2/close.2.html) documentation for more detail.
|
|
2273
2459
|
* @since v0.1.21
|
|
2274
2460
|
*/
|
|
2275
|
-
|
|
2461
|
+
function closeSync(fd: number): void;
|
|
2276
2462
|
/**
|
|
2277
2463
|
* Asynchronous file open. See the POSIX [`open(2)`](http://man7.org/linux/man-pages/man2/open.2.html) documentation for more details.
|
|
2278
2464
|
*
|
|
@@ -2290,7 +2476,7 @@ declare module "fs" {
|
|
|
2290
2476
|
* @param [flags='r'] See `support of file system `flags``.
|
|
2291
2477
|
* @param [mode=0o666]
|
|
2292
2478
|
*/
|
|
2293
|
-
|
|
2479
|
+
function open(
|
|
2294
2480
|
path: PathLike,
|
|
2295
2481
|
flags: OpenMode | undefined,
|
|
2296
2482
|
mode: Mode | undefined | null,
|
|
@@ -2301,7 +2487,7 @@ declare module "fs" {
|
|
|
2301
2487
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2302
2488
|
* @param [flags='r'] See `support of file system `flags``.
|
|
2303
2489
|
*/
|
|
2304
|
-
|
|
2490
|
+
function open(
|
|
2305
2491
|
path: PathLike,
|
|
2306
2492
|
flags: OpenMode | undefined,
|
|
2307
2493
|
callback: (err: NodeJS.ErrnoException | null, fd: number) => void,
|
|
@@ -2310,8 +2496,8 @@ declare module "fs" {
|
|
|
2310
2496
|
* Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`.
|
|
2311
2497
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2312
2498
|
*/
|
|
2313
|
-
|
|
2314
|
-
|
|
2499
|
+
function open(path: PathLike, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void;
|
|
2500
|
+
namespace open {
|
|
2315
2501
|
/**
|
|
2316
2502
|
* Asynchronous open(2) - open and possibly create a file.
|
|
2317
2503
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2328,7 +2514,7 @@ declare module "fs" {
|
|
|
2328
2514
|
* @param [flags='r']
|
|
2329
2515
|
* @param [mode=0o666]
|
|
2330
2516
|
*/
|
|
2331
|
-
|
|
2517
|
+
function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number;
|
|
2332
2518
|
/**
|
|
2333
2519
|
* Change the file system timestamps of the object referenced by `path`.
|
|
2334
2520
|
*
|
|
@@ -2338,8 +2524,8 @@ declare module "fs" {
|
|
|
2338
2524
|
* * If the value can not be converted to a number, or is `NaN`, `Infinity`, or `-Infinity`, an `Error` will be thrown.
|
|
2339
2525
|
* @since v0.4.2
|
|
2340
2526
|
*/
|
|
2341
|
-
|
|
2342
|
-
|
|
2527
|
+
function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
|
|
2528
|
+
namespace utimes {
|
|
2343
2529
|
/**
|
|
2344
2530
|
* Asynchronously change file timestamps of the file referenced by the supplied path.
|
|
2345
2531
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2355,14 +2541,14 @@ declare module "fs" {
|
|
|
2355
2541
|
* this API: {@link utimes}.
|
|
2356
2542
|
* @since v0.4.2
|
|
2357
2543
|
*/
|
|
2358
|
-
|
|
2544
|
+
function utimesSync(path: PathLike, atime: TimeLike, mtime: TimeLike): void;
|
|
2359
2545
|
/**
|
|
2360
2546
|
* Change the file system timestamps of the object referenced by the supplied file
|
|
2361
2547
|
* descriptor. See {@link utimes}.
|
|
2362
2548
|
* @since v0.4.2
|
|
2363
2549
|
*/
|
|
2364
|
-
|
|
2365
|
-
|
|
2550
|
+
function futimes(fd: number, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
|
|
2551
|
+
namespace futimes {
|
|
2366
2552
|
/**
|
|
2367
2553
|
* Asynchronously change file timestamps of the file referenced by the supplied file descriptor.
|
|
2368
2554
|
* @param fd A file descriptor.
|
|
@@ -2375,7 +2561,7 @@ declare module "fs" {
|
|
|
2375
2561
|
* Synchronous version of {@link futimes}. Returns `undefined`.
|
|
2376
2562
|
* @since v0.4.2
|
|
2377
2563
|
*/
|
|
2378
|
-
|
|
2564
|
+
function futimesSync(fd: number, atime: TimeLike, mtime: TimeLike): void;
|
|
2379
2565
|
/**
|
|
2380
2566
|
* Request that all data for the open file descriptor is flushed to the storage
|
|
2381
2567
|
* device. The specific implementation is operating system and device specific.
|
|
@@ -2383,8 +2569,8 @@ declare module "fs" {
|
|
|
2383
2569
|
* than a possible exception are given to the completion callback.
|
|
2384
2570
|
* @since v0.1.96
|
|
2385
2571
|
*/
|
|
2386
|
-
|
|
2387
|
-
|
|
2572
|
+
function fsync(fd: number, callback: NoParamCallback): void;
|
|
2573
|
+
namespace fsync {
|
|
2388
2574
|
/**
|
|
2389
2575
|
* Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
|
|
2390
2576
|
* @param fd A file descriptor.
|
|
@@ -2397,8 +2583,8 @@ declare module "fs" {
|
|
|
2397
2583
|
* Refer to the POSIX [`fsync(2)`](http://man7.org/linux/man-pages/man2/fsync.2.html) documentation for more detail. Returns `undefined`.
|
|
2398
2584
|
* @since v0.1.96
|
|
2399
2585
|
*/
|
|
2400
|
-
|
|
2401
|
-
|
|
2586
|
+
function fsyncSync(fd: number): void;
|
|
2587
|
+
interface WriteOptions {
|
|
2402
2588
|
/**
|
|
2403
2589
|
* @default 0
|
|
2404
2590
|
*/
|
|
@@ -2410,7 +2596,7 @@ declare module "fs" {
|
|
|
2410
2596
|
/**
|
|
2411
2597
|
* @default null
|
|
2412
2598
|
*/
|
|
2413
|
-
position?: number |
|
|
2599
|
+
position?: number | null | undefined;
|
|
2414
2600
|
}
|
|
2415
2601
|
/**
|
|
2416
2602
|
* Write `buffer` to the file specified by `fd`.
|
|
@@ -2439,7 +2625,7 @@ declare module "fs" {
|
|
|
2439
2625
|
* @param [length=buffer.byteLength - offset]
|
|
2440
2626
|
* @param [position='null']
|
|
2441
2627
|
*/
|
|
2442
|
-
|
|
2628
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2443
2629
|
fd: number,
|
|
2444
2630
|
buffer: TBuffer,
|
|
2445
2631
|
offset: number | undefined | null,
|
|
@@ -2453,7 +2639,7 @@ declare module "fs" {
|
|
|
2453
2639
|
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
|
|
2454
2640
|
* @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
|
|
2455
2641
|
*/
|
|
2456
|
-
|
|
2642
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2457
2643
|
fd: number,
|
|
2458
2644
|
buffer: TBuffer,
|
|
2459
2645
|
offset: number | undefined | null,
|
|
@@ -2465,7 +2651,7 @@ declare module "fs" {
|
|
|
2465
2651
|
* @param fd A file descriptor.
|
|
2466
2652
|
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
|
|
2467
2653
|
*/
|
|
2468
|
-
|
|
2654
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2469
2655
|
fd: number,
|
|
2470
2656
|
buffer: TBuffer,
|
|
2471
2657
|
offset: number | undefined | null,
|
|
@@ -2475,7 +2661,7 @@ declare module "fs" {
|
|
|
2475
2661
|
* Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
|
|
2476
2662
|
* @param fd A file descriptor.
|
|
2477
2663
|
*/
|
|
2478
|
-
|
|
2664
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2479
2665
|
fd: number,
|
|
2480
2666
|
buffer: TBuffer,
|
|
2481
2667
|
callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void,
|
|
@@ -2488,7 +2674,7 @@ declare module "fs" {
|
|
|
2488
2674
|
* * `length` The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
|
|
2489
2675
|
* * `position` The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2490
2676
|
*/
|
|
2491
|
-
|
|
2677
|
+
function write<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2492
2678
|
fd: number,
|
|
2493
2679
|
buffer: TBuffer,
|
|
2494
2680
|
options: WriteOptions,
|
|
@@ -2501,7 +2687,7 @@ declare module "fs" {
|
|
|
2501
2687
|
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2502
2688
|
* @param encoding The expected string encoding.
|
|
2503
2689
|
*/
|
|
2504
|
-
|
|
2690
|
+
function write(
|
|
2505
2691
|
fd: number,
|
|
2506
2692
|
string: string,
|
|
2507
2693
|
position: number | undefined | null,
|
|
@@ -2514,7 +2700,7 @@ declare module "fs" {
|
|
|
2514
2700
|
* @param string A string to write.
|
|
2515
2701
|
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2516
2702
|
*/
|
|
2517
|
-
|
|
2703
|
+
function write(
|
|
2518
2704
|
fd: number,
|
|
2519
2705
|
string: string,
|
|
2520
2706
|
position: number | undefined | null,
|
|
@@ -2525,12 +2711,12 @@ declare module "fs" {
|
|
|
2525
2711
|
* @param fd A file descriptor.
|
|
2526
2712
|
* @param string A string to write.
|
|
2527
2713
|
*/
|
|
2528
|
-
|
|
2714
|
+
function write(
|
|
2529
2715
|
fd: number,
|
|
2530
2716
|
string: string,
|
|
2531
2717
|
callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void,
|
|
2532
2718
|
): void;
|
|
2533
|
-
|
|
2719
|
+
namespace write {
|
|
2534
2720
|
/**
|
|
2535
2721
|
* Asynchronously writes `buffer` to the file referenced by the supplied file descriptor.
|
|
2536
2722
|
* @param fd A file descriptor.
|
|
@@ -2590,7 +2776,7 @@ declare module "fs" {
|
|
|
2590
2776
|
* @param [position='null']
|
|
2591
2777
|
* @return The number of bytes written.
|
|
2592
2778
|
*/
|
|
2593
|
-
|
|
2779
|
+
function writeSync(
|
|
2594
2780
|
fd: number,
|
|
2595
2781
|
buffer: NodeJS.ArrayBufferView,
|
|
2596
2782
|
offset?: number | null,
|
|
@@ -2604,14 +2790,14 @@ declare module "fs" {
|
|
|
2604
2790
|
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
|
2605
2791
|
* @param encoding The expected string encoding.
|
|
2606
2792
|
*/
|
|
2607
|
-
|
|
2793
|
+
function writeSync(
|
|
2608
2794
|
fd: number,
|
|
2609
2795
|
string: string,
|
|
2610
2796
|
position?: number | null,
|
|
2611
2797
|
encoding?: BufferEncoding | null,
|
|
2612
2798
|
): number;
|
|
2613
|
-
|
|
2614
|
-
|
|
2799
|
+
type ReadPosition = number | bigint;
|
|
2800
|
+
interface ReadOptions {
|
|
2615
2801
|
/**
|
|
2616
2802
|
* @default 0
|
|
2617
2803
|
*/
|
|
@@ -2625,9 +2811,15 @@ declare module "fs" {
|
|
|
2625
2811
|
*/
|
|
2626
2812
|
position?: ReadPosition | null | undefined;
|
|
2627
2813
|
}
|
|
2628
|
-
|
|
2629
|
-
buffer?:
|
|
2814
|
+
interface ReadOptionsWithBuffer<T extends NodeJS.ArrayBufferView> extends ReadOptions {
|
|
2815
|
+
buffer?: T | undefined;
|
|
2630
2816
|
}
|
|
2817
|
+
/** @deprecated Use `ReadOptions` instead. */
|
|
2818
|
+
// TODO: remove in future major
|
|
2819
|
+
interface ReadSyncOptions extends ReadOptions {}
|
|
2820
|
+
/** @deprecated Use `ReadOptionsWithBuffer` instead. */
|
|
2821
|
+
// TODO: remove in future major
|
|
2822
|
+
interface ReadAsyncOptions<T extends NodeJS.ArrayBufferView> extends ReadOptionsWithBuffer<T> {}
|
|
2631
2823
|
/**
|
|
2632
2824
|
* Read data from the file specified by `fd`.
|
|
2633
2825
|
*
|
|
@@ -2645,7 +2837,7 @@ declare module "fs" {
|
|
|
2645
2837
|
* @param position Specifies where to begin reading from in the file. If `position` is `null` or `-1 `, data will be read from the current file position, and the file position will be updated. If
|
|
2646
2838
|
* `position` is an integer, the file position will be unchanged.
|
|
2647
2839
|
*/
|
|
2648
|
-
|
|
2840
|
+
function read<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2649
2841
|
fd: number,
|
|
2650
2842
|
buffer: TBuffer,
|
|
2651
2843
|
offset: number,
|
|
@@ -2662,27 +2854,27 @@ declare module "fs" {
|
|
|
2662
2854
|
* `position` defaults to `null`
|
|
2663
2855
|
* @since v12.17.0, 13.11.0
|
|
2664
2856
|
*/
|
|
2665
|
-
|
|
2857
|
+
function read<TBuffer extends NodeJS.ArrayBufferView = NonSharedBuffer>(
|
|
2666
2858
|
fd: number,
|
|
2667
|
-
options:
|
|
2859
|
+
options: ReadOptionsWithBuffer<TBuffer>,
|
|
2668
2860
|
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
|
|
2669
2861
|
): void;
|
|
2670
|
-
|
|
2862
|
+
function read<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2671
2863
|
fd: number,
|
|
2672
2864
|
buffer: TBuffer,
|
|
2673
|
-
options:
|
|
2865
|
+
options: ReadOptions,
|
|
2674
2866
|
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
|
|
2675
2867
|
): void;
|
|
2676
|
-
|
|
2868
|
+
function read<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2677
2869
|
fd: number,
|
|
2678
2870
|
buffer: TBuffer,
|
|
2679
2871
|
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void,
|
|
2680
2872
|
): void;
|
|
2681
|
-
|
|
2873
|
+
function read(
|
|
2682
2874
|
fd: number,
|
|
2683
|
-
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer:
|
|
2875
|
+
callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: NonSharedBuffer) => void,
|
|
2684
2876
|
): void;
|
|
2685
|
-
|
|
2877
|
+
namespace read {
|
|
2686
2878
|
/**
|
|
2687
2879
|
* @param fd A file descriptor.
|
|
2688
2880
|
* @param buffer The buffer that the data will be written to.
|
|
@@ -2700,16 +2892,16 @@ declare module "fs" {
|
|
|
2700
2892
|
bytesRead: number;
|
|
2701
2893
|
buffer: TBuffer;
|
|
2702
2894
|
}>;
|
|
2703
|
-
function __promisify__<TBuffer extends NodeJS.ArrayBufferView>(
|
|
2895
|
+
function __promisify__<TBuffer extends NodeJS.ArrayBufferView = NonSharedBuffer>(
|
|
2704
2896
|
fd: number,
|
|
2705
|
-
options:
|
|
2897
|
+
options: ReadOptionsWithBuffer<TBuffer>,
|
|
2706
2898
|
): Promise<{
|
|
2707
2899
|
bytesRead: number;
|
|
2708
2900
|
buffer: TBuffer;
|
|
2709
2901
|
}>;
|
|
2710
2902
|
function __promisify__(fd: number): Promise<{
|
|
2711
2903
|
bytesRead: number;
|
|
2712
|
-
buffer:
|
|
2904
|
+
buffer: NonSharedBuffer;
|
|
2713
2905
|
}>;
|
|
2714
2906
|
}
|
|
2715
2907
|
/**
|
|
@@ -2720,7 +2912,7 @@ declare module "fs" {
|
|
|
2720
2912
|
* @since v0.1.21
|
|
2721
2913
|
* @param [position='null']
|
|
2722
2914
|
*/
|
|
2723
|
-
|
|
2915
|
+
function readSync(
|
|
2724
2916
|
fd: number,
|
|
2725
2917
|
buffer: NodeJS.ArrayBufferView,
|
|
2726
2918
|
offset: number,
|
|
@@ -2731,7 +2923,7 @@ declare module "fs" {
|
|
|
2731
2923
|
* Similar to the above `fs.readSync` function, this version takes an optional `options` object.
|
|
2732
2924
|
* If no `options` object is specified, it will default with the above values.
|
|
2733
2925
|
*/
|
|
2734
|
-
|
|
2926
|
+
function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadOptions): number;
|
|
2735
2927
|
/**
|
|
2736
2928
|
* Asynchronously reads the entire contents of a file.
|
|
2737
2929
|
*
|
|
@@ -2798,7 +2990,7 @@ declare module "fs" {
|
|
|
2798
2990
|
* @since v0.1.29
|
|
2799
2991
|
* @param path filename or file descriptor
|
|
2800
2992
|
*/
|
|
2801
|
-
|
|
2993
|
+
function readFile(
|
|
2802
2994
|
path: PathOrFileDescriptor,
|
|
2803
2995
|
options:
|
|
2804
2996
|
| ({
|
|
@@ -2816,7 +3008,7 @@ declare module "fs" {
|
|
|
2816
3008
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2817
3009
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2818
3010
|
*/
|
|
2819
|
-
|
|
3011
|
+
function readFile(
|
|
2820
3012
|
path: PathOrFileDescriptor,
|
|
2821
3013
|
options:
|
|
2822
3014
|
| ({
|
|
@@ -2833,7 +3025,7 @@ declare module "fs" {
|
|
|
2833
3025
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2834
3026
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2835
3027
|
*/
|
|
2836
|
-
|
|
3028
|
+
function readFile(
|
|
2837
3029
|
path: PathOrFileDescriptor,
|
|
2838
3030
|
options:
|
|
2839
3031
|
| (ObjectEncodingOptions & {
|
|
@@ -2849,11 +3041,11 @@ declare module "fs" {
|
|
|
2849
3041
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
2850
3042
|
* If a file descriptor is provided, the underlying file will _not_ be closed automatically.
|
|
2851
3043
|
*/
|
|
2852
|
-
|
|
3044
|
+
function readFile(
|
|
2853
3045
|
path: PathOrFileDescriptor,
|
|
2854
3046
|
callback: (err: NodeJS.ErrnoException | null, data: NonSharedBuffer) => void,
|
|
2855
3047
|
): void;
|
|
2856
|
-
|
|
3048
|
+
namespace readFile {
|
|
2857
3049
|
/**
|
|
2858
3050
|
* Asynchronously reads the entire contents of a file.
|
|
2859
3051
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -2927,7 +3119,7 @@ declare module "fs" {
|
|
|
2927
3119
|
* @since v0.1.8
|
|
2928
3120
|
* @param path filename or file descriptor
|
|
2929
3121
|
*/
|
|
2930
|
-
|
|
3122
|
+
function readFileSync(
|
|
2931
3123
|
path: PathOrFileDescriptor,
|
|
2932
3124
|
options?: {
|
|
2933
3125
|
encoding?: null | undefined;
|
|
@@ -2941,7 +3133,7 @@ declare module "fs" {
|
|
|
2941
3133
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2942
3134
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2943
3135
|
*/
|
|
2944
|
-
|
|
3136
|
+
function readFileSync(
|
|
2945
3137
|
path: PathOrFileDescriptor,
|
|
2946
3138
|
options:
|
|
2947
3139
|
| {
|
|
@@ -2957,7 +3149,7 @@ declare module "fs" {
|
|
|
2957
3149
|
* @param options Either the encoding for the result, or an object that contains the encoding and an optional flag.
|
|
2958
3150
|
* If a flag is not provided, it defaults to `'r'`.
|
|
2959
3151
|
*/
|
|
2960
|
-
|
|
3152
|
+
function readFileSync(
|
|
2961
3153
|
path: PathOrFileDescriptor,
|
|
2962
3154
|
options?:
|
|
2963
3155
|
| (ObjectEncodingOptions & {
|
|
@@ -2966,7 +3158,7 @@ declare module "fs" {
|
|
|
2966
3158
|
| BufferEncoding
|
|
2967
3159
|
| null,
|
|
2968
3160
|
): string | NonSharedBuffer;
|
|
2969
|
-
|
|
3161
|
+
type WriteFileOptions =
|
|
2970
3162
|
| (
|
|
2971
3163
|
& ObjectEncodingOptions
|
|
2972
3164
|
& Abortable
|
|
@@ -3039,7 +3231,7 @@ declare module "fs" {
|
|
|
3039
3231
|
* @since v0.1.29
|
|
3040
3232
|
* @param file filename or file descriptor
|
|
3041
3233
|
*/
|
|
3042
|
-
|
|
3234
|
+
function writeFile(
|
|
3043
3235
|
file: PathOrFileDescriptor,
|
|
3044
3236
|
data: string | NodeJS.ArrayBufferView,
|
|
3045
3237
|
options: WriteFileOptions,
|
|
@@ -3051,12 +3243,12 @@ declare module "fs" {
|
|
|
3051
3243
|
* If a file descriptor is provided, the underlying file will _not_ be closed automatically.
|
|
3052
3244
|
* @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
|
|
3053
3245
|
*/
|
|
3054
|
-
|
|
3246
|
+
function writeFile(
|
|
3055
3247
|
path: PathOrFileDescriptor,
|
|
3056
3248
|
data: string | NodeJS.ArrayBufferView,
|
|
3057
3249
|
callback: NoParamCallback,
|
|
3058
3250
|
): void;
|
|
3059
|
-
|
|
3251
|
+
namespace writeFile {
|
|
3060
3252
|
/**
|
|
3061
3253
|
* Asynchronously writes data to a file, replacing the file if it already exists.
|
|
3062
3254
|
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -3085,7 +3277,7 @@ declare module "fs" {
|
|
|
3085
3277
|
* @since v0.1.29
|
|
3086
3278
|
* @param file filename or file descriptor
|
|
3087
3279
|
*/
|
|
3088
|
-
|
|
3280
|
+
function writeFileSync(
|
|
3089
3281
|
file: PathOrFileDescriptor,
|
|
3090
3282
|
data: string | NodeJS.ArrayBufferView,
|
|
3091
3283
|
options?: WriteFileOptions,
|
|
@@ -3143,7 +3335,7 @@ declare module "fs" {
|
|
|
3143
3335
|
* @since v0.6.7
|
|
3144
3336
|
* @param path filename or file descriptor
|
|
3145
3337
|
*/
|
|
3146
|
-
|
|
3338
|
+
function appendFile(
|
|
3147
3339
|
path: PathOrFileDescriptor,
|
|
3148
3340
|
data: string | Uint8Array,
|
|
3149
3341
|
options: WriteFileOptions,
|
|
@@ -3155,8 +3347,8 @@ declare module "fs" {
|
|
|
3155
3347
|
* If a file descriptor is provided, the underlying file will _not_ be closed automatically.
|
|
3156
3348
|
* @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string.
|
|
3157
3349
|
*/
|
|
3158
|
-
|
|
3159
|
-
|
|
3350
|
+
function appendFile(file: PathOrFileDescriptor, data: string | Uint8Array, callback: NoParamCallback): void;
|
|
3351
|
+
namespace appendFile {
|
|
3160
3352
|
/**
|
|
3161
3353
|
* Asynchronously append data to a file, creating the file if it does not exist.
|
|
3162
3354
|
* @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -3222,7 +3414,7 @@ declare module "fs" {
|
|
|
3222
3414
|
* @since v0.6.7
|
|
3223
3415
|
* @param path filename or file descriptor
|
|
3224
3416
|
*/
|
|
3225
|
-
|
|
3417
|
+
function appendFileSync(
|
|
3226
3418
|
path: PathOrFileDescriptor,
|
|
3227
3419
|
data: string | Uint8Array,
|
|
3228
3420
|
options?: WriteFileOptions,
|
|
@@ -3273,7 +3465,7 @@ declare module "fs" {
|
|
|
3273
3465
|
* * the file is renamed and then renamed a second time back to its original name
|
|
3274
3466
|
* @since v0.1.31
|
|
3275
3467
|
*/
|
|
3276
|
-
|
|
3468
|
+
interface WatchFileOptions {
|
|
3277
3469
|
bigint?: boolean | undefined;
|
|
3278
3470
|
persistent?: boolean | undefined;
|
|
3279
3471
|
interval?: number | undefined;
|
|
@@ -3324,7 +3516,7 @@ declare module "fs" {
|
|
|
3324
3516
|
* * the file is renamed and then renamed a second time back to its original name
|
|
3325
3517
|
* @since v0.1.31
|
|
3326
3518
|
*/
|
|
3327
|
-
|
|
3519
|
+
function watchFile(
|
|
3328
3520
|
filename: PathLike,
|
|
3329
3521
|
options:
|
|
3330
3522
|
| (WatchFileOptions & {
|
|
@@ -3333,7 +3525,7 @@ declare module "fs" {
|
|
|
3333
3525
|
| undefined,
|
|
3334
3526
|
listener: StatsListener,
|
|
3335
3527
|
): StatWatcher;
|
|
3336
|
-
|
|
3528
|
+
function watchFile(
|
|
3337
3529
|
filename: PathLike,
|
|
3338
3530
|
options:
|
|
3339
3531
|
| (WatchFileOptions & {
|
|
@@ -3346,7 +3538,7 @@ declare module "fs" {
|
|
|
3346
3538
|
* Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed.
|
|
3347
3539
|
* @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3348
3540
|
*/
|
|
3349
|
-
|
|
3541
|
+
function watchFile(filename: PathLike, listener: StatsListener): StatWatcher;
|
|
3350
3542
|
/**
|
|
3351
3543
|
* Stop watching for changes on `filename`. If `listener` is specified, only that
|
|
3352
3544
|
* particular listener is removed. Otherwise, _all_ listeners are removed,
|
|
@@ -3359,23 +3551,23 @@ declare module "fs" {
|
|
|
3359
3551
|
* @since v0.1.31
|
|
3360
3552
|
* @param listener Optional, a listener previously attached using `fs.watchFile()`
|
|
3361
3553
|
*/
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3554
|
+
function unwatchFile(filename: PathLike, listener?: StatsListener): void;
|
|
3555
|
+
function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void;
|
|
3556
|
+
interface WatchOptions extends Abortable {
|
|
3365
3557
|
encoding?: BufferEncoding | "buffer" | undefined;
|
|
3366
3558
|
persistent?: boolean | undefined;
|
|
3367
3559
|
recursive?: boolean | undefined;
|
|
3368
3560
|
}
|
|
3369
|
-
|
|
3561
|
+
interface WatchOptionsWithBufferEncoding extends WatchOptions {
|
|
3370
3562
|
encoding: "buffer";
|
|
3371
3563
|
}
|
|
3372
|
-
|
|
3564
|
+
interface WatchOptionsWithStringEncoding extends WatchOptions {
|
|
3373
3565
|
encoding?: BufferEncoding | undefined;
|
|
3374
3566
|
}
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3567
|
+
type WatchEventType = "rename" | "change";
|
|
3568
|
+
type WatchListener<T> = (event: WatchEventType, filename: T | null) => void;
|
|
3569
|
+
type StatsListener = (curr: Stats, prev: Stats) => void;
|
|
3570
|
+
type BigIntStatsListener = (curr: BigIntStats, prev: BigIntStats) => void;
|
|
3379
3571
|
/**
|
|
3380
3572
|
* Watch for changes on `filename`, where `filename` is either a file or a
|
|
3381
3573
|
* directory.
|
|
@@ -3396,22 +3588,22 @@ declare module "fs" {
|
|
|
3396
3588
|
* @since v0.5.10
|
|
3397
3589
|
* @param listener
|
|
3398
3590
|
*/
|
|
3399
|
-
|
|
3591
|
+
function watch(
|
|
3400
3592
|
filename: PathLike,
|
|
3401
3593
|
options?: WatchOptionsWithStringEncoding | BufferEncoding | null,
|
|
3402
3594
|
listener?: WatchListener<string>,
|
|
3403
3595
|
): FSWatcher;
|
|
3404
|
-
|
|
3596
|
+
function watch(
|
|
3405
3597
|
filename: PathLike,
|
|
3406
3598
|
options: WatchOptionsWithBufferEncoding | "buffer",
|
|
3407
|
-
listener: WatchListener<
|
|
3599
|
+
listener: WatchListener<NonSharedBuffer>,
|
|
3408
3600
|
): FSWatcher;
|
|
3409
|
-
|
|
3601
|
+
function watch(
|
|
3410
3602
|
filename: PathLike,
|
|
3411
3603
|
options: WatchOptions | BufferEncoding | "buffer" | null,
|
|
3412
|
-
listener: WatchListener<string |
|
|
3604
|
+
listener: WatchListener<string | NonSharedBuffer>,
|
|
3413
3605
|
): FSWatcher;
|
|
3414
|
-
|
|
3606
|
+
function watch(filename: PathLike, listener: WatchListener<string>): FSWatcher;
|
|
3415
3607
|
/**
|
|
3416
3608
|
* Test whether or not the given path exists by checking with the file system.
|
|
3417
3609
|
* Then call the `callback` argument with either true or false:
|
|
@@ -3541,9 +3733,9 @@ declare module "fs" {
|
|
|
3541
3733
|
* @since v0.0.2
|
|
3542
3734
|
* @deprecated Since v1.0.0 - Use {@link stat} or {@link access} instead.
|
|
3543
3735
|
*/
|
|
3544
|
-
|
|
3736
|
+
function exists(path: PathLike, callback: (exists: boolean) => void): void;
|
|
3545
3737
|
/** @deprecated */
|
|
3546
|
-
|
|
3738
|
+
namespace exists {
|
|
3547
3739
|
/**
|
|
3548
3740
|
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3549
3741
|
* URL support is _experimental_.
|
|
@@ -3567,8 +3759,8 @@ declare module "fs" {
|
|
|
3567
3759
|
* ```
|
|
3568
3760
|
* @since v0.1.21
|
|
3569
3761
|
*/
|
|
3570
|
-
|
|
3571
|
-
|
|
3762
|
+
function existsSync(path: PathLike): boolean;
|
|
3763
|
+
namespace constants {
|
|
3572
3764
|
// File Access Constants
|
|
3573
3765
|
/** Constant for fs.access(). File is visible to the calling process. */
|
|
3574
3766
|
const F_OK: number;
|
|
@@ -3842,13 +4034,13 @@ declare module "fs" {
|
|
|
3842
4034
|
* @since v0.11.15
|
|
3843
4035
|
* @param [mode=fs.constants.F_OK]
|
|
3844
4036
|
*/
|
|
3845
|
-
|
|
4037
|
+
function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void;
|
|
3846
4038
|
/**
|
|
3847
4039
|
* Asynchronously tests a user's permissions for the file specified by path.
|
|
3848
4040
|
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
3849
4041
|
*/
|
|
3850
|
-
|
|
3851
|
-
|
|
4042
|
+
function access(path: PathLike, callback: NoParamCallback): void;
|
|
4043
|
+
namespace access {
|
|
3852
4044
|
/**
|
|
3853
4045
|
* Asynchronously tests a user's permissions for the file specified by path.
|
|
3854
4046
|
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
|
@@ -3879,11 +4071,11 @@ declare module "fs" {
|
|
|
3879
4071
|
* @since v0.11.15
|
|
3880
4072
|
* @param [mode=fs.constants.F_OK]
|
|
3881
4073
|
*/
|
|
3882
|
-
|
|
4074
|
+
function accessSync(path: PathLike, mode?: number): void;
|
|
3883
4075
|
interface StreamOptions {
|
|
3884
4076
|
flags?: string | undefined;
|
|
3885
4077
|
encoding?: BufferEncoding | undefined;
|
|
3886
|
-
fd?: number |
|
|
4078
|
+
fd?: number | FileHandle | undefined;
|
|
3887
4079
|
mode?: number | undefined;
|
|
3888
4080
|
autoClose?: boolean | undefined;
|
|
3889
4081
|
emitClose?: boolean | undefined;
|
|
@@ -3971,7 +4163,7 @@ declare module "fs" {
|
|
|
3971
4163
|
* If `options` is a string, then it specifies the encoding.
|
|
3972
4164
|
* @since v0.1.31
|
|
3973
4165
|
*/
|
|
3974
|
-
|
|
4166
|
+
function createReadStream(path: PathLike, options?: BufferEncoding | ReadStreamOptions): ReadStream;
|
|
3975
4167
|
/**
|
|
3976
4168
|
* `options` may also include a `start` option to allow writing data at some
|
|
3977
4169
|
* position past the beginning of the file, allowed values are in the
|
|
@@ -3999,7 +4191,7 @@ declare module "fs" {
|
|
|
3999
4191
|
* If `options` is a string, then it specifies the encoding.
|
|
4000
4192
|
* @since v0.1.31
|
|
4001
4193
|
*/
|
|
4002
|
-
|
|
4194
|
+
function createWriteStream(path: PathLike, options?: BufferEncoding | WriteStreamOptions): WriteStream;
|
|
4003
4195
|
/**
|
|
4004
4196
|
* Forces all currently queued I/O operations associated with the file to the
|
|
4005
4197
|
* operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. No arguments other
|
|
@@ -4007,8 +4199,8 @@ declare module "fs" {
|
|
|
4007
4199
|
* exception are given to the completion callback.
|
|
4008
4200
|
* @since v0.1.96
|
|
4009
4201
|
*/
|
|
4010
|
-
|
|
4011
|
-
|
|
4202
|
+
function fdatasync(fd: number, callback: NoParamCallback): void;
|
|
4203
|
+
namespace fdatasync {
|
|
4012
4204
|
/**
|
|
4013
4205
|
* Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
|
|
4014
4206
|
* @param fd A file descriptor.
|
|
@@ -4020,7 +4212,7 @@ declare module "fs" {
|
|
|
4020
4212
|
* operating system's synchronized I/O completion state. Refer to the POSIX [`fdatasync(2)`](http://man7.org/linux/man-pages/man2/fdatasync.2.html) documentation for details. Returns `undefined`.
|
|
4021
4213
|
* @since v0.1.96
|
|
4022
4214
|
*/
|
|
4023
|
-
|
|
4215
|
+
function fdatasyncSync(fd: number): void;
|
|
4024
4216
|
/**
|
|
4025
4217
|
* Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it
|
|
4026
4218
|
* already exists. No arguments other than a possible exception are given to the
|
|
@@ -4060,9 +4252,9 @@ declare module "fs" {
|
|
|
4060
4252
|
* @param dest destination filename of the copy operation
|
|
4061
4253
|
* @param [mode=0] modifiers for copy operation.
|
|
4062
4254
|
*/
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4255
|
+
function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void;
|
|
4256
|
+
function copyFile(src: PathLike, dest: PathLike, mode: number, callback: NoParamCallback): void;
|
|
4257
|
+
namespace copyFile {
|
|
4066
4258
|
function __promisify__(src: PathLike, dst: PathLike, mode?: number): Promise<void>;
|
|
4067
4259
|
}
|
|
4068
4260
|
/**
|
|
@@ -4099,7 +4291,7 @@ declare module "fs" {
|
|
|
4099
4291
|
* @param dest destination filename of the copy operation
|
|
4100
4292
|
* @param [mode=0] modifiers for copy operation.
|
|
4101
4293
|
*/
|
|
4102
|
-
|
|
4294
|
+
function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void;
|
|
4103
4295
|
/**
|
|
4104
4296
|
* Write an array of `ArrayBufferView`s to the file specified by `fd` using `writev()`.
|
|
4105
4297
|
*
|
|
@@ -4120,27 +4312,29 @@ declare module "fs" {
|
|
|
4120
4312
|
* @since v12.9.0
|
|
4121
4313
|
* @param [position='null']
|
|
4122
4314
|
*/
|
|
4123
|
-
|
|
4315
|
+
function writev<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4124
4316
|
fd: number,
|
|
4125
|
-
buffers:
|
|
4126
|
-
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers:
|
|
4317
|
+
buffers: TBuffers,
|
|
4318
|
+
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: TBuffers) => void,
|
|
4127
4319
|
): void;
|
|
4128
|
-
|
|
4320
|
+
function writev<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4129
4321
|
fd: number,
|
|
4130
|
-
buffers:
|
|
4322
|
+
buffers: TBuffers,
|
|
4131
4323
|
position: number | null,
|
|
4132
|
-
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers:
|
|
4324
|
+
cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: TBuffers) => void,
|
|
4133
4325
|
): void;
|
|
4134
|
-
|
|
4326
|
+
// Providing a default type parameter doesn't provide true BC for userland consumers, but at least suppresses TS2314
|
|
4327
|
+
// TODO: remove default in future major version
|
|
4328
|
+
interface WriteVResult<T extends readonly NodeJS.ArrayBufferView[] = NodeJS.ArrayBufferView[]> {
|
|
4135
4329
|
bytesWritten: number;
|
|
4136
|
-
buffers:
|
|
4330
|
+
buffers: T;
|
|
4137
4331
|
}
|
|
4138
|
-
|
|
4139
|
-
function __promisify__(
|
|
4332
|
+
namespace writev {
|
|
4333
|
+
function __promisify__<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4140
4334
|
fd: number,
|
|
4141
|
-
buffers:
|
|
4335
|
+
buffers: TBuffers,
|
|
4142
4336
|
position?: number,
|
|
4143
|
-
): Promise<WriteVResult
|
|
4337
|
+
): Promise<WriteVResult<TBuffers>>;
|
|
4144
4338
|
}
|
|
4145
4339
|
/**
|
|
4146
4340
|
* For detailed information, see the documentation of the asynchronous version of
|
|
@@ -4149,7 +4343,7 @@ declare module "fs" {
|
|
|
4149
4343
|
* @param [position='null']
|
|
4150
4344
|
* @return The number of bytes written.
|
|
4151
4345
|
*/
|
|
4152
|
-
|
|
4346
|
+
function writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
|
|
4153
4347
|
/**
|
|
4154
4348
|
* Read from a file specified by `fd` and write to an array of `ArrayBufferView`s
|
|
4155
4349
|
* using `readv()`.
|
|
@@ -4165,27 +4359,29 @@ declare module "fs" {
|
|
|
4165
4359
|
* @since v13.13.0, v12.17.0
|
|
4166
4360
|
* @param [position='null']
|
|
4167
4361
|
*/
|
|
4168
|
-
|
|
4362
|
+
function readv<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4169
4363
|
fd: number,
|
|
4170
|
-
buffers:
|
|
4171
|
-
cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers:
|
|
4364
|
+
buffers: TBuffers,
|
|
4365
|
+
cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: TBuffers) => void,
|
|
4172
4366
|
): void;
|
|
4173
|
-
|
|
4367
|
+
function readv<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4174
4368
|
fd: number,
|
|
4175
|
-
buffers:
|
|
4369
|
+
buffers: TBuffers,
|
|
4176
4370
|
position: number | null,
|
|
4177
|
-
cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers:
|
|
4371
|
+
cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: TBuffers) => void,
|
|
4178
4372
|
): void;
|
|
4179
|
-
|
|
4373
|
+
// Providing a default type parameter doesn't provide true BC for userland consumers, but at least suppresses TS2314
|
|
4374
|
+
// TODO: remove default in future major version
|
|
4375
|
+
interface ReadVResult<T extends readonly NodeJS.ArrayBufferView[] = NodeJS.ArrayBufferView[]> {
|
|
4180
4376
|
bytesRead: number;
|
|
4181
|
-
buffers:
|
|
4377
|
+
buffers: T;
|
|
4182
4378
|
}
|
|
4183
|
-
|
|
4184
|
-
function __promisify__(
|
|
4379
|
+
namespace readv {
|
|
4380
|
+
function __promisify__<TBuffers extends readonly NodeJS.ArrayBufferView[]>(
|
|
4185
4381
|
fd: number,
|
|
4186
|
-
buffers:
|
|
4382
|
+
buffers: TBuffers,
|
|
4187
4383
|
position?: number,
|
|
4188
|
-
): Promise<ReadVResult
|
|
4384
|
+
): Promise<ReadVResult<TBuffers>>;
|
|
4189
4385
|
}
|
|
4190
4386
|
/**
|
|
4191
4387
|
* For detailed information, see the documentation of the asynchronous version of
|
|
@@ -4194,9 +4390,9 @@ declare module "fs" {
|
|
|
4194
4390
|
* @param [position='null']
|
|
4195
4391
|
* @return The number of bytes read.
|
|
4196
4392
|
*/
|
|
4197
|
-
|
|
4393
|
+
function readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number): number;
|
|
4198
4394
|
|
|
4199
|
-
|
|
4395
|
+
interface OpenAsBlobOptions {
|
|
4200
4396
|
/**
|
|
4201
4397
|
* An optional mime type for the blob.
|
|
4202
4398
|
*
|
|
@@ -4222,9 +4418,9 @@ declare module "fs" {
|
|
|
4222
4418
|
* ```
|
|
4223
4419
|
* @since v19.8.0
|
|
4224
4420
|
*/
|
|
4225
|
-
|
|
4421
|
+
function openAsBlob(path: PathLike, options?: OpenAsBlobOptions): Promise<Blob>;
|
|
4226
4422
|
|
|
4227
|
-
|
|
4423
|
+
interface OpenDirOptions {
|
|
4228
4424
|
/**
|
|
4229
4425
|
* @default 'utf8'
|
|
4230
4426
|
*/
|
|
@@ -4239,7 +4435,7 @@ declare module "fs" {
|
|
|
4239
4435
|
/**
|
|
4240
4436
|
* @default false
|
|
4241
4437
|
*/
|
|
4242
|
-
recursive?: boolean;
|
|
4438
|
+
recursive?: boolean | undefined;
|
|
4243
4439
|
}
|
|
4244
4440
|
/**
|
|
4245
4441
|
* Synchronously open a directory. See [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html).
|
|
@@ -4251,7 +4447,7 @@ declare module "fs" {
|
|
|
4251
4447
|
* directory and subsequent read operations.
|
|
4252
4448
|
* @since v12.12.0
|
|
4253
4449
|
*/
|
|
4254
|
-
|
|
4450
|
+
function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
|
|
4255
4451
|
/**
|
|
4256
4452
|
* Asynchronously open a directory. See the POSIX [`opendir(3)`](http://man7.org/linux/man-pages/man3/opendir.3.html) documentation for
|
|
4257
4453
|
* more details.
|
|
@@ -4263,28 +4459,28 @@ declare module "fs" {
|
|
|
4263
4459
|
* directory and subsequent read operations.
|
|
4264
4460
|
* @since v12.12.0
|
|
4265
4461
|
*/
|
|
4266
|
-
|
|
4267
|
-
|
|
4462
|
+
function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
4463
|
+
function opendir(
|
|
4268
4464
|
path: PathLike,
|
|
4269
4465
|
options: OpenDirOptions,
|
|
4270
4466
|
cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void,
|
|
4271
4467
|
): void;
|
|
4272
|
-
|
|
4468
|
+
namespace opendir {
|
|
4273
4469
|
function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
4274
4470
|
}
|
|
4275
|
-
|
|
4471
|
+
interface BigIntStats extends StatsBase<bigint> {
|
|
4276
4472
|
atimeNs: bigint;
|
|
4277
4473
|
mtimeNs: bigint;
|
|
4278
4474
|
ctimeNs: bigint;
|
|
4279
4475
|
birthtimeNs: bigint;
|
|
4280
4476
|
}
|
|
4281
|
-
|
|
4477
|
+
interface BigIntOptions {
|
|
4282
4478
|
bigint: true;
|
|
4283
4479
|
}
|
|
4284
|
-
|
|
4480
|
+
interface StatOptions {
|
|
4285
4481
|
bigint?: boolean | undefined;
|
|
4286
4482
|
}
|
|
4287
|
-
|
|
4483
|
+
interface StatSyncOptions extends StatOptions {
|
|
4288
4484
|
throwIfNoEntry?: boolean | undefined;
|
|
4289
4485
|
}
|
|
4290
4486
|
interface CopyOptionsBase {
|
|
@@ -4292,54 +4488,54 @@ declare module "fs" {
|
|
|
4292
4488
|
* Dereference symlinks
|
|
4293
4489
|
* @default false
|
|
4294
4490
|
*/
|
|
4295
|
-
dereference?: boolean;
|
|
4491
|
+
dereference?: boolean | undefined;
|
|
4296
4492
|
/**
|
|
4297
4493
|
* When `force` is `false`, and the destination
|
|
4298
4494
|
* exists, throw an error.
|
|
4299
4495
|
* @default false
|
|
4300
4496
|
*/
|
|
4301
|
-
errorOnExist?: boolean;
|
|
4497
|
+
errorOnExist?: boolean | undefined;
|
|
4302
4498
|
/**
|
|
4303
4499
|
* Overwrite existing file or directory. _The copy
|
|
4304
4500
|
* operation will ignore errors if you set this to false and the destination
|
|
4305
4501
|
* exists. Use the `errorOnExist` option to change this behavior.
|
|
4306
4502
|
* @default true
|
|
4307
4503
|
*/
|
|
4308
|
-
force?: boolean;
|
|
4504
|
+
force?: boolean | undefined;
|
|
4309
4505
|
/**
|
|
4310
4506
|
* Modifiers for copy operation. See `mode` flag of {@link copyFileSync()}
|
|
4311
4507
|
*/
|
|
4312
|
-
mode?: number;
|
|
4508
|
+
mode?: number | undefined;
|
|
4313
4509
|
/**
|
|
4314
4510
|
* When `true` timestamps from `src` will
|
|
4315
4511
|
* be preserved.
|
|
4316
4512
|
* @default false
|
|
4317
4513
|
*/
|
|
4318
|
-
preserveTimestamps?: boolean;
|
|
4514
|
+
preserveTimestamps?: boolean | undefined;
|
|
4319
4515
|
/**
|
|
4320
4516
|
* Copy directories recursively.
|
|
4321
4517
|
* @default false
|
|
4322
4518
|
*/
|
|
4323
|
-
recursive?: boolean;
|
|
4519
|
+
recursive?: boolean | undefined;
|
|
4324
4520
|
/**
|
|
4325
4521
|
* When true, path resolution for symlinks will be skipped
|
|
4326
4522
|
* @default false
|
|
4327
4523
|
*/
|
|
4328
|
-
verbatimSymlinks?: boolean;
|
|
4524
|
+
verbatimSymlinks?: boolean | undefined;
|
|
4329
4525
|
}
|
|
4330
|
-
|
|
4526
|
+
interface CopyOptions extends CopyOptionsBase {
|
|
4331
4527
|
/**
|
|
4332
4528
|
* Function to filter copied files/directories. Return
|
|
4333
4529
|
* `true` to copy the item, `false` to ignore it.
|
|
4334
4530
|
*/
|
|
4335
|
-
filter
|
|
4531
|
+
filter?: ((source: string, destination: string) => boolean | Promise<boolean>) | undefined;
|
|
4336
4532
|
}
|
|
4337
|
-
|
|
4533
|
+
interface CopySyncOptions extends CopyOptionsBase {
|
|
4338
4534
|
/**
|
|
4339
4535
|
* Function to filter copied files/directories. Return
|
|
4340
4536
|
* `true` to copy the item, `false` to ignore it.
|
|
4341
4537
|
*/
|
|
4342
|
-
filter
|
|
4538
|
+
filter?: ((source: string, destination: string) => boolean) | undefined;
|
|
4343
4539
|
}
|
|
4344
4540
|
/**
|
|
4345
4541
|
* Asynchronously copies the entire directory structure from `src` to `dest`,
|
|
@@ -4352,12 +4548,12 @@ declare module "fs" {
|
|
|
4352
4548
|
* @param src source path to copy.
|
|
4353
4549
|
* @param dest destination path to copy to.
|
|
4354
4550
|
*/
|
|
4355
|
-
|
|
4551
|
+
function cp(
|
|
4356
4552
|
source: string | URL,
|
|
4357
4553
|
destination: string | URL,
|
|
4358
4554
|
callback: (err: NodeJS.ErrnoException | null) => void,
|
|
4359
4555
|
): void;
|
|
4360
|
-
|
|
4556
|
+
function cp(
|
|
4361
4557
|
source: string | URL,
|
|
4362
4558
|
destination: string | URL,
|
|
4363
4559
|
opts: CopyOptions,
|
|
@@ -4374,8 +4570,9 @@ declare module "fs" {
|
|
|
4374
4570
|
* @param src source path to copy.
|
|
4375
4571
|
* @param dest destination path to copy to.
|
|
4376
4572
|
*/
|
|
4377
|
-
|
|
4573
|
+
function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void;
|
|
4378
4574
|
|
|
4575
|
+
// TODO: collapse
|
|
4379
4576
|
interface _GlobOptions<T extends Dirent | string> {
|
|
4380
4577
|
/**
|
|
4381
4578
|
* Current working directory.
|
|
@@ -4392,15 +4589,18 @@ declare module "fs" {
|
|
|
4392
4589
|
* Function to filter out files/directories or a
|
|
4393
4590
|
* list of glob patterns to be excluded. If a function is provided, return
|
|
4394
4591
|
* `true` to exclude the item, `false` to include it.
|
|
4592
|
+
* If a string array is provided, each string should be a glob pattern that
|
|
4593
|
+
* specifies paths to exclude. Note: Negation patterns (e.g., '!foo.js') are
|
|
4594
|
+
* not supported.
|
|
4395
4595
|
* @default undefined
|
|
4396
4596
|
*/
|
|
4397
4597
|
exclude?: ((fileName: T) => boolean) | readonly string[] | undefined;
|
|
4398
4598
|
}
|
|
4399
|
-
|
|
4400
|
-
|
|
4599
|
+
interface GlobOptions extends _GlobOptions<Dirent | string> {}
|
|
4600
|
+
interface GlobOptionsWithFileTypes extends _GlobOptions<Dirent> {
|
|
4401
4601
|
withFileTypes: true;
|
|
4402
4602
|
}
|
|
4403
|
-
|
|
4603
|
+
interface GlobOptionsWithoutFileTypes extends _GlobOptions<string> {
|
|
4404
4604
|
withFileTypes?: false | undefined;
|
|
4405
4605
|
}
|
|
4406
4606
|
|
|
@@ -4417,11 +4617,11 @@ declare module "fs" {
|
|
|
4417
4617
|
* ```
|
|
4418
4618
|
* @since v22.0.0
|
|
4419
4619
|
*/
|
|
4420
|
-
|
|
4620
|
+
function glob(
|
|
4421
4621
|
pattern: string | readonly string[],
|
|
4422
4622
|
callback: (err: NodeJS.ErrnoException | null, matches: string[]) => void,
|
|
4423
4623
|
): void;
|
|
4424
|
-
|
|
4624
|
+
function glob(
|
|
4425
4625
|
pattern: string | readonly string[],
|
|
4426
4626
|
options: GlobOptionsWithFileTypes,
|
|
4427
4627
|
callback: (
|
|
@@ -4429,7 +4629,7 @@ declare module "fs" {
|
|
|
4429
4629
|
matches: Dirent[],
|
|
4430
4630
|
) => void,
|
|
4431
4631
|
): void;
|
|
4432
|
-
|
|
4632
|
+
function glob(
|
|
4433
4633
|
pattern: string | readonly string[],
|
|
4434
4634
|
options: GlobOptionsWithoutFileTypes,
|
|
4435
4635
|
callback: (
|
|
@@ -4437,7 +4637,7 @@ declare module "fs" {
|
|
|
4437
4637
|
matches: string[],
|
|
4438
4638
|
) => void,
|
|
4439
4639
|
): void;
|
|
4440
|
-
|
|
4640
|
+
function glob(
|
|
4441
4641
|
pattern: string | readonly string[],
|
|
4442
4642
|
options: GlobOptions,
|
|
4443
4643
|
callback: (
|
|
@@ -4454,20 +4654,23 @@ declare module "fs" {
|
|
|
4454
4654
|
* @since v22.0.0
|
|
4455
4655
|
* @returns paths of files that match the pattern.
|
|
4456
4656
|
*/
|
|
4457
|
-
|
|
4458
|
-
|
|
4657
|
+
function globSync(pattern: string | readonly string[]): string[];
|
|
4658
|
+
function globSync(
|
|
4459
4659
|
pattern: string | readonly string[],
|
|
4460
4660
|
options: GlobOptionsWithFileTypes,
|
|
4461
4661
|
): Dirent[];
|
|
4462
|
-
|
|
4662
|
+
function globSync(
|
|
4463
4663
|
pattern: string | readonly string[],
|
|
4464
4664
|
options: GlobOptionsWithoutFileTypes,
|
|
4465
4665
|
): string[];
|
|
4466
|
-
|
|
4666
|
+
function globSync(
|
|
4467
4667
|
pattern: string | readonly string[],
|
|
4468
4668
|
options: GlobOptions,
|
|
4469
4669
|
): Dirent[] | string[];
|
|
4470
4670
|
}
|
|
4471
4671
|
declare module "node:fs" {
|
|
4472
|
-
export * from "fs";
|
|
4672
|
+
export * as promises from "node:fs/promises";
|
|
4673
|
+
}
|
|
4674
|
+
declare module "fs" {
|
|
4675
|
+
export * from "node:fs";
|
|
4473
4676
|
}
|