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
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
* // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74].
|
|
42
42
|
* const buf7 = Buffer.from('tést', 'latin1');
|
|
43
43
|
* ```
|
|
44
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.
|
|
44
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/buffer.js)
|
|
45
45
|
*/
|
|
46
46
|
declare module "buffer" {
|
|
47
47
|
import { BinaryLike } from "node:crypto";
|
|
@@ -88,7 +88,7 @@ declare module "buffer" {
|
|
|
88
88
|
* Throws if the `fromEnc` or `toEnc` specify invalid character encodings or if
|
|
89
89
|
* conversion from `fromEnc` to `toEnc` is not permitted.
|
|
90
90
|
*
|
|
91
|
-
* Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'
|
|
91
|
+
* Encodings supported by `buffer.transcode()` are: `'ascii'`, `'utf8'`, `'utf16le'`, `'ucs2'`, `'latin1'`, and `'binary'`.
|
|
92
92
|
*
|
|
93
93
|
* The transcoding process will use substitution characters if a given byte
|
|
94
94
|
* sequence cannot be adequately represented in the target encoding. For instance:
|
|
@@ -128,9 +128,10 @@ declare module "buffer" {
|
|
|
128
128
|
*/
|
|
129
129
|
export interface BlobOptions {
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* One of either `'transparent'` or `'native'`. When set to `'native'`, line endings in string source parts
|
|
132
|
+
* will be converted to the platform native line-ending as specified by `require('node:os').EOL`.
|
|
132
133
|
*/
|
|
133
|
-
|
|
134
|
+
endings?: "transparent" | "native";
|
|
134
135
|
/**
|
|
135
136
|
* The Blob content-type. The intent is for `type` to convey
|
|
136
137
|
* the MIME media type of the data, however no validation of the type format
|
|
@@ -162,7 +163,7 @@ declare module "buffer" {
|
|
|
162
163
|
*
|
|
163
164
|
* String sources are also copied into the `Blob`.
|
|
164
165
|
*/
|
|
165
|
-
constructor(sources: Array<BinaryLike | Blob>, options?: BlobOptions);
|
|
166
|
+
constructor(sources: Array<ArrayBuffer | BinaryLike | Blob>, options?: BlobOptions);
|
|
166
167
|
/**
|
|
167
168
|
* Returns a promise that fulfills with an [ArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) containing a copy of
|
|
168
169
|
* the `Blob` data.
|
|
@@ -310,12 +311,12 @@ declare module "buffer" {
|
|
|
310
311
|
*
|
|
311
312
|
* If `array` is an `Array`\-like object (that is, one with a `length` property of
|
|
312
313
|
* type `number`), it is treated as if it is an array, unless it is a `Buffer` or
|
|
313
|
-
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an`Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`.
|
|
314
|
+
* a `Uint8Array`. This means all other `TypedArray` variants get treated as an `Array`. To create a `Buffer` from the bytes backing a `TypedArray`, use `Buffer.copyBytesFrom()`.
|
|
314
315
|
*
|
|
315
316
|
* A `TypeError` will be thrown if `array` is not an `Array` or another type
|
|
316
317
|
* appropriate for `Buffer.from()` variants.
|
|
317
318
|
*
|
|
318
|
-
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal`Buffer` pool like `Buffer.allocUnsafe()` does.
|
|
319
|
+
* `Buffer.from(array)` and `Buffer.from(string)` may also use the internal `Buffer` pool like `Buffer.allocUnsafe()` does.
|
|
319
320
|
* @since v5.10.0
|
|
320
321
|
*/
|
|
321
322
|
from(
|
|
@@ -415,13 +416,13 @@ declare module "buffer" {
|
|
|
415
416
|
* @return The number of bytes contained within `string`.
|
|
416
417
|
*/
|
|
417
418
|
byteLength(
|
|
418
|
-
string: string | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer,
|
|
419
|
+
string: string | Buffer | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer,
|
|
419
420
|
encoding?: BufferEncoding,
|
|
420
421
|
): number;
|
|
421
422
|
/**
|
|
422
|
-
* Returns a new `Buffer` which is the result of concatenating all the `Buffer`instances in the `list` together.
|
|
423
|
+
* Returns a new `Buffer` which is the result of concatenating all the `Buffer` instances in the `list` together.
|
|
423
424
|
*
|
|
424
|
-
* If the list has no items, or if the `totalLength` is 0, then a new zero-length`Buffer` is returned.
|
|
425
|
+
* If the list has no items, or if the `totalLength` is 0, then a new zero-length `Buffer` is returned.
|
|
425
426
|
*
|
|
426
427
|
* If `totalLength` is not provided, it is calculated from the `Buffer` instances
|
|
427
428
|
* in `list` by adding their lengths.
|
|
@@ -470,12 +471,12 @@ declare module "buffer" {
|
|
|
470
471
|
* ```
|
|
471
472
|
* @since v19.8.0
|
|
472
473
|
* @param view The {TypedArray} to copy.
|
|
473
|
-
* @param [offset=
|
|
474
|
+
* @param [offset=0] The starting offset within `view`.
|
|
474
475
|
* @param [length=view.length - offset] The number of elements from `view` to copy.
|
|
475
476
|
*/
|
|
476
477
|
copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer;
|
|
477
478
|
/**
|
|
478
|
-
* Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
|
|
479
|
+
* Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of `Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
|
|
479
480
|
*
|
|
480
481
|
* ```js
|
|
481
482
|
* import { Buffer } from 'node:buffer';
|
|
@@ -563,8 +564,8 @@ declare module "buffer" {
|
|
|
563
564
|
* A `TypeError` will be thrown if `size` is not a number.
|
|
564
565
|
*
|
|
565
566
|
* The `Buffer` module pre-allocates an internal `Buffer` instance of
|
|
566
|
-
* size `Buffer.poolSize` that is used as a pool for the fast allocation of new`Buffer` instances created using `Buffer.allocUnsafe()`, `Buffer.from(array)`,
|
|
567
|
-
* and `Buffer.concat()` only when `size` is less than
|
|
567
|
+
* size `Buffer.poolSize` that is used as a pool for the fast allocation of new `Buffer` instances created using `Buffer.allocUnsafe()`, `Buffer.from(array)`,
|
|
568
|
+
* and `Buffer.concat()` only when `size` is less than `Buffer.poolSize >>> 1` (floor of `Buffer.poolSize` divided by two).
|
|
568
569
|
*
|
|
569
570
|
* Use of this pre-allocated internal memory pool is a key difference between
|
|
570
571
|
* calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`.
|
|
@@ -780,7 +781,7 @@ declare module "buffer" {
|
|
|
780
781
|
* // (This result is equal to: [buf1, buf3, buf2].)
|
|
781
782
|
* ```
|
|
782
783
|
*
|
|
783
|
-
* The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively.
|
|
784
|
+
* The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd` arguments can be used to limit the comparison to specific ranges within `target` and `buf` respectively.
|
|
784
785
|
*
|
|
785
786
|
* ```js
|
|
786
787
|
* import { Buffer } from 'node:buffer';
|
|
@@ -796,7 +797,7 @@ declare module "buffer" {
|
|
|
796
797
|
* // Prints: 1
|
|
797
798
|
* ```
|
|
798
799
|
*
|
|
799
|
-
* `ERR_OUT_OF_RANGE` is thrown if `targetStart < 0`, `sourceStart < 0
|
|
800
|
+
* `ERR_OUT_OF_RANGE` is thrown if `targetStart < 0`, `sourceStart < 0`, `targetEnd > target.byteLength`, or `sourceEnd > source.byteLength`.
|
|
800
801
|
* @since v0.11.13
|
|
801
802
|
* @param target A `Buffer` or {@link Uint8Array} with which to compare `buf`.
|
|
802
803
|
* @param [targetStart=0] The offset within `target` at which to begin comparison.
|
|
@@ -1214,7 +1215,7 @@ declare module "buffer" {
|
|
|
1214
1215
|
*/
|
|
1215
1216
|
readBigInt64LE(offset?: number): bigint;
|
|
1216
1217
|
/**
|
|
1217
|
-
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned, little-endian integer supporting
|
|
1218
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an unsigned, little-endian integer supporting
|
|
1218
1219
|
* up to 48 bits of accuracy.
|
|
1219
1220
|
*
|
|
1220
1221
|
* This function is also available under the `readUintLE` alias.
|
|
@@ -1238,7 +1239,7 @@ declare module "buffer" {
|
|
|
1238
1239
|
*/
|
|
1239
1240
|
readUintLE(offset: number, byteLength: number): number;
|
|
1240
1241
|
/**
|
|
1241
|
-
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting
|
|
1242
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an unsigned big-endian integer supporting
|
|
1242
1243
|
* up to 48 bits of accuracy.
|
|
1243
1244
|
*
|
|
1244
1245
|
* This function is also available under the `readUintBE` alias.
|
|
@@ -1264,7 +1265,7 @@ declare module "buffer" {
|
|
|
1264
1265
|
*/
|
|
1265
1266
|
readUintBE(offset: number, byteLength: number): number;
|
|
1266
1267
|
/**
|
|
1267
|
-
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value
|
|
1268
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a little-endian, two's complement signed value
|
|
1268
1269
|
* supporting up to 48 bits of accuracy.
|
|
1269
1270
|
*
|
|
1270
1271
|
* ```js
|
|
@@ -1281,7 +1282,7 @@ declare module "buffer" {
|
|
|
1281
1282
|
*/
|
|
1282
1283
|
readIntLE(offset: number, byteLength: number): number;
|
|
1283
1284
|
/**
|
|
1284
|
-
* Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a big-endian, two's complement signed value
|
|
1285
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a big-endian, two's complement signed value
|
|
1285
1286
|
* supporting up to 48 bits of accuracy.
|
|
1286
1287
|
*
|
|
1287
1288
|
* ```js
|
|
@@ -1328,7 +1329,7 @@ declare module "buffer" {
|
|
|
1328
1329
|
*/
|
|
1329
1330
|
readUint8(offset?: number): number;
|
|
1330
1331
|
/**
|
|
1331
|
-
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`.
|
|
1332
|
+
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`.
|
|
1332
1333
|
*
|
|
1333
1334
|
* This function is also available under the `readUint16LE` alias.
|
|
1334
1335
|
*
|
|
@@ -1701,7 +1702,7 @@ declare module "buffer" {
|
|
|
1701
1702
|
*/
|
|
1702
1703
|
writeUint8(value: number, offset?: number): number;
|
|
1703
1704
|
/**
|
|
1704
|
-
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is
|
|
1705
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is
|
|
1705
1706
|
* anything other than an unsigned 16-bit integer.
|
|
1706
1707
|
*
|
|
1707
1708
|
* This function is also available under the `writeUint16LE` alias.
|
|
@@ -1729,7 +1730,7 @@ declare module "buffer" {
|
|
|
1729
1730
|
*/
|
|
1730
1731
|
writeUint16LE(value: number, offset?: number): number;
|
|
1731
1732
|
/**
|
|
1732
|
-
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1733
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1733
1734
|
* unsigned 16-bit integer.
|
|
1734
1735
|
*
|
|
1735
1736
|
* This function is also available under the `writeUint16BE` alias.
|
|
@@ -1757,7 +1758,7 @@ declare module "buffer" {
|
|
|
1757
1758
|
*/
|
|
1758
1759
|
writeUint16BE(value: number, offset?: number): number;
|
|
1759
1760
|
/**
|
|
1760
|
-
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is
|
|
1761
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is
|
|
1761
1762
|
* anything other than an unsigned 32-bit integer.
|
|
1762
1763
|
*
|
|
1763
1764
|
* This function is also available under the `writeUint32LE` alias.
|
|
@@ -1784,7 +1785,7 @@ declare module "buffer" {
|
|
|
1784
1785
|
*/
|
|
1785
1786
|
writeUint32LE(value: number, offset?: number): number;
|
|
1786
1787
|
/**
|
|
1787
|
-
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1788
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an
|
|
1788
1789
|
* unsigned 32-bit integer.
|
|
1789
1790
|
*
|
|
1790
1791
|
* This function is also available under the `writeUint32BE` alias.
|
|
@@ -1835,7 +1836,7 @@ declare module "buffer" {
|
|
|
1835
1836
|
*/
|
|
1836
1837
|
writeInt8(value: number, offset?: number): number;
|
|
1837
1838
|
/**
|
|
1838
|
-
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is
|
|
1839
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `value` is
|
|
1839
1840
|
* anything other than a signed 16-bit integer.
|
|
1840
1841
|
*
|
|
1841
1842
|
* The `value` is interpreted and written as a two's complement signed integer.
|
|
@@ -1857,7 +1858,7 @@ declare module "buffer" {
|
|
|
1857
1858
|
*/
|
|
1858
1859
|
writeInt16LE(value: number, offset?: number): number;
|
|
1859
1860
|
/**
|
|
1860
|
-
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 16-bit integer. Behavior is undefined when `value` is
|
|
1861
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit integer. Behavior is undefined when `value` is
|
|
1861
1862
|
* anything other than a signed 16-bit integer.
|
|
1862
1863
|
*
|
|
1863
1864
|
* The `value` is interpreted and written as a two's complement signed integer.
|
|
@@ -1879,7 +1880,7 @@ declare module "buffer" {
|
|
|
1879
1880
|
*/
|
|
1880
1881
|
writeInt16BE(value: number, offset?: number): number;
|
|
1881
1882
|
/**
|
|
1882
|
-
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is
|
|
1883
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `value` is
|
|
1883
1884
|
* anything other than a signed 32-bit integer.
|
|
1884
1885
|
*
|
|
1885
1886
|
* The `value` is interpreted and written as a two's complement signed integer.
|
|
@@ -1901,7 +1902,7 @@ declare module "buffer" {
|
|
|
1901
1902
|
*/
|
|
1902
1903
|
writeInt32LE(value: number, offset?: number): number;
|
|
1903
1904
|
/**
|
|
1904
|
-
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid signed 32-bit integer. Behavior is undefined when `value` is
|
|
1905
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit integer. Behavior is undefined when `value` is
|
|
1905
1906
|
* anything other than a signed 32-bit integer.
|
|
1906
1907
|
*
|
|
1907
1908
|
* The `value` is interpreted and written as a two's complement signed integer.
|
|
@@ -1963,7 +1964,7 @@ declare module "buffer" {
|
|
|
1963
1964
|
*/
|
|
1964
1965
|
writeFloatBE(value: number, offset?: number): number;
|
|
1965
1966
|
/**
|
|
1966
|
-
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything
|
|
1967
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is anything
|
|
1967
1968
|
* other than a JavaScript number.
|
|
1968
1969
|
*
|
|
1969
1970
|
* ```js
|
|
@@ -1983,7 +1984,7 @@ declare module "buffer" {
|
|
|
1983
1984
|
*/
|
|
1984
1985
|
writeDoubleLE(value: number, offset?: number): number;
|
|
1985
1986
|
/**
|
|
1986
|
-
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a JavaScript number. Behavior is undefined when `value` is anything
|
|
1987
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a JavaScript number. Behavior is undefined when `value` is anything
|
|
1987
1988
|
* other than a JavaScript number.
|
|
1988
1989
|
*
|
|
1989
1990
|
* ```js
|
|
@@ -2065,7 +2066,7 @@ declare module "buffer" {
|
|
|
2065
2066
|
/**
|
|
2066
2067
|
* If `value` is:
|
|
2067
2068
|
*
|
|
2068
|
-
* * a string, `value` is interpreted according to the character encoding in`encoding`.
|
|
2069
|
+
* * a string, `value` is interpreted according to the character encoding in `encoding`.
|
|
2069
2070
|
* * a `Buffer` or [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array), `value` will be used in its entirety.
|
|
2070
2071
|
* To compare a partial `Buffer`, use `buf.subarray`.
|
|
2071
2072
|
* * a number, `value` will be interpreted as an unsigned 8-bit integer
|
|
@@ -2097,7 +2098,7 @@ declare module "buffer" {
|
|
|
2097
2098
|
* // Prints: 6
|
|
2098
2099
|
* ```
|
|
2099
2100
|
*
|
|
2100
|
-
* If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value,
|
|
2101
|
+
* If `value` is not a string, number, or `Buffer`, this method will throw a `TypeError`. If `value` is a number, it will be coerced to a valid byte value,
|
|
2101
2102
|
* an integer between 0 and 255.
|
|
2102
2103
|
*
|
|
2103
2104
|
* If `byteOffset` is not a number, it will be coerced to a number. If the result
|
|
@@ -2163,7 +2164,7 @@ declare module "buffer" {
|
|
|
2163
2164
|
* // Prints: 4
|
|
2164
2165
|
* ```
|
|
2165
2166
|
*
|
|
2166
|
-
* If `value` is not a string, number, or `Buffer`, this method will throw a`TypeError`. If `value` is a number, it will be coerced to a valid byte value,
|
|
2167
|
+
* If `value` is not a string, number, or `Buffer`, this method will throw a `TypeError`. If `value` is a number, it will be coerced to a valid byte value,
|
|
2167
2168
|
* an integer between 0 and 255.
|
|
2168
2169
|
*
|
|
2169
2170
|
* If `byteOffset` is not a number, it will be coerced to a number. Any arguments
|
|
@@ -2322,7 +2323,7 @@ declare module "buffer" {
|
|
|
2322
2323
|
* **and should never be used in new code, because they use strings to represent**
|
|
2323
2324
|
* **binary data and predate the introduction of typed arrays in JavaScript.**
|
|
2324
2325
|
* **For code running using Node.js APIs, converting between base64-encoded strings**
|
|
2325
|
-
* **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
|
|
2326
|
+
* **and binary data should be performed using `Buffer.from(str, 'base64')` and `buf.toString('base64')`.**
|
|
2326
2327
|
* @since v15.13.0, v14.17.0
|
|
2327
2328
|
* @legacy Use `Buffer.from(data, 'base64')` instead.
|
|
2328
2329
|
* @param data The Base64-encoded input string.
|
|
@@ -2338,7 +2339,7 @@ declare module "buffer" {
|
|
|
2338
2339
|
* **and should never be used in new code, because they use strings to represent**
|
|
2339
2340
|
* **binary data and predate the introduction of typed arrays in JavaScript.**
|
|
2340
2341
|
* **For code running using Node.js APIs, converting between base64-encoded strings**
|
|
2341
|
-
* **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
|
|
2342
|
+
* **and binary data should be performed using `Buffer.from(str, 'base64')` and `buf.toString('base64')`.**
|
|
2342
2343
|
* @since v15.13.0, v14.17.0
|
|
2343
2344
|
* @legacy Use `buf.toString('base64')` instead.
|
|
2344
2345
|
* @param data An ASCII (Latin1) string.
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* limited (and platform-specific) capacity. If the subprocess writes to
|
|
26
26
|
* stdout in excess of that limit without the output being captured, the
|
|
27
27
|
* subprocess blocks waiting for the pipe buffer to accept more data. This is
|
|
28
|
-
* identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`option if the output will not be consumed.
|
|
28
|
+
* identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }` option if the output will not be consumed.
|
|
29
29
|
*
|
|
30
30
|
* The command lookup is performed using the `options.env.PATH` environment
|
|
31
31
|
* variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
* lexicographically sorts the `env` keys and uses the first one that
|
|
39
39
|
* case-insensitively matches. Only first (in lexicographic order) entry will be
|
|
40
40
|
* passed to the subprocess. This might lead to issues on Windows when passing
|
|
41
|
-
* objects to the `env` option that have multiple variants of the same key, such as`PATH` and `Path`.
|
|
41
|
+
* objects to the `env` option that have multiple variants of the same key, such as `PATH` and `Path`.
|
|
42
42
|
*
|
|
43
43
|
* The {@link spawn} method spawns the child process asynchronously,
|
|
44
44
|
* without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks
|
|
@@ -63,16 +63,17 @@
|
|
|
63
63
|
* For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
|
|
64
64
|
* the synchronous methods can have significant impact on performance due to
|
|
65
65
|
* stalling the event loop while spawned processes complete.
|
|
66
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.
|
|
66
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/child_process.js)
|
|
67
67
|
*/
|
|
68
68
|
declare module "child_process" {
|
|
69
69
|
import { ObjectEncodingOptions } from "node:fs";
|
|
70
70
|
import { Abortable, EventEmitter } from "node:events";
|
|
71
|
+
import * as dgram from "node:dgram";
|
|
71
72
|
import * as net from "node:net";
|
|
72
73
|
import { Pipe, Readable, Stream, Writable } from "node:stream";
|
|
73
74
|
import { URL } from "node:url";
|
|
74
75
|
type Serializable = string | object | number | boolean | bigint;
|
|
75
|
-
type SendHandle = net.Socket | net.Server;
|
|
76
|
+
type SendHandle = net.Socket | net.Server | dgram.Socket | undefined;
|
|
76
77
|
/**
|
|
77
78
|
* Instances of the `ChildProcess` represent spawned child processes.
|
|
78
79
|
*
|
|
@@ -94,7 +95,7 @@ declare module "child_process" {
|
|
|
94
95
|
* `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
|
|
95
96
|
* refer to the same value.
|
|
96
97
|
*
|
|
97
|
-
* The `subprocess.stdin` property can be `null` or `undefined`if the child process could not be successfully spawned.
|
|
98
|
+
* The `subprocess.stdin` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
98
99
|
* @since v0.1.90
|
|
99
100
|
*/
|
|
100
101
|
stdin: Writable | null;
|
|
@@ -117,7 +118,7 @@ declare module "child_process" {
|
|
|
117
118
|
* });
|
|
118
119
|
* ```
|
|
119
120
|
*
|
|
120
|
-
* The `subprocess.stdout` property can be `null` or `undefined`if the child process could not be successfully spawned.
|
|
121
|
+
* The `subprocess.stdout` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
121
122
|
* @since v0.1.90
|
|
122
123
|
*/
|
|
123
124
|
stdout: Readable | null;
|
|
@@ -130,7 +131,7 @@ declare module "child_process" {
|
|
|
130
131
|
* `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
|
|
131
132
|
* refer to the same value.
|
|
132
133
|
*
|
|
133
|
-
* The `subprocess.stderr` property can be `null` or `undefined`if the child process could not be successfully spawned.
|
|
134
|
+
* The `subprocess.stderr` property can be `null` or `undefined` if the child process could not be successfully spawned.
|
|
134
135
|
* @since v0.1.90
|
|
135
136
|
*/
|
|
136
137
|
stderr: Readable | null;
|
|
@@ -143,7 +144,7 @@ declare module "child_process" {
|
|
|
143
144
|
/**
|
|
144
145
|
* A sparse array of pipes to the child process, corresponding with positions in
|
|
145
146
|
* the `stdio` option passed to {@link spawn} that have been set
|
|
146
|
-
* to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and`subprocess.stdio[2]` are also available as `subprocess.stdin
|
|
147
|
+
* to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and `subprocess.stdio[2]` are also available as `subprocess.stdin`, `subprocess.stdout`, and `subprocess.stderr`,
|
|
147
148
|
* respectively.
|
|
148
149
|
*
|
|
149
150
|
* In the following example, only the child's fd `1` (stdout) is configured as a
|
|
@@ -212,7 +213,7 @@ declare module "child_process" {
|
|
|
212
213
|
readonly pid?: number | undefined;
|
|
213
214
|
/**
|
|
214
215
|
* The `subprocess.connected` property indicates whether it is still possible to
|
|
215
|
-
* send and receive messages from a child process. When `subprocess.connected` is`false`, it is no longer possible to send or receive messages.
|
|
216
|
+
* send and receive messages from a child process. When `subprocess.connected` is `false`, it is no longer possible to send or receive messages.
|
|
216
217
|
* @since v0.7.2
|
|
217
218
|
*/
|
|
218
219
|
readonly connected: boolean;
|
|
@@ -272,7 +273,7 @@ declare module "child_process" {
|
|
|
272
273
|
* See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference.
|
|
273
274
|
*
|
|
274
275
|
* On Windows, where POSIX signals do not exist, the `signal` argument will be
|
|
275
|
-
* ignored, and the process will be killed forcefully and abruptly (similar to`'SIGKILL'`).
|
|
276
|
+
* ignored, and the process will be killed forcefully and abruptly (similar to `'SIGKILL'`).
|
|
276
277
|
* See `Signal Events` for more details.
|
|
277
278
|
*
|
|
278
279
|
* On Linux, child processes of child processes will not be terminated
|
|
@@ -346,20 +347,20 @@ declare module "child_process" {
|
|
|
346
347
|
*
|
|
347
348
|
* There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
|
|
348
349
|
* containing a `NODE_` prefix in the `cmd` property are reserved for use within
|
|
349
|
-
* Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the`'internalMessage'` event and are consumed internally by Node.js.
|
|
350
|
-
* Applications should avoid using such messages or listening for`'internalMessage'` events as it is subject to change without notice.
|
|
350
|
+
* Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the `'internalMessage'` event and are consumed internally by Node.js.
|
|
351
|
+
* Applications should avoid using such messages or listening for `'internalMessage'` events as it is subject to change without notice.
|
|
351
352
|
*
|
|
352
353
|
* The optional `sendHandle` argument that may be passed to `subprocess.send()` is
|
|
353
354
|
* for passing a TCP server or socket object to the child process. The child will
|
|
354
355
|
* receive the object as the second argument passed to the callback function
|
|
355
|
-
* registered on the `'message'` event. Any data that is received
|
|
356
|
-
*
|
|
356
|
+
* registered on the `'message'` event. Any data that is received and buffered in
|
|
357
|
+
* the socket will not be sent to the child. Sending IPC sockets is not supported on Windows.
|
|
357
358
|
*
|
|
358
359
|
* The optional `callback` is a function that is invoked after the message is
|
|
359
360
|
* sent but before the child may have received it. The function is called with a
|
|
360
361
|
* single argument: `null` on success, or an `Error` object on failure.
|
|
361
362
|
*
|
|
362
|
-
* If no `callback` function is provided and the message cannot be sent, an`'error'` event will be emitted by the `ChildProcess` object. This can
|
|
363
|
+
* If no `callback` function is provided and the message cannot be sent, an `'error'` event will be emitted by the `ChildProcess` object. This can
|
|
363
364
|
* happen, for instance, when the child process has already exited.
|
|
364
365
|
*
|
|
365
366
|
* `subprocess.send()` will return `false` if the channel has closed or when the
|
|
@@ -400,8 +401,8 @@ declare module "child_process" {
|
|
|
400
401
|
* Once the server is now shared between the parent and child, some connections
|
|
401
402
|
* can be handled by the parent and some by the child.
|
|
402
403
|
*
|
|
403
|
-
* While the example above uses a server created using the `node:net` module
|
|
404
|
-
* listening on a `'message'` event instead of `'connection'` and using`server.bind()` instead of `server.listen()`. This is, however, only
|
|
404
|
+
* While the example above uses a server created using the `node:net` module, `node:dgram` module servers use exactly the same workflow with the exceptions of
|
|
405
|
+
* listening on a `'message'` event instead of `'connection'` and using `server.bind()` instead of `server.listen()`. This is, however, only
|
|
405
406
|
* supported on Unix platforms.
|
|
406
407
|
*
|
|
407
408
|
* #### Example: sending a socket object
|
|
@@ -454,6 +455,7 @@ declare module "child_process" {
|
|
|
454
455
|
* as the connection may have been closed during the time it takes to send the
|
|
455
456
|
* connection to the child.
|
|
456
457
|
* @since v0.5.9
|
|
458
|
+
* @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-v20.x/api/net.html#class-netsocket), [`net.Server`](https://nodejs.org/docs/latest-v20.x/api/net.html#class-netserver), or [`dgram.Socket`](https://nodejs.org/docs/latest-v20.x/api/dgram.html#class-dgramsocket) object.
|
|
457
459
|
* @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
|
|
458
460
|
*/
|
|
459
461
|
send(message: Serializable, callback?: (error: Error | null) => void): boolean;
|
|
@@ -482,7 +484,7 @@ declare module "child_process" {
|
|
|
482
484
|
disconnect(): void;
|
|
483
485
|
/**
|
|
484
486
|
* By default, the parent will wait for the detached child to exit. To prevent the
|
|
485
|
-
* parent from waiting for a given `subprocess` to exit, use the`subprocess.unref()` method. Doing so will cause the parent's event loop to not
|
|
487
|
+
* parent from waiting for a given `subprocess` to exit, use the `subprocess.unref()` method. Doing so will cause the parent's event loop to not
|
|
486
488
|
* include the child in its reference count, allowing the parent to exit
|
|
487
489
|
* independently of the child, unless there is an established IPC channel between
|
|
488
490
|
* the child and the parent.
|
|
@@ -678,7 +680,7 @@ declare module "child_process" {
|
|
|
678
680
|
stdio: [Stdin, Stdout, Stderr];
|
|
679
681
|
}
|
|
680
682
|
/**
|
|
681
|
-
* The `child_process.spawn()` method spawns a new process using the given`command`, with command-line arguments in `args`. If omitted, `args` defaults
|
|
683
|
+
* The `child_process.spawn()` method spawns a new process using the given `command`, with command-line arguments in `args`. If omitted, `args` defaults
|
|
682
684
|
* to an empty array.
|
|
683
685
|
*
|
|
684
686
|
* **If the `shell` option is enabled, do not pass unsanitized user input to this**
|
|
@@ -776,10 +778,10 @@ declare module "child_process" {
|
|
|
776
778
|
* Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process
|
|
777
779
|
* title while others (Windows, SunOS) will use `command`.
|
|
778
780
|
*
|
|
779
|
-
* Node.js overwrites `argv[0]` with `process.execPath` on startup, so`process.argv[0]` in a Node.js child process will not match the `argv0`parameter passed to `spawn` from the parent. Retrieve
|
|
780
|
-
* it with the`process.argv0` property instead.
|
|
781
|
+
* Node.js overwrites `argv[0]` with `process.execPath` on startup, so `process.argv[0]` in a Node.js child process will not match the `argv0` parameter passed to `spawn` from the parent. Retrieve
|
|
782
|
+
* it with the `process.argv0` property instead.
|
|
781
783
|
*
|
|
782
|
-
* If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
|
|
784
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
783
785
|
* the error passed to the callback will be an `AbortError`:
|
|
784
786
|
*
|
|
785
787
|
* ```js
|
|
@@ -894,6 +896,8 @@ declare module "child_process" {
|
|
|
894
896
|
killed?: boolean | undefined;
|
|
895
897
|
code?: number | undefined;
|
|
896
898
|
signal?: NodeJS.Signals | undefined;
|
|
899
|
+
stdout?: string;
|
|
900
|
+
stderr?: string;
|
|
897
901
|
}
|
|
898
902
|
/**
|
|
899
903
|
* Spawns a shell then executes the `command` within that shell, buffering any
|
|
@@ -915,9 +919,9 @@ declare module "child_process" {
|
|
|
915
919
|
* **Never pass unsanitized user input to this function. Any input containing shell**
|
|
916
920
|
* **metacharacters may be used to trigger arbitrary command execution.**
|
|
917
921
|
*
|
|
918
|
-
* If a `callback` function is provided, it is called with the arguments`(error, stdout, stderr)`. On success, `error` will be `null`. On error
|
|
922
|
+
* If a `callback` function is provided, it is called with the arguments `(error, stdout, stderr)`. On success, `error` will be `null`. On error, `error` will be an instance of `Error`. The
|
|
919
923
|
* `error.code` property will be
|
|
920
|
-
* the exit code of the process. By convention, any exit code other than `0`indicates an error. `error.signal` will be the signal that terminated the
|
|
924
|
+
* the exit code of the process. By convention, any exit code other than `0` indicates an error. `error.signal` will be the signal that terminated the
|
|
921
925
|
* process.
|
|
922
926
|
*
|
|
923
927
|
* The `stdout` and `stderr` arguments passed to the callback will contain the
|
|
@@ -947,7 +951,7 @@ declare module "child_process" {
|
|
|
947
951
|
* the existing process and uses a shell to execute the command.
|
|
948
952
|
*
|
|
949
953
|
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
950
|
-
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
954
|
+
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
951
955
|
* case of an error (including any error resulting in an exit code other than 0), a
|
|
952
956
|
* rejected promise is returned, with the same `error` object given in the
|
|
953
957
|
* callback, but with two additional properties `stdout` and `stderr`.
|
|
@@ -964,7 +968,7 @@ declare module "child_process" {
|
|
|
964
968
|
* lsExample();
|
|
965
969
|
* ```
|
|
966
970
|
*
|
|
967
|
-
* If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
|
|
971
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
968
972
|
* the error passed to the callback will be an `AbortError`:
|
|
969
973
|
*
|
|
970
974
|
* ```js
|
|
@@ -1109,7 +1113,7 @@ declare module "child_process" {
|
|
|
1109
1113
|
* encoding, `Buffer` objects will be passed to the callback instead.
|
|
1110
1114
|
*
|
|
1111
1115
|
* If this method is invoked as its `util.promisify()` ed version, it returns
|
|
1112
|
-
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned`ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
1116
|
+
* a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
|
|
1113
1117
|
* case of an error (including any error resulting in an exit code other than 0), a
|
|
1114
1118
|
* rejected promise is returned, with the same `error` object given in the
|
|
1115
1119
|
* callback, but with two additional properties `stdout` and `stderr`.
|
|
@@ -1128,7 +1132,7 @@ declare module "child_process" {
|
|
|
1128
1132
|
* **function. Any input containing shell metacharacters may be used to trigger**
|
|
1129
1133
|
* **arbitrary command execution.**
|
|
1130
1134
|
*
|
|
1131
|
-
* If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
|
|
1135
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
1132
1136
|
* the error passed to the callback will be an `AbortError`:
|
|
1133
1137
|
*
|
|
1134
1138
|
* ```js
|
|
@@ -1352,7 +1356,7 @@ declare module "child_process" {
|
|
|
1352
1356
|
* required, spawning a large number of child Node.js processes is not
|
|
1353
1357
|
* recommended.
|
|
1354
1358
|
*
|
|
1355
|
-
* By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the`options` object allows for an alternative
|
|
1359
|
+
* By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the `options` object allows for an alternative
|
|
1356
1360
|
* execution path to be used.
|
|
1357
1361
|
*
|
|
1358
1362
|
* Node.js processes launched with a custom `execPath` will communicate with the
|
|
@@ -1362,9 +1366,9 @@ declare module "child_process" {
|
|
|
1362
1366
|
* Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the
|
|
1363
1367
|
* current process.
|
|
1364
1368
|
*
|
|
1365
|
-
* The `shell` option available in {@link spawn} is not supported by`child_process.fork()` and will be ignored if set.
|
|
1369
|
+
* The `shell` option available in {@link spawn} is not supported by `child_process.fork()` and will be ignored if set.
|
|
1366
1370
|
*
|
|
1367
|
-
* If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.kill()` on the child process except
|
|
1371
|
+
* If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
|
|
1368
1372
|
* the error passed to the callback will be an `AbortError`:
|
|
1369
1373
|
*
|
|
1370
1374
|
* ```js
|
|
@@ -1387,8 +1391,8 @@ declare module "child_process" {
|
|
|
1387
1391
|
* @param modulePath The module to run in the child.
|
|
1388
1392
|
* @param args List of string arguments.
|
|
1389
1393
|
*/
|
|
1390
|
-
function fork(modulePath: string, options?: ForkOptions): ChildProcess;
|
|
1391
|
-
function fork(modulePath: string, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1394
|
+
function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
|
|
1395
|
+
function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
|
|
1392
1396
|
interface SpawnSyncOptions extends CommonSpawnOptions {
|
|
1393
1397
|
input?: string | NodeJS.ArrayBufferView | undefined;
|
|
1394
1398
|
maxBuffer?: number | undefined;
|
|
@@ -1473,7 +1477,7 @@ declare module "child_process" {
|
|
|
1473
1477
|
* The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return
|
|
1474
1478
|
* until the child process has fully closed. When a timeout has been encountered
|
|
1475
1479
|
* and `killSignal` is sent, the method won't return until the process has
|
|
1476
|
-
* completely exited. If the child process intercepts and handles the `SIGTERM`signal and doesn't exit, the parent process will wait until the child process
|
|
1480
|
+
* completely exited. If the child process intercepts and handles the `SIGTERM` signal and doesn't exit, the parent process will wait until the child process
|
|
1477
1481
|
* has exited.
|
|
1478
1482
|
*
|
|
1479
1483
|
* If the process times out or has a non-zero exit code, this method will throw.
|