@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,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* The `node:tls` module provides an implementation of the Transport Layer Security
|
|
3
|
+
* (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL.
|
|
4
|
+
* The module can be accessed using:
|
|
5
|
+
*
|
|
6
|
+
* ```js
|
|
7
|
+
* import tls from 'node:tls';
|
|
8
|
+
* ```
|
|
9
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/tls.js)
|
|
10
|
+
*/
|
|
11
|
+
declare module "tls" {
|
|
2
12
|
import { NonSharedBuffer } from "node:buffer";
|
|
3
13
|
import { X509Certificate } from "node:crypto";
|
|
4
14
|
import * as net from "node:net";
|
|
@@ -190,13 +200,12 @@ declare module "node:tls" {
|
|
|
190
200
|
* An optional Buffer instance containing a TLS session.
|
|
191
201
|
*/
|
|
192
202
|
session?: Buffer | undefined;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
"session": [session: NonSharedBuffer];
|
|
203
|
+
/**
|
|
204
|
+
* If true, specifies that the OCSP status request extension will be
|
|
205
|
+
* added to the client hello and an 'OCSPResponse' event will be
|
|
206
|
+
* emitted on the socket before establishing a secure communication
|
|
207
|
+
*/
|
|
208
|
+
requestOCSP?: boolean | undefined;
|
|
200
209
|
}
|
|
201
210
|
/**
|
|
202
211
|
* Performs transparent encryption of written data and all required TLS
|
|
@@ -475,48 +484,36 @@ declare module "node:tls" {
|
|
|
475
484
|
* @return requested bytes of the keying material
|
|
476
485
|
*/
|
|
477
486
|
exportKeyingMaterial(length: number, label: string, context: Buffer): NonSharedBuffer;
|
|
478
|
-
|
|
479
|
-
addListener
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
): this;
|
|
483
|
-
|
|
484
|
-
emit
|
|
485
|
-
emit(
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
):
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
once
|
|
498
|
-
|
|
499
|
-
prependListener
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
): this;
|
|
503
|
-
|
|
504
|
-
prependOnceListener
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
): this;
|
|
508
|
-
prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
509
|
-
rawListeners<E extends keyof TLSSocketEventMap>(eventName: E): ((...args: TLSSocketEventMap[E]) => void)[];
|
|
510
|
-
rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
|
|
511
|
-
// eslint-disable-next-line @definitelytyped/no-unnecessary-generics
|
|
512
|
-
removeAllListeners<E extends keyof TLSSocketEventMap>(eventName?: E): this;
|
|
513
|
-
removeAllListeners(eventName?: string | symbol): this;
|
|
514
|
-
removeListener<E extends keyof TLSSocketEventMap>(
|
|
515
|
-
eventName: E,
|
|
516
|
-
listener: (...args: TLSSocketEventMap[E]) => void,
|
|
517
|
-
): this;
|
|
518
|
-
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
519
|
-
// #endregion
|
|
487
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
488
|
+
addListener(event: "OCSPResponse", listener: (response: NonSharedBuffer) => void): this;
|
|
489
|
+
addListener(event: "secureConnect", listener: () => void): this;
|
|
490
|
+
addListener(event: "session", listener: (session: NonSharedBuffer) => void): this;
|
|
491
|
+
addListener(event: "keylog", listener: (line: NonSharedBuffer) => void): this;
|
|
492
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
493
|
+
emit(event: "OCSPResponse", response: NonSharedBuffer): boolean;
|
|
494
|
+
emit(event: "secureConnect"): boolean;
|
|
495
|
+
emit(event: "session", session: NonSharedBuffer): boolean;
|
|
496
|
+
emit(event: "keylog", line: NonSharedBuffer): boolean;
|
|
497
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
|
498
|
+
on(event: "OCSPResponse", listener: (response: NonSharedBuffer) => void): this;
|
|
499
|
+
on(event: "secureConnect", listener: () => void): this;
|
|
500
|
+
on(event: "session", listener: (session: NonSharedBuffer) => void): this;
|
|
501
|
+
on(event: "keylog", listener: (line: NonSharedBuffer) => void): this;
|
|
502
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
|
503
|
+
once(event: "OCSPResponse", listener: (response: NonSharedBuffer) => void): this;
|
|
504
|
+
once(event: "secureConnect", listener: () => void): this;
|
|
505
|
+
once(event: "session", listener: (session: NonSharedBuffer) => void): this;
|
|
506
|
+
once(event: "keylog", listener: (line: NonSharedBuffer) => void): this;
|
|
507
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
508
|
+
prependListener(event: "OCSPResponse", listener: (response: NonSharedBuffer) => void): this;
|
|
509
|
+
prependListener(event: "secureConnect", listener: () => void): this;
|
|
510
|
+
prependListener(event: "session", listener: (session: NonSharedBuffer) => void): this;
|
|
511
|
+
prependListener(event: "keylog", listener: (line: NonSharedBuffer) => void): this;
|
|
512
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
513
|
+
prependOnceListener(event: "OCSPResponse", listener: (response: NonSharedBuffer) => void): this;
|
|
514
|
+
prependOnceListener(event: "secureConnect", listener: () => void): this;
|
|
515
|
+
prependOnceListener(event: "session", listener: (session: NonSharedBuffer) => void): this;
|
|
516
|
+
prependOnceListener(event: "keylog", listener: (line: NonSharedBuffer) => void): this;
|
|
520
517
|
}
|
|
521
518
|
interface CommonConnectionOptions {
|
|
522
519
|
/**
|
|
@@ -536,12 +533,8 @@ declare module "node:tls" {
|
|
|
536
533
|
*/
|
|
537
534
|
requestCert?: boolean | undefined;
|
|
538
535
|
/**
|
|
539
|
-
* An array of strings
|
|
540
|
-
*
|
|
541
|
-
* e.g. `'\x08http/1.1\x08http/1.0'`, where the `len` byte is the length of the
|
|
542
|
-
* next protocol name. Passing an array is usually much simpler, e.g.
|
|
543
|
-
* `['http/1.1', 'http/1.0']`. Protocols earlier in the list have higher
|
|
544
|
-
* preference than those later.
|
|
536
|
+
* An array of strings or a Buffer naming possible ALPN protocols.
|
|
537
|
+
* (Protocols should be ordered by their priority.)
|
|
545
538
|
*/
|
|
546
539
|
ALPNProtocols?: readonly string[] | NodeJS.ArrayBufferView | undefined;
|
|
547
540
|
/**
|
|
@@ -561,12 +554,6 @@ declare module "node:tls" {
|
|
|
561
554
|
* @default true
|
|
562
555
|
*/
|
|
563
556
|
rejectUnauthorized?: boolean | undefined;
|
|
564
|
-
/**
|
|
565
|
-
* If true, specifies that the OCSP status request extension will be
|
|
566
|
-
* added to the client hello and an 'OCSPResponse' event will be
|
|
567
|
-
* emitted on the socket before establishing a secure communication.
|
|
568
|
-
*/
|
|
569
|
-
requestOCSP?: boolean | undefined;
|
|
570
557
|
}
|
|
571
558
|
interface TlsOptions extends SecureContextOptions, CommonConnectionOptions, net.ServerOpts {
|
|
572
559
|
/**
|
|
@@ -647,19 +634,6 @@ declare module "node:tls" {
|
|
|
647
634
|
*/
|
|
648
635
|
pskCallback?: ((hint: string | null) => PSKCallbackNegotation | null) | undefined;
|
|
649
636
|
}
|
|
650
|
-
interface ServerEventMap extends net.ServerEventMap {
|
|
651
|
-
"connection": [socket: net.Socket];
|
|
652
|
-
"keylog": [line: NonSharedBuffer, tlsSocket: TLSSocket];
|
|
653
|
-
"newSession": [sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void];
|
|
654
|
-
"OCSPRequest": [
|
|
655
|
-
certificate: NonSharedBuffer,
|
|
656
|
-
issuer: NonSharedBuffer,
|
|
657
|
-
callback: (err: Error | null, resp: Buffer | null) => void,
|
|
658
|
-
];
|
|
659
|
-
"resumeSession": [sessionId: Buffer, callback: (err: Error | null, sessionData?: Buffer) => void];
|
|
660
|
-
"secureConnection": [tlsSocket: TLSSocket];
|
|
661
|
-
"tlsClientError": [exception: Error, tlsSocket: TLSSocket];
|
|
662
|
-
}
|
|
663
637
|
/**
|
|
664
638
|
* Accepts encrypted connections using TLS or SSL.
|
|
665
639
|
* @since v0.3.2
|
|
@@ -705,48 +679,160 @@ declare module "node:tls" {
|
|
|
705
679
|
* @param keys A 48-byte buffer containing the session ticket keys.
|
|
706
680
|
*/
|
|
707
681
|
setTicketKeys(keys: Buffer): void;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
682
|
+
/**
|
|
683
|
+
* events.EventEmitter
|
|
684
|
+
* 1. tlsClientError
|
|
685
|
+
* 2. newSession
|
|
686
|
+
* 3. OCSPRequest
|
|
687
|
+
* 4. resumeSession
|
|
688
|
+
* 5. secureConnection
|
|
689
|
+
* 6. keylog
|
|
690
|
+
*/
|
|
691
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
692
|
+
addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
693
|
+
addListener(
|
|
694
|
+
event: "newSession",
|
|
695
|
+
listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
|
|
696
|
+
): this;
|
|
697
|
+
addListener(
|
|
698
|
+
event: "OCSPRequest",
|
|
699
|
+
listener: (
|
|
700
|
+
certificate: NonSharedBuffer,
|
|
701
|
+
issuer: NonSharedBuffer,
|
|
702
|
+
callback: (err: Error | null, resp: Buffer | null) => void,
|
|
703
|
+
) => void,
|
|
704
|
+
): this;
|
|
705
|
+
addListener(
|
|
706
|
+
event: "resumeSession",
|
|
707
|
+
listener: (
|
|
708
|
+
sessionId: NonSharedBuffer,
|
|
709
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
710
|
+
) => void,
|
|
711
|
+
): this;
|
|
712
|
+
addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
713
|
+
addListener(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: TLSSocket) => void): this;
|
|
714
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
715
|
+
emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean;
|
|
716
|
+
emit(
|
|
717
|
+
event: "newSession",
|
|
718
|
+
sessionId: NonSharedBuffer,
|
|
719
|
+
sessionData: NonSharedBuffer,
|
|
720
|
+
callback: () => void,
|
|
721
|
+
): boolean;
|
|
722
|
+
emit(
|
|
723
|
+
event: "OCSPRequest",
|
|
724
|
+
certificate: NonSharedBuffer,
|
|
725
|
+
issuer: NonSharedBuffer,
|
|
726
|
+
callback: (err: Error | null, resp: Buffer | null) => void,
|
|
727
|
+
): boolean;
|
|
728
|
+
emit(
|
|
729
|
+
event: "resumeSession",
|
|
730
|
+
sessionId: NonSharedBuffer,
|
|
731
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
732
|
+
): boolean;
|
|
733
|
+
emit(event: "secureConnection", tlsSocket: TLSSocket): boolean;
|
|
734
|
+
emit(event: "keylog", line: NonSharedBuffer, tlsSocket: TLSSocket): boolean;
|
|
735
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
|
736
|
+
on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
737
|
+
on(
|
|
738
|
+
event: "newSession",
|
|
739
|
+
listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
|
|
740
|
+
): this;
|
|
741
|
+
on(
|
|
742
|
+
event: "OCSPRequest",
|
|
743
|
+
listener: (
|
|
744
|
+
certificate: NonSharedBuffer,
|
|
745
|
+
issuer: NonSharedBuffer,
|
|
746
|
+
callback: (err: Error | null, resp: Buffer | null) => void,
|
|
747
|
+
) => void,
|
|
748
|
+
): this;
|
|
749
|
+
on(
|
|
750
|
+
event: "resumeSession",
|
|
751
|
+
listener: (
|
|
752
|
+
sessionId: NonSharedBuffer,
|
|
753
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
754
|
+
) => void,
|
|
755
|
+
): this;
|
|
756
|
+
on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
757
|
+
on(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: TLSSocket) => void): this;
|
|
758
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
|
759
|
+
once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
760
|
+
once(
|
|
761
|
+
event: "newSession",
|
|
762
|
+
listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
|
|
763
|
+
): this;
|
|
764
|
+
once(
|
|
765
|
+
event: "OCSPRequest",
|
|
766
|
+
listener: (
|
|
767
|
+
certificate: NonSharedBuffer,
|
|
768
|
+
issuer: NonSharedBuffer,
|
|
769
|
+
callback: (err: Error | null, resp: Buffer | null) => void,
|
|
770
|
+
) => void,
|
|
771
|
+
): this;
|
|
772
|
+
once(
|
|
773
|
+
event: "resumeSession",
|
|
774
|
+
listener: (
|
|
775
|
+
sessionId: NonSharedBuffer,
|
|
776
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
777
|
+
) => void,
|
|
729
778
|
): this;
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
779
|
+
once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
780
|
+
once(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: TLSSocket) => void): this;
|
|
781
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
782
|
+
prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
783
|
+
prependListener(
|
|
784
|
+
event: "newSession",
|
|
785
|
+
listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
|
|
734
786
|
): this;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
eventName: E,
|
|
743
|
-
listener: (...args: ServerEventMap[E]) => void,
|
|
787
|
+
prependListener(
|
|
788
|
+
event: "OCSPRequest",
|
|
789
|
+
listener: (
|
|
790
|
+
certificate: NonSharedBuffer,
|
|
791
|
+
issuer: NonSharedBuffer,
|
|
792
|
+
callback: (err: Error | null, resp: Buffer | null) => void,
|
|
793
|
+
) => void,
|
|
744
794
|
): this;
|
|
745
|
-
|
|
746
|
-
|
|
795
|
+
prependListener(
|
|
796
|
+
event: "resumeSession",
|
|
797
|
+
listener: (
|
|
798
|
+
sessionId: NonSharedBuffer,
|
|
799
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
800
|
+
) => void,
|
|
801
|
+
): this;
|
|
802
|
+
prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
803
|
+
prependListener(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: TLSSocket) => void): this;
|
|
804
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
805
|
+
prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
|
|
806
|
+
prependOnceListener(
|
|
807
|
+
event: "newSession",
|
|
808
|
+
listener: (sessionId: NonSharedBuffer, sessionData: NonSharedBuffer, callback: () => void) => void,
|
|
809
|
+
): this;
|
|
810
|
+
prependOnceListener(
|
|
811
|
+
event: "OCSPRequest",
|
|
812
|
+
listener: (
|
|
813
|
+
certificate: NonSharedBuffer,
|
|
814
|
+
issuer: NonSharedBuffer,
|
|
815
|
+
callback: (err: Error | null, resp: Buffer | null) => void,
|
|
816
|
+
) => void,
|
|
817
|
+
): this;
|
|
818
|
+
prependOnceListener(
|
|
819
|
+
event: "resumeSession",
|
|
820
|
+
listener: (
|
|
821
|
+
sessionId: NonSharedBuffer,
|
|
822
|
+
callback: (err: Error | null, sessionData: Buffer | null) => void,
|
|
823
|
+
) => void,
|
|
824
|
+
): this;
|
|
825
|
+
prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
|
|
826
|
+
prependOnceListener(event: "keylog", listener: (line: NonSharedBuffer, tlsSocket: TLSSocket) => void): this;
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* @deprecated since v0.11.3 Use `tls.TLSSocket` instead.
|
|
830
|
+
*/
|
|
831
|
+
interface SecurePair {
|
|
832
|
+
encrypted: TLSSocket;
|
|
833
|
+
cleartext: TLSSocket;
|
|
747
834
|
}
|
|
748
835
|
type SecureVersion = "TLSv1.3" | "TLSv1.2" | "TLSv1.1" | "TLSv1";
|
|
749
|
-
type CertificateCompressionAlgorithm = "zlib" | "brotli" | "zstd";
|
|
750
836
|
interface SecureContextOptions {
|
|
751
837
|
/**
|
|
752
838
|
* If set, this will be called when a client opens a connection using the ALPN extension.
|
|
@@ -783,15 +869,6 @@ declare module "node:tls" {
|
|
|
783
869
|
* able to validate the certificate, and the handshake will fail.
|
|
784
870
|
*/
|
|
785
871
|
cert?: string | Buffer | Array<string | Buffer> | undefined;
|
|
786
|
-
/**
|
|
787
|
-
* An array of supported certificate
|
|
788
|
-
* compression algorithm names, in preference order. Supported values are
|
|
789
|
-
* `'zlib'`, `'brotli'`, and `'zstd'`. When set, enables TLS certificate
|
|
790
|
-
* compression ([RFC 8879](https://tools.ietf.org/html/rfc8879)) which compresses certificates during the TLS
|
|
791
|
-
* handshake, reducing handshake size. Only effective with TLSv1.3.
|
|
792
|
-
* **Default:** `[]` (disabled).
|
|
793
|
-
*/
|
|
794
|
-
certificateCompression?: readonly CertificateCompressionAlgorithm[] | undefined;
|
|
795
872
|
/**
|
|
796
873
|
* Colon-separated list of supported signature algorithms. The list
|
|
797
874
|
* can contain digest algorithms (SHA256, MD5 etc.), public key
|
|
@@ -1053,6 +1130,45 @@ declare module "node:tls" {
|
|
|
1053
1130
|
secureConnectListener?: () => void,
|
|
1054
1131
|
): TLSSocket;
|
|
1055
1132
|
function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
|
|
1133
|
+
/**
|
|
1134
|
+
* Creates a new secure pair object with two streams, one of which reads and writes
|
|
1135
|
+
* the encrypted data and the other of which reads and writes the cleartext data.
|
|
1136
|
+
* Generally, the encrypted stream is piped to/from an incoming encrypted data
|
|
1137
|
+
* stream and the cleartext one is used as a replacement for the initial encrypted
|
|
1138
|
+
* stream.
|
|
1139
|
+
*
|
|
1140
|
+
* `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and `encrypted` stream properties.
|
|
1141
|
+
*
|
|
1142
|
+
* Using `cleartext` has the same API as {@link TLSSocket}.
|
|
1143
|
+
*
|
|
1144
|
+
* The `tls.createSecurePair()` method is now deprecated in favor of`tls.TLSSocket()`. For example, the code:
|
|
1145
|
+
*
|
|
1146
|
+
* ```js
|
|
1147
|
+
* pair = tls.createSecurePair(// ... );
|
|
1148
|
+
* pair.encrypted.pipe(socket);
|
|
1149
|
+
* socket.pipe(pair.encrypted);
|
|
1150
|
+
* ```
|
|
1151
|
+
*
|
|
1152
|
+
* can be replaced by:
|
|
1153
|
+
*
|
|
1154
|
+
* ```js
|
|
1155
|
+
* secureSocket = tls.TLSSocket(socket, options);
|
|
1156
|
+
* ```
|
|
1157
|
+
*
|
|
1158
|
+
* where `secureSocket` has the same API as `pair.cleartext`.
|
|
1159
|
+
* @since v0.3.2
|
|
1160
|
+
* @deprecated Since v0.11.3 - Use {@link TLSSocket} instead.
|
|
1161
|
+
* @param context A secure context object as returned by `tls.createSecureContext()`
|
|
1162
|
+
* @param isServer `true` to specify that this TLS connection should be opened as a server.
|
|
1163
|
+
* @param requestCert `true` to specify whether a server should request a certificate from a connecting client. Only applies when `isServer` is `true`.
|
|
1164
|
+
* @param rejectUnauthorized If not `false` a server automatically reject clients with invalid certificates. Only applies when `isServer` is `true`.
|
|
1165
|
+
*/
|
|
1166
|
+
function createSecurePair(
|
|
1167
|
+
context?: SecureContext,
|
|
1168
|
+
isServer?: boolean,
|
|
1169
|
+
requestCert?: boolean,
|
|
1170
|
+
rejectUnauthorized?: boolean,
|
|
1171
|
+
): SecurePair;
|
|
1056
1172
|
/**
|
|
1057
1173
|
* `{@link createServer}` sets the default value of the `honorCipherOrder` option
|
|
1058
1174
|
* to `true`, other APIs that create secure contexts leave it unset.
|
|
@@ -1109,7 +1225,7 @@ declare module "node:tls" {
|
|
|
1109
1225
|
* the `ciphers` option of `{@link createSecureContext}`.
|
|
1110
1226
|
*
|
|
1111
1227
|
* Not all supported ciphers are enabled by default. See
|
|
1112
|
-
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-
|
|
1228
|
+
* [Modifying the default TLS cipher suite](https://nodejs.org/docs/latest-v22.x/api/tls.html#modifying-the-default-tls-cipher-suite).
|
|
1113
1229
|
*
|
|
1114
1230
|
* Cipher names that start with `'tls_'` are for TLSv1.3, all the others are for
|
|
1115
1231
|
* TLSv1.2 and below.
|
|
@@ -1120,20 +1236,6 @@ declare module "node:tls" {
|
|
|
1120
1236
|
* @since v0.10.2
|
|
1121
1237
|
*/
|
|
1122
1238
|
function getCiphers(): string[];
|
|
1123
|
-
/**
|
|
1124
|
-
* Returns an array with the names of the RFC 8879 certificate compression
|
|
1125
|
-
* algorithms supported by the current OpenSSL build, suitable for use in the
|
|
1126
|
-
* `certificateCompression` option of `tls.createSecureContext()`. Possible
|
|
1127
|
-
* values include `'zlib'`, `'brotli'`, and `'zstd'`.
|
|
1128
|
-
*
|
|
1129
|
-
* The array is empty when certificate compression is unavailable.
|
|
1130
|
-
*
|
|
1131
|
-
* ```js
|
|
1132
|
-
* console.log(tls.getCertificateCompressionAlgorithms()); // ['zlib', 'brotli', 'zstd']
|
|
1133
|
-
* ```
|
|
1134
|
-
* @since v26.4.0
|
|
1135
|
-
*/
|
|
1136
|
-
function getCertificateCompressionAlgorithms(): CertificateCompressionAlgorithm[];
|
|
1137
1239
|
/**
|
|
1138
1240
|
* Sets the default CA certificates used by Node.js TLS clients. If the provided
|
|
1139
1241
|
* certificates are parsed successfully, they will become the default CA
|
|
@@ -1162,7 +1264,7 @@ declare module "node:tls" {
|
|
|
1162
1264
|
* const additionalCerts = ['-----BEGIN CERTIFICATE-----\n...'];
|
|
1163
1265
|
* tls.setDefaultCACertificates([...currentCerts, ...additionalCerts]);
|
|
1164
1266
|
* ```
|
|
1165
|
-
* @since
|
|
1267
|
+
* @since v22.19.0
|
|
1166
1268
|
* @param certs An array of CA certificates in PEM format.
|
|
1167
1269
|
*/
|
|
1168
1270
|
function setDefaultCACertificates(certs: ReadonlyArray<string | NodeJS.ArrayBufferView>): void;
|
|
@@ -1199,7 +1301,7 @@ declare module "node:tls" {
|
|
|
1199
1301
|
* It can be assigned any of the supported OpenSSL ciphers.
|
|
1200
1302
|
* Defaults to the content of `crypto.constants.defaultCoreCipherList`, unless
|
|
1201
1303
|
* changed using CLI options using `--tls-default-ciphers`.
|
|
1202
|
-
* @since
|
|
1304
|
+
* @since v0.11.3
|
|
1203
1305
|
*/
|
|
1204
1306
|
let DEFAULT_CIPHERS: string;
|
|
1205
1307
|
/**
|
|
@@ -1212,6 +1314,6 @@ declare module "node:tls" {
|
|
|
1212
1314
|
*/
|
|
1213
1315
|
const rootCertificates: readonly string[];
|
|
1214
1316
|
}
|
|
1215
|
-
declare module "tls" {
|
|
1216
|
-
export * from "
|
|
1317
|
+
declare module "node:tls" {
|
|
1318
|
+
export * from "tls";
|
|
1217
1319
|
}
|
|
@@ -1,4 +1,98 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* The `node:trace_events` module provides a mechanism to centralize tracing information
|
|
3
|
+
* generated by V8, Node.js core, and userspace code.
|
|
4
|
+
*
|
|
5
|
+
* Tracing can be enabled with the `--trace-event-categories` command-line flag
|
|
6
|
+
* or by using the `trace_events` module. The `--trace-event-categories` flag
|
|
7
|
+
* accepts a list of comma-separated category names.
|
|
8
|
+
*
|
|
9
|
+
* The available categories are:
|
|
10
|
+
*
|
|
11
|
+
* * `node`: An empty placeholder.
|
|
12
|
+
* * `node.async_hooks`: Enables capture of detailed [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) trace data.
|
|
13
|
+
* The [`async_hooks`](https://nodejs.org/docs/latest-v22.x/api/async_hooks.html) events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
|
|
14
|
+
* * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.
|
|
15
|
+
* * `node.console`: Enables capture of `console.time()` and `console.count()` output.
|
|
16
|
+
* * `node.threadpoolwork.sync`: Enables capture of trace data for threadpool synchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
|
|
17
|
+
* * `node.threadpoolwork.async`: Enables capture of trace data for threadpool asynchronous operations, such as `blob`, `zlib`, `crypto` and `node_api`.
|
|
18
|
+
* * `node.dns.native`: Enables capture of trace data for DNS queries.
|
|
19
|
+
* * `node.net.native`: Enables capture of trace data for network.
|
|
20
|
+
* * `node.environment`: Enables capture of Node.js Environment milestones.
|
|
21
|
+
* * `node.fs.sync`: Enables capture of trace data for file system sync methods.
|
|
22
|
+
* * `node.fs_dir.sync`: Enables capture of trace data for file system sync directory methods.
|
|
23
|
+
* * `node.fs.async`: Enables capture of trace data for file system async methods.
|
|
24
|
+
* * `node.fs_dir.async`: Enables capture of trace data for file system async directory methods.
|
|
25
|
+
* * `node.perf`: Enables capture of [Performance API](https://nodejs.org/docs/latest-v22.x/api/perf_hooks.html) measurements.
|
|
26
|
+
* * `node.perf.usertiming`: Enables capture of only Performance API User Timing
|
|
27
|
+
* measures and marks.
|
|
28
|
+
* * `node.perf.timerify`: Enables capture of only Performance API timerify
|
|
29
|
+
* measurements.
|
|
30
|
+
* * `node.promises.rejections`: Enables capture of trace data tracking the number
|
|
31
|
+
* of unhandled Promise rejections and handled-after-rejections.
|
|
32
|
+
* * `node.vm.script`: Enables capture of trace data for the `node:vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
|
|
33
|
+
* * `v8`: The [V8](https://nodejs.org/docs/latest-v22.x/api/v8.html) events are GC, compiling, and execution related.
|
|
34
|
+
* * `node.http`: Enables capture of trace data for http request / response.
|
|
35
|
+
*
|
|
36
|
+
* By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
|
|
37
|
+
*
|
|
38
|
+
* ```bash
|
|
39
|
+
* node --trace-event-categories v8,node,node.async_hooks server.js
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Prior versions of Node.js required the use of the `--trace-events-enabled` flag to enable trace events. This requirement has been removed. However, the `--trace-events-enabled` flag _may_ still be
|
|
43
|
+
* used and will enable the `node`, `node.async_hooks`, and `v8` trace event categories by default.
|
|
44
|
+
*
|
|
45
|
+
* ```bash
|
|
46
|
+
* node --trace-events-enabled
|
|
47
|
+
*
|
|
48
|
+
* # is equivalent to
|
|
49
|
+
*
|
|
50
|
+
* node --trace-event-categories v8,node,node.async_hooks
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* Alternatively, trace events may be enabled using the `node:trace_events` module:
|
|
54
|
+
*
|
|
55
|
+
* ```js
|
|
56
|
+
* import trace_events from 'node:trace_events';
|
|
57
|
+
* const tracing = trace_events.createTracing({ categories: ['node.perf'] });
|
|
58
|
+
* tracing.enable(); // Enable trace event capture for the 'node.perf' category
|
|
59
|
+
*
|
|
60
|
+
* // do work
|
|
61
|
+
*
|
|
62
|
+
* tracing.disable(); // Disable trace event capture for the 'node.perf' category
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* Running Node.js with tracing enabled will produce log files that can be opened
|
|
66
|
+
* in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) tab of Chrome.
|
|
67
|
+
*
|
|
68
|
+
* The logging file is by default called `node_trace.${rotation}.log`, where `${rotation}` is an incrementing log-rotation id. The filepath pattern can
|
|
69
|
+
* be specified with `--trace-event-file-pattern` that accepts a template
|
|
70
|
+
* string that supports `${rotation}` and `${pid}`:
|
|
71
|
+
*
|
|
72
|
+
* ```bash
|
|
73
|
+
* node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* To guarantee that the log file is properly generated after signal events like `SIGINT`, `SIGTERM`, or `SIGBREAK`, make sure to have the appropriate handlers
|
|
77
|
+
* in your code, such as:
|
|
78
|
+
*
|
|
79
|
+
* ```js
|
|
80
|
+
* process.on('SIGINT', function onSigint() {
|
|
81
|
+
* console.info('Received SIGINT.');
|
|
82
|
+
* process.exit(130); // Or applicable exit code depending on OS and signal
|
|
83
|
+
* });
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* The tracing system uses the same time source
|
|
87
|
+
* as the one used by `process.hrtime()`.
|
|
88
|
+
* However the trace-event timestamps are expressed in microseconds,
|
|
89
|
+
* unlike `process.hrtime()` which returns nanoseconds.
|
|
90
|
+
*
|
|
91
|
+
* The features from this module are not available in [`Worker`](https://nodejs.org/docs/latest-v22.x/api/worker_threads.html#class-worker) threads.
|
|
92
|
+
* @experimental
|
|
93
|
+
* @see [source](https://github.com/nodejs/node/blob/v22.x/lib/trace_events.js)
|
|
94
|
+
*/
|
|
95
|
+
declare module "trace_events" {
|
|
2
96
|
/**
|
|
3
97
|
* The `Tracing` object is used to enable or disable tracing for sets of
|
|
4
98
|
* categories. Instances are created using the
|
|
@@ -98,6 +192,6 @@ declare module "node:trace_events" {
|
|
|
98
192
|
*/
|
|
99
193
|
function getEnabledCategories(): string | undefined;
|
|
100
194
|
}
|
|
101
|
-
declare module "trace_events" {
|
|
102
|
-
export * from "
|
|
195
|
+
declare module "node:trace_events" {
|
|
196
|
+
export * from "trace_events";
|
|
103
197
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module "
|
|
1
|
+
declare module "buffer" {
|
|
2
2
|
global {
|
|
3
3
|
interface BufferConstructor {
|
|
4
4
|
// see ../buffer.d.ts for implementation shared with all TypeScript versions
|
|
@@ -172,7 +172,7 @@ declare module "node:buffer" {
|
|
|
172
172
|
* If `totalLength` is not provided, it is calculated from the `Buffer` instances
|
|
173
173
|
* in `list` by adding their lengths.
|
|
174
174
|
*
|
|
175
|
-
* If `totalLength` is provided, it
|
|
175
|
+
* If `totalLength` is provided, it is coerced to an unsigned integer. If the
|
|
176
176
|
* combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is
|
|
177
177
|
* truncated to `totalLength`.
|
|
178
178
|
*
|
|
@@ -459,9 +459,10 @@ declare module "node:buffer" {
|
|
|
459
459
|
*/
|
|
460
460
|
type AllowSharedBuffer = Buffer;
|
|
461
461
|
}
|
|
462
|
-
/**
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
462
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
|
463
|
+
var SlowBuffer: {
|
|
464
|
+
/** @deprecated Use `Buffer.allocUnsafeSlow()` instead. */
|
|
465
|
+
new(size: number): Buffer;
|
|
466
|
+
prototype: Buffer;
|
|
467
|
+
};
|
|
467
468
|
}
|
|
@@ -12,7 +12,6 @@ declare global {
|
|
|
12
12
|
| Int32Array
|
|
13
13
|
| BigUint64Array
|
|
14
14
|
| BigInt64Array
|
|
15
|
-
| Float16Array
|
|
16
15
|
| Float32Array
|
|
17
16
|
| Float64Array;
|
|
18
17
|
type ArrayBufferView = TypedArray | DataView;
|
|
@@ -26,7 +25,6 @@ declare global {
|
|
|
26
25
|
type NonSharedInt32Array = Int32Array;
|
|
27
26
|
type NonSharedBigUint64Array = BigUint64Array;
|
|
28
27
|
type NonSharedBigInt64Array = BigInt64Array;
|
|
29
|
-
type NonSharedFloat16Array = Float16Array;
|
|
30
28
|
type NonSharedFloat32Array = Float32Array;
|
|
31
29
|
type NonSharedFloat64Array = Float64Array;
|
|
32
30
|
type NonSharedDataView = DataView;
|