node-red-contrib-tak-registration 0.11.5 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/assert.d.ts +88 -44
- package/node_modules/@types/node/async_hooks.d.ts +17 -15
- package/node_modules/@types/node/buffer.d.ts +37 -36
- package/node_modules/@types/node/child_process.d.ts +38 -34
- package/node_modules/@types/node/cluster.d.ts +165 -19
- package/node_modules/@types/node/console.d.ts +64 -27
- package/node_modules/@types/node/crypto.d.ts +139 -72
- package/node_modules/@types/node/dgram.d.ts +24 -14
- package/node_modules/@types/node/diagnostics_channel.d.ts +365 -2
- package/node_modules/@types/node/dns/promises.d.ts +79 -28
- package/node_modules/@types/node/dns.d.ts +124 -69
- package/node_modules/@types/node/dom-events.d.ts +2 -0
- package/node_modules/@types/node/domain.d.ts +4 -4
- package/node_modules/@types/node/events.d.ts +115 -63
- package/node_modules/@types/node/fs/promises.d.ts +18 -12
- package/node_modules/@types/node/fs.d.ts +72 -46
- package/node_modules/@types/node/globals.d.ts +27 -0
- package/node_modules/@types/node/http.d.ts +75 -55
- package/node_modules/@types/node/http2.d.ts +83 -47
- package/node_modules/@types/node/https.d.ts +3 -3
- package/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/@types/node/inspector.d.ts +5 -6
- package/node_modules/@types/node/module.d.ts +14 -0
- package/node_modules/@types/node/net.d.ts +66 -16
- package/node_modules/@types/node/os.d.ts +29 -12
- package/node_modules/@types/node/package.json +3 -16
- package/node_modules/@types/node/path.d.ts +1 -1
- package/node_modules/@types/node/perf_hooks.d.ts +320 -54
- package/node_modules/@types/node/process.d.ts +265 -50
- package/node_modules/@types/node/punycode.d.ts +4 -4
- package/node_modules/@types/node/querystring.d.ts +21 -9
- package/node_modules/@types/node/readline/promises.d.ts +9 -9
- package/node_modules/@types/node/readline.d.ts +21 -20
- package/node_modules/@types/node/repl.d.ts +10 -10
- package/node_modules/@types/node/sea.d.ts +153 -0
- package/node_modules/@types/node/stream/web.d.ts +18 -1
- package/node_modules/@types/node/stream.d.ts +62 -56
- package/node_modules/@types/node/string_decoder.d.ts +5 -5
- package/node_modules/@types/node/test.d.ts +445 -109
- package/node_modules/@types/node/timers/promises.d.ts +10 -6
- package/node_modules/@types/node/timers.d.ts +5 -5
- package/node_modules/@types/node/tls.d.ts +40 -33
- package/node_modules/@types/node/trace_events.d.ts +40 -25
- package/node_modules/@types/node/tty.d.ts +8 -8
- package/node_modules/@types/node/url.d.ts +73 -48
- package/node_modules/@types/node/util.d.ts +131 -22
- package/node_modules/@types/node/v8.d.ts +183 -10
- package/node_modules/@types/node/vm.d.ts +43 -22
- package/node_modules/@types/node/wasi.d.ts +38 -15
- package/node_modules/@types/node/worker_threads.d.ts +19 -16
- package/node_modules/@types/node/zlib.d.ts +16 -3
- package/node_modules/adm-zip/README.md +2 -1
- package/node_modules/adm-zip/adm-zip.js +46 -45
- package/node_modules/adm-zip/headers/entryHeader.js +14 -12
- package/node_modules/adm-zip/headers/mainHeader.js +1 -1
- package/node_modules/adm-zip/methods/inflater.js +6 -3
- package/node_modules/adm-zip/methods/zipcrypto.js +6 -2
- package/node_modules/adm-zip/package.json +2 -2
- package/node_modules/adm-zip/util/errors.js +1 -0
- package/node_modules/adm-zip/zipEntry.js +64 -43
- package/node_modules/adm-zip/zipFile.js +35 -35
- package/node_modules/axios/CHANGELOG.md +873 -711
- package/node_modules/axios/README.md +98 -8
- package/node_modules/axios/dist/axios.js +1461 -350
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +710 -306
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +710 -306
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +628 -250
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +6 -3
- package/node_modules/axios/index.d.ts +6 -3
- package/node_modules/axios/lib/adapters/adapters.js +3 -1
- package/node_modules/axios/lib/adapters/fetch.js +227 -0
- package/node_modules/axios/lib/adapters/http.js +7 -3
- package/node_modules/axios/lib/adapters/xhr.js +31 -101
- package/node_modules/axios/lib/core/Axios.js +28 -1
- package/node_modules/axios/lib/core/AxiosHeaders.js +4 -0
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +7 -5
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +9 -8
- package/node_modules/axios/lib/helpers/combineURLs.js +1 -1
- package/node_modules/axios/lib/helpers/composeSignals.js +46 -0
- package/node_modules/axios/lib/helpers/formDataToJSON.js +3 -0
- package/node_modules/axios/lib/helpers/progressEventReducer.js +32 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +57 -0
- package/node_modules/axios/lib/helpers/throttle.js +5 -3
- package/node_modules/axios/lib/helpers/trackStream.js +55 -0
- package/node_modules/axios/lib/platform/common/utils.js +4 -1
- package/node_modules/axios/lib/utils.js +7 -2
- package/node_modules/axios/package.json +27 -26
- package/node_modules/call-bind/CHANGELOG.md +16 -0
- package/node_modules/call-bind/index.js +2 -11
- package/node_modules/call-bind/package.json +11 -6
- package/node_modules/define-data-property/CHANGELOG.md +29 -0
- package/node_modules/define-data-property/index.d.ts +12 -3
- package/node_modules/define-data-property/index.js +4 -16
- package/node_modules/define-data-property/package.json +26 -33
- package/node_modules/define-data-property/test/index.js +10 -10
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +15 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +16 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +55 -0
- package/node_modules/es-define-property/tsconfig.json +50 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/fast-xml-parser/CHANGELOG.md +17 -0
- package/node_modules/fast-xml-parser/README.md +9 -15
- package/node_modules/fast-xml-parser/package.json +4 -1
- package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
- package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
- package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +96 -0
- package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
- package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
- package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
- package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
- package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
- package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
- package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
- package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +31 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
- package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
- package/node_modules/fast-xml-parser/src/validator.js +2 -0
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +18 -9
- package/node_modules/follow-redirects/index.js +115 -76
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/get-intrinsic/CHANGELOG.md +18 -0
- package/node_modules/get-intrinsic/index.js +15 -7
- package/node_modules/get-intrinsic/package.json +12 -12
- package/node_modules/has-property-descriptors/CHANGELOG.md +8 -0
- package/node_modules/has-property-descriptors/index.js +3 -14
- package/node_modules/has-property-descriptors/package.json +5 -5
- package/node_modules/has-proto/CHANGELOG.md +15 -0
- package/node_modules/has-proto/index.d.ts +3 -0
- package/node_modules/has-proto/index.js +5 -1
- package/node_modules/has-proto/package.json +9 -5
- package/node_modules/has-proto/tsconfig.json +49 -0
- package/node_modules/has-tostringtag/.eslintrc +0 -6
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +22 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +1 -0
- package/node_modules/has-tostringtag/package.json +37 -13
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +1 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +3 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +2 -0
- package/node_modules/has-tostringtag/test/tests.js +2 -1
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/CHANGELOG.md +20 -0
- package/node_modules/hasown/index.d.ts +3 -3
- package/node_modules/hasown/index.js +1 -1
- package/node_modules/hasown/package.json +16 -15
- package/node_modules/hasown/tsconfig.json +3 -46
- package/node_modules/object-is/.eslintrc +1 -1
- package/node_modules/object-is/.nycrc +0 -4
- package/node_modules/object-is/CHANGELOG.md +25 -0
- package/node_modules/object-is/README.md +20 -20
- package/node_modules/object-is/package.json +23 -14
- package/node_modules/polygon-clipping/README.md +29 -26
- package/node_modules/polygon-clipping/dist/polygon-clipping.cjs.js +1398 -1421
- package/node_modules/polygon-clipping/dist/polygon-clipping.d.ts +13 -10
- package/node_modules/polygon-clipping/dist/polygon-clipping.esm.js +1139 -1427
- package/node_modules/polygon-clipping/dist/polygon-clipping.umd.js +1770 -1831
- package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js +22 -8
- package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js.map +1 -1
- package/node_modules/polygon-clipping/node_modules/robust-predicates/LICENSE +24 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/README.md +82 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/incircle.js +765 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/insphere.js +766 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient2d.js +184 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient3d.js +462 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/util.js +138 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/index.d.ts +49 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/index.js +5 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/package.json +75 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.js +908 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.js +914 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.js +280 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.js +601 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.js +2328 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.min.js +1 -0
- package/node_modules/polygon-clipping/package.json +30 -25
- package/node_modules/protobufjs/LICENSE +39 -39
- package/node_modules/protobufjs/README.md +727 -740
- package/node_modules/protobufjs/dist/light/protobuf.js +6264 -6264
- 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 +1928 -1928
- package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.js +7978 -7961
- 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/ext/debug/README.md +4 -4
- package/node_modules/protobufjs/ext/debug/index.js +71 -71
- package/node_modules/protobufjs/ext/descriptor/README.md +72 -72
- package/node_modules/protobufjs/ext/descriptor/index.d.ts +191 -191
- package/node_modules/protobufjs/ext/descriptor/index.js +1052 -1052
- package/node_modules/protobufjs/ext/descriptor/test.js +54 -54
- package/node_modules/protobufjs/google/LICENSE +27 -27
- package/node_modules/protobufjs/google/README.md +1 -1
- package/node_modules/protobufjs/google/api/annotations.json +82 -82
- package/node_modules/protobufjs/google/api/annotations.proto +10 -10
- package/node_modules/protobufjs/google/api/http.json +85 -85
- package/node_modules/protobufjs/google/api/http.proto +30 -30
- package/node_modules/protobufjs/google/protobuf/api.json +117 -117
- package/node_modules/protobufjs/google/protobuf/api.proto +33 -33
- package/node_modules/protobufjs/google/protobuf/descriptor.json +738 -738
- package/node_modules/protobufjs/google/protobuf/descriptor.proto +286 -286
- package/node_modules/protobufjs/google/protobuf/source_context.json +19 -19
- package/node_modules/protobufjs/google/protobuf/source_context.proto +7 -7
- package/node_modules/protobufjs/google/protobuf/type.json +201 -201
- package/node_modules/protobufjs/google/protobuf/type.proto +89 -89
- package/node_modules/protobufjs/index.d.ts +2741 -2741
- package/node_modules/protobufjs/index.js +4 -4
- package/node_modules/protobufjs/light.d.ts +2 -2
- package/node_modules/protobufjs/light.js +3 -3
- package/node_modules/protobufjs/minimal.d.ts +2 -2
- package/node_modules/protobufjs/minimal.js +4 -4
- package/node_modules/protobufjs/package.json +111 -111
- package/node_modules/protobufjs/scripts/postinstall.js +32 -32
- package/node_modules/protobufjs/src/common.js +399 -399
- package/node_modules/protobufjs/src/converter.js +301 -301
- package/node_modules/protobufjs/src/decoder.js +129 -129
- package/node_modules/protobufjs/src/encoder.js +100 -100
- package/node_modules/protobufjs/src/enum.js +198 -198
- package/node_modules/protobufjs/src/field.js +377 -377
- package/node_modules/protobufjs/src/index-light.js +104 -104
- package/node_modules/protobufjs/src/index-minimal.js +36 -36
- package/node_modules/protobufjs/src/index.js +12 -12
- package/node_modules/protobufjs/src/mapfield.js +126 -126
- package/node_modules/protobufjs/src/message.js +138 -138
- package/node_modules/protobufjs/src/method.js +160 -160
- package/node_modules/protobufjs/src/namespace.js +433 -433
- package/node_modules/protobufjs/src/object.js +243 -243
- package/node_modules/protobufjs/src/oneof.js +203 -203
- package/node_modules/protobufjs/src/parse.js +889 -872
- package/node_modules/protobufjs/src/reader.js +416 -416
- package/node_modules/protobufjs/src/reader_buffer.js +51 -51
- package/node_modules/protobufjs/src/root.js +368 -368
- package/node_modules/protobufjs/src/roots.js +18 -18
- package/node_modules/protobufjs/src/rpc/service.js +142 -142
- package/node_modules/protobufjs/src/rpc.js +36 -36
- package/node_modules/protobufjs/src/service.js +167 -167
- package/node_modules/protobufjs/src/tokenize.js +416 -416
- package/node_modules/protobufjs/src/type.js +589 -589
- package/node_modules/protobufjs/src/types.js +196 -196
- package/node_modules/protobufjs/src/typescript.jsdoc +15 -15
- package/node_modules/protobufjs/src/util/longbits.js +200 -200
- package/node_modules/protobufjs/src/util/minimal.js +438 -438
- package/node_modules/protobufjs/src/util.js +212 -212
- package/node_modules/protobufjs/src/verifier.js +176 -176
- package/node_modules/protobufjs/src/wrappers.js +102 -102
- package/node_modules/protobufjs/src/writer.js +465 -465
- package/node_modules/protobufjs/src/writer_buffer.js +85 -85
- package/node_modules/protobufjs/tsconfig.json +7 -7
- package/node_modules/regexp.prototype.flags/CHANGELOG.md +13 -0
- package/node_modules/regexp.prototype.flags/implementation.js +2 -2
- package/node_modules/regexp.prototype.flags/package.json +11 -10
- package/node_modules/regexp.prototype.flags/test/tests.js +13 -13
- package/node_modules/set-function-length/CHANGELOG.md +29 -0
- package/node_modules/set-function-length/env.d.ts +9 -0
- package/node_modules/set-function-length/env.js +10 -4
- package/node_modules/set-function-length/index.d.ts +7 -0
- package/node_modules/set-function-length/index.js +4 -3
- package/node_modules/set-function-length/package.json +29 -11
- package/node_modules/set-function-length/tsconfig.json +9 -0
- package/node_modules/set-function-name/.eslintrc +1 -0
- package/node_modules/set-function-name/CHANGELOG.md +9 -0
- package/node_modules/set-function-name/index.d.ts +5 -0
- package/node_modules/set-function-name/index.js +4 -3
- package/node_modules/set-function-name/package.json +28 -9
- package/node_modules/set-function-name/tsconfig.json +59 -0
- package/node_modules/uuid/CHANGELOG.md +18 -0
- package/node_modules/uuid/README.md +134 -16
- package/node_modules/uuid/dist/commonjs-browser/index.js +40 -15
- package/node_modules/uuid/dist/commonjs-browser/max.js +7 -0
- package/node_modules/uuid/dist/commonjs-browser/md5.js +30 -53
- package/node_modules/uuid/dist/commonjs-browser/native.js +3 -4
- package/node_modules/uuid/dist/commonjs-browser/nil.js +1 -2
- package/node_modules/uuid/dist/commonjs-browser/parse.js +14 -15
- package/node_modules/uuid/dist/commonjs-browser/regex.js +1 -2
- package/node_modules/uuid/dist/commonjs-browser/rng.js +2 -4
- package/node_modules/uuid/dist/commonjs-browser/sha1.js +27 -49
- package/node_modules/uuid/dist/commonjs-browser/stringify.js +10 -16
- package/node_modules/uuid/dist/commonjs-browser/v1.js +73 -49
- package/node_modules/uuid/dist/commonjs-browser/v1ToV6.js +26 -0
- package/node_modules/uuid/dist/commonjs-browser/v3.js +3 -8
- package/node_modules/uuid/dist/commonjs-browser/v35.js +15 -32
- package/node_modules/uuid/dist/commonjs-browser/v4.js +7 -18
- package/node_modules/uuid/dist/commonjs-browser/v5.js +3 -8
- package/node_modules/uuid/dist/commonjs-browser/v6.js +42 -0
- package/node_modules/uuid/dist/commonjs-browser/v6ToV1.js +26 -0
- package/node_modules/uuid/dist/commonjs-browser/v7.js +152 -0
- package/node_modules/uuid/dist/commonjs-browser/validate.js +2 -7
- package/node_modules/uuid/dist/commonjs-browser/version.js +2 -8
- package/node_modules/uuid/dist/esm-browser/index.js +9 -4
- package/node_modules/uuid/dist/esm-browser/max.js +1 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +29 -50
- package/node_modules/uuid/dist/esm-browser/native.js +1 -1
- package/node_modules/uuid/dist/esm-browser/parse.js +12 -10
- package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
- package/node_modules/uuid/dist/esm-browser/rng.js +3 -4
- package/node_modules/uuid/dist/esm-browser/sha1.js +26 -46
- package/node_modules/uuid/dist/esm-browser/stringify.js +9 -11
- package/node_modules/uuid/dist/esm-browser/v1.js +74 -44
- package/node_modules/uuid/dist/esm-browser/v1ToV6.js +20 -0
- package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
- package/node_modules/uuid/dist/esm-browser/v35.js +14 -25
- package/node_modules/uuid/dist/esm-browser/v4.js +5 -9
- package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
- package/node_modules/uuid/dist/esm-browser/v6.js +36 -0
- package/node_modules/uuid/dist/esm-browser/v6ToV1.js +20 -0
- package/node_modules/uuid/dist/esm-browser/v7.js +146 -0
- package/node_modules/uuid/dist/esm-browser/validate.js +0 -2
- package/node_modules/uuid/dist/esm-browser/version.js +0 -3
- package/node_modules/uuid/dist/esm-node/index.js +9 -4
- package/node_modules/uuid/dist/esm-node/max.js +1 -0
- package/node_modules/uuid/dist/esm-node/md5.js +1 -4
- package/node_modules/uuid/dist/esm-node/native.js +1 -1
- package/node_modules/uuid/dist/esm-node/parse.js +11 -9
- package/node_modules/uuid/dist/esm-node/regex.js +1 -1
- package/node_modules/uuid/dist/esm-node/rng.js +1 -3
- package/node_modules/uuid/dist/esm-node/sha1.js +1 -4
- package/node_modules/uuid/dist/esm-node/stringify.js +7 -9
- package/node_modules/uuid/dist/esm-node/v1.js +66 -36
- package/node_modules/uuid/dist/esm-node/v1ToV6.js +20 -0
- package/node_modules/uuid/dist/esm-node/v35.js +8 -19
- package/node_modules/uuid/dist/esm-node/v4.js +4 -8
- package/node_modules/uuid/dist/esm-node/v6.js +32 -0
- package/node_modules/uuid/dist/esm-node/v6ToV1.js +20 -0
- package/node_modules/uuid/dist/esm-node/v7.js +146 -0
- package/node_modules/uuid/dist/esm-node/validate.js +0 -2
- package/node_modules/uuid/dist/esm-node/version.js +0 -3
- package/node_modules/uuid/dist/index.js +40 -15
- package/node_modules/uuid/dist/max.js +7 -0
- package/node_modules/uuid/dist/md5-browser.js +8 -31
- package/node_modules/uuid/dist/md5.js +4 -10
- package/node_modules/uuid/dist/native-browser.js +2 -3
- package/node_modules/uuid/dist/native.js +5 -9
- package/node_modules/uuid/dist/nil.js +1 -2
- package/node_modules/uuid/dist/parse.js +13 -14
- package/node_modules/uuid/dist/regex.js +1 -2
- package/node_modules/uuid/dist/rng-browser.js +1 -3
- package/node_modules/uuid/dist/rng.js +3 -10
- package/node_modules/uuid/dist/sha1-browser.js +1 -23
- package/node_modules/uuid/dist/sha1.js +4 -10
- package/node_modules/uuid/dist/stringify.js +8 -14
- package/node_modules/uuid/dist/uuid-bin.js +12 -22
- package/node_modules/uuid/dist/v1.js +66 -42
- package/node_modules/uuid/dist/v1ToV6.js +26 -0
- package/node_modules/uuid/dist/v3.js +2 -7
- package/node_modules/uuid/dist/v35.js +11 -28
- package/node_modules/uuid/dist/v4.js +6 -17
- package/node_modules/uuid/dist/v5.js +2 -7
- package/node_modules/uuid/dist/v6.js +38 -0
- package/node_modules/uuid/dist/v6ToV1.js +26 -0
- package/node_modules/uuid/dist/v7.js +152 -0
- package/node_modules/uuid/dist/validate.js +2 -7
- package/node_modules/uuid/dist/version.js +2 -8
- package/node_modules/uuid/package.json +41 -34
- package/node_modules/uuid/wrapper.mjs +5 -0
- package/package.json +6 -6
- package/tak-ingest.js +5 -1
- package/tak-registration.js +8 -1
- package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
- package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
- package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
- package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
- package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
- package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
- package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
- package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
- package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
- package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
- package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
- package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
- package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
- package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
- package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
- package/node_modules/@types/node/ts4.8/events.d.ts +0 -879
- package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
- package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4291
- package/node_modules/@types/node/ts4.8/globals.d.ts +0 -385
- package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
- package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
- package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
- package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
- package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
- package/node_modules/@types/node/ts4.8/module.d.ts +0 -301
- package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
- package/node_modules/@types/node/ts4.8/os.d.ts +0 -478
- package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
- package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
- package/node_modules/@types/node/ts4.8/process.d.ts +0 -1539
- package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
- package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
- package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
- package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
- package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
- package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
- package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
- package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
- package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
- package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
- package/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
- package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
- package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
- package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
- package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
- package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
- package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
- package/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
- package/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
- package/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
- package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
- package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
- package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
- package/node_modules/define-data-property/index.d.ts.map +0 -1
- package/node_modules/hasown/index.d.ts.map +0 -1
- package/node_modules/object-is/.eslintignore +0 -1
- package/node_modules/polygon-clipping/CHANGELOG.md +0 -129
|
@@ -16,7 +16,7 @@
|
|
|
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/v20.
|
|
19
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/fs.js)
|
|
20
20
|
*/
|
|
21
21
|
declare module "fs" {
|
|
22
22
|
import * as stream from "node:stream";
|
|
@@ -77,7 +77,7 @@ declare module "fs" {
|
|
|
77
77
|
* their synchronous counterparts are of this type.
|
|
78
78
|
* If `bigint` in the `options` passed to those methods is true, the numeric values
|
|
79
79
|
* will be `bigint` instead of `number`, and the object will contain additional
|
|
80
|
-
* nanosecond-precision properties suffixed with `Ns`.
|
|
80
|
+
* nanosecond-precision properties suffixed with `Ns`. `Stat` objects are not to be created directly using the `new` keyword.
|
|
81
81
|
*
|
|
82
82
|
* ```console
|
|
83
83
|
* Stats {
|
|
@@ -242,7 +242,13 @@ declare module "fs" {
|
|
|
242
242
|
name: string;
|
|
243
243
|
/**
|
|
244
244
|
* The base path that this `fs.Dirent` object refers to.
|
|
245
|
+
* @since v20.12.0
|
|
246
|
+
*/
|
|
247
|
+
parentPath: string;
|
|
248
|
+
/**
|
|
249
|
+
* Alias for `dirent.parentPath`.
|
|
245
250
|
* @since v20.1.0
|
|
251
|
+
* @deprecated Since v20.12.0
|
|
246
252
|
*/
|
|
247
253
|
path: string;
|
|
248
254
|
}
|
|
@@ -281,7 +287,7 @@ declare module "fs" {
|
|
|
281
287
|
* Asynchronously close the directory's underlying resource handle.
|
|
282
288
|
* Subsequent reads will result in errors.
|
|
283
289
|
*
|
|
284
|
-
* A promise is returned that will be
|
|
290
|
+
* A promise is returned that will be fulfilled after the resource has been
|
|
285
291
|
* closed.
|
|
286
292
|
* @since v12.12.0
|
|
287
293
|
*/
|
|
@@ -296,7 +302,7 @@ declare module "fs" {
|
|
|
296
302
|
/**
|
|
297
303
|
* Asynchronously read the next directory entry via [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) as an `fs.Dirent`.
|
|
298
304
|
*
|
|
299
|
-
* A promise is returned that will be
|
|
305
|
+
* A promise is returned that will be fulfilled with an `fs.Dirent`, or `null` if there are no more directory entries to read.
|
|
300
306
|
*
|
|
301
307
|
* Directory entries returned by this function are in no particular order as
|
|
302
308
|
* provided by the operating system's underlying directory mechanisms.
|
|
@@ -354,31 +360,51 @@ declare module "fs" {
|
|
|
354
360
|
* @since v0.5.8
|
|
355
361
|
*/
|
|
356
362
|
close(): void;
|
|
363
|
+
/**
|
|
364
|
+
* When called, requests that the Node.js event loop _not_ exit so long as the `fs.FSWatcher` is active. Calling `watcher.ref()` multiple times will have
|
|
365
|
+
* no effect.
|
|
366
|
+
*
|
|
367
|
+
* By default, all `fs.FSWatcher` objects are "ref'ed", making it normally
|
|
368
|
+
* unnecessary to call `watcher.ref()` unless `watcher.unref()` had been
|
|
369
|
+
* called previously.
|
|
370
|
+
* @since v14.3.0, v12.20.0
|
|
371
|
+
*/
|
|
372
|
+
ref(): this;
|
|
373
|
+
/**
|
|
374
|
+
* When called, the active `fs.FSWatcher` object will not require the Node.js
|
|
375
|
+
* event loop to remain active. If there is no other activity keeping the
|
|
376
|
+
* event loop running, the process may exit before the `fs.FSWatcher` object's
|
|
377
|
+
* callback is invoked. Calling `watcher.unref()` multiple times will have
|
|
378
|
+
* no effect.
|
|
379
|
+
* @since v14.3.0, v12.20.0
|
|
380
|
+
*/
|
|
381
|
+
unref(): this;
|
|
357
382
|
/**
|
|
358
383
|
* events.EventEmitter
|
|
359
384
|
* 1. change
|
|
360
|
-
* 2.
|
|
385
|
+
* 2. close
|
|
386
|
+
* 3. error
|
|
361
387
|
*/
|
|
362
388
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
363
389
|
addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
364
|
-
addListener(event: "error", listener: (error: Error) => void): this;
|
|
365
390
|
addListener(event: "close", listener: () => void): this;
|
|
391
|
+
addListener(event: "error", listener: (error: Error) => void): this;
|
|
366
392
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
367
393
|
on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
368
|
-
on(event: "error", listener: (error: Error) => void): this;
|
|
369
394
|
on(event: "close", listener: () => void): this;
|
|
395
|
+
on(event: "error", listener: (error: Error) => void): this;
|
|
370
396
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
371
397
|
once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
372
|
-
once(event: "error", listener: (error: Error) => void): this;
|
|
373
398
|
once(event: "close", listener: () => void): this;
|
|
399
|
+
once(event: "error", listener: (error: Error) => void): this;
|
|
374
400
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
375
401
|
prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
376
|
-
prependListener(event: "error", listener: (error: Error) => void): this;
|
|
377
402
|
prependListener(event: "close", listener: () => void): this;
|
|
403
|
+
prependListener(event: "error", listener: (error: Error) => void): this;
|
|
378
404
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
379
405
|
prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this;
|
|
380
|
-
prependOnceListener(event: "error", listener: (error: Error) => void): this;
|
|
381
406
|
prependOnceListener(event: "close", listener: () => void): this;
|
|
407
|
+
prependOnceListener(event: "error", listener: (error: Error) => void): this;
|
|
382
408
|
}
|
|
383
409
|
/**
|
|
384
410
|
* Instances of `fs.ReadStream` are created and returned using the {@link createReadStream} function.
|
|
@@ -1419,7 +1445,7 @@ declare module "fs" {
|
|
|
1419
1445
|
* 2. The maximum number of symbolic links is platform-independent and generally
|
|
1420
1446
|
* (much) higher than what the native [`realpath(3)`](http://man7.org/linux/man-pages/man3/realpath.3.html) implementation supports.
|
|
1421
1447
|
*
|
|
1422
|
-
* The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd`to resolve relative paths.
|
|
1448
|
+
* The `callback` gets two arguments `(err, resolvedPath)`. May use `process.cwd` to resolve relative paths.
|
|
1423
1449
|
*
|
|
1424
1450
|
* Only paths that can be converted to UTF8 strings are supported.
|
|
1425
1451
|
*
|
|
@@ -1663,7 +1689,7 @@ declare module "fs" {
|
|
|
1663
1689
|
retryDelay?: number | undefined;
|
|
1664
1690
|
}
|
|
1665
1691
|
/**
|
|
1666
|
-
* Asynchronously removes files and directories (modeled on the standard POSIX `rm`utility). No arguments other than a possible exception are given to the
|
|
1692
|
+
* Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). No arguments other than a possible exception are given to the
|
|
1667
1693
|
* completion callback.
|
|
1668
1694
|
* @since v14.14.0
|
|
1669
1695
|
*/
|
|
@@ -1676,7 +1702,7 @@ declare module "fs" {
|
|
|
1676
1702
|
function __promisify__(path: PathLike, options?: RmOptions): Promise<void>;
|
|
1677
1703
|
}
|
|
1678
1704
|
/**
|
|
1679
|
-
* Synchronously removes files and directories (modeled on the standard POSIX `rm`utility). Returns `undefined`.
|
|
1705
|
+
* Synchronously removes files and directories (modeled on the standard POSIX `rm` utility). Returns `undefined`.
|
|
1680
1706
|
* @since v14.14.0
|
|
1681
1707
|
*/
|
|
1682
1708
|
export function rmSync(path: PathLike, options?: RmOptions): void;
|
|
@@ -1701,7 +1727,7 @@ declare module "fs" {
|
|
|
1701
1727
|
* created (for instance, if it was previously created).
|
|
1702
1728
|
*
|
|
1703
1729
|
* The optional `options` argument can be an integer specifying `mode` (permission
|
|
1704
|
-
* and sticky bits), or an object with a `mode` property and a `recursive`property indicating whether parent directories should be created. Calling`fs.mkdir()` when `path` is a directory that
|
|
1730
|
+
* and sticky bits), or an object with a `mode` property and a `recursive` property indicating whether parent directories should be created. Calling `fs.mkdir()` when `path` is a directory that
|
|
1705
1731
|
* exists results in an error only
|
|
1706
1732
|
* when `recursive` is false. If `recursive` is false and the directory exists,
|
|
1707
1733
|
* an `EEXIST` error occurs.
|
|
@@ -1809,7 +1835,7 @@ declare module "fs" {
|
|
|
1809
1835
|
): Promise<string | undefined>;
|
|
1810
1836
|
}
|
|
1811
1837
|
/**
|
|
1812
|
-
* Synchronously creates a directory. Returns `undefined`, or if `recursive` is`true`, the first directory path created.
|
|
1838
|
+
* Synchronously creates a directory. Returns `undefined`, or if `recursive` is `true`, the first directory path created.
|
|
1813
1839
|
* This is the synchronous version of {@link mkdir}.
|
|
1814
1840
|
*
|
|
1815
1841
|
* See the POSIX [`mkdir(2)`](http://man7.org/linux/man-pages/man2/mkdir.2.html) documentation for more details.
|
|
@@ -1846,7 +1872,7 @@ declare module "fs" {
|
|
|
1846
1872
|
/**
|
|
1847
1873
|
* Creates a unique temporary directory.
|
|
1848
1874
|
*
|
|
1849
|
-
* Generates six random characters to be appended behind a required`prefix` to create a unique temporary directory. Due to platform
|
|
1875
|
+
* Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. Due to platform
|
|
1850
1876
|
* inconsistencies, avoid trailing `X` characters in `prefix`. Some platforms,
|
|
1851
1877
|
* notably the BSDs, can return more than six random characters, and replace
|
|
1852
1878
|
* trailing `X` characters in `prefix` with random characters.
|
|
@@ -1983,7 +2009,7 @@ declare module "fs" {
|
|
|
1983
2009
|
*/
|
|
1984
2010
|
export function mkdtempSync(prefix: string, options?: EncodingOption): string | Buffer;
|
|
1985
2011
|
/**
|
|
1986
|
-
* 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 `'..'`.
|
|
2012
|
+
* 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 `'..'`.
|
|
1987
2013
|
*
|
|
1988
2014
|
* See the POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more details.
|
|
1989
2015
|
*
|
|
@@ -2277,8 +2303,8 @@ declare module "fs" {
|
|
|
2277
2303
|
*
|
|
2278
2304
|
* The `atime` and `mtime` arguments follow these rules:
|
|
2279
2305
|
*
|
|
2280
|
-
* * Values can be either numbers representing Unix epoch time in seconds
|
|
2281
|
-
* * If the value can not be converted to a number, or is `NaN`, `Infinity`, or`-Infinity`, an `Error` will be thrown.
|
|
2306
|
+
* * Values can be either numbers representing Unix epoch time in seconds, `Date`s, or a numeric string like `'123456789.0'`.
|
|
2307
|
+
* * If the value can not be converted to a number, or is `NaN`, `Infinity`, or `-Infinity`, an `Error` will be thrown.
|
|
2282
2308
|
* @since v0.4.2
|
|
2283
2309
|
*/
|
|
2284
2310
|
export function utimes(path: PathLike, atime: TimeLike, mtime: TimeLike, callback: NoParamCallback): void;
|
|
@@ -2351,7 +2377,7 @@ declare module "fs" {
|
|
|
2351
2377
|
* should be written. If `typeof position !== 'number'`, the data will be written
|
|
2352
2378
|
* at the current position. See [`pwrite(2)`](http://man7.org/linux/man-pages/man2/pwrite.2.html).
|
|
2353
2379
|
*
|
|
2354
|
-
* The callback will be given three arguments `(err, bytesWritten, buffer)` where`bytesWritten` specifies how many _bytes_ were written from `buffer`.
|
|
2380
|
+
* The callback will be given three arguments `(err, bytesWritten, buffer)` where `bytesWritten` specifies how many _bytes_ were written from `buffer`.
|
|
2355
2381
|
*
|
|
2356
2382
|
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
2357
2383
|
* a promise for an `Object` with `bytesWritten` and `buffer` properties.
|
|
@@ -2800,7 +2826,7 @@ declare module "fs" {
|
|
|
2800
2826
|
* If the `encoding` option is specified then this function returns a
|
|
2801
2827
|
* string. Otherwise it returns a buffer.
|
|
2802
2828
|
*
|
|
2803
|
-
* Similar to {@link readFile}, when the path is a directory, the behavior of`fs.readFileSync()` is platform-specific.
|
|
2829
|
+
* Similar to {@link readFile}, when the path is a directory, the behavior of `fs.readFileSync()` is platform-specific.
|
|
2804
2830
|
*
|
|
2805
2831
|
* ```js
|
|
2806
2832
|
* import { readFileSync } from 'node:fs';
|
|
@@ -2870,7 +2896,7 @@ declare module "fs" {
|
|
|
2870
2896
|
* When `file` is a filename, asynchronously writes data to the file, replacing the
|
|
2871
2897
|
* file if it already exists. `data` can be a string or a buffer.
|
|
2872
2898
|
*
|
|
2873
|
-
* When `file` is a file descriptor, the behavior is similar to calling`fs.write()` directly (which is recommended). See the notes below on using
|
|
2899
|
+
* When `file` is a file descriptor, the behavior is similar to calling `fs.write()` directly (which is recommended). See the notes below on using
|
|
2874
2900
|
* a file descriptor.
|
|
2875
2901
|
*
|
|
2876
2902
|
* The `encoding` option is ignored if `data` is a buffer.
|
|
@@ -3119,7 +3145,7 @@ declare module "fs" {
|
|
|
3119
3145
|
* Watch for changes on `filename`. The callback `listener` will be called each
|
|
3120
3146
|
* time the file is accessed.
|
|
3121
3147
|
*
|
|
3122
|
-
* The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates
|
|
3148
|
+
* The `options` argument may be omitted. If provided, it should be an object. The `options` object may contain a boolean named `persistent` that indicates
|
|
3123
3149
|
* whether the process should continue to run as long as files are being watched.
|
|
3124
3150
|
* The `options` object may specify an `interval` property indicating how often the
|
|
3125
3151
|
* target should be polled in milliseconds.
|
|
@@ -3148,7 +3174,7 @@ declare module "fs" {
|
|
|
3148
3174
|
* again, with the latest stat objects. This is a change in functionality since
|
|
3149
3175
|
* v0.10.
|
|
3150
3176
|
*
|
|
3151
|
-
* Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible.
|
|
3177
|
+
* Using {@link watch} is more efficient than `fs.watchFile` and `fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and `fs.unwatchFile` when possible.
|
|
3152
3178
|
*
|
|
3153
3179
|
* When a file being watched by `fs.watchFile()` disappears and reappears,
|
|
3154
3180
|
* then the contents of `previous` in the second callback event (the file's
|
|
@@ -3170,7 +3196,7 @@ declare module "fs" {
|
|
|
3170
3196
|
* Watch for changes on `filename`. The callback `listener` will be called each
|
|
3171
3197
|
* time the file is accessed.
|
|
3172
3198
|
*
|
|
3173
|
-
* The `options` argument may be omitted. If provided, it should be an object. The`options` object may contain a boolean named `persistent` that indicates
|
|
3199
|
+
* The `options` argument may be omitted. If provided, it should be an object. The `options` object may contain a boolean named `persistent` that indicates
|
|
3174
3200
|
* whether the process should continue to run as long as files are being watched.
|
|
3175
3201
|
* The `options` object may specify an `interval` property indicating how often the
|
|
3176
3202
|
* target should be polled in milliseconds.
|
|
@@ -3199,7 +3225,7 @@ declare module "fs" {
|
|
|
3199
3225
|
* again, with the latest stat objects. This is a change in functionality since
|
|
3200
3226
|
* v0.10.
|
|
3201
3227
|
*
|
|
3202
|
-
* Using {@link watch} is more efficient than `fs.watchFile` and`fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and`fs.unwatchFile` when possible.
|
|
3228
|
+
* Using {@link watch} is more efficient than `fs.watchFile` and `fs.unwatchFile`. `fs.watch` should be used instead of `fs.watchFile` and `fs.unwatchFile` when possible.
|
|
3203
3229
|
*
|
|
3204
3230
|
* When a file being watched by `fs.watchFile()` disappears and reappears,
|
|
3205
3231
|
* then the contents of `previous` in the second callback event (the file's
|
|
@@ -3243,7 +3269,7 @@ declare module "fs" {
|
|
|
3243
3269
|
* Calling `fs.unwatchFile()` with a filename that is not being watched is a
|
|
3244
3270
|
* no-op, not an error.
|
|
3245
3271
|
*
|
|
3246
|
-
* Using {@link watch} is more efficient than `fs.watchFile()` and`fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()`and `fs.unwatchFile()` when possible.
|
|
3272
|
+
* Using {@link watch} is more efficient than `fs.watchFile()` and `fs.unwatchFile()`. `fs.watch()` should be used instead of `fs.watchFile()` and `fs.unwatchFile()` when possible.
|
|
3247
3273
|
* @since v0.1.31
|
|
3248
3274
|
* @param listener Optional, a listener previously attached using `fs.watchFile()`
|
|
3249
3275
|
*/
|
|
@@ -3271,7 +3297,7 @@ declare module "fs" {
|
|
|
3271
3297
|
* On most platforms, `'rename'` is emitted whenever a filename appears or
|
|
3272
3298
|
* disappears in the directory.
|
|
3273
3299
|
*
|
|
3274
|
-
* The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of`eventType`.
|
|
3300
|
+
* The listener callback is attached to the `'change'` event fired by `fs.FSWatcher`, but it is not the same thing as the `'change'` value of `eventType`.
|
|
3275
3301
|
*
|
|
3276
3302
|
* If a `signal` is passed, aborting the corresponding AbortController will close
|
|
3277
3303
|
* the returned `fs.FSWatcher`.
|
|
@@ -3331,11 +3357,11 @@ declare module "fs" {
|
|
|
3331
3357
|
* ```
|
|
3332
3358
|
*
|
|
3333
3359
|
* **The parameters for this callback are not consistent with other Node.js**
|
|
3334
|
-
* **callbacks.** Normally, the first parameter to a Node.js callback is an `err`parameter, optionally followed by other parameters. The `fs.exists()` callback
|
|
3360
|
+
* **callbacks.** Normally, the first parameter to a Node.js callback is an `err` parameter, optionally followed by other parameters. The `fs.exists()` callback
|
|
3335
3361
|
* has only one boolean parameter. This is one reason `fs.access()` is recommended
|
|
3336
3362
|
* instead of `fs.exists()`.
|
|
3337
3363
|
*
|
|
3338
|
-
* Using `fs.exists()` to check for the existence of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing
|
|
3364
|
+
* Using `fs.exists()` to check for the existence of a file before calling `fs.open()`, `fs.readFile()`, or `fs.writeFile()` is not recommended. Doing
|
|
3339
3365
|
* so introduces a race condition, since other processes may change the file's
|
|
3340
3366
|
* state between the two calls. Instead, user code should open/read/write the
|
|
3341
3367
|
* file directly and handle the error raised if the file does not exist.
|
|
@@ -3462,7 +3488,7 @@ declare module "fs" {
|
|
|
3462
3488
|
* For detailed information, see the documentation of the asynchronous version of
|
|
3463
3489
|
* this API: {@link exists}.
|
|
3464
3490
|
*
|
|
3465
|
-
* `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback`parameter to `fs.exists()` accepts parameters that are inconsistent with other
|
|
3491
|
+
* `fs.exists()` is deprecated, but `fs.existsSync()` is not. The `callback` parameter to `fs.exists()` accepts parameters that are inconsistent with other
|
|
3466
3492
|
* Node.js callbacks. `fs.existsSync()` does not use a callback.
|
|
3467
3493
|
*
|
|
3468
3494
|
* ```js
|
|
@@ -3591,13 +3617,13 @@ declare module "fs" {
|
|
|
3591
3617
|
/**
|
|
3592
3618
|
* Tests a user's permissions for the file or directory specified by `path`.
|
|
3593
3619
|
* The `mode` argument is an optional integer that specifies the accessibility
|
|
3594
|
-
* checks to be performed. `mode` should be either the value `fs.constants.F_OK`or a mask consisting of the bitwise OR of any of `fs.constants.R_OK
|
|
3620
|
+
* checks to be performed. `mode` should be either the value `fs.constants.F_OK` or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, `fs.constants.W_OK`, and `fs.constants.X_OK`
|
|
3595
3621
|
* (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
|
|
3596
3622
|
* possible values of `mode`.
|
|
3597
3623
|
*
|
|
3598
3624
|
* The final argument, `callback`, is a callback function that is invoked with
|
|
3599
3625
|
* a possible error argument. If any of the accessibility checks fail, the error
|
|
3600
|
-
* argument will be an `Error` object. The following examples check if`package.json` exists, and if it is readable or writable.
|
|
3626
|
+
* argument will be an `Error` object. The following examples check if `package.json` exists, and if it is readable or writable.
|
|
3601
3627
|
*
|
|
3602
3628
|
* ```js
|
|
3603
3629
|
* import { access, constants } from 'node:fs';
|
|
@@ -3625,7 +3651,7 @@ declare module "fs" {
|
|
|
3625
3651
|
* });
|
|
3626
3652
|
* ```
|
|
3627
3653
|
*
|
|
3628
|
-
* Do not use `fs.access()` to check for the accessibility of a file before calling`fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing
|
|
3654
|
+
* Do not use `fs.access()` to check for the accessibility of a file before calling `fs.open()`, `fs.readFile()`, or `fs.writeFile()`. Doing
|
|
3629
3655
|
* so introduces a race condition, since other processes may change the file's
|
|
3630
3656
|
* state between the two calls. Instead, user code should open/read/write the
|
|
3631
3657
|
* file directly and handle the error raised if the file is not accessible.
|
|
@@ -3765,7 +3791,7 @@ declare module "fs" {
|
|
|
3765
3791
|
/**
|
|
3766
3792
|
* Synchronously tests a user's permissions for the file or directory specified
|
|
3767
3793
|
* by `path`. The `mode` argument is an optional integer that specifies the
|
|
3768
|
-
* accessibility checks to be performed. `mode` should be either the value`fs.constants.F_OK` or a mask consisting of the bitwise OR of any of`fs.constants.R_OK`, `fs.constants.W_OK`, and
|
|
3794
|
+
* accessibility checks to be performed. `mode` should be either the value `fs.constants.F_OK` or a mask consisting of the bitwise OR of any of `fs.constants.R_OK`, `fs.constants.W_OK`, and
|
|
3769
3795
|
* `fs.constants.X_OK` (e.g.`fs.constants.W_OK | fs.constants.R_OK`). Check `File access constants` for
|
|
3770
3796
|
* possible values of `mode`.
|
|
3771
3797
|
*
|
|
@@ -3839,8 +3865,8 @@ declare module "fs" {
|
|
|
3839
3865
|
* By default, the stream will emit a `'close'` event after it has been
|
|
3840
3866
|
* destroyed. Set the `emitClose` option to `false` to change this behavior.
|
|
3841
3867
|
*
|
|
3842
|
-
* By providing the `fs` option, it is possible to override the corresponding `fs`implementations for `open`, `read`, and `close`. When providing the `fs` option,
|
|
3843
|
-
* an override for `read` is required. If no `fd` is provided, an override for`open` is also required. If `autoClose` is `true`, an override for `close` is
|
|
3868
|
+
* By providing the `fs` option, it is possible to override the corresponding `fs` implementations for `open`, `read`, and `close`. When providing the `fs` option,
|
|
3869
|
+
* an override for `read` is required. If no `fd` is provided, an override for `open` is also required. If `autoClose` is `true`, an override for `close` is
|
|
3844
3870
|
* also required.
|
|
3845
3871
|
*
|
|
3846
3872
|
* ```js
|
|
@@ -3888,7 +3914,7 @@ declare module "fs" {
|
|
|
3888
3914
|
* replacing it may require the `flags` option to be set to `r+` rather than the
|
|
3889
3915
|
* default `w`. The `encoding` can be any one of those accepted by `Buffer`.
|
|
3890
3916
|
*
|
|
3891
|
-
* If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`the file descriptor will be closed automatically. If `autoClose` is false,
|
|
3917
|
+
* If `autoClose` is set to true (default behavior) on `'error'` or `'finish'` the file descriptor will be closed automatically. If `autoClose` is false,
|
|
3892
3918
|
* then the file descriptor won't be closed, even if there's an error.
|
|
3893
3919
|
* It is the application's responsibility to close it and make sure there's no
|
|
3894
3920
|
* file descriptor leak.
|
|
@@ -3896,12 +3922,12 @@ declare module "fs" {
|
|
|
3896
3922
|
* By default, the stream will emit a `'close'` event after it has been
|
|
3897
3923
|
* destroyed. Set the `emitClose` option to `false` to change this behavior.
|
|
3898
3924
|
*
|
|
3899
|
-
* By providing the `fs` option it is possible to override the corresponding `fs`implementations for `open`, `write`, `writev`, and `close`. Overriding `write()`without `writev()` can reduce
|
|
3925
|
+
* By providing the `fs` option it is possible to override the corresponding `fs` implementations for `open`, `write`, `writev`, and `close`. Overriding `write()` without `writev()` can reduce
|
|
3900
3926
|
* performance as some optimizations (`_writev()`)
|
|
3901
|
-
* will be disabled. When providing the `fs` option, overrides for at least one of`write` and `writev` are required. If no `fd` option is supplied, an override
|
|
3902
|
-
* for `open` is also required. If `autoClose` is `true`, an override for `close`is also required.
|
|
3927
|
+
* will be disabled. When providing the `fs` option, overrides for at least one of `write` and `writev` are required. If no `fd` option is supplied, an override
|
|
3928
|
+
* for `open` is also required. If `autoClose` is `true`, an override for `close` is also required.
|
|
3903
3929
|
*
|
|
3904
|
-
* Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the`path` argument and will use the specified file descriptor. This means that no`'open'` event will be
|
|
3930
|
+
* Like `fs.ReadStream`, if `fd` is specified, `fs.WriteStream` will ignore the `path` argument and will use the specified file descriptor. This means that no `'open'` event will be
|
|
3905
3931
|
* emitted. `fd` should be blocking; non-blocking `fd`s
|
|
3906
3932
|
* should be passed to `net.Socket`.
|
|
3907
3933
|
*
|
|
@@ -4010,15 +4036,15 @@ declare module "fs" {
|
|
|
4010
4036
|
*/
|
|
4011
4037
|
export function copyFileSync(src: PathLike, dest: PathLike, mode?: number): void;
|
|
4012
4038
|
/**
|
|
4013
|
-
* Write an array of `ArrayBufferView`s to the file specified by `fd` using`writev()`.
|
|
4039
|
+
* Write an array of `ArrayBufferView`s to the file specified by `fd` using `writev()`.
|
|
4014
4040
|
*
|
|
4015
4041
|
* `position` is the offset from the beginning of the file where this data
|
|
4016
4042
|
* should be written. If `typeof position !== 'number'`, the data will be written
|
|
4017
4043
|
* at the current position.
|
|
4018
4044
|
*
|
|
4019
|
-
* The callback will be given three arguments: `err`, `bytesWritten`, and`buffers`. `bytesWritten` is how many bytes were written from `buffers`.
|
|
4045
|
+
* The callback will be given three arguments: `err`, `bytesWritten`, and `buffers`. `bytesWritten` is how many bytes were written from `buffers`.
|
|
4020
4046
|
*
|
|
4021
|
-
* If this method is `util.promisify()` ed, it returns a promise for an`Object` with `bytesWritten` and `buffers` properties.
|
|
4047
|
+
* If this method is `util.promisify()` ed, it returns a promise for an `Object` with `bytesWritten` and `buffers` properties.
|
|
4022
4048
|
*
|
|
4023
4049
|
* It is unsafe to use `fs.writev()` multiple times on the same file without
|
|
4024
4050
|
* waiting for the callback. For this scenario, use {@link createWriteStream}.
|
|
@@ -4067,7 +4093,7 @@ declare module "fs" {
|
|
|
4067
4093
|
* should be read. If `typeof position !== 'number'`, the data will be read
|
|
4068
4094
|
* from the current position.
|
|
4069
4095
|
*
|
|
4070
|
-
* The callback will be given three arguments: `err`, `bytesRead`, and`buffers`. `bytesRead` is how many bytes were read from the file.
|
|
4096
|
+
* The callback will be given three arguments: `err`, `bytesRead`, and `buffers`. `bytesRead` is how many bytes were read from the file.
|
|
4071
4097
|
*
|
|
4072
4098
|
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
4073
4099
|
* a promise for an `Object` with `bytesRead` and `buffers` properties.
|
|
@@ -96,6 +96,7 @@ declare global {
|
|
|
96
96
|
new(): AbortSignal;
|
|
97
97
|
abort(reason?: any): AbortSignal;
|
|
98
98
|
timeout(milliseconds: number): AbortSignal;
|
|
99
|
+
any(signals: AbortSignal[]): AbortSignal;
|
|
99
100
|
};
|
|
100
101
|
// #endregion borrowed
|
|
101
102
|
|
|
@@ -234,6 +235,32 @@ declare global {
|
|
|
234
235
|
* Is this a constructor call?
|
|
235
236
|
*/
|
|
236
237
|
isConstructor(): boolean;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* is this an async call (i.e. await, Promise.all(), or Promise.any())?
|
|
241
|
+
*/
|
|
242
|
+
isAsync(): boolean;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* is this an async call to Promise.all()?
|
|
246
|
+
*/
|
|
247
|
+
isPromiseAll(): boolean;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* returns the index of the promise element that was followed in
|
|
251
|
+
* Promise.all() or Promise.any() for async stack traces, or null
|
|
252
|
+
* if the CallSite is not an async
|
|
253
|
+
*/
|
|
254
|
+
getPromiseIndex(): number | null;
|
|
255
|
+
|
|
256
|
+
getScriptNameOrSourceURL(): string;
|
|
257
|
+
getScriptHash(): string;
|
|
258
|
+
|
|
259
|
+
getEnclosingColumnNumber(): number;
|
|
260
|
+
getEnclosingLineNumber(): number;
|
|
261
|
+
getPosition(): number;
|
|
262
|
+
|
|
263
|
+
toString(): string;
|
|
237
264
|
}
|
|
238
265
|
|
|
239
266
|
interface ErrnoException extends Error {
|