@psnext/slingcli 3.1.20260904-1 → 3.3.20260911-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/@aws-sdk/core/dist-cjs/submodules/util/index.js +5 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/hasOwn.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/hasOwn.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/hasOwn.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/util/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/dist/bundle/chunks/{chunk-PBNSMEG7.js → chunk-VDBOM5UG.js} +9 -9
- 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/node_modules/undici/docs/docs/api/Client.md +25 -8
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +3 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/EventSource.md +4 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Interceptors.md +7 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +7 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/api/readable.js +33 -43
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/cache/memory-cache-store.js +2 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/connect.js +16 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/core/symbols.js +3 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/agent.js +7 -2
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/balanced-pool.js +7 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client-h1.js +9 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client-h2.js +221 -12
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/client.js +76 -30
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher-base.js +13 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher.js +15 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +3 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +37 -8
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/proxy-agent.js +18 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/retry-agent.js +3 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/round-robin-pool.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +106 -22
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/cache-handler.js +29 -5
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/decorator-handler.js +7 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/deduplication-handler.js +12 -6
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/redirect-handler.js +21 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/handler/retry-handler.js +155 -32
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/cache.js +65 -9
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/decompress.js +115 -13
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/deduplicate.js +5 -4
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/dns.js +7 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-agent.js +13 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/mock/mock-utils.js +217 -27
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/util/cache.js +43 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/cookies/parse.js +150 -147
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/eventsource/eventsource-stream.js +28 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/eventsource/eventsource.js +13 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/index.js +6 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/request.js +2 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/fetch/util.js +6 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/webidl/index.js +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/connection.js +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/lib/web/websocket/websocket.js +22 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/undici/package.json +3 -3
- package/node_modules/@earendil-works/pi-coding-agent/npm-shrinkwrap.json +4 -4
- package/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/errors/index.js +20 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +11 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +11 -10
- package/node_modules/@smithy/core/dist-es/submodules/errors/errors.js +18 -0
- package/node_modules/@smithy/core/dist-es/submodules/errors/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/service-error-classification.js +11 -10
- package/node_modules/@smithy/core/dist-types/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/errors.d.ts +44 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/errors/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/service-error-classification/service-error-classification.d.ts +4 -0
- package/node_modules/@smithy/core/errors.d.ts +5 -0
- package/node_modules/@smithy/core/errors.js +5 -0
- package/node_modules/@smithy/core/package.json +11 -2
- package/node_modules/@types/node/README.md +3 -3
- package/node_modules/@types/node/assert/strict.d.ts +56 -13
- package/node_modules/@types/node/assert.d.ts +190 -189
- package/node_modules/@types/node/async_hooks.d.ts +43 -151
- package/node_modules/@types/node/buffer.buffer.d.ts +13 -12
- package/node_modules/@types/node/buffer.d.ts +237 -102
- package/node_modules/@types/node/child_process.d.ts +154 -39
- package/node_modules/@types/node/cluster.d.ts +384 -238
- package/node_modules/@types/node/compatibility/disposable.d.ts +14 -0
- package/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +20 -0
- package/node_modules/@types/node/console.d.ts +404 -45
- package/node_modules/@types/node/constants.d.ts +10 -3
- package/node_modules/@types/node/crypto.d.ts +1600 -1007
- package/node_modules/@types/node/dgram.d.ts +81 -133
- package/node_modules/@types/node/diagnostics_channel.d.ts +59 -277
- package/node_modules/@types/node/dns/promises.d.ts +15 -9
- package/node_modules/@types/node/dns.d.ts +183 -136
- package/node_modules/@types/node/domain.d.ts +32 -12
- package/node_modules/@types/node/events.d.ts +696 -728
- package/node_modules/@types/node/fs/promises.d.ts +85 -256
- package/node_modules/@types/node/fs.d.ts +525 -865
- package/node_modules/@types/node/globals.d.ts +34 -12
- package/node_modules/@types/node/globals.typedarray.d.ts +0 -63
- package/node_modules/@types/node/http.d.ts +311 -432
- package/node_modules/@types/node/http2.d.ts +891 -545
- package/node_modules/@types/node/https.d.ts +243 -64
- package/node_modules/@types/node/index.d.ts +7 -25
- package/node_modules/@types/node/inspector.d.ts +58 -70
- package/node_modules/@types/node/inspector.generated.d.ts +411 -765
- package/node_modules/@types/node/module.d.ts +219 -54
- package/node_modules/@types/node/net.d.ts +222 -208
- package/node_modules/@types/node/os.d.ts +49 -41
- package/node_modules/@types/node/package.json +3 -13
- package/node_modules/@types/node/path.d.ts +141 -119
- package/node_modules/@types/node/perf_hooks.d.ts +673 -310
- package/node_modules/@types/node/process.d.ts +205 -389
- package/node_modules/@types/node/punycode.d.ts +31 -3
- package/node_modules/@types/node/querystring.d.ts +16 -3
- package/node_modules/@types/node/readline/promises.d.ts +6 -3
- package/node_modules/@types/node/readline.d.ts +152 -66
- package/node_modules/@types/node/repl.d.ts +109 -101
- package/node_modules/@types/node/sea.d.ts +116 -1
- package/node_modules/@types/node/sqlite.d.ts +68 -486
- package/node_modules/@types/node/stream/consumers.d.ts +15 -91
- package/node_modules/@types/node/stream/promises.d.ts +15 -136
- package/node_modules/@types/node/stream/web.d.ts +456 -179
- package/node_modules/@types/node/stream.d.ts +491 -603
- package/node_modules/@types/node/string_decoder.d.ts +43 -3
- package/node_modules/@types/node/test.d.ts +292 -513
- package/node_modules/@types/node/timers/promises.d.ts +18 -3
- package/node_modules/@types/node/timers.d.ts +141 -3
- package/node_modules/@types/node/tls.d.ts +242 -140
- package/node_modules/@types/node/trace_events.d.ts +97 -3
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +8 -7
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -2
- package/node_modules/@types/node/ts5.6/index.d.ts +6 -26
- package/node_modules/@types/node/tty.d.ts +43 -61
- package/node_modules/@types/node/url.d.ts +584 -156
- package/node_modules/@types/node/util.d.ts +1110 -181
- package/node_modules/@types/node/v8.d.ts +36 -175
- package/node_modules/@types/node/vm.d.ts +209 -292
- package/node_modules/@types/node/wasi.d.ts +74 -24
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +2 -27
- package/node_modules/@types/node/web-globals/domexception.d.ts +0 -15
- package/node_modules/@types/node/web-globals/events.d.ts +0 -9
- package/node_modules/@types/node/web-globals/fetch.d.ts +0 -14
- package/node_modules/@types/node/web-globals/navigator.d.ts +0 -3
- package/node_modules/@types/node/web-globals/streams.d.ts +0 -93
- package/node_modules/@types/node/worker_threads.d.ts +407 -257
- package/node_modules/@types/node/zlib.d.ts +165 -7
- package/node_modules/hono/dist/cjs/client/client.js +4 -4
- package/node_modules/hono/dist/cjs/hono-base.js +7 -6
- package/node_modules/hono/dist/cjs/jsx/base.js +18 -1
- package/node_modules/hono/dist/cjs/jsx/components.js +25 -26
- package/node_modules/hono/dist/cjs/jsx/context.js +5 -5
- package/node_modules/hono/dist/cjs/jsx/dom/server.js +5 -1
- package/node_modules/hono/dist/cjs/jsx/intrinsic-element/components.js +2 -2
- package/node_modules/hono/dist/cjs/jsx/streaming.js +4 -5
- package/node_modules/hono/dist/client/client.js +4 -4
- package/node_modules/hono/dist/hono-base.js +7 -6
- package/node_modules/hono/dist/jsx/base.js +15 -1
- package/node_modules/hono/dist/jsx/components.js +26 -27
- package/node_modules/hono/dist/jsx/context.js +6 -6
- package/node_modules/hono/dist/jsx/dom/server.js +5 -1
- package/node_modules/hono/dist/jsx/intrinsic-element/components.js +3 -3
- package/node_modules/hono/dist/jsx/streaming.js +5 -6
- package/node_modules/hono/dist/types/context.d.ts +2 -2
- package/node_modules/hono/dist/types/jsx/base.d.ts +3 -0
- package/node_modules/hono/package.json +2 -2
- package/node_modules/jose/dist/types/index.d.ts +1 -2
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +7 -11
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +13 -16
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +7 -11
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +16 -19
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +10 -16
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +18 -21
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +3 -1
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +4 -6
- package/node_modules/jose/dist/types/jwks/local.d.ts +5 -4
- package/node_modules/jose/dist/types/jwks/remote.d.ts +20 -21
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +4 -4
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +8 -11
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +5 -5
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +8 -11
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +10 -14
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +11 -17
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +14 -11
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +24 -22
- package/node_modules/jose/dist/types/jwt/sign.d.ts +3 -7
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -6
- package/node_modules/jose/dist/types/jwt/verify.d.ts +13 -6
- package/node_modules/jose/dist/types/key/export.d.ts +6 -6
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +9 -14
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +10 -10
- package/node_modules/jose/dist/types/key/import.d.ts +19 -18
- package/node_modules/jose/dist/types/types.d.ts +152 -247
- package/node_modules/jose/dist/types/util/base64url.d.ts +7 -7
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +6 -1
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +4 -3
- package/node_modules/jose/dist/types/util/errors.d.ts +29 -40
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +1 -2
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +9 -26
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +3 -3
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +11 -30
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +6 -6
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +33 -57
- package/node_modules/jose/dist/webapi/jwk/embedded.js +3 -4
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +3 -6
- package/node_modules/jose/dist/webapi/jwks/local.js +16 -10
- package/node_modules/jose/dist/webapi/jwks/remote.js +2 -2
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +2 -4
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +2 -2
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +8 -15
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +4 -14
- package/node_modules/jose/dist/webapi/jws/general/sign.js +4 -11
- package/node_modules/jose/dist/webapi/jws/general/verify.js +5 -7
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +2 -3
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +11 -25
- package/node_modules/jose/dist/webapi/jwt/sign.js +1 -1
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +1 -2
- package/node_modules/jose/dist/webapi/jwt/verify.js +4 -4
- package/node_modules/jose/dist/webapi/key/export.js +12 -16
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +4 -13
- package/node_modules/jose/dist/webapi/key/generate_secret.js +1 -1
- package/node_modules/jose/dist/webapi/key/import.js +5 -9
- package/node_modules/jose/dist/webapi/lib/asn1.js +2 -4
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +35 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +21 -29
- package/node_modules/jose/dist/webapi/lib/deflate.js +9 -19
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +0 -4
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +21 -54
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +26 -59
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +29 -43
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +37 -45
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +1 -1
- package/node_modules/jose/dist/webapi/lib/key.js +119 -59
- package/node_modules/jose/dist/webapi/lib/key_management.js +45 -80
- package/node_modules/jose/dist/webapi/lib/{options.js → validate.js} +64 -3
- package/node_modules/jose/dist/webapi/util/base64url.js +5 -19
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +1 -1
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +1 -1
- package/node_modules/jose/package.json +1 -1
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +4 -2
- package/node_modules/undici/lib/dispatcher/client-h1.js +12 -4
- package/node_modules/undici/lib/dispatcher/client-h2.js +70 -14
- package/node_modules/undici/lib/dispatcher/client.js +6 -2
- package/node_modules/undici/lib/handler/cache-handler.js +21 -5
- package/node_modules/undici/lib/handler/retry-handler.js +42 -7
- package/node_modules/undici/lib/interceptor/cache.js +20 -1
- package/node_modules/undici/lib/interceptor/decompress.js +146 -14
- package/node_modules/undici/lib/interceptor/dump.js +10 -23
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +245 -150
- package/node_modules/undici/lib/web/websocket/connection.js +1 -1
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +5 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +8 -10
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/interceptors.d.ts +2 -0
- package/node_modules/undici-types/agent.d.ts +13 -12
- package/node_modules/undici-types/api.d.ts +26 -26
- package/node_modules/undici-types/balanced-pool.d.ts +12 -13
- package/node_modules/undici-types/client.d.ts +34 -55
- package/node_modules/undici-types/connector.d.ts +2 -4
- package/node_modules/undici-types/cookies.d.ts +0 -2
- package/node_modules/undici-types/diagnostics-channel.d.ts +10 -18
- package/node_modules/undici-types/dispatcher.d.ts +137 -134
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +3 -4
- package/node_modules/undici-types/errors.d.ts +54 -82
- package/node_modules/undici-types/eventsource.d.ts +4 -9
- package/node_modules/undici-types/fetch.d.ts +24 -46
- package/node_modules/undici-types/file.d.ts +39 -0
- package/node_modules/undici-types/filereader.d.ts +54 -0
- 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/handlers.d.ts +9 -8
- package/node_modules/undici-types/header.d.ts +1 -162
- package/node_modules/undici-types/index.d.ts +47 -69
- package/node_modules/undici-types/interceptors.d.ts +9 -72
- package/node_modules/undici-types/mock-agent.d.ts +18 -36
- package/node_modules/undici-types/mock-client.d.ts +4 -6
- package/node_modules/undici-types/mock-errors.d.ts +3 -3
- package/node_modules/undici-types/mock-interceptor.d.ts +20 -21
- package/node_modules/undici-types/mock-pool.d.ts +4 -6
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/patch.d.ts +4 -0
- 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 +6 -7
- package/node_modules/undici-types/readable.d.ts +16 -19
- package/node_modules/undici-types/retry-agent.d.ts +1 -1
- package/node_modules/undici-types/retry-handler.d.ts +10 -19
- package/node_modules/undici-types/util.d.ts +3 -3
- package/node_modules/undici-types/webidl.d.ts +30 -148
- package/node_modules/undici-types/websocket.d.ts +10 -48
- package/node_modules/zod/compile.cjs +19 -0
- package/node_modules/zod/index.cjs +19 -0
- package/node_modules/zod/locales/index.cjs +19 -0
- package/node_modules/zod/mini/index.cjs +19 -0
- package/node_modules/zod/package.json +8 -7
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +1 -1
- package/node_modules/zod/src/v4/classic/checks.ts +0 -1
- package/node_modules/zod/src/v4/classic/external.ts +2 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +248 -25
- package/node_modules/zod/src/v4/classic/schemas.ts +255 -164
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +59 -9
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +6 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +2 -2
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +274 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +112 -6
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +9 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +130 -1
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +4 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +157 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +18 -2
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +27 -7
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +88 -56
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +56 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +3 -2
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +70 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +225 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +46 -1
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +19 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +25 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +33 -1
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +147 -3
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +569 -0
- package/node_modules/zod/src/v4/core/api.ts +30 -6
- package/node_modules/zod/src/v4/core/checks.ts +1 -101
- package/node_modules/zod/src/v4/core/compile.ts +202 -88
- package/node_modules/zod/src/v4/core/doc.ts +6 -2
- package/node_modules/zod/src/v4/core/errors.ts +3 -6
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +2 -2
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +226 -68
- package/node_modules/zod/src/v4/core/memoizer.ts +78 -28
- package/node_modules/zod/src/v4/core/parse.ts +37 -16
- package/node_modules/zod/src/v4/core/regexes.ts +10 -4
- package/node_modules/zod/src/v4/core/schemas.ts +359 -122
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +222 -2
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +10 -8
- package/node_modules/zod/src/v4/core/util.ts +222 -147
- package/node_modules/zod/src/v4/core/versions.ts +2 -2
- package/node_modules/zod/src/v4/core/visit.ts +11 -0
- 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/index.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 +134 -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 +0 -1
- package/node_modules/zod/src/v4/mini/external.ts +2 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +39 -3
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +1 -1
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +11 -17
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +16 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +16 -0
- package/node_modules/zod/v3/ZodError.cjs +19 -0
- package/node_modules/zod/v3/errors.cjs +19 -0
- package/node_modules/zod/v3/external.cjs +19 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +20 -1
- package/node_modules/zod/v3/helpers/errorUtil.js +1 -1
- package/node_modules/zod/v3/helpers/parseUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +19 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +19 -0
- package/node_modules/zod/v3/helpers/util.cjs +19 -0
- package/node_modules/zod/v3/index.cjs +19 -0
- package/node_modules/zod/v3/standard-schema.cjs +19 -0
- package/node_modules/zod/v3/types.cjs +19 -0
- package/node_modules/zod/v4/classic/checks.cjs +20 -2
- 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/coerce.cjs +19 -0
- package/node_modules/zod/v4/classic/compat.cjs +19 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +19 -0
- package/node_modules/zod/v4/classic/errors.cjs +19 -0
- package/node_modules/zod/v4/classic/external.cjs +22 -1
- package/node_modules/zod/v4/classic/external.d.cts +1 -1
- package/node_modules/zod/v4/classic/external.d.ts +1 -1
- package/node_modules/zod/v4/classic/external.js +1 -1
- package/node_modules/zod/v4/classic/from-json-schema.cjs +264 -24
- package/node_modules/zod/v4/classic/from-json-schema.js +245 -24
- package/node_modules/zod/v4/classic/in-out.cjs +19 -0
- package/node_modules/zod/v4/classic/index.cjs +19 -0
- package/node_modules/zod/v4/classic/iso.cjs +19 -0
- package/node_modules/zod/v4/classic/parse.cjs +19 -0
- package/node_modules/zod/v4/classic/schemas.cjs +100 -31
- package/node_modules/zod/v4/classic/schemas.d.cts +17 -1
- package/node_modules/zod/v4/classic/schemas.d.ts +17 -1
- package/node_modules/zod/v4/classic/schemas.js +77 -29
- package/node_modules/zod/v4/core/api.cjs +37 -2
- package/node_modules/zod/v4/core/api.d.cts +6 -4
- package/node_modules/zod/v4/core/api.d.ts +6 -4
- package/node_modules/zod/v4/core/api.js +17 -2
- package/node_modules/zod/v4/core/checks.cjs +19 -96
- package/node_modules/zod/v4/core/checks.d.cts +1 -1
- package/node_modules/zod/v4/core/checks.d.ts +1 -1
- package/node_modules/zod/v4/core/checks.js +0 -96
- package/node_modules/zod/v4/core/compile.cjs +172 -72
- package/node_modules/zod/v4/core/compile.d.cts +18 -4
- package/node_modules/zod/v4/core/compile.d.ts +18 -4
- package/node_modules/zod/v4/core/compile.js +153 -73
- package/node_modules/zod/v4/core/core.cjs +19 -0
- package/node_modules/zod/v4/core/doc.cjs +26 -2
- package/node_modules/zod/v4/core/doc.js +7 -2
- package/node_modules/zod/v4/core/errors.cjs +21 -5
- package/node_modules/zod/v4/core/errors.js +2 -5
- package/node_modules/zod/v4/core/index.cjs +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +20 -1
- package/node_modules/zod/v4/core/json-schema-generator.js +2 -2
- package/node_modules/zod/v4/core/json-schema-processors.cjs +215 -63
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +17 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +17 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +195 -64
- package/node_modules/zod/v4/core/json-schema.cjs +19 -0
- package/node_modules/zod/v4/core/memoizer.cjs +114 -23
- package/node_modules/zod/v4/core/memoizer.js +72 -23
- package/node_modules/zod/v4/core/parse.cjs +56 -16
- package/node_modules/zod/v4/core/parse.js +37 -16
- package/node_modules/zod/v4/core/regexes.cjs +29 -6
- package/node_modules/zod/v4/core/regexes.d.cts +2 -0
- package/node_modules/zod/v4/core/regexes.d.ts +2 -0
- package/node_modules/zod/v4/core/regexes.js +8 -4
- package/node_modules/zod/v4/core/registries.cjs +19 -0
- package/node_modules/zod/v4/core/schemas.cjs +331 -103
- package/node_modules/zod/v4/core/schemas.d.cts +43 -8
- package/node_modules/zod/v4/core/schemas.d.ts +43 -8
- package/node_modules/zod/v4/core/schemas.js +310 -102
- package/node_modules/zod/v4/core/standard-schema.cjs +19 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +29 -7
- package/node_modules/zod/v4/core/to-json-schema.d.cts +7 -3
- package/node_modules/zod/v4/core/to-json-schema.d.ts +7 -3
- package/node_modules/zod/v4/core/to-json-schema.js +8 -7
- package/node_modules/zod/v4/core/util.cjs +181 -143
- package/node_modules/zod/v4/core/util.d.cts +25 -4
- package/node_modules/zod/v4/core/util.d.ts +25 -4
- package/node_modules/zod/v4/core/util.js +160 -143
- package/node_modules/zod/v4/core/versions.cjs +21 -2
- package/node_modules/zod/v4/core/versions.d.cts +1 -1
- package/node_modules/zod/v4/core/versions.d.ts +1 -1
- package/node_modules/zod/v4/core/versions.js +2 -2
- package/node_modules/zod/v4/core/visit.cjs +31 -0
- package/node_modules/zod/v4/core/visit.js +12 -0
- package/node_modules/zod/v4/index.cjs +19 -0
- 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/index.cjs +22 -1
- package/node_modules/zod/v4/locales/index.d.cts +1 -0
- package/node_modules/zod/v4/locales/index.d.ts +1 -0
- package/node_modules/zod/v4/locales/index.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 +143 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +116 -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 +20 -2
- 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/coerce.cjs +19 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +19 -0
- package/node_modules/zod/v4/mini/external.cjs +22 -1
- package/node_modules/zod/v4/mini/external.d.cts +1 -1
- package/node_modules/zod/v4/mini/external.d.ts +1 -1
- package/node_modules/zod/v4/mini/external.js +1 -1
- package/node_modules/zod/v4/mini/in-out.cjs +19 -0
- package/node_modules/zod/v4/mini/index.cjs +19 -0
- package/node_modules/zod/v4/mini/iso.cjs +19 -0
- package/node_modules/zod/v4/mini/parse.cjs +19 -0
- package/node_modules/zod/v4/mini/schemas.cjs +42 -4
- package/node_modules/zod/v4/mini/schemas.d.cts +9 -1
- package/node_modules/zod/v4/mini/schemas.d.ts +9 -1
- package/node_modules/zod/v4/mini/schemas.js +19 -2
- package/node_modules/zod/v4-mini/index.cjs +19 -0
- package/package.json +2 -2
- package/slingshot/index.js +151 -149
- package/node_modules/@types/node/ffi.d.ts +0 -486
- package/node_modules/@types/node/inspector/promises.d.ts +0 -35
- package/node_modules/@types/node/path/posix.d.ts +0 -8
- package/node_modules/@types/node/path/win32.d.ts +0 -8
- package/node_modules/@types/node/quic.d.ts +0 -2151
- package/node_modules/@types/node/stream/iter.d.ts +0 -452
- package/node_modules/@types/node/test/reporters.d.ts +0 -59
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -118
- package/node_modules/@types/node/util/types.d.ts +0 -558
- package/node_modules/@types/node/vfs.d.ts +0 -210
- package/node_modules/@types/node/web-globals/blob.d.ts +0 -23
- package/node_modules/@types/node/web-globals/console.d.ts +0 -9
- package/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
- package/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
- package/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
- package/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
- package/node_modules/@types/node/web-globals/performance.d.ts +0 -45
- package/node_modules/@types/node/web-globals/timers.d.ts +0 -44
- package/node_modules/@types/node/web-globals/url.d.ts +0 -24
- package/node_modules/@types/node/zlib/iter.d.ts +0 -131
- package/node_modules/jose/dist/webapi/lib/base64.js +0 -20
- package/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -27
- package/node_modules/jose/dist/webapi/lib/helpers.js +0 -45
- package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -12
- package/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -19
- package/node_modules/jose/dist/webapi/lib/jwk_metadata.js +0 -19
- package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -10
- package/node_modules/jose/dist/webapi/lib/key_options.js +0 -8
- package/node_modules/jose/dist/webapi/lib/signing.js +0 -22
- package/node_modules/jose/dist/webapi/lib/type_checks.js +0 -30
- package/node_modules/undici-types/cache-interceptor.d.ts +0 -179
- package/node_modules/undici-types/client-stats.d.ts +0 -15
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +0 -7
- package/node_modules/undici-types/h2c-client.d.ts +0 -73
- package/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -39
- package/node_modules/undici-types/snapshot-agent.d.ts +0 -113
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +0 -25
- package/node_modules/undici-types/utility.d.ts +0 -7
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
declare module "
|
|
1
|
+
declare module "process" {
|
|
2
2
|
import { Control, MessageOptions, SendHandle } from "node:child_process";
|
|
3
3
|
import { PathLike } from "node:fs";
|
|
4
4
|
import * as tty from "node:tty";
|
|
5
5
|
import { Worker } from "node:worker_threads";
|
|
6
|
+
|
|
6
7
|
interface BuiltInModule {
|
|
7
8
|
"assert": typeof import("assert");
|
|
8
9
|
"node:assert": typeof import("node:assert");
|
|
@@ -34,7 +35,6 @@ declare module "node:process" {
|
|
|
34
35
|
"node:domain": typeof import("node:domain");
|
|
35
36
|
"events": typeof import("events");
|
|
36
37
|
"node:events": typeof import("node:events");
|
|
37
|
-
"node:ffi": typeof import("node:ffi");
|
|
38
38
|
"fs": typeof import("fs");
|
|
39
39
|
"node:fs": typeof import("node:fs");
|
|
40
40
|
"fs/promises": typeof import("fs/promises");
|
|
@@ -69,7 +69,6 @@ declare module "node:process" {
|
|
|
69
69
|
"node:punycode": typeof import("node:punycode");
|
|
70
70
|
"querystring": typeof import("querystring");
|
|
71
71
|
"node:querystring": typeof import("node:querystring");
|
|
72
|
-
"node:quic": typeof import("node:quic");
|
|
73
72
|
"readline": typeof import("readline");
|
|
74
73
|
"node:readline": typeof import("node:readline");
|
|
75
74
|
"readline/promises": typeof import("readline/promises");
|
|
@@ -82,8 +81,6 @@ declare module "node:process" {
|
|
|
82
81
|
"node:stream": typeof import("node:stream");
|
|
83
82
|
"stream/consumers": typeof import("stream/consumers");
|
|
84
83
|
"node:stream/consumers": typeof import("node:stream/consumers");
|
|
85
|
-
"stream/iter": typeof import("stream/iter");
|
|
86
|
-
"node:stream/iter": typeof import("node:stream/iter");
|
|
87
84
|
"stream/promises": typeof import("stream/promises");
|
|
88
85
|
"node:stream/promises": typeof import("node:stream/promises");
|
|
89
86
|
"stream/web": typeof import("stream/web");
|
|
@@ -106,6 +103,8 @@ declare module "node:process" {
|
|
|
106
103
|
"node:url": typeof import("node:url");
|
|
107
104
|
"util": typeof import("util");
|
|
108
105
|
"node:util": typeof import("node:util");
|
|
106
|
+
"sys": typeof import("util");
|
|
107
|
+
"node:sys": typeof import("node:util");
|
|
109
108
|
"util/types": typeof import("util/types");
|
|
110
109
|
"node:util/types": typeof import("node:util/types");
|
|
111
110
|
"v8": typeof import("v8");
|
|
@@ -119,28 +118,8 @@ declare module "node:process" {
|
|
|
119
118
|
"zlib": typeof import("zlib");
|
|
120
119
|
"node:zlib": typeof import("node:zlib");
|
|
121
120
|
}
|
|
122
|
-
type SignalsEventMap = { [S in NodeJS.Signals]: [signal: S] };
|
|
123
|
-
interface ProcessEventMap extends SignalsEventMap {
|
|
124
|
-
"beforeExit": [code: number];
|
|
125
|
-
"disconnect": [];
|
|
126
|
-
"exit": [code: number];
|
|
127
|
-
"message": [
|
|
128
|
-
message: object | boolean | number | string | null,
|
|
129
|
-
sendHandle: SendHandle | undefined,
|
|
130
|
-
];
|
|
131
|
-
"rejectionHandled": [promise: Promise<unknown>];
|
|
132
|
-
"uncaughtException": [error: Error, origin: NodeJS.UncaughtExceptionOrigin];
|
|
133
|
-
"uncaughtExceptionMonitor": [error: Error, origin: NodeJS.UncaughtExceptionOrigin];
|
|
134
|
-
"unhandledRejection": [reason: unknown, promise: Promise<unknown>];
|
|
135
|
-
"warning": [warning: Error];
|
|
136
|
-
"worker": [worker: Worker];
|
|
137
|
-
"workerMessage": [value: any, source: number];
|
|
138
|
-
}
|
|
139
121
|
global {
|
|
140
122
|
var process: NodeJS.Process;
|
|
141
|
-
namespace process {
|
|
142
|
-
export { ProcessEventMap };
|
|
143
|
-
}
|
|
144
123
|
namespace NodeJS {
|
|
145
124
|
// this namespace merge is here because these are specifically used
|
|
146
125
|
// as the type for process.stdin, process.stdout, and process.stderr.
|
|
@@ -217,7 +196,7 @@ declare module "node:process" {
|
|
|
217
196
|
readonly ipv6: boolean;
|
|
218
197
|
/**
|
|
219
198
|
* A boolean value that is `true` if the current Node.js build supports
|
|
220
|
-
* [loading ECMAScript modules using `require()`](https://nodejs.org/docs/latest-
|
|
199
|
+
* [loading ECMAScript modules using `require()`](https://nodejs.org/docs/latest-v22.x/api/modules.md#loading-ecmascript-modules-using-require).
|
|
221
200
|
* @since v22.10.0
|
|
222
201
|
*/
|
|
223
202
|
readonly require_module: boolean;
|
|
@@ -254,11 +233,12 @@ declare module "node:process" {
|
|
|
254
233
|
*/
|
|
255
234
|
readonly tls_sni: boolean;
|
|
256
235
|
/**
|
|
257
|
-
* A value that is `"strip"` by default,
|
|
258
|
-
* Node.js is run with `--
|
|
236
|
+
* A value that is `"strip"` by default,
|
|
237
|
+
* `"transform"` if Node.js is run with `--experimental-transform-types`, and `false` if
|
|
238
|
+
* Node.js is run with `--no-experimental-strip-types`.
|
|
259
239
|
* @since v22.10.0
|
|
260
240
|
*/
|
|
261
|
-
readonly typescript: "strip" | false;
|
|
241
|
+
readonly typescript: "strip" | "transform" | false;
|
|
262
242
|
/**
|
|
263
243
|
* A boolean value that is `true` if the current Node.js build includes support for libuv.
|
|
264
244
|
*
|
|
@@ -297,8 +277,10 @@ declare module "node:process" {
|
|
|
297
277
|
| "loong64"
|
|
298
278
|
| "mips"
|
|
299
279
|
| "mipsel"
|
|
280
|
+
| "ppc"
|
|
300
281
|
| "ppc64"
|
|
301
282
|
| "riscv64"
|
|
283
|
+
| "s390"
|
|
302
284
|
| "s390x"
|
|
303
285
|
| "x64";
|
|
304
286
|
type Signals =
|
|
@@ -340,129 +322,26 @@ declare module "node:process" {
|
|
|
340
322
|
| "SIGLOST"
|
|
341
323
|
| "SIGINFO";
|
|
342
324
|
type UncaughtExceptionOrigin = "uncaughtException" | "unhandledRejection";
|
|
325
|
+
type MultipleResolveType = "resolve" | "reject";
|
|
326
|
+
type BeforeExitListener = (code: number) => void;
|
|
327
|
+
type DisconnectListener = () => void;
|
|
328
|
+
type ExitListener = (code: number) => void;
|
|
329
|
+
type RejectionHandledListener = (promise: Promise<unknown>) => void;
|
|
330
|
+
type UncaughtExceptionListener = (error: Error, origin: UncaughtExceptionOrigin) => void;
|
|
343
331
|
/**
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
* have their parameter types inferred automatically.
|
|
347
|
-
*
|
|
348
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
349
|
-
*
|
|
350
|
-
* ```ts
|
|
351
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
352
|
-
* const listener = (...args: ProcessEventMap['beforeExit']) => { ... };
|
|
353
|
-
* ```
|
|
354
|
-
*/
|
|
355
|
-
type BeforeExitListener = (...args: ProcessEventMap["beforeExit"]) => void;
|
|
356
|
-
/**
|
|
357
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
358
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
359
|
-
* have their parameter types inferred automatically.
|
|
360
|
-
*
|
|
361
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
362
|
-
*
|
|
363
|
-
* ```ts
|
|
364
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
365
|
-
* const listener = (...args: ProcessEventMap['disconnect']) => { ... };
|
|
366
|
-
* ```
|
|
367
|
-
*/
|
|
368
|
-
type DisconnectListener = (...args: ProcessEventMap["disconnect"]) => void;
|
|
369
|
-
/**
|
|
370
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
371
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
372
|
-
* have their parameter types inferred automatically.
|
|
373
|
-
*
|
|
374
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
375
|
-
*
|
|
376
|
-
* ```ts
|
|
377
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
378
|
-
* const listener = (...args: ProcessEventMap['exit']) => { ... };
|
|
379
|
-
* ```
|
|
380
|
-
*/
|
|
381
|
-
type ExitListener = (...args: ProcessEventMap["exit"]) => void;
|
|
382
|
-
/**
|
|
383
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
384
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
385
|
-
* have their parameter types inferred automatically.
|
|
386
|
-
*
|
|
387
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
388
|
-
*
|
|
389
|
-
* ```ts
|
|
390
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
391
|
-
* const listener = (...args: ProcessEventMap['message']) => { ... };
|
|
392
|
-
* ```
|
|
393
|
-
*/
|
|
394
|
-
type MessageListener = (...args: ProcessEventMap["message"]) => void;
|
|
395
|
-
/**
|
|
396
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
397
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
398
|
-
* have their parameter types inferred automatically.
|
|
399
|
-
*
|
|
400
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
401
|
-
*
|
|
402
|
-
* ```ts
|
|
403
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
404
|
-
* const listener = (...args: ProcessEventMap['rejectionHandled']) => { ... };
|
|
405
|
-
* ```
|
|
406
|
-
*/
|
|
407
|
-
type RejectionHandledListener = (...args: ProcessEventMap["rejectionHandled"]) => void;
|
|
408
|
-
/**
|
|
409
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
410
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
411
|
-
* have their parameter types inferred automatically.
|
|
332
|
+
* Most of the time the unhandledRejection will be an Error, but this should not be relied upon
|
|
333
|
+
* as *anything* can be thrown/rejected, it is therefore unsafe to assume that the value is an Error.
|
|
412
334
|
*/
|
|
335
|
+
type UnhandledRejectionListener = (reason: unknown, promise: Promise<unknown>) => void;
|
|
336
|
+
type WarningListener = (warning: Error) => void;
|
|
337
|
+
type MessageListener = (message: unknown, sendHandle: SendHandle) => void;
|
|
413
338
|
type SignalsListener = (signal: Signals) => void;
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
*
|
|
421
|
-
* ```ts
|
|
422
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
423
|
-
* const listener = (...args: ProcessEventMap['uncaughtException']) => { ... };
|
|
424
|
-
* ```
|
|
425
|
-
*/
|
|
426
|
-
type UncaughtExceptionListener = (...args: ProcessEventMap["uncaughtException"]) => void;
|
|
427
|
-
/**
|
|
428
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
429
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
430
|
-
* have their parameter types inferred automatically.
|
|
431
|
-
*
|
|
432
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
433
|
-
*
|
|
434
|
-
* ```ts
|
|
435
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
436
|
-
* const listener = (...args: ProcessEventMap['unhandledRejection']) => { ... };
|
|
437
|
-
* ```
|
|
438
|
-
*/
|
|
439
|
-
type UnhandledRejectionListener = (...args: ProcessEventMap["unhandledRejection"]) => void;
|
|
440
|
-
/**
|
|
441
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
442
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
443
|
-
* have their parameter types inferred automatically.
|
|
444
|
-
*
|
|
445
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
446
|
-
*
|
|
447
|
-
* ```ts
|
|
448
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
449
|
-
* const listener = (...args: ProcessEventMap['warning']) => { ... };
|
|
450
|
-
* ```
|
|
451
|
-
*/
|
|
452
|
-
type WarningListener = (...args: ProcessEventMap["warning"]) => void;
|
|
453
|
-
/**
|
|
454
|
-
* @deprecated Global listener types will be removed in a future version.
|
|
455
|
-
* Callbacks passed directly to `process`'s EventEmitter methods
|
|
456
|
-
* have their parameter types inferred automatically.
|
|
457
|
-
*
|
|
458
|
-
* `process` event types are also available via `ProcessEventMap`:
|
|
459
|
-
*
|
|
460
|
-
* ```ts
|
|
461
|
-
* import type { ProcessEventMap } from 'node:process';
|
|
462
|
-
* const listener = (...args: ProcessEventMap['worker']) => { ... };
|
|
463
|
-
* ```
|
|
464
|
-
*/
|
|
465
|
-
type WorkerListener = (...args: ProcessEventMap["worker"]) => void;
|
|
339
|
+
type MultipleResolveListener = (
|
|
340
|
+
type: MultipleResolveType,
|
|
341
|
+
promise: Promise<unknown>,
|
|
342
|
+
value: unknown,
|
|
343
|
+
) => void;
|
|
344
|
+
type WorkerListener = (worker: Worker) => void;
|
|
466
345
|
interface Socket extends ReadWriteStream {
|
|
467
346
|
isTTY?: true | undefined;
|
|
468
347
|
}
|
|
@@ -549,58 +428,6 @@ declare module "node:process" {
|
|
|
549
428
|
* @since v20.0.0
|
|
550
429
|
*/
|
|
551
430
|
has(scope: string, reference?: string): boolean;
|
|
552
|
-
/**
|
|
553
|
-
* Drops the specified permission from the current process. This operation is
|
|
554
|
-
* **irreversible** — once a permission is dropped, it cannot be restored through
|
|
555
|
-
* any Node.js API.
|
|
556
|
-
*
|
|
557
|
-
* If no reference is provided, the entire scope is dropped. For example,
|
|
558
|
-
* `process.permission.drop('fs.read')` will revoke ALL file system read
|
|
559
|
-
* permissions.
|
|
560
|
-
*
|
|
561
|
-
* When a reference is provided, only the permission for that specific resource
|
|
562
|
-
* is dropped. For example, `process.permission.drop('fs.read', '/etc/myapp')`
|
|
563
|
-
* will revoke read access to that directory while keeping other read
|
|
564
|
-
* permissions intact.
|
|
565
|
-
*
|
|
566
|
-
* **Important:** You can only drop the exact resource that was explicitly
|
|
567
|
-
* granted. The reference passed to `drop()` must match the original grant:
|
|
568
|
-
*
|
|
569
|
-
* * If a permission was granted using a wildcard (`*`), such as
|
|
570
|
-
* `--allow-fs-read=*`, individual paths cannot be dropped - only the entire
|
|
571
|
-
* scope can be dropped (by calling `drop()` without a reference).
|
|
572
|
-
* * If a directory was granted (e.g. `--allow-fs-read=/my/folder`), you cannot
|
|
573
|
-
* drop access to individual files inside it. You must drop the same directory
|
|
574
|
-
* that was granted. Any remaining grants continue to apply.
|
|
575
|
-
*
|
|
576
|
-
* The available scopes are the same as [`process.permission.has()`][]:
|
|
577
|
-
*
|
|
578
|
-
* `fs` - All File System (drops both read and write)
|
|
579
|
-
* * `fs.read` - File System read operations
|
|
580
|
-
* * `fs.write` - File System write operations
|
|
581
|
-
* * `child` - Child process spawning operations
|
|
582
|
-
* * `worker` - Worker thread spawning operation
|
|
583
|
-
* * `net` - Network operations
|
|
584
|
-
* * `inspector` - Inspector operations
|
|
585
|
-
* * `wasi` - WASI operations
|
|
586
|
-
* * `addon` - Native addon operations
|
|
587
|
-
*
|
|
588
|
-
* ```js
|
|
589
|
-
* const fs = require('node:fs');
|
|
590
|
-
*
|
|
591
|
-
* // Read configuration during startup
|
|
592
|
-
* const config = fs.readFileSync('/etc/myapp/config.json', 'utf8');
|
|
593
|
-
*
|
|
594
|
-
* // Drop read access to the config directory after initialization
|
|
595
|
-
* process.permission.drop('fs.read', '/etc/myapp');
|
|
596
|
-
*
|
|
597
|
-
* // This will now throw ERR_ACCESS_DENIED
|
|
598
|
-
* fs.readFileSync('/etc/myapp/config.json');
|
|
599
|
-
* ```
|
|
600
|
-
* @since v26.3.0
|
|
601
|
-
* @experimental
|
|
602
|
-
*/
|
|
603
|
-
drop(scope: string, reference?: string): void;
|
|
604
431
|
}
|
|
605
432
|
interface ProcessReport {
|
|
606
433
|
/**
|
|
@@ -783,8 +610,7 @@ declare module "node:process" {
|
|
|
783
610
|
* arguments passed when the Node.js process was launched. The first element will
|
|
784
611
|
* be {@link execPath}. See `process.argv0` if access to the original value
|
|
785
612
|
* of `argv[0]` is needed. The second element will be the path to the JavaScript
|
|
786
|
-
* file being executed.
|
|
787
|
-
* will be the absolute path to it. The remaining elements are additional command-line
|
|
613
|
+
* file being executed. The remaining elements will be any additional command-line
|
|
788
614
|
* arguments.
|
|
789
615
|
*
|
|
790
616
|
* For example, assuming the following script for `process-args.js`:
|
|
@@ -843,14 +669,14 @@ declare module "node:process" {
|
|
|
843
669
|
*
|
|
844
670
|
* Results in `process.execArgv`:
|
|
845
671
|
*
|
|
846
|
-
* ```
|
|
672
|
+
* ```js
|
|
847
673
|
* ["--icu-data-dir=./foo", "--require", "./bar.js"]
|
|
848
674
|
* ```
|
|
849
675
|
*
|
|
850
676
|
* And `process.argv`:
|
|
851
677
|
*
|
|
852
|
-
* ```
|
|
853
|
-
* [
|
|
678
|
+
* ```js
|
|
679
|
+
* ['/usr/local/bin/node', 'script.js', '--version']
|
|
854
680
|
* ```
|
|
855
681
|
*
|
|
856
682
|
* Refer to `Worker constructor` for the detailed behavior of worker
|
|
@@ -862,8 +688,8 @@ declare module "node:process" {
|
|
|
862
688
|
* The `process.execPath` property returns the absolute pathname of the executable
|
|
863
689
|
* that started the Node.js process. Symbolic links, if any, are resolved.
|
|
864
690
|
*
|
|
865
|
-
* ```
|
|
866
|
-
*
|
|
691
|
+
* ```js
|
|
692
|
+
* '/usr/local/bin/node'
|
|
867
693
|
* ```
|
|
868
694
|
* @since v0.1.100
|
|
869
695
|
*/
|
|
@@ -876,28 +702,6 @@ declare module "node:process" {
|
|
|
876
702
|
* @since v0.7.0
|
|
877
703
|
*/
|
|
878
704
|
abort(): never;
|
|
879
|
-
/**
|
|
880
|
-
* The `process.addUncaughtExceptionCaptureCallback()` function adds a callback
|
|
881
|
-
* that will be invoked when an uncaught exception occurs, receiving the exception
|
|
882
|
-
* value as its first argument.
|
|
883
|
-
*
|
|
884
|
-
* Unlike `process.setUncaughtExceptionCaptureCallback()`, this function allows
|
|
885
|
-
* multiple callbacks to be registered and does not conflict with the
|
|
886
|
-
* [`domain`](https://nodejs.org/docs/latest-v26.x/api/domain.html) module. Callbacks are called in reverse order of registration
|
|
887
|
-
* (most recent first). If a callback returns `true`, subsequent callbacks
|
|
888
|
-
* and the default uncaught exception handling are skipped.
|
|
889
|
-
*
|
|
890
|
-
* ```js
|
|
891
|
-
* import process from 'node:process';
|
|
892
|
-
*
|
|
893
|
-
* process.addUncaughtExceptionCaptureCallback((err) => {
|
|
894
|
-
* console.error('Caught exception:', err.message);
|
|
895
|
-
* return true; // Indicates exception was handled
|
|
896
|
-
* });
|
|
897
|
-
* ```
|
|
898
|
-
* @since v25.9.0
|
|
899
|
-
*/
|
|
900
|
-
addUncaughtExceptionCaptureCallback(fn: (err: unknown) => boolean): void;
|
|
901
705
|
/**
|
|
902
706
|
* The `process.chdir()` method changes the current working directory of the
|
|
903
707
|
* Node.js process or throws an exception if doing so fails (for instance, if
|
|
@@ -947,7 +751,7 @@ declare module "node:process" {
|
|
|
947
751
|
* should not be used directly, except in special cases. In other words, `require()` should be preferred over `process.dlopen()`
|
|
948
752
|
* unless there are specific reasons such as custom dlopen flags or loading from ES modules.
|
|
949
753
|
*
|
|
950
|
-
* The `flags` argument is an integer that allows to specify dlopen behavior. See the `[os.constants.dlopen](https://nodejs.org/docs/latest-
|
|
754
|
+
* The `flags` argument is an integer that allows to specify dlopen behavior. See the `[os.constants.dlopen](https://nodejs.org/docs/latest-v22.x/api/os.html#dlopen-constants)`
|
|
951
755
|
* documentation for details.
|
|
952
756
|
*
|
|
953
757
|
* An important requirement when calling `process.dlopen()` is that the `module` instance must be passed. Functions exported by the C++ Addon
|
|
@@ -1046,18 +850,18 @@ declare module "node:process" {
|
|
|
1046
850
|
*
|
|
1047
851
|
* An example of this object looks like:
|
|
1048
852
|
*
|
|
1049
|
-
* ```
|
|
853
|
+
* ```js
|
|
1050
854
|
* {
|
|
1051
|
-
*
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
*
|
|
1055
|
-
*
|
|
1056
|
-
*
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
855
|
+
* TERM: 'xterm-256color',
|
|
856
|
+
* SHELL: '/usr/local/bin/bash',
|
|
857
|
+
* USER: 'maciej',
|
|
858
|
+
* PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin',
|
|
859
|
+
* PWD: '/Users/maciej',
|
|
860
|
+
* EDITOR: 'vim',
|
|
861
|
+
* SHLVL: '1',
|
|
862
|
+
* HOME: '/Users/maciej',
|
|
863
|
+
* LOGNAME: 'maciej',
|
|
864
|
+
* _: '/usr/local/bin/node'
|
|
1061
865
|
* }
|
|
1062
866
|
* ```
|
|
1063
867
|
*
|
|
@@ -1494,11 +1298,10 @@ declare module "node:process" {
|
|
|
1494
1298
|
* method with a non-`null` argument while another capture function is set will
|
|
1495
1299
|
* throw an error.
|
|
1496
1300
|
*
|
|
1497
|
-
*
|
|
1498
|
-
* `process.addUncaughtExceptionCaptureCallback()` instead.
|
|
1301
|
+
* Using this function is mutually exclusive with using the deprecated `domain` built-in module.
|
|
1499
1302
|
* @since v9.3.0
|
|
1500
1303
|
*/
|
|
1501
|
-
setUncaughtExceptionCaptureCallback(cb: ((err:
|
|
1304
|
+
setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void;
|
|
1502
1305
|
/**
|
|
1503
1306
|
* Indicates whether a callback has been set using {@link setUncaughtExceptionCaptureCallback}.
|
|
1504
1307
|
* @since v9.3.0
|
|
@@ -1551,35 +1354,30 @@ declare module "node:process" {
|
|
|
1551
1354
|
* Will generate an object similar to:
|
|
1552
1355
|
*
|
|
1553
1356
|
* ```console
|
|
1554
|
-
* { node: '
|
|
1555
|
-
* acorn: '8.
|
|
1556
|
-
* ada: '
|
|
1557
|
-
*
|
|
1558
|
-
*
|
|
1559
|
-
* brotli: '1.
|
|
1560
|
-
*
|
|
1561
|
-
* cldr: '
|
|
1562
|
-
* icu: '
|
|
1563
|
-
* llhttp: '
|
|
1564
|
-
* modules: '
|
|
1565
|
-
* napi: '
|
|
1566
|
-
*
|
|
1567
|
-
*
|
|
1568
|
-
*
|
|
1569
|
-
*
|
|
1570
|
-
*
|
|
1571
|
-
*
|
|
1572
|
-
*
|
|
1573
|
-
*
|
|
1574
|
-
*
|
|
1575
|
-
*
|
|
1576
|
-
*
|
|
1577
|
-
*
|
|
1578
|
-
* uv: '1.51.0',
|
|
1579
|
-
* uvwasi: '0.0.23',
|
|
1580
|
-
* v8: '14.3.127.18-node.10',
|
|
1581
|
-
* zlib: '1.3.1-e00f703',
|
|
1582
|
-
* zstd: '1.5.7' }
|
|
1357
|
+
* { node: '20.2.0',
|
|
1358
|
+
* acorn: '8.8.2',
|
|
1359
|
+
* ada: '2.4.0',
|
|
1360
|
+
* ares: '1.19.0',
|
|
1361
|
+
* base64: '0.5.0',
|
|
1362
|
+
* brotli: '1.0.9',
|
|
1363
|
+
* cjs_module_lexer: '1.2.2',
|
|
1364
|
+
* cldr: '43.0',
|
|
1365
|
+
* icu: '73.1',
|
|
1366
|
+
* llhttp: '8.1.0',
|
|
1367
|
+
* modules: '115',
|
|
1368
|
+
* napi: '8',
|
|
1369
|
+
* nghttp2: '1.52.0',
|
|
1370
|
+
* nghttp3: '0.7.0',
|
|
1371
|
+
* ngtcp2: '0.8.1',
|
|
1372
|
+
* openssl: '3.0.8+quic',
|
|
1373
|
+
* simdutf: '3.2.9',
|
|
1374
|
+
* tz: '2023c',
|
|
1375
|
+
* undici: '5.22.0',
|
|
1376
|
+
* unicode: '15.0',
|
|
1377
|
+
* uv: '1.44.2',
|
|
1378
|
+
* uvwasi: '0.0.16',
|
|
1379
|
+
* v8: '11.3.244.8-node.9',
|
|
1380
|
+
* zlib: '1.2.13' }
|
|
1583
1381
|
* ```
|
|
1584
1382
|
* @since v0.2.0
|
|
1585
1383
|
*/
|
|
@@ -1592,28 +1390,29 @@ declare module "node:process" {
|
|
|
1592
1390
|
*
|
|
1593
1391
|
* An example of the possible output looks like:
|
|
1594
1392
|
*
|
|
1595
|
-
* ```
|
|
1393
|
+
* ```js
|
|
1596
1394
|
* {
|
|
1597
|
-
*
|
|
1598
|
-
* {
|
|
1599
|
-
*
|
|
1600
|
-
*
|
|
1601
|
-
*
|
|
1602
|
-
*
|
|
1603
|
-
*
|
|
1395
|
+
* target_defaults:
|
|
1396
|
+
* { cflags: [],
|
|
1397
|
+
* default_configuration: 'Release',
|
|
1398
|
+
* defines: [],
|
|
1399
|
+
* include_dirs: [],
|
|
1400
|
+
* libraries: [] },
|
|
1401
|
+
* variables:
|
|
1604
1402
|
* {
|
|
1605
|
-
*
|
|
1606
|
-
*
|
|
1607
|
-
*
|
|
1608
|
-
*
|
|
1609
|
-
*
|
|
1610
|
-
*
|
|
1611
|
-
*
|
|
1612
|
-
*
|
|
1613
|
-
*
|
|
1614
|
-
*
|
|
1615
|
-
*
|
|
1616
|
-
*
|
|
1403
|
+
* host_arch: 'x64',
|
|
1404
|
+
* napi_build_version: 5,
|
|
1405
|
+
* node_install_npm: 'true',
|
|
1406
|
+
* node_prefix: '',
|
|
1407
|
+
* node_shared_cares: 'false',
|
|
1408
|
+
* node_shared_http_parser: 'false',
|
|
1409
|
+
* node_shared_libuv: 'false',
|
|
1410
|
+
* node_shared_zlib: 'false',
|
|
1411
|
+
* node_use_openssl: 'true',
|
|
1412
|
+
* node_shared_openssl: 'false',
|
|
1413
|
+
* strict_aliasing: 'true',
|
|
1414
|
+
* target_arch: 'x64',
|
|
1415
|
+
* v8_use_snapshot: 1
|
|
1617
1416
|
* }
|
|
1618
1417
|
* }
|
|
1619
1418
|
* ```
|
|
@@ -1701,7 +1500,7 @@ declare module "node:process" {
|
|
|
1701
1500
|
*
|
|
1702
1501
|
* The result of a previous call to `process.threadCpuUsage()` can be passed as the
|
|
1703
1502
|
* argument to the function, to get a diff reading.
|
|
1704
|
-
* @since
|
|
1503
|
+
* @since v22.19.0
|
|
1705
1504
|
* @param previousValue A previous return value from calling
|
|
1706
1505
|
* `process.threadCpuUsage()`
|
|
1707
1506
|
*/
|
|
@@ -1726,8 +1525,7 @@ declare module "node:process" {
|
|
|
1726
1525
|
title: string;
|
|
1727
1526
|
/**
|
|
1728
1527
|
* The operating system CPU architecture for which the Node.js binary was compiled.
|
|
1729
|
-
* Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`,
|
|
1730
|
-
* `'mipsel'`, `'ppc64'`, `'riscv64'`, `'s390x'`, and `'x64'`.
|
|
1528
|
+
* Possible values are: `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`, `'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`, and `'x64'`.
|
|
1731
1529
|
*
|
|
1732
1530
|
* ```js
|
|
1733
1531
|
* import { arch } from 'node:process';
|
|
@@ -1787,7 +1585,7 @@ declare module "node:process" {
|
|
|
1787
1585
|
constrainedMemory(): number;
|
|
1788
1586
|
/**
|
|
1789
1587
|
* Gets the amount of free memory that is still available to the process (in bytes).
|
|
1790
|
-
* See [`uv_get_available_memory`](https://nodejs.org/docs/latest-
|
|
1588
|
+
* See [`uv_get_available_memory`](https://nodejs.org/docs/latest-v22.x/api/process.html#processavailablememory) for more information.
|
|
1791
1589
|
* @since v20.13.0
|
|
1792
1590
|
*/
|
|
1793
1591
|
availableMemory(): number;
|
|
@@ -1927,13 +1725,13 @@ declare module "node:process" {
|
|
|
1927
1725
|
*
|
|
1928
1726
|
* `process.release` contains the following properties:
|
|
1929
1727
|
*
|
|
1930
|
-
* ```
|
|
1728
|
+
* ```js
|
|
1931
1729
|
* {
|
|
1932
|
-
*
|
|
1933
|
-
*
|
|
1934
|
-
*
|
|
1935
|
-
*
|
|
1936
|
-
*
|
|
1730
|
+
* name: 'node',
|
|
1731
|
+
* lts: 'Hydrogen',
|
|
1732
|
+
* sourceUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0.tar.gz',
|
|
1733
|
+
* headersUrl: 'https://nodejs.org/download/release/v18.12.0/node-v18.12.0-headers.tar.gz',
|
|
1734
|
+
* libUrl: 'https://nodejs.org/download/release/v18.12.0/win-x64/node.lib'
|
|
1937
1735
|
* }
|
|
1938
1736
|
* ```
|
|
1939
1737
|
*
|
|
@@ -1943,24 +1741,6 @@ declare module "node:process" {
|
|
|
1943
1741
|
*/
|
|
1944
1742
|
readonly release: ProcessRelease;
|
|
1945
1743
|
readonly features: ProcessFeatures;
|
|
1946
|
-
/**
|
|
1947
|
-
* The `process.traceProcessWarnings` property indicates whether the `--trace-warnings` flag
|
|
1948
|
-
* is set on the current Node.js process. This property allows programmatic control over the
|
|
1949
|
-
* tracing of warnings, enabling or disabling stack traces for warnings at runtime.
|
|
1950
|
-
*
|
|
1951
|
-
* ```js
|
|
1952
|
-
* // Enable trace warnings
|
|
1953
|
-
* process.traceProcessWarnings = true;
|
|
1954
|
-
*
|
|
1955
|
-
* // Emit a warning with a stack trace
|
|
1956
|
-
* process.emitWarning('Warning with stack trace');
|
|
1957
|
-
*
|
|
1958
|
-
* // Disable trace warnings
|
|
1959
|
-
* process.traceProcessWarnings = false;
|
|
1960
|
-
* ```
|
|
1961
|
-
* @since v6.10.0
|
|
1962
|
-
*/
|
|
1963
|
-
traceProcessWarnings: boolean;
|
|
1964
1744
|
/**
|
|
1965
1745
|
* `process.umask()` returns the Node.js process's file mode creation mask. Child
|
|
1966
1746
|
* processes inherit the mask from the parent process.
|
|
@@ -2025,7 +1805,7 @@ declare module "node:process" {
|
|
|
2025
1805
|
* If the Node.js process was not spawned with an IPC channel, `process.disconnect()` will be `undefined`.
|
|
2026
1806
|
* @since v0.7.2
|
|
2027
1807
|
*/
|
|
2028
|
-
disconnect
|
|
1808
|
+
disconnect(): void;
|
|
2029
1809
|
/**
|
|
2030
1810
|
* If the Node.js process is spawned with an IPC channel (see the `Child Process` and `Cluster` documentation), the `process.connected` property will return `true` so long as the IPC
|
|
2031
1811
|
* channel is connected and will return `false` after `process.disconnect()` is called.
|
|
@@ -2079,7 +1859,7 @@ declare module "node:process" {
|
|
|
2079
1859
|
allowedNodeEnvironmentFlags: ReadonlySet<string>;
|
|
2080
1860
|
/**
|
|
2081
1861
|
* `process.report` is an object whose methods are used to generate diagnostic reports for the current process.
|
|
2082
|
-
* Additional documentation is available in the [report documentation](https://nodejs.org/docs/latest-
|
|
1862
|
+
* Additional documentation is available in the [report documentation](https://nodejs.org/docs/latest-v22.x/api/report.html).
|
|
2083
1863
|
* @since v11.8.0
|
|
2084
1864
|
*/
|
|
2085
1865
|
report: ProcessReport;
|
|
@@ -2182,19 +1962,7 @@ declare module "node:process" {
|
|
|
2182
1962
|
* All other resources are discarded by the system when the processes are swapped, without triggering
|
|
2183
1963
|
* any exit or close events and without running any cleanup handler.
|
|
2184
1964
|
*
|
|
2185
|
-
*
|
|
2186
|
-
* processes are swapped, without triggering any exit or close events, without
|
|
2187
|
-
* running any JavaScript cleanup handler (for example `process.on('exit')`),
|
|
2188
|
-
* and without invoking native `AtExit` callbacks registered through the
|
|
2189
|
-
* embedder API. Callers that need to run cleanup logic should do so before
|
|
2190
|
-
* calling `process.execve()`.
|
|
2191
|
-
*
|
|
2192
|
-
* This function does not return on success. If the underlying `execve(2)`
|
|
2193
|
-
* system call fails, an `Error` is thrown whose `code` property is set to the
|
|
2194
|
-
* corresponding `errno` string (for example, `'ENOENT'` when `file` does not
|
|
2195
|
-
* exist), with `syscall` set to `'execve'` and `path` set to `file`. When
|
|
2196
|
-
* `execve(2)` fails the current process continues to run with its state
|
|
2197
|
-
* unchanged, so a caller may handle the error and take another action.
|
|
1965
|
+
* This function will never return, unless an error occurred.
|
|
2198
1966
|
*
|
|
2199
1967
|
* This function is not available on Windows or IBM i.
|
|
2200
1968
|
* @since v22.15.0
|
|
@@ -2206,63 +1974,111 @@ declare module "node:process" {
|
|
|
2206
1974
|
* **Default:** `process.env`.
|
|
2207
1975
|
*/
|
|
2208
1976
|
execve?(file: string, args?: readonly string[], env?: ProcessEnv): never;
|
|
2209
|
-
|
|
2210
|
-
addListener
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
): this;
|
|
2214
|
-
addListener(
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
):
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
):
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
): this;
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
prependListener<E extends keyof ProcessEventMap>(
|
|
2240
|
-
eventName: E,
|
|
2241
|
-
listener: (...args: ProcessEventMap[E]) => void,
|
|
1977
|
+
/* EventEmitter */
|
|
1978
|
+
addListener(event: "beforeExit", listener: BeforeExitListener): this;
|
|
1979
|
+
addListener(event: "disconnect", listener: DisconnectListener): this;
|
|
1980
|
+
addListener(event: "exit", listener: ExitListener): this;
|
|
1981
|
+
addListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
1982
|
+
addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
1983
|
+
addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
1984
|
+
addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
1985
|
+
addListener(event: "warning", listener: WarningListener): this;
|
|
1986
|
+
addListener(event: "message", listener: MessageListener): this;
|
|
1987
|
+
addListener(event: "workerMessage", listener: (value: any, source: number) => void): this;
|
|
1988
|
+
addListener(event: Signals, listener: SignalsListener): this;
|
|
1989
|
+
addListener(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
1990
|
+
addListener(event: "worker", listener: WorkerListener): this;
|
|
1991
|
+
emit(event: "beforeExit", code: number): boolean;
|
|
1992
|
+
emit(event: "disconnect"): boolean;
|
|
1993
|
+
emit(event: "exit", code: number): boolean;
|
|
1994
|
+
emit(event: "rejectionHandled", promise: Promise<unknown>): boolean;
|
|
1995
|
+
emit(event: "uncaughtException", error: Error): boolean;
|
|
1996
|
+
emit(event: "uncaughtExceptionMonitor", error: Error): boolean;
|
|
1997
|
+
emit(event: "unhandledRejection", reason: unknown, promise: Promise<unknown>): boolean;
|
|
1998
|
+
emit(event: "warning", warning: Error): boolean;
|
|
1999
|
+
emit(event: "message", message: unknown, sendHandle: SendHandle): this;
|
|
2000
|
+
emit(event: "workerMessage", value: any, source: number): this;
|
|
2001
|
+
emit(event: Signals, signal?: Signals): boolean;
|
|
2002
|
+
emit(
|
|
2003
|
+
event: "multipleResolves",
|
|
2004
|
+
type: MultipleResolveType,
|
|
2005
|
+
promise: Promise<unknown>,
|
|
2006
|
+
value: unknown,
|
|
2242
2007
|
): this;
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
): this;
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
): this;
|
|
2258
|
-
|
|
2259
|
-
|
|
2008
|
+
emit(event: "worker", listener: WorkerListener): this;
|
|
2009
|
+
on(event: "beforeExit", listener: BeforeExitListener): this;
|
|
2010
|
+
on(event: "disconnect", listener: DisconnectListener): this;
|
|
2011
|
+
on(event: "exit", listener: ExitListener): this;
|
|
2012
|
+
on(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
2013
|
+
on(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
2014
|
+
on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
2015
|
+
on(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
2016
|
+
on(event: "warning", listener: WarningListener): this;
|
|
2017
|
+
on(event: "message", listener: MessageListener): this;
|
|
2018
|
+
on(event: Signals, listener: SignalsListener): this;
|
|
2019
|
+
on(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
2020
|
+
on(event: "worker", listener: WorkerListener): this;
|
|
2021
|
+
on(event: "workerMessage", listener: (value: any, source: number) => void): this;
|
|
2022
|
+
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
2023
|
+
once(event: "beforeExit", listener: BeforeExitListener): this;
|
|
2024
|
+
once(event: "disconnect", listener: DisconnectListener): this;
|
|
2025
|
+
once(event: "exit", listener: ExitListener): this;
|
|
2026
|
+
once(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
2027
|
+
once(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
2028
|
+
once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
2029
|
+
once(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
2030
|
+
once(event: "warning", listener: WarningListener): this;
|
|
2031
|
+
once(event: "message", listener: MessageListener): this;
|
|
2032
|
+
once(event: Signals, listener: SignalsListener): this;
|
|
2033
|
+
once(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
2034
|
+
once(event: "worker", listener: WorkerListener): this;
|
|
2035
|
+
once(event: "workerMessage", listener: (value: any, source: number) => void): this;
|
|
2036
|
+
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
2037
|
+
prependListener(event: "beforeExit", listener: BeforeExitListener): this;
|
|
2038
|
+
prependListener(event: "disconnect", listener: DisconnectListener): this;
|
|
2039
|
+
prependListener(event: "exit", listener: ExitListener): this;
|
|
2040
|
+
prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
2041
|
+
prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
2042
|
+
prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
2043
|
+
prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
2044
|
+
prependListener(event: "warning", listener: WarningListener): this;
|
|
2045
|
+
prependListener(event: "message", listener: MessageListener): this;
|
|
2046
|
+
prependListener(event: "workerMessage", listener: (value: any, source: number) => void): this;
|
|
2047
|
+
prependListener(event: Signals, listener: SignalsListener): this;
|
|
2048
|
+
prependListener(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
2049
|
+
prependListener(event: "worker", listener: WorkerListener): this;
|
|
2050
|
+
prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this;
|
|
2051
|
+
prependOnceListener(event: "disconnect", listener: DisconnectListener): this;
|
|
2052
|
+
prependOnceListener(event: "exit", listener: ExitListener): this;
|
|
2053
|
+
prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this;
|
|
2054
|
+
prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this;
|
|
2055
|
+
prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this;
|
|
2056
|
+
prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this;
|
|
2057
|
+
prependOnceListener(event: "warning", listener: WarningListener): this;
|
|
2058
|
+
prependOnceListener(event: "message", listener: MessageListener): this;
|
|
2059
|
+
prependOnceListener(event: "workerMessage", listener: (value: any, source: number) => void): this;
|
|
2060
|
+
prependOnceListener(event: Signals, listener: SignalsListener): this;
|
|
2061
|
+
prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this;
|
|
2062
|
+
prependOnceListener(event: "worker", listener: WorkerListener): this;
|
|
2063
|
+
listeners(event: "beforeExit"): BeforeExitListener[];
|
|
2064
|
+
listeners(event: "disconnect"): DisconnectListener[];
|
|
2065
|
+
listeners(event: "exit"): ExitListener[];
|
|
2066
|
+
listeners(event: "rejectionHandled"): RejectionHandledListener[];
|
|
2067
|
+
listeners(event: "uncaughtException"): UncaughtExceptionListener[];
|
|
2068
|
+
listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[];
|
|
2069
|
+
listeners(event: "unhandledRejection"): UnhandledRejectionListener[];
|
|
2070
|
+
listeners(event: "warning"): WarningListener[];
|
|
2071
|
+
listeners(event: "message"): MessageListener[];
|
|
2072
|
+
listeners(event: "workerMessage"): ((value: any, source: number) => void)[];
|
|
2073
|
+
listeners(event: Signals): SignalsListener[];
|
|
2074
|
+
listeners(event: "multipleResolves"): MultipleResolveListener[];
|
|
2075
|
+
listeners(event: "worker"): WorkerListener[];
|
|
2260
2076
|
}
|
|
2261
2077
|
}
|
|
2262
2078
|
}
|
|
2263
2079
|
export = process;
|
|
2264
2080
|
}
|
|
2265
|
-
declare module "process" {
|
|
2266
|
-
import process = require("
|
|
2081
|
+
declare module "node:process" {
|
|
2082
|
+
import process = require("process");
|
|
2267
2083
|
export = process;
|
|
2268
2084
|
}
|