@psnext/slingcli 3.3.20260911-1 → 3.3.20260914-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-VDBOM5UG.js → chunk-BRL3MDQL.js} +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/cli.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/index.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/rpc-entry.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/dist/modes/interactive/components/model-selector.js +79 -32
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +25 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/getAwsChunkedEncodingStream.js +23 -8
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/assert/strict.d.ts +13 -56
- package/node_modules/@types/node/assert.d.ts +189 -190
- package/node_modules/@types/node/async_hooks.d.ts +151 -43
- package/node_modules/@types/node/buffer.buffer.d.ts +12 -13
- package/node_modules/@types/node/buffer.d.ts +103 -237
- package/node_modules/@types/node/child_process.d.ts +39 -154
- package/node_modules/@types/node/cluster.d.ts +238 -384
- package/node_modules/@types/node/console.d.ts +45 -404
- package/node_modules/@types/node/constants.d.ts +3 -10
- package/node_modules/@types/node/crypto.d.ts +1000 -1593
- package/node_modules/@types/node/dgram.d.ts +133 -81
- package/node_modules/@types/node/diagnostics_channel.d.ts +277 -59
- package/node_modules/@types/node/dns/promises.d.ts +9 -15
- package/node_modules/@types/node/dns.d.ts +136 -183
- package/node_modules/@types/node/domain.d.ts +12 -32
- package/node_modules/@types/node/events.d.ts +872 -840
- package/node_modules/@types/node/ffi.d.ts +486 -0
- package/node_modules/@types/node/fs/promises.d.ts +256 -85
- package/node_modules/@types/node/fs.d.ts +865 -525
- package/node_modules/@types/node/globals.d.ts +12 -34
- package/node_modules/@types/node/globals.typedarray.d.ts +63 -0
- package/node_modules/@types/node/http.d.ts +433 -312
- package/node_modules/@types/node/http2.d.ts +545 -891
- package/node_modules/@types/node/https.d.ts +64 -243
- package/node_modules/@types/node/index.d.ts +25 -7
- package/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@types/node/inspector.d.ts +70 -58
- package/node_modules/@types/node/inspector.generated.d.ts +764 -410
- package/node_modules/@types/node/module.d.ts +54 -219
- package/node_modules/@types/node/net.d.ts +208 -222
- package/node_modules/@types/node/os.d.ts +41 -49
- package/node_modules/@types/node/package.json +13 -3
- package/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@types/node/path.d.ts +119 -141
- package/node_modules/@types/node/perf_hooks.d.ts +339 -690
- package/node_modules/@types/node/process.d.ts +389 -205
- package/node_modules/@types/node/punycode.d.ts +3 -31
- package/node_modules/@types/node/querystring.d.ts +3 -16
- package/node_modules/@types/node/quic.d.ts +2153 -0
- package/node_modules/@types/node/readline/promises.d.ts +3 -6
- package/node_modules/@types/node/readline.d.ts +66 -152
- package/node_modules/@types/node/repl.d.ts +101 -109
- package/node_modules/@types/node/sea.d.ts +1 -116
- package/node_modules/@types/node/sqlite.d.ts +486 -68
- package/node_modules/@types/node/stream/consumers.d.ts +91 -15
- package/node_modules/@types/node/stream/iter.d.ts +452 -0
- package/node_modules/@types/node/stream/promises.d.ts +136 -15
- package/node_modules/@types/node/stream/web.d.ts +197 -454
- package/node_modules/@types/node/stream.d.ts +603 -491
- package/node_modules/@types/node/string_decoder.d.ts +3 -43
- package/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/node_modules/@types/node/test.d.ts +513 -292
- package/node_modules/@types/node/timers/promises.d.ts +3 -18
- package/node_modules/@types/node/timers.d.ts +3 -141
- package/node_modules/@types/node/tls.d.ts +166 -257
- package/node_modules/@types/node/trace_events.d.ts +3 -97
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +7 -8
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +2 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +26 -6
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +118 -0
- package/node_modules/@types/node/tty.d.ts +61 -43
- package/node_modules/@types/node/url.d.ts +156 -584
- package/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@types/node/util.d.ts +170 -1099
- package/node_modules/@types/node/v8.d.ts +175 -36
- package/node_modules/@types/node/vfs.d.ts +211 -0
- package/node_modules/@types/node/vm.d.ts +292 -209
- package/node_modules/@types/node/wasi.d.ts +24 -74
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +27 -2
- package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
- package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@types/node/web-globals/events.d.ts +9 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +14 -0
- package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +3 -0
- package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +97 -0
- package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@types/node/worker_threads.d.ts +257 -407
- package/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@types/node/zlib.d.ts +24 -165
- package/node_modules/undici-types/agent.d.ts +12 -13
- package/node_modules/undici-types/api.d.ts +26 -26
- package/node_modules/undici-types/balanced-pool.d.ts +13 -12
- package/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +63 -37
- package/node_modules/undici-types/connector.d.ts +5 -2
- package/node_modules/undici-types/cookies.d.ts +3 -1
- package/node_modules/undici-types/diagnostics-channel.d.ts +18 -10
- package/node_modules/undici-types/dispatcher.d.ts +136 -139
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
- package/node_modules/undici-types/errors.d.ts +92 -54
- package/node_modules/undici-types/eventsource.d.ts +9 -4
- package/node_modules/undici-types/fetch.d.ts +51 -25
- package/node_modules/undici-types/formdata.d.ts +7 -7
- package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
- package/node_modules/undici-types/global-origin.d.ts +5 -5
- package/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/undici-types/handlers.d.ts +10 -9
- package/node_modules/undici-types/header.d.ts +162 -1
- package/node_modules/undici-types/index.d.ts +69 -47
- package/node_modules/undici-types/interceptors.d.ts +72 -9
- package/node_modules/undici-types/mock-agent.d.ts +36 -18
- package/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/undici-types/mock-client.d.ts +6 -4
- package/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/undici-types/mock-interceptor.d.ts +26 -21
- package/node_modules/undici-types/mock-pool.d.ts +6 -4
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/patch.d.ts +0 -4
- package/node_modules/undici-types/pool-stats.d.ts +8 -8
- package/node_modules/undici-types/pool.d.ts +14 -14
- package/node_modules/undici-types/proxy-agent.d.ts +14 -6
- package/node_modules/undici-types/readable.d.ts +19 -16
- package/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/undici-types/retry-handler.d.ts +19 -10
- package/node_modules/undici-types/round-robin-pool.d.ts +39 -0
- package/node_modules/undici-types/snapshot-agent.d.ts +113 -0
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/undici-types/webidl.d.ts +148 -30
- package/node_modules/undici-types/websocket.d.ts +48 -10
- package/node_modules/zod/README.md +2 -2
- package/node_modules/zod/package.json +1 -1
- package/node_modules/zod/src/v4/classic/checks.ts +1 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +14 -30
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +1 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +2 -11
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -4
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +1 -1
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +53 -137
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +70 -1
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +87 -35
- package/node_modules/zod/src/v4/core/api.ts +21 -29
- package/node_modules/zod/src/v4/core/checks.ts +61 -1
- package/node_modules/zod/src/v4/core/compile.ts +35 -24
- package/node_modules/zod/src/v4/core/core.ts +1 -3
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +9 -63
- package/node_modules/zod/src/v4/core/memoizer.ts +2 -5
- package/node_modules/zod/src/v4/core/regexes.ts +4 -0
- package/node_modules/zod/src/v4/core/schemas.ts +36 -109
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +35 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +177 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +118 -16
- package/node_modules/zod/src/v4/core/to-json-schema.ts +1 -1
- package/node_modules/zod/src/v4/core/util.ts +0 -4
- package/node_modules/zod/src/v4/core/versions.ts +1 -1
- package/node_modules/zod/src/v4/core/visit.ts +0 -11
- package/node_modules/zod/src/v4/locales/ar.ts +1 -0
- package/node_modules/zod/src/v4/locales/az.ts +1 -0
- package/node_modules/zod/src/v4/locales/be.ts +1 -0
- package/node_modules/zod/src/v4/locales/bg.ts +1 -0
- package/node_modules/zod/src/v4/locales/bn.ts +1 -0
- package/node_modules/zod/src/v4/locales/ca.ts +1 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +1 -0
- package/node_modules/zod/src/v4/locales/cs.ts +1 -0
- package/node_modules/zod/src/v4/locales/da.ts +1 -0
- package/node_modules/zod/src/v4/locales/de.ts +1 -0
- package/node_modules/zod/src/v4/locales/el.ts +1 -0
- package/node_modules/zod/src/v4/locales/en.ts +1 -0
- package/node_modules/zod/src/v4/locales/eo.ts +1 -0
- package/node_modules/zod/src/v4/locales/es.ts +1 -0
- package/node_modules/zod/src/v4/locales/fa.ts +1 -0
- package/node_modules/zod/src/v4/locales/fi.ts +1 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +1 -0
- package/node_modules/zod/src/v4/locales/fr.ts +1 -0
- package/node_modules/zod/src/v4/locales/gu.ts +1 -0
- package/node_modules/zod/src/v4/locales/he.ts +1 -0
- package/node_modules/zod/src/v4/locales/hi.ts +1 -0
- package/node_modules/zod/src/v4/locales/hr.ts +1 -0
- package/node_modules/zod/src/v4/locales/hu.ts +1 -0
- package/node_modules/zod/src/v4/locales/hy.ts +1 -0
- package/node_modules/zod/src/v4/locales/id.ts +1 -0
- package/node_modules/zod/src/v4/locales/is.ts +1 -0
- package/node_modules/zod/src/v4/locales/it.ts +1 -0
- package/node_modules/zod/src/v4/locales/ja.ts +1 -0
- package/node_modules/zod/src/v4/locales/ka.ts +1 -0
- package/node_modules/zod/src/v4/locales/km.ts +1 -0
- package/node_modules/zod/src/v4/locales/kn.ts +1 -0
- package/node_modules/zod/src/v4/locales/ko.ts +1 -0
- package/node_modules/zod/src/v4/locales/lt.ts +1 -0
- package/node_modules/zod/src/v4/locales/mk.ts +1 -0
- package/node_modules/zod/src/v4/locales/ms.ts +1 -0
- package/node_modules/zod/src/v4/locales/ne.ts +1 -0
- package/node_modules/zod/src/v4/locales/nl.ts +1 -0
- package/node_modules/zod/src/v4/locales/nn.ts +1 -0
- package/node_modules/zod/src/v4/locales/no.ts +1 -0
- package/node_modules/zod/src/v4/locales/ota.ts +1 -0
- package/node_modules/zod/src/v4/locales/pl.ts +1 -0
- package/node_modules/zod/src/v4/locales/ps.ts +1 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +1 -0
- package/node_modules/zod/src/v4/locales/pt.ts +1 -0
- package/node_modules/zod/src/v4/locales/ro.ts +1 -0
- package/node_modules/zod/src/v4/locales/ru.ts +1 -0
- package/node_modules/zod/src/v4/locales/sk.ts +1 -0
- package/node_modules/zod/src/v4/locales/sl.ts +1 -0
- package/node_modules/zod/src/v4/locales/sv.ts +1 -0
- package/node_modules/zod/src/v4/locales/ta.ts +1 -0
- package/node_modules/zod/src/v4/locales/tg.ts +1 -0
- package/node_modules/zod/src/v4/locales/th.ts +1 -0
- package/node_modules/zod/src/v4/locales/tk.ts +1 -0
- package/node_modules/zod/src/v4/locales/tr.ts +1 -0
- package/node_modules/zod/src/v4/locales/uk.ts +1 -0
- package/node_modules/zod/src/v4/locales/ur.ts +1 -0
- package/node_modules/zod/src/v4/locales/uz.ts +1 -0
- package/node_modules/zod/src/v4/locales/vi.ts +1 -0
- package/node_modules/zod/src/v4/locales/yo.ts +1 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +1 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +1 -0
- package/node_modules/zod/src/v4/mini/checks.ts +1 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +12 -23
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +56 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +7 -0
- package/node_modules/zod/v4/classic/checks.cjs +2 -1
- package/node_modules/zod/v4/classic/checks.d.cts +1 -1
- package/node_modules/zod/v4/classic/checks.d.ts +1 -1
- package/node_modules/zod/v4/classic/checks.js +1 -1
- package/node_modules/zod/v4/classic/schemas.cjs +11 -15
- package/node_modules/zod/v4/classic/schemas.d.cts +4 -6
- package/node_modules/zod/v4/classic/schemas.d.ts +4 -6
- package/node_modules/zod/v4/classic/schemas.js +9 -13
- package/node_modules/zod/v4/core/api.cjs +11 -23
- package/node_modules/zod/v4/core/api.d.cts +8 -4
- package/node_modules/zod/v4/core/api.d.ts +8 -4
- package/node_modules/zod/v4/core/api.js +11 -23
- package/node_modules/zod/v4/core/checks.cjs +32 -1
- package/node_modules/zod/v4/core/checks.d.cts +16 -0
- package/node_modules/zod/v4/core/checks.d.ts +16 -0
- package/node_modules/zod/v4/core/checks.js +31 -0
- package/node_modules/zod/v4/core/compile.cjs +12 -17
- package/node_modules/zod/v4/core/compile.js +13 -18
- package/node_modules/zod/v4/core/core.cjs +1 -1
- package/node_modules/zod/v4/core/core.js +1 -1
- package/node_modules/zod/v4/core/json-schema-processors.cjs +8 -44
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -1
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -1
- package/node_modules/zod/v4/core/json-schema-processors.js +8 -43
- package/node_modules/zod/v4/core/memoizer.cjs +2 -5
- package/node_modules/zod/v4/core/memoizer.js +2 -5
- package/node_modules/zod/v4/core/regexes.cjs +4 -2
- package/node_modules/zod/v4/core/regexes.d.cts +1 -0
- package/node_modules/zod/v4/core/regexes.d.ts +1 -0
- package/node_modules/zod/v4/core/regexes.js +2 -0
- package/node_modules/zod/v4/core/schemas.cjs +33 -73
- package/node_modules/zod/v4/core/schemas.d.cts +7 -22
- package/node_modules/zod/v4/core/schemas.d.ts +7 -22
- package/node_modules/zod/v4/core/schemas.js +30 -72
- package/node_modules/zod/v4/core/to-json-schema.cjs +0 -1
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -3
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -3
- package/node_modules/zod/v4/core/to-json-schema.js +1 -1
- package/node_modules/zod/v4/core/util.cjs +0 -4
- package/node_modules/zod/v4/core/util.js +0 -4
- package/node_modules/zod/v4/core/versions.cjs +1 -1
- package/node_modules/zod/v4/core/versions.js +1 -1
- package/node_modules/zod/v4/core/visit.cjs +0 -12
- package/node_modules/zod/v4/core/visit.js +0 -12
- package/node_modules/zod/v4/locales/ar.cjs +1 -0
- package/node_modules/zod/v4/locales/ar.js +1 -0
- package/node_modules/zod/v4/locales/az.cjs +1 -0
- package/node_modules/zod/v4/locales/az.js +1 -0
- package/node_modules/zod/v4/locales/be.cjs +1 -0
- package/node_modules/zod/v4/locales/be.js +1 -0
- package/node_modules/zod/v4/locales/bg.cjs +1 -0
- package/node_modules/zod/v4/locales/bg.js +1 -0
- package/node_modules/zod/v4/locales/bn.cjs +1 -0
- package/node_modules/zod/v4/locales/bn.js +1 -0
- package/node_modules/zod/v4/locales/ca.cjs +1 -0
- package/node_modules/zod/v4/locales/ca.js +1 -0
- package/node_modules/zod/v4/locales/ckb.cjs +1 -0
- package/node_modules/zod/v4/locales/ckb.js +1 -0
- package/node_modules/zod/v4/locales/cs.cjs +1 -0
- package/node_modules/zod/v4/locales/cs.js +1 -0
- package/node_modules/zod/v4/locales/da.cjs +1 -0
- package/node_modules/zod/v4/locales/da.js +1 -0
- package/node_modules/zod/v4/locales/de.cjs +1 -0
- package/node_modules/zod/v4/locales/de.js +1 -0
- package/node_modules/zod/v4/locales/el.cjs +1 -0
- package/node_modules/zod/v4/locales/el.js +1 -0
- package/node_modules/zod/v4/locales/en.cjs +1 -0
- package/node_modules/zod/v4/locales/en.js +1 -0
- package/node_modules/zod/v4/locales/eo.cjs +1 -0
- package/node_modules/zod/v4/locales/eo.js +1 -0
- package/node_modules/zod/v4/locales/es.cjs +1 -0
- package/node_modules/zod/v4/locales/es.js +1 -0
- package/node_modules/zod/v4/locales/fa.cjs +1 -0
- package/node_modules/zod/v4/locales/fa.js +1 -0
- package/node_modules/zod/v4/locales/fi.cjs +1 -0
- package/node_modules/zod/v4/locales/fi.js +1 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +1 -0
- package/node_modules/zod/v4/locales/fr-CA.js +1 -0
- package/node_modules/zod/v4/locales/fr.cjs +1 -0
- package/node_modules/zod/v4/locales/fr.js +1 -0
- package/node_modules/zod/v4/locales/gu.cjs +1 -0
- package/node_modules/zod/v4/locales/gu.js +1 -0
- package/node_modules/zod/v4/locales/he.cjs +1 -0
- package/node_modules/zod/v4/locales/he.js +1 -0
- package/node_modules/zod/v4/locales/hi.cjs +1 -0
- package/node_modules/zod/v4/locales/hi.js +1 -0
- package/node_modules/zod/v4/locales/hr.cjs +1 -0
- package/node_modules/zod/v4/locales/hr.js +1 -0
- package/node_modules/zod/v4/locales/hu.cjs +1 -0
- package/node_modules/zod/v4/locales/hu.js +1 -0
- package/node_modules/zod/v4/locales/hy.cjs +1 -0
- package/node_modules/zod/v4/locales/hy.js +1 -0
- package/node_modules/zod/v4/locales/id.cjs +1 -0
- package/node_modules/zod/v4/locales/id.js +1 -0
- package/node_modules/zod/v4/locales/is.cjs +1 -0
- package/node_modules/zod/v4/locales/is.js +1 -0
- package/node_modules/zod/v4/locales/it.cjs +1 -0
- package/node_modules/zod/v4/locales/it.js +1 -0
- package/node_modules/zod/v4/locales/ja.cjs +1 -0
- package/node_modules/zod/v4/locales/ja.js +1 -0
- package/node_modules/zod/v4/locales/ka.cjs +1 -0
- package/node_modules/zod/v4/locales/ka.js +1 -0
- package/node_modules/zod/v4/locales/km.cjs +1 -0
- package/node_modules/zod/v4/locales/km.js +1 -0
- package/node_modules/zod/v4/locales/kn.cjs +1 -0
- package/node_modules/zod/v4/locales/kn.js +1 -0
- package/node_modules/zod/v4/locales/ko.cjs +1 -0
- package/node_modules/zod/v4/locales/ko.js +1 -0
- package/node_modules/zod/v4/locales/lt.cjs +1 -0
- package/node_modules/zod/v4/locales/lt.js +1 -0
- package/node_modules/zod/v4/locales/mk.cjs +1 -0
- package/node_modules/zod/v4/locales/mk.js +1 -0
- package/node_modules/zod/v4/locales/ms.cjs +1 -0
- package/node_modules/zod/v4/locales/ms.js +1 -0
- package/node_modules/zod/v4/locales/ne.cjs +1 -0
- package/node_modules/zod/v4/locales/ne.js +1 -0
- package/node_modules/zod/v4/locales/nl.cjs +1 -0
- package/node_modules/zod/v4/locales/nl.js +1 -0
- package/node_modules/zod/v4/locales/nn.cjs +1 -0
- package/node_modules/zod/v4/locales/nn.js +1 -0
- package/node_modules/zod/v4/locales/no.cjs +1 -0
- package/node_modules/zod/v4/locales/no.js +1 -0
- package/node_modules/zod/v4/locales/ota.cjs +1 -0
- package/node_modules/zod/v4/locales/ota.js +1 -0
- package/node_modules/zod/v4/locales/pl.cjs +1 -0
- package/node_modules/zod/v4/locales/pl.js +1 -0
- package/node_modules/zod/v4/locales/ps.cjs +1 -0
- package/node_modules/zod/v4/locales/ps.js +1 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +1 -0
- package/node_modules/zod/v4/locales/pt-BR.js +1 -0
- package/node_modules/zod/v4/locales/pt.cjs +1 -0
- package/node_modules/zod/v4/locales/pt.js +1 -0
- package/node_modules/zod/v4/locales/ro.cjs +1 -0
- package/node_modules/zod/v4/locales/ro.js +1 -0
- package/node_modules/zod/v4/locales/ru.cjs +1 -0
- package/node_modules/zod/v4/locales/ru.js +1 -0
- package/node_modules/zod/v4/locales/sk.cjs +1 -0
- package/node_modules/zod/v4/locales/sk.js +1 -0
- package/node_modules/zod/v4/locales/sl.cjs +1 -0
- package/node_modules/zod/v4/locales/sl.js +1 -0
- package/node_modules/zod/v4/locales/sv.cjs +1 -0
- package/node_modules/zod/v4/locales/sv.js +1 -0
- package/node_modules/zod/v4/locales/ta.cjs +1 -0
- package/node_modules/zod/v4/locales/ta.js +1 -0
- package/node_modules/zod/v4/locales/tg.cjs +1 -0
- package/node_modules/zod/v4/locales/tg.js +1 -0
- package/node_modules/zod/v4/locales/th.cjs +1 -0
- package/node_modules/zod/v4/locales/th.js +1 -0
- package/node_modules/zod/v4/locales/tk.cjs +1 -0
- package/node_modules/zod/v4/locales/tk.js +1 -0
- package/node_modules/zod/v4/locales/tr.cjs +1 -0
- package/node_modules/zod/v4/locales/tr.js +1 -0
- package/node_modules/zod/v4/locales/uk.cjs +1 -0
- package/node_modules/zod/v4/locales/uk.js +1 -0
- package/node_modules/zod/v4/locales/ur.cjs +1 -0
- package/node_modules/zod/v4/locales/ur.js +1 -0
- package/node_modules/zod/v4/locales/uz.cjs +1 -0
- package/node_modules/zod/v4/locales/uz.js +1 -0
- package/node_modules/zod/v4/locales/vi.cjs +1 -0
- package/node_modules/zod/v4/locales/vi.js +1 -0
- package/node_modules/zod/v4/locales/yo.cjs +1 -0
- package/node_modules/zod/v4/locales/yo.js +1 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +1 -0
- package/node_modules/zod/v4/locales/zh-CN.js +1 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +1 -0
- package/node_modules/zod/v4/locales/zh-TW.js +1 -0
- package/node_modules/zod/v4/mini/checks.cjs +2 -1
- package/node_modules/zod/v4/mini/checks.d.cts +1 -1
- package/node_modules/zod/v4/mini/checks.d.ts +1 -1
- package/node_modules/zod/v4/mini/checks.js +1 -1
- package/node_modules/zod/v4/mini/schemas.cjs +11 -13
- package/node_modules/zod/v4/mini/schemas.d.cts +1 -4
- package/node_modules/zod/v4/mini/schemas.d.ts +1 -4
- package/node_modules/zod/v4/mini/schemas.js +9 -11
- package/package.json +2 -2
- package/slingshot/index.js +183 -182
- package/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
- package/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
- package/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/undici-types/filereader.d.ts +0 -54
|
@@ -1,79 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
* The `node:child_process` module provides the ability to spawn subprocesses in
|
|
3
|
-
* a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability
|
|
4
|
-
* is primarily provided by the {@link spawn} function:
|
|
5
|
-
*
|
|
6
|
-
* ```js
|
|
7
|
-
* import { spawn } from 'node:child_process';
|
|
8
|
-
* const ls = spawn('ls', ['-lh', '/usr']);
|
|
9
|
-
*
|
|
10
|
-
* ls.stdout.on('data', (data) => {
|
|
11
|
-
* console.log(`stdout: ${data}`);
|
|
12
|
-
* });
|
|
13
|
-
*
|
|
14
|
-
* ls.stderr.on('data', (data) => {
|
|
15
|
-
* console.error(`stderr: ${data}`);
|
|
16
|
-
* });
|
|
17
|
-
*
|
|
18
|
-
* ls.on('close', (code) => {
|
|
19
|
-
* console.log(`child process exited with code ${code}`);
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* By default, pipes for `stdin`, `stdout`, and `stderr` are established between
|
|
24
|
-
* the parent Node.js process and the spawned subprocess. These pipes have
|
|
25
|
-
* limited (and platform-specific) capacity. If the subprocess writes to
|
|
26
|
-
* stdout in excess of that limit without the output being captured, the
|
|
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.
|
|
29
|
-
*
|
|
30
|
-
* The command lookup is performed using the `options.env.PATH` environment
|
|
31
|
-
* variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is
|
|
32
|
-
* used. If `options.env` is set without `PATH`, lookup on Unix is performed
|
|
33
|
-
* on a default search path search of `/usr/bin:/bin` (see your operating system's
|
|
34
|
-
* manual for execvpe/execvp), on Windows the current processes environment
|
|
35
|
-
* variable `PATH` is used.
|
|
36
|
-
*
|
|
37
|
-
* On Windows, environment variables are case-insensitive. Node.js
|
|
38
|
-
* lexicographically sorts the `env` keys and uses the first one that
|
|
39
|
-
* case-insensitively matches. Only first (in lexicographic order) entry will be
|
|
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`.
|
|
42
|
-
*
|
|
43
|
-
* The {@link spawn} method spawns the child process asynchronously,
|
|
44
|
-
* without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks
|
|
45
|
-
* the event loop until the spawned process either exits or is terminated.
|
|
46
|
-
*
|
|
47
|
-
* For convenience, the `node:child_process` module provides a handful of
|
|
48
|
-
* synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on
|
|
49
|
-
* top of {@link spawn} or {@link spawnSync}.
|
|
50
|
-
*
|
|
51
|
-
* * {@link exec}: spawns a shell and runs a command within that
|
|
52
|
-
* shell, passing the `stdout` and `stderr` to a callback function when
|
|
53
|
-
* complete.
|
|
54
|
-
* * {@link execFile}: similar to {@link exec} except
|
|
55
|
-
* that it spawns the command directly without first spawning a shell by
|
|
56
|
-
* default.
|
|
57
|
-
* * {@link fork}: spawns a new Node.js process and invokes a
|
|
58
|
-
* specified module with an IPC communication channel established that allows
|
|
59
|
-
* sending messages between parent and child.
|
|
60
|
-
* * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop.
|
|
61
|
-
* * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop.
|
|
62
|
-
*
|
|
63
|
-
* For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
|
|
64
|
-
* the synchronous methods can have significant impact on performance due to
|
|
65
|
-
* stalling the event loop while spawned processes complete.
|
|
66
|
-
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/child_process.js)
|
|
67
|
-
*/
|
|
68
|
-
declare module "child_process" {
|
|
1
|
+
declare module "node:child_process" {
|
|
69
2
|
import { NonSharedBuffer } from "node:buffer";
|
|
70
|
-
import { Abortable, EventEmitter } from "node:events";
|
|
71
3
|
import * as dgram from "node:dgram";
|
|
4
|
+
import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
|
|
72
5
|
import * as net from "node:net";
|
|
73
6
|
import { Readable, Stream, Writable } from "node:stream";
|
|
74
7
|
import { URL } from "node:url";
|
|
75
8
|
type Serializable = string | object | number | boolean | bigint;
|
|
76
9
|
type SendHandle = net.Socket | net.Server | dgram.Socket | undefined;
|
|
10
|
+
interface ChildProcessEventMap {
|
|
11
|
+
"close": [code: number | null, signal: NodeJS.Signals | null];
|
|
12
|
+
"disconnect": [];
|
|
13
|
+
"error": [err: Error];
|
|
14
|
+
"exit": [code: number | null, signal: NodeJS.Signals | null];
|
|
15
|
+
"message": [message: Serializable, sendHandle: SendHandle];
|
|
16
|
+
"spawn": [];
|
|
17
|
+
}
|
|
77
18
|
/**
|
|
78
19
|
* Instances of the `ChildProcess` represent spawned child processes.
|
|
79
20
|
*
|
|
@@ -82,7 +23,7 @@ declare module "child_process" {
|
|
|
82
23
|
* instances of `ChildProcess`.
|
|
83
24
|
* @since v2.2.0
|
|
84
25
|
*/
|
|
85
|
-
class ChildProcess
|
|
26
|
+
class ChildProcess implements EventEmitter {
|
|
86
27
|
/**
|
|
87
28
|
* A `Writable Stream` that represents the child process's `stdin`.
|
|
88
29
|
*
|
|
@@ -220,6 +161,11 @@ declare module "child_process" {
|
|
|
220
161
|
/**
|
|
221
162
|
* The `subprocess.exitCode` property indicates the exit code of the child process.
|
|
222
163
|
* If the child process is still running, the field will be `null`.
|
|
164
|
+
*
|
|
165
|
+
* When the child process is terminated by a signal, `subprocess.exitCode` will be
|
|
166
|
+
* `null` and `subprocess.signalCode` will be set. To get the corresponding
|
|
167
|
+
* POSIX exit code, use
|
|
168
|
+
* `util.convertProcessSignalToExitCode(subprocess.signalCode)`.
|
|
223
169
|
*/
|
|
224
170
|
readonly exitCode: number | null;
|
|
225
171
|
/**
|
|
@@ -281,7 +227,6 @@ declare module "child_process" {
|
|
|
281
227
|
* new process in a shell or with the use of the `shell` option of `ChildProcess`:
|
|
282
228
|
*
|
|
283
229
|
* ```js
|
|
284
|
-
* 'use strict';
|
|
285
230
|
* import { spawn } from 'node:child_process';
|
|
286
231
|
*
|
|
287
232
|
* const subprocess = spawn(
|
|
@@ -458,7 +403,7 @@ declare module "child_process" {
|
|
|
458
403
|
* as the connection may have been closed during the time it takes to send the
|
|
459
404
|
* connection to the child.
|
|
460
405
|
* @since v0.5.9
|
|
461
|
-
* @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-
|
|
406
|
+
* @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-v26.x/api/net.html#class-netsocket), [`net.Server`](https://nodejs.org/docs/latest-v26.x/api/net.html#class-netserver), or [`dgram.Socket`](https://nodejs.org/docs/latest-v26.x/api/dgram.html#class-dgramsocket) object.
|
|
462
407
|
* @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:
|
|
463
408
|
*/
|
|
464
409
|
send(message: Serializable, callback?: (error: Error | null) => void): boolean;
|
|
@@ -524,64 +469,8 @@ declare module "child_process" {
|
|
|
524
469
|
* @since v0.7.10
|
|
525
470
|
*/
|
|
526
471
|
ref(): void;
|
|
527
|
-
/**
|
|
528
|
-
* events.EventEmitter
|
|
529
|
-
* 1. close
|
|
530
|
-
* 2. disconnect
|
|
531
|
-
* 3. error
|
|
532
|
-
* 4. exit
|
|
533
|
-
* 5. message
|
|
534
|
-
* 6. spawn
|
|
535
|
-
*/
|
|
536
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
537
|
-
addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
538
|
-
addListener(event: "disconnect", listener: () => void): this;
|
|
539
|
-
addListener(event: "error", listener: (err: Error) => void): this;
|
|
540
|
-
addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
541
|
-
addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
542
|
-
addListener(event: "spawn", listener: () => void): this;
|
|
543
|
-
emit(event: string | symbol, ...args: any[]): boolean;
|
|
544
|
-
emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean;
|
|
545
|
-
emit(event: "disconnect"): boolean;
|
|
546
|
-
emit(event: "error", err: Error): boolean;
|
|
547
|
-
emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean;
|
|
548
|
-
emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean;
|
|
549
|
-
emit(event: "spawn", listener: () => void): boolean;
|
|
550
|
-
on(event: string, listener: (...args: any[]) => void): this;
|
|
551
|
-
on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
552
|
-
on(event: "disconnect", listener: () => void): this;
|
|
553
|
-
on(event: "error", listener: (err: Error) => void): this;
|
|
554
|
-
on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
555
|
-
on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
556
|
-
on(event: "spawn", listener: () => void): this;
|
|
557
|
-
once(event: string, listener: (...args: any[]) => void): this;
|
|
558
|
-
once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
559
|
-
once(event: "disconnect", listener: () => void): this;
|
|
560
|
-
once(event: "error", listener: (err: Error) => void): this;
|
|
561
|
-
once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
562
|
-
once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
563
|
-
once(event: "spawn", listener: () => void): this;
|
|
564
|
-
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
565
|
-
prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
566
|
-
prependListener(event: "disconnect", listener: () => void): this;
|
|
567
|
-
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
568
|
-
prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
569
|
-
prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
570
|
-
prependListener(event: "spawn", listener: () => void): this;
|
|
571
|
-
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
572
|
-
prependOnceListener(
|
|
573
|
-
event: "close",
|
|
574
|
-
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
|
|
575
|
-
): this;
|
|
576
|
-
prependOnceListener(event: "disconnect", listener: () => void): this;
|
|
577
|
-
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
578
|
-
prependOnceListener(
|
|
579
|
-
event: "exit",
|
|
580
|
-
listener: (code: number | null, signal: NodeJS.Signals | null) => void,
|
|
581
|
-
): this;
|
|
582
|
-
prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
583
|
-
prependOnceListener(event: "spawn", listener: () => void): this;
|
|
584
472
|
}
|
|
473
|
+
interface ChildProcess extends InternalEventEmitter<ChildProcessEventMap> {}
|
|
585
474
|
// return this object when stdio option is undefined or not specified
|
|
586
475
|
interface ChildProcessWithoutNullStreams extends ChildProcess {
|
|
587
476
|
stdin: Writable;
|
|
@@ -719,6 +608,7 @@ declare module "child_process" {
|
|
|
719
608
|
*
|
|
720
609
|
* ```js
|
|
721
610
|
* import { spawn } from 'node:child_process';
|
|
611
|
+
* import { once } from 'node:events';
|
|
722
612
|
* const ls = spawn('ls', ['-lh', '/usr']);
|
|
723
613
|
*
|
|
724
614
|
* ls.stdout.on('data', (data) => {
|
|
@@ -729,9 +619,8 @@ declare module "child_process" {
|
|
|
729
619
|
* console.error(`stderr: ${data}`);
|
|
730
620
|
* });
|
|
731
621
|
*
|
|
732
|
-
* ls
|
|
733
|
-
*
|
|
734
|
-
* });
|
|
622
|
+
* const [code] = await once(ls, 'close');
|
|
623
|
+
* console.log(`child process exited with code ${code}`);
|
|
735
624
|
* ```
|
|
736
625
|
*
|
|
737
626
|
* Example: A very elaborate way to run `ps ax | grep ssh`
|
|
@@ -897,16 +786,15 @@ declare module "child_process" {
|
|
|
897
786
|
encoding?: BufferEncoding | undefined;
|
|
898
787
|
}
|
|
899
788
|
interface ExecOptionsWithBufferEncoding extends ExecOptions {
|
|
900
|
-
encoding: "buffer" | null;
|
|
789
|
+
encoding: "buffer" | null;
|
|
901
790
|
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
791
|
+
interface ExecException extends Omit<NodeJS.ErrnoException, "code"> {
|
|
792
|
+
cmd: string;
|
|
793
|
+
code?: number | string;
|
|
905
794
|
killed?: boolean;
|
|
906
|
-
code?: number;
|
|
907
795
|
signal?: NodeJS.Signals;
|
|
908
|
-
stdout?: string;
|
|
909
|
-
stderr?: string;
|
|
796
|
+
stdout?: string | NonSharedBuffer;
|
|
797
|
+
stderr?: string | NonSharedBuffer;
|
|
910
798
|
}
|
|
911
799
|
/**
|
|
912
800
|
* Spawns a shell then executes the `command` within that shell, buffering any
|
|
@@ -1066,11 +954,6 @@ declare module "child_process" {
|
|
|
1066
954
|
}
|
|
1067
955
|
/** @deprecated Use `ExecFileOptions` instead. */
|
|
1068
956
|
interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {}
|
|
1069
|
-
// TODO: execFile exceptions can take many forms... this accurately describes none of them
|
|
1070
|
-
type ExecFileException =
|
|
1071
|
-
& Omit<ExecException, "code">
|
|
1072
|
-
& Omit<NodeJS.ErrnoException, "code">
|
|
1073
|
-
& { code?: string | number | null };
|
|
1074
957
|
/**
|
|
1075
958
|
* The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
|
|
1076
959
|
* executable `file` is spawned directly as a new process making it slightly more
|
|
@@ -1138,36 +1021,36 @@ declare module "child_process" {
|
|
|
1138
1021
|
// no `options` definitely means stdout/stderr are `string`.
|
|
1139
1022
|
function execFile(
|
|
1140
1023
|
file: string,
|
|
1141
|
-
callback?: (error:
|
|
1024
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1142
1025
|
): ChildProcess;
|
|
1143
1026
|
function execFile(
|
|
1144
1027
|
file: string,
|
|
1145
1028
|
args: readonly string[] | undefined | null,
|
|
1146
|
-
callback?: (error:
|
|
1029
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1147
1030
|
): ChildProcess;
|
|
1148
1031
|
// `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
|
|
1149
1032
|
function execFile(
|
|
1150
1033
|
file: string,
|
|
1151
1034
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1152
|
-
callback?: (error:
|
|
1035
|
+
callback?: (error: ExecException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1153
1036
|
): ChildProcess;
|
|
1154
1037
|
function execFile(
|
|
1155
1038
|
file: string,
|
|
1156
1039
|
args: readonly string[] | undefined | null,
|
|
1157
1040
|
options: ExecFileOptionsWithBufferEncoding,
|
|
1158
|
-
callback?: (error:
|
|
1041
|
+
callback?: (error: ExecException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
|
|
1159
1042
|
): ChildProcess;
|
|
1160
1043
|
// `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
|
|
1161
1044
|
function execFile(
|
|
1162
1045
|
file: string,
|
|
1163
1046
|
options: ExecFileOptionsWithStringEncoding,
|
|
1164
|
-
callback?: (error:
|
|
1047
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1165
1048
|
): ChildProcess;
|
|
1166
1049
|
function execFile(
|
|
1167
1050
|
file: string,
|
|
1168
1051
|
args: readonly string[] | undefined | null,
|
|
1169
1052
|
options: ExecFileOptionsWithStringEncoding,
|
|
1170
|
-
callback?: (error:
|
|
1053
|
+
callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
|
|
1171
1054
|
): ChildProcess;
|
|
1172
1055
|
// fallback if nothing else matches. Worst case is always `string | Buffer`.
|
|
1173
1056
|
function execFile(
|
|
@@ -1175,7 +1058,7 @@ declare module "child_process" {
|
|
|
1175
1058
|
options: ExecFileOptions | undefined | null,
|
|
1176
1059
|
callback:
|
|
1177
1060
|
| ((
|
|
1178
|
-
error:
|
|
1061
|
+
error: ExecException | null,
|
|
1179
1062
|
stdout: string | NonSharedBuffer,
|
|
1180
1063
|
stderr: string | NonSharedBuffer,
|
|
1181
1064
|
) => void)
|
|
@@ -1188,7 +1071,7 @@ declare module "child_process" {
|
|
|
1188
1071
|
options: ExecFileOptions | undefined | null,
|
|
1189
1072
|
callback:
|
|
1190
1073
|
| ((
|
|
1191
|
-
error:
|
|
1074
|
+
error: ExecException | null,
|
|
1192
1075
|
stdout: string | NonSharedBuffer,
|
|
1193
1076
|
stderr: string | NonSharedBuffer,
|
|
1194
1077
|
) => void)
|
|
@@ -1470,7 +1353,9 @@ declare module "child_process" {
|
|
|
1470
1353
|
args?: readonly string[],
|
|
1471
1354
|
options?: ExecFileSyncOptions,
|
|
1472
1355
|
): string | NonSharedBuffer;
|
|
1356
|
+
/** @deprecated This deprecated alias will be removed in a future version. Use `ExecException` instead. */
|
|
1357
|
+
interface ExecFileException extends ExecException {}
|
|
1473
1358
|
}
|
|
1474
|
-
declare module "
|
|
1475
|
-
export * from "child_process";
|
|
1359
|
+
declare module "child_process" {
|
|
1360
|
+
export * from "node:child_process";
|
|
1476
1361
|
}
|