@psnext/slingcli 3.5.20261026-1 → 3.6.20261105-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/client/index.js +38 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +51 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-cjs/index.js +914 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +13 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +51 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +263 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +135 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +204 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +38 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +11 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +11 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/credential-provider-http/node_modules/@smithy/node-http-handler/package.json +56 -0
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-eventstream/dist-cjs/index.js +4 -2
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js +2 -1
- package/node_modules/@aws-sdk/middleware-eventstream/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-websocket/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +10 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-cjs/index.js +914 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/http2/ClientHttp2SessionRef.js +51 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +263 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +135 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +204 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +63 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/http2/ClientHttp2SessionRef.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +36 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +76 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-https.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +11 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@smithy/node-http-handler/package.json +56 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
- package/node_modules/@babel/runtime/helpers/asyncIterator.js +1 -1
- package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +1 -1
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/LICENSE +15 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/index.js +7 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/range.js +577 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/major.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/index.js +93 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/internal/re.js +223 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/package.json +78 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/preload.js +4 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/range.bnf +17 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/@earendil-works/pi-coding-agent/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/@hono/node-server/dist/index.cjs +31 -6
- package/node_modules/@hono/node-server/dist/index.mjs +31 -6
- package/node_modules/@hono/node-server/package.json +1 -1
- package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +45 -53
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +37 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +86 -53
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +53 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +57 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +12 -37
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +8 -31
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -4
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +6 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +4 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +12 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +12 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +3 -3
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/node/zlib.d.ts +752 -0
- package/node_modules/bowser/README.md +26 -3
- package/node_modules/bowser/bowser.mjs +2225 -0
- package/node_modules/bowser/bundled.js +14 -1
- package/node_modules/bowser/es5.js +14 -1
- package/node_modules/bowser/index.d.mts +45 -0
- package/node_modules/bowser/package.json +90 -31
- package/node_modules/bowser/src/bowser.js +9 -1
- package/node_modules/bowser/src/constants.js +7 -0
- package/node_modules/bowser/src/parser-browsers.js +73 -7
- package/node_modules/bowser/src/parser-engines.js +12 -0
- package/node_modules/bowser/src/parser-os.js +3 -1
- package/node_modules/bowser/src/parser-platforms.js +3 -1
- package/node_modules/bowser/src/parser.js +22 -5
- package/node_modules/bowser/src/utils.js +16 -0
- package/node_modules/encodeurl/README.md +14 -0
- package/node_modules/encodeurl/index.js +5 -10
- package/node_modules/encodeurl/package.json +10 -6
- package/node_modules/express-rate-limit/dist/index.cjs +7 -3
- package/node_modules/express-rate-limit/dist/index.mjs +7 -3
- package/node_modules/express-rate-limit/package.json +10 -10
- package/node_modules/hono/dist/cjs/adapter/bun/serve-static.js +1 -1
- package/node_modules/hono/dist/cjs/adapter/bun/websocket.js +1 -1
- package/node_modules/hono/dist/cjs/context.js +1 -1
- package/node_modules/hono/dist/cjs/helper/css/common.js +3 -5
- package/node_modules/hono/dist/cjs/hono-base.js +4 -10
- package/node_modules/hono/dist/cjs/hono.js +0 -1
- package/node_modules/hono/dist/cjs/middleware/basic-auth/index.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/bearer-auth/index.js +1 -1
- package/node_modules/hono/dist/cjs/middleware/csrf/index.js +2 -2
- package/node_modules/hono/dist/cjs/middleware/jwk/jwk.js +2 -2
- package/node_modules/hono/dist/cjs/middleware/jwt/jwt.js +2 -2
- package/node_modules/hono/dist/cjs/middleware/mount/index.js +4 -4
- package/node_modules/hono/dist/cjs/router/reg-exp-router/node.js +13 -11
- package/node_modules/hono/dist/cjs/router/reg-exp-router/prepared-router.js +4 -4
- package/node_modules/hono/dist/cjs/router/reg-exp-router/router.js +39 -51
- package/node_modules/hono/dist/cjs/router/reg-exp-router/trie.js +15 -5
- package/node_modules/hono/dist/cjs/utils/jwt/jwt.js +2 -1
- package/node_modules/hono/dist/cjs/utils/mount.js +35 -0
- package/node_modules/hono/dist/cjs/utils/url.js +10 -0
- package/node_modules/hono/dist/cjs/validator/validator.js +1 -1
- package/node_modules/hono/dist/context.js +1 -1
- package/node_modules/hono/dist/helper/css/common.js +3 -5
- package/node_modules/hono/dist/hono-base.js +4 -10
- package/node_modules/hono/dist/hono.js +0 -1
- package/node_modules/hono/dist/middleware/basic-auth/index.js +1 -1
- package/node_modules/hono/dist/middleware/bearer-auth/index.js +1 -1
- package/node_modules/hono/dist/middleware/csrf/index.js +2 -2
- package/node_modules/hono/dist/middleware/jwk/jwk.js +2 -2
- package/node_modules/hono/dist/middleware/jwt/jwt.js +2 -2
- package/node_modules/hono/dist/middleware/language/language.js +1 -1
- package/node_modules/hono/dist/middleware/mount/index.js +4 -4
- package/node_modules/hono/dist/router/reg-exp-router/node.js +13 -11
- package/node_modules/hono/dist/router/reg-exp-router/prepared-router.js +5 -5
- package/node_modules/hono/dist/router/reg-exp-router/router.js +40 -52
- package/node_modules/hono/dist/router/reg-exp-router/trie.js +15 -5
- package/node_modules/hono/dist/types/middleware/mount/index.d.ts +1 -0
- package/node_modules/hono/dist/types/router/reg-exp-router/node.d.ts +3 -3
- package/node_modules/hono/dist/types/router/reg-exp-router/trie.d.ts +1 -1
- package/node_modules/hono/dist/types/utils/mount.d.ts +4 -0
- package/node_modules/hono/dist/types/utils/url.d.ts +1 -0
- package/node_modules/hono/dist/utils/jwt/jwt.js +2 -1
- package/node_modules/hono/dist/utils/mount.js +34 -0
- package/node_modules/hono/dist/utils/url.js +10 -1
- package/node_modules/hono/dist/validator/validator.js +1 -1
- package/node_modules/hono/package.json +1 -1
- package/node_modules/ip-address/README.md +39 -39
- package/node_modules/ip-address/dist/ipv6.js +1 -1
- package/node_modules/ip-address/dist/ipv6.js.map +1 -1
- package/node_modules/ip-address/package.json +1 -1
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +3 -0
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -0
- package/node_modules/jose/dist/types/jwt/verify.d.ts +3 -0
- package/node_modules/jose/dist/types/types.d.ts +8 -0
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +1 -0
- package/node_modules/jose/dist/webapi/jwks/remote.js +3 -1
- package/node_modules/jose/dist/webapi/lib/deflate.js +2 -1
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +2 -1
- package/node_modules/jose/package.json +1 -1
- package/node_modules/qs/.editorconfig +1 -1
- package/node_modules/qs/CHANGELOG.md +87 -22
- package/node_modules/qs/README.md +63 -10
- package/node_modules/qs/dist/qs.js +17 -17
- package/node_modules/qs/eslint.config.mjs +61 -50
- package/node_modules/qs/lib/formats.js +7 -2
- package/node_modules/qs/lib/parse.js +29 -10
- package/node_modules/qs/lib/stringify.js +5 -3
- package/node_modules/qs/lib/utils.js +28 -9
- package/node_modules/qs/package.json +6 -6
- package/node_modules/qs/test/parse.js +335 -2
- package/node_modules/qs/test/stringify.js +222 -0
- package/node_modules/qs/test/utils.js +61 -3
- package/node_modules/semver/classes/range.js +2 -2
- package/node_modules/semver/internal/constants.js +30 -0
- package/node_modules/semver/internal/trim-comparator-whitespace.js +438 -0
- package/node_modules/semver/package.json +1 -1
- package/node_modules/tslib/README.md +3 -8
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +4 -2
- package/node_modules/tslib/tslib.es6.js +10 -1
- package/node_modules/tslib/tslib.es6.mjs +10 -1
- package/node_modules/tslib/tslib.js +10 -1
- package/node_modules/ws/README.md +21 -29
- package/node_modules/ws/lib/buffer-util.js +13 -2
- package/node_modules/ws/lib/sender.js +4 -1
- package/node_modules/ws/lib/websocket.js +8 -3
- package/node_modules/ws/package.json +1 -1
- package/package.json +14 -14
- package/slingshot/index.js +2 -2
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
|
@@ -11,11 +11,13 @@ const getEndpointUrlConfig = (serviceId) => ({
|
|
|
11
11
|
environmentVariableSelector: (env) => {
|
|
12
12
|
const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase());
|
|
13
13
|
const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")];
|
|
14
|
-
if (serviceEndpointUrl)
|
|
14
|
+
if (serviceEndpointUrl) {
|
|
15
15
|
return serviceEndpointUrl;
|
|
16
|
+
}
|
|
16
17
|
const endpointUrl = env[ENV_ENDPOINT_URL];
|
|
17
|
-
if (endpointUrl)
|
|
18
|
+
if (endpointUrl) {
|
|
18
19
|
return endpointUrl;
|
|
20
|
+
}
|
|
19
21
|
return undefined;
|
|
20
22
|
},
|
|
21
23
|
configFileSelector: (profile, config) => {
|
|
@@ -27,12 +29,14 @@ const getEndpointUrlConfig = (serviceId) => ({
|
|
|
27
29
|
const servicesSection = config[servicesSectionKey];
|
|
28
30
|
const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
|
|
29
31
|
const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
|
|
30
|
-
if (endpointUrl)
|
|
32
|
+
if (endpointUrl) {
|
|
31
33
|
return endpointUrl;
|
|
34
|
+
}
|
|
32
35
|
}
|
|
33
36
|
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
|
34
|
-
if (endpointUrl)
|
|
37
|
+
if (endpointUrl) {
|
|
35
38
|
return endpointUrl;
|
|
39
|
+
}
|
|
36
40
|
return undefined;
|
|
37
41
|
},
|
|
38
42
|
default: undefined,
|
|
@@ -831,8 +835,9 @@ const resolveEndpoint = (ruleSetObject, options) => {
|
|
|
831
835
|
const { parameters, rules } = ruleSetObject;
|
|
832
836
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
833
837
|
for (const paramKey in parameters) {
|
|
834
|
-
if (!hasOwn(parameters, paramKey))
|
|
838
|
+
if (!hasOwn(parameters, paramKey)) {
|
|
835
839
|
continue;
|
|
840
|
+
}
|
|
836
841
|
const parameter = parameters[paramKey];
|
|
837
842
|
const endpointParam = endpointParams[paramKey];
|
|
838
843
|
if (endpointParam == null && parameter.default != null) {
|
|
@@ -42,8 +42,9 @@ function negate(bytes) {
|
|
|
42
42
|
}
|
|
43
43
|
for (let i = 7; i > -1; i--) {
|
|
44
44
|
bytes[i]++;
|
|
45
|
-
if (bytes[i] !== 0)
|
|
45
|
+
if (bytes[i] !== 0) {
|
|
46
46
|
break;
|
|
47
|
+
}
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
|
|
@@ -57,8 +58,9 @@ class HeaderMarshaller {
|
|
|
57
58
|
format(headers) {
|
|
58
59
|
const chunks = [];
|
|
59
60
|
for (const headerName in headers) {
|
|
60
|
-
if (!hasOwn(headers, headerName))
|
|
61
|
+
if (!hasOwn(headers, headerName)) {
|
|
61
62
|
continue;
|
|
63
|
+
}
|
|
62
64
|
const bytes = this.fromUtf8(headerName);
|
|
63
65
|
if (bytes.byteLength > 255) {
|
|
64
66
|
throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
|
|
@@ -384,8 +386,9 @@ class SmithyMessageDecoderStream {
|
|
|
384
386
|
async *asyncIterator() {
|
|
385
387
|
for await (const message of this.options.messageStream) {
|
|
386
388
|
const deserialized = await this.options.deserializer(message);
|
|
387
|
-
if (deserialized === undefined)
|
|
389
|
+
if (deserialized === undefined) {
|
|
388
390
|
continue;
|
|
391
|
+
}
|
|
389
392
|
yield deserialized;
|
|
390
393
|
}
|
|
391
394
|
}
|
|
@@ -481,8 +484,9 @@ function getUnmarshalledStream(source, options) {
|
|
|
481
484
|
for await (const chunk of source) {
|
|
482
485
|
const message = options.eventStreamCodec.decode(chunk);
|
|
483
486
|
const type = await messageUnmarshaller(message);
|
|
484
|
-
if (type === undefined)
|
|
487
|
+
if (type === undefined) {
|
|
485
488
|
continue;
|
|
489
|
+
}
|
|
486
490
|
yield type;
|
|
487
491
|
}
|
|
488
492
|
},
|
|
@@ -512,8 +516,9 @@ function getMessageUnmarshaller(deserializer, toUtf8) {
|
|
|
512
516
|
[message.headers[":event-type"].value]: message,
|
|
513
517
|
};
|
|
514
518
|
const deserialized = await deserializer(event);
|
|
515
|
-
if (deserialized.$unknown)
|
|
519
|
+
if (deserialized.$unknown) {
|
|
516
520
|
return;
|
|
521
|
+
}
|
|
517
522
|
return deserialized;
|
|
518
523
|
}
|
|
519
524
|
else {
|
|
@@ -552,8 +557,9 @@ const readableStreamToIterable = (readableStream) => ({
|
|
|
552
557
|
try {
|
|
553
558
|
while (true) {
|
|
554
559
|
const { done, value } = await reader.read();
|
|
555
|
-
if (done)
|
|
560
|
+
if (done) {
|
|
556
561
|
return;
|
|
562
|
+
}
|
|
557
563
|
yield value;
|
|
558
564
|
}
|
|
559
565
|
}
|
|
@@ -651,8 +657,9 @@ class EventStreamSerde {
|
|
|
651
657
|
}
|
|
652
658
|
let unionMember = "";
|
|
653
659
|
for (const key in event) {
|
|
654
|
-
if (!hasOwn(event, key))
|
|
660
|
+
if (!hasOwn(event, key)) {
|
|
655
661
|
continue;
|
|
662
|
+
}
|
|
656
663
|
if (key !== "__type") {
|
|
657
664
|
unionMember = key;
|
|
658
665
|
break;
|
|
@@ -680,8 +687,9 @@ class EventStreamSerde {
|
|
|
680
687
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
681
688
|
let unionMember = "";
|
|
682
689
|
for (const key in event) {
|
|
683
|
-
if (!hasOwn(event, key))
|
|
690
|
+
if (!hasOwn(event, key)) {
|
|
684
691
|
continue;
|
|
692
|
+
}
|
|
685
693
|
if (key !== "__type") {
|
|
686
694
|
unionMember = key;
|
|
687
695
|
break;
|
|
@@ -756,8 +764,9 @@ class EventStreamSerde {
|
|
|
756
764
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
757
765
|
}
|
|
758
766
|
for (const key in firstEvent.value) {
|
|
759
|
-
if (!hasOwn(firstEvent.value, key))
|
|
767
|
+
if (!hasOwn(firstEvent.value, key)) {
|
|
760
768
|
continue;
|
|
769
|
+
}
|
|
761
770
|
initialResponseContainer[key] = firstEvent.value[key];
|
|
762
771
|
}
|
|
763
772
|
}
|
|
@@ -43,8 +43,9 @@ function negate(bytes) {
|
|
|
43
43
|
}
|
|
44
44
|
for (let i = 7; i > -1; i--) {
|
|
45
45
|
bytes[i]++;
|
|
46
|
-
if (bytes[i] !== 0)
|
|
46
|
+
if (bytes[i] !== 0) {
|
|
47
47
|
break;
|
|
48
|
+
}
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -58,8 +59,9 @@ class HeaderMarshaller {
|
|
|
58
59
|
format(headers) {
|
|
59
60
|
const chunks = [];
|
|
60
61
|
for (const headerName in headers) {
|
|
61
|
-
if (!hasOwn(headers, headerName))
|
|
62
|
+
if (!hasOwn(headers, headerName)) {
|
|
62
63
|
continue;
|
|
64
|
+
}
|
|
63
65
|
const bytes = this.fromUtf8(headerName);
|
|
64
66
|
if (bytes.byteLength > 255) {
|
|
65
67
|
throw new Error(`@smithy/core/event-streams - header name exceeds 255 bytes: ${bytes.byteLength}`);
|
|
@@ -385,8 +387,9 @@ class SmithyMessageDecoderStream {
|
|
|
385
387
|
async *asyncIterator() {
|
|
386
388
|
for await (const message of this.options.messageStream) {
|
|
387
389
|
const deserialized = await this.options.deserializer(message);
|
|
388
|
-
if (deserialized === undefined)
|
|
390
|
+
if (deserialized === undefined) {
|
|
389
391
|
continue;
|
|
392
|
+
}
|
|
390
393
|
yield deserialized;
|
|
391
394
|
}
|
|
392
395
|
}
|
|
@@ -482,8 +485,9 @@ function getUnmarshalledStream(source, options) {
|
|
|
482
485
|
for await (const chunk of source) {
|
|
483
486
|
const message = options.eventStreamCodec.decode(chunk);
|
|
484
487
|
const type = await messageUnmarshaller(message);
|
|
485
|
-
if (type === undefined)
|
|
488
|
+
if (type === undefined) {
|
|
486
489
|
continue;
|
|
490
|
+
}
|
|
487
491
|
yield type;
|
|
488
492
|
}
|
|
489
493
|
},
|
|
@@ -513,8 +517,9 @@ function getMessageUnmarshaller(deserializer, toUtf8) {
|
|
|
513
517
|
[message.headers[":event-type"].value]: message,
|
|
514
518
|
};
|
|
515
519
|
const deserialized = await deserializer(event);
|
|
516
|
-
if (deserialized.$unknown)
|
|
520
|
+
if (deserialized.$unknown) {
|
|
517
521
|
return;
|
|
522
|
+
}
|
|
518
523
|
return deserialized;
|
|
519
524
|
}
|
|
520
525
|
else {
|
|
@@ -597,8 +602,9 @@ const readableStreamToIterable = (readableStream) => ({
|
|
|
597
602
|
try {
|
|
598
603
|
while (true) {
|
|
599
604
|
const { done, value } = await reader.read();
|
|
600
|
-
if (done)
|
|
605
|
+
if (done) {
|
|
601
606
|
return;
|
|
607
|
+
}
|
|
602
608
|
yield value;
|
|
603
609
|
}
|
|
604
610
|
}
|
|
@@ -676,8 +682,9 @@ class EventStreamSerde {
|
|
|
676
682
|
}
|
|
677
683
|
let unionMember = "";
|
|
678
684
|
for (const key in event) {
|
|
679
|
-
if (!hasOwn(event, key))
|
|
685
|
+
if (!hasOwn(event, key)) {
|
|
680
686
|
continue;
|
|
687
|
+
}
|
|
681
688
|
if (key !== "__type") {
|
|
682
689
|
unionMember = key;
|
|
683
690
|
break;
|
|
@@ -705,8 +712,9 @@ class EventStreamSerde {
|
|
|
705
712
|
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
706
713
|
let unionMember = "";
|
|
707
714
|
for (const key in event) {
|
|
708
|
-
if (!hasOwn(event, key))
|
|
715
|
+
if (!hasOwn(event, key)) {
|
|
709
716
|
continue;
|
|
717
|
+
}
|
|
710
718
|
if (key !== "__type") {
|
|
711
719
|
unionMember = key;
|
|
712
720
|
break;
|
|
@@ -781,8 +789,9 @@ class EventStreamSerde {
|
|
|
781
789
|
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
782
790
|
}
|
|
783
791
|
for (const key in firstEvent.value) {
|
|
784
|
-
if (!hasOwn(firstEvent.value, key))
|
|
792
|
+
if (!hasOwn(firstEvent.value, key)) {
|
|
785
793
|
continue;
|
|
794
|
+
}
|
|
786
795
|
initialResponseContainer[key] = firstEvent.value[key];
|
|
787
796
|
}
|
|
788
797
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader, parseEpochTimestamp, parseRfc7231DateTime, parseRfc3339DateTimeWithOffset } = require("@smithy/core/serde");
|
|
1
|
+
const { Uint8ArrayBlobAdapter, sdkStreamMixin, splitEvery, splitHeader, fromBase64, _parseEpochTimestamp, _parseRfc7231DateTime, _parseRfc3339DateTimeWithOffset, LazyJsonString, NumericValue, toUtf8, fromUtf8, generateIdempotencyToken, toBase64, dateToUtcString, quoteHeader, writeKey, parseEpochTimestamp, parseRfc7231DateTime, parseRfc3339DateTimeWithOffset } = require("@smithy/core/serde");
|
|
2
2
|
const { HttpRequest, HttpResponse, hasOwn, isValidHostname, getSmithyContext } = require("@smithy/core/transport");
|
|
3
3
|
const { parseQueryString, parseUrl } = require("@smithy/core/transport");
|
|
4
4
|
exports.HttpRequest = HttpRequest;
|
|
@@ -75,8 +75,9 @@ class HttpProtocol extends SerdeContext {
|
|
|
75
75
|
}
|
|
76
76
|
if (endpoint.headers) {
|
|
77
77
|
for (const name in endpoint.headers) {
|
|
78
|
-
if (!hasOwn(endpoint.headers, name))
|
|
78
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
79
79
|
continue;
|
|
80
|
+
}
|
|
80
81
|
request.headers[name] = endpoint.headers[name].join(", ");
|
|
81
82
|
}
|
|
82
83
|
}
|
|
@@ -92,8 +93,9 @@ class HttpProtocol extends SerdeContext {
|
|
|
92
93
|
};
|
|
93
94
|
if (endpoint.headers) {
|
|
94
95
|
for (const name in endpoint.headers) {
|
|
95
|
-
if (!hasOwn(endpoint.headers, name))
|
|
96
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
96
97
|
continue;
|
|
98
|
+
}
|
|
97
99
|
request.headers[name] = endpoint.headers[name];
|
|
98
100
|
}
|
|
99
101
|
}
|
|
@@ -314,8 +316,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
314
316
|
}
|
|
315
317
|
else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
316
318
|
for (const key in inputMemberValue) {
|
|
317
|
-
if (!hasOwn(inputMemberValue, key))
|
|
319
|
+
if (!hasOwn(inputMemberValue, key)) {
|
|
318
320
|
continue;
|
|
321
|
+
}
|
|
319
322
|
const val = inputMemberValue[key];
|
|
320
323
|
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
321
324
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
@@ -362,8 +365,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
362
365
|
const traits = ns.getMergedTraits();
|
|
363
366
|
if (traits.httpQueryParams) {
|
|
364
367
|
for (const key in data) {
|
|
365
|
-
if (!hasOwn(data, key))
|
|
368
|
+
if (!hasOwn(data, key)) {
|
|
366
369
|
continue;
|
|
370
|
+
}
|
|
367
371
|
if (!(key in query)) {
|
|
368
372
|
const val = data[key];
|
|
369
373
|
const valueSchema = ns.getValueSchema();
|
|
@@ -407,8 +411,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
407
411
|
throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.");
|
|
408
412
|
}
|
|
409
413
|
for (const header in response.headers) {
|
|
410
|
-
if (!hasOwn(response.headers, header))
|
|
414
|
+
if (!hasOwn(response.headers, header)) {
|
|
411
415
|
continue;
|
|
416
|
+
}
|
|
412
417
|
const value = response.headers[header];
|
|
413
418
|
delete response.headers[header];
|
|
414
419
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -496,8 +501,9 @@ class HttpBindingProtocol extends HttpProtocol {
|
|
|
496
501
|
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
|
497
502
|
dataObject[memberName] = {};
|
|
498
503
|
for (const header in response.headers) {
|
|
499
|
-
if (!hasOwn(response.headers, header))
|
|
504
|
+
if (!hasOwn(response.headers, header)) {
|
|
500
505
|
continue;
|
|
506
|
+
}
|
|
501
507
|
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
|
502
508
|
const value = response.headers[header];
|
|
503
509
|
const valueSchema = memberSchema.getValueSchema();
|
|
@@ -574,7 +580,7 @@ class RpcProtocol extends HttpProtocol {
|
|
|
574
580
|
const deserializer = this.deserializer;
|
|
575
581
|
const ns = NormalizedSchema.of(operationSchema.output);
|
|
576
582
|
const dataObject = {};
|
|
577
|
-
if (response.statusCode
|
|
583
|
+
if (this.isErrorResponse(response.statusCode)) {
|
|
578
584
|
const bytes = await collectBody(response.body, context);
|
|
579
585
|
if (bytes.byteLength > 0) {
|
|
580
586
|
Object.assign(dataObject, await deserializer.read(15, bytes));
|
|
@@ -583,8 +589,9 @@ class RpcProtocol extends HttpProtocol {
|
|
|
583
589
|
throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.");
|
|
584
590
|
}
|
|
585
591
|
for (const header in response.headers) {
|
|
586
|
-
if (!hasOwn(response.headers, header))
|
|
592
|
+
if (!hasOwn(response.headers, header)) {
|
|
587
593
|
continue;
|
|
594
|
+
}
|
|
588
595
|
const value = response.headers[header];
|
|
589
596
|
delete response.headers[header];
|
|
590
597
|
response.headers[header.toLowerCase()] = value;
|
|
@@ -606,6 +613,42 @@ class RpcProtocol extends HttpProtocol {
|
|
|
606
613
|
dataObject.$metadata = this.deserializeMetadata(response);
|
|
607
614
|
return dataObject;
|
|
608
615
|
}
|
|
616
|
+
isErrorResponse(statusCode) {
|
|
617
|
+
return statusCode >= 300;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
class AbstractRpcV2Protocol extends RpcProtocol {
|
|
622
|
+
constructor({ defaultNamespace, errorTypeRegistries, }) {
|
|
623
|
+
super({ defaultNamespace, errorTypeRegistries });
|
|
624
|
+
}
|
|
625
|
+
async serializeRequest(operationSchema, input, context) {
|
|
626
|
+
const request = await super.serializeRequest(operationSchema, input, context);
|
|
627
|
+
Object.assign(request.headers, {
|
|
628
|
+
"content-type": this.getDefaultContentType(),
|
|
629
|
+
"smithy-protocol": this.getSmithyProtocolHeaderValue(),
|
|
630
|
+
accept: this.getDefaultContentType(),
|
|
631
|
+
});
|
|
632
|
+
if (deref(operationSchema.input) === "unit") {
|
|
633
|
+
delete request.body;
|
|
634
|
+
delete request.headers["content-type"];
|
|
635
|
+
}
|
|
636
|
+
else {
|
|
637
|
+
this.applyEmptyBody(request);
|
|
638
|
+
}
|
|
639
|
+
const { service, operation } = getSmithyContext(context);
|
|
640
|
+
const path = `/service/${service}/operation/${operation}`;
|
|
641
|
+
if (request.path.endsWith("/")) {
|
|
642
|
+
request.path += path.slice(1);
|
|
643
|
+
}
|
|
644
|
+
else {
|
|
645
|
+
request.path += path;
|
|
646
|
+
}
|
|
647
|
+
return request;
|
|
648
|
+
}
|
|
649
|
+
isErrorResponse(statusCode) {
|
|
650
|
+
return statusCode !== 200;
|
|
651
|
+
}
|
|
609
652
|
}
|
|
610
653
|
|
|
611
654
|
const resolvedPath = (resolvedPath, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
@@ -985,6 +1028,9 @@ const getHttpHandlerExtensionConfiguration = (runtimeConfig) => {
|
|
|
985
1028
|
if (runtimeConfig.logger && runtimeConfig.logger.constructor?.name !== "NoOpLogger") {
|
|
986
1029
|
runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("logger"), runtimeConfig.logger);
|
|
987
1030
|
}
|
|
1031
|
+
if (runtimeConfig.defaultSocketTimeout) {
|
|
1032
|
+
runtimeConfig.requestHandler?.updateHttpClientConfig?.(Symbol.for("@smithy/defaultSocketTimeout"), runtimeConfig.defaultSocketTimeout);
|
|
1033
|
+
}
|
|
988
1034
|
return {
|
|
989
1035
|
setHttpHandler(handler) {
|
|
990
1036
|
runtimeConfig.requestHandler = handler;
|
|
@@ -1390,10 +1436,6 @@ const loadErrorCode = ({ headers }, data, order) => {
|
|
|
1390
1436
|
}
|
|
1391
1437
|
};
|
|
1392
1438
|
|
|
1393
|
-
function writeKey(obj) {
|
|
1394
|
-
Object.defineProperty(obj, "__proto__", { value: undefined, writable: true, enumerable: true, configurable: true });
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
1439
|
class JsonShapeDeserializer2 extends SerdeContextConfig {
|
|
1398
1440
|
settings;
|
|
1399
1441
|
constructor(settings) {
|
|
@@ -1445,8 +1487,9 @@ class JsonShapeDeserializer2 extends SerdeContextConfig {
|
|
|
1445
1487
|
const map = value;
|
|
1446
1488
|
if (this.needsTransform(mapMember)) {
|
|
1447
1489
|
for (const k in map) {
|
|
1448
|
-
if (!hasOwn(map, k))
|
|
1490
|
+
if (!hasOwn(map, k)) {
|
|
1449
1491
|
continue;
|
|
1492
|
+
}
|
|
1450
1493
|
if (k === "__proto__") {
|
|
1451
1494
|
writeKey(map);
|
|
1452
1495
|
}
|
|
@@ -1518,8 +1561,9 @@ class JsonShapeDeserializer2 extends SerdeContextConfig {
|
|
|
1518
1561
|
else {
|
|
1519
1562
|
const doc = value;
|
|
1520
1563
|
for (const k in doc) {
|
|
1521
|
-
if (!hasOwn(doc, k))
|
|
1564
|
+
if (!hasOwn(doc, k)) {
|
|
1522
1565
|
continue;
|
|
1566
|
+
}
|
|
1523
1567
|
if (k === "__proto__") {
|
|
1524
1568
|
writeKey(doc);
|
|
1525
1569
|
}
|
|
@@ -1566,8 +1610,9 @@ class JsonShapeDeserializer2 extends SerdeContextConfig {
|
|
|
1566
1610
|
}
|
|
1567
1611
|
else if (hasType) {
|
|
1568
1612
|
for (const k in record) {
|
|
1569
|
-
if (!hasOwn(record, k))
|
|
1613
|
+
if (!hasOwn(record, k)) {
|
|
1570
1614
|
continue;
|
|
1615
|
+
}
|
|
1571
1616
|
const v = record[k];
|
|
1572
1617
|
const t = jsonName ? (nameMap[k] ?? k) : k;
|
|
1573
1618
|
if (!(t in out)) {
|
|
@@ -2111,8 +2156,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
2111
2156
|
const out = [];
|
|
2112
2157
|
for (let i = 0; i < value.length; ++i) {
|
|
2113
2158
|
const v = value[i];
|
|
2114
|
-
if (v == null && !sparse)
|
|
2159
|
+
if (v == null && !sparse) {
|
|
2115
2160
|
continue;
|
|
2161
|
+
}
|
|
2116
2162
|
if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
|
|
2117
2163
|
out.push(String(v));
|
|
2118
2164
|
}
|
|
@@ -2152,8 +2198,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
2152
2198
|
if (valueSchema.isStringSchema() || valueSchema.isNumericSchema() || valueSchema.isBooleanSchema()) {
|
|
2153
2199
|
let modifications;
|
|
2154
2200
|
for (const k in value) {
|
|
2155
|
-
if (!hasOwn(value, k))
|
|
2201
|
+
if (!hasOwn(value, k)) {
|
|
2156
2202
|
continue;
|
|
2203
|
+
}
|
|
2157
2204
|
const v = value[k];
|
|
2158
2205
|
if (Number.isNaN(v) || v === Infinity || v === -Infinity) {
|
|
2159
2206
|
(modifications ??= {})[k] = v;
|
|
@@ -2177,8 +2224,9 @@ class JsonShapeSerializer2 extends SerdeContextConfig {
|
|
|
2177
2224
|
this.json[this.i++] = OPEN_BRACE;
|
|
2178
2225
|
let first = true;
|
|
2179
2226
|
for (const k in value) {
|
|
2180
|
-
if (!hasOwn(value, k))
|
|
2227
|
+
if (!hasOwn(value, k)) {
|
|
2181
2228
|
continue;
|
|
2229
|
+
}
|
|
2182
2230
|
const v = value[k];
|
|
2183
2231
|
if (isDocument ? v === undefined : v == null && !sparse) {
|
|
2184
2232
|
continue;
|
|
@@ -2240,7 +2288,7 @@ class JsonCodec2 extends SerdeContextConfig {
|
|
|
2240
2288
|
}
|
|
2241
2289
|
}
|
|
2242
2290
|
|
|
2243
|
-
class SmithyRpcV2JsonProtocol extends
|
|
2291
|
+
class SmithyRpcV2JsonProtocol extends AbstractRpcV2Protocol {
|
|
2244
2292
|
codec = new JsonCodec2({
|
|
2245
2293
|
timestampFormat: {
|
|
2246
2294
|
useTrait: false,
|
|
@@ -2251,41 +2299,19 @@ class SmithyRpcV2JsonProtocol extends RpcProtocol {
|
|
|
2251
2299
|
});
|
|
2252
2300
|
serializer = this.codec.createSerializer();
|
|
2253
2301
|
deserializer = this.codec.createDeserializer();
|
|
2254
|
-
constructor({ defaultNamespace, errorTypeRegistries, }) {
|
|
2255
|
-
super({ defaultNamespace, errorTypeRegistries });
|
|
2256
|
-
}
|
|
2257
2302
|
getShapeId() {
|
|
2258
2303
|
return "smithy.protocols#rpcv2Json";
|
|
2259
2304
|
}
|
|
2260
2305
|
getPayloadCodec() {
|
|
2261
2306
|
return this.codec;
|
|
2262
2307
|
}
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
accept: this.getDefaultContentType(),
|
|
2269
|
-
});
|
|
2270
|
-
if (deref(operationSchema.input) === "unit") {
|
|
2271
|
-
delete request.body;
|
|
2272
|
-
delete request.headers["content-type"];
|
|
2273
|
-
}
|
|
2274
|
-
else if (!request.body) {
|
|
2308
|
+
getSmithyProtocolHeaderValue() {
|
|
2309
|
+
return "rpc-v2-json";
|
|
2310
|
+
}
|
|
2311
|
+
applyEmptyBody(request) {
|
|
2312
|
+
if (!request.body) {
|
|
2275
2313
|
request.body = "{}";
|
|
2276
2314
|
}
|
|
2277
|
-
const { service, operation } = getSmithyContext(context);
|
|
2278
|
-
const path = `/service/${service}/operation/${operation}`;
|
|
2279
|
-
if (request.path.endsWith("/")) {
|
|
2280
|
-
request.path += path.slice(1);
|
|
2281
|
-
}
|
|
2282
|
-
else {
|
|
2283
|
-
request.path += path;
|
|
2284
|
-
}
|
|
2285
|
-
return request;
|
|
2286
|
-
}
|
|
2287
|
-
async deserializeResponse(operationSchema, context, response) {
|
|
2288
|
-
return super.deserializeResponse(operationSchema, context, response);
|
|
2289
2315
|
}
|
|
2290
2316
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
2291
2317
|
const errorName = loadSmithyRpcV2JsonErrorCode(response, dataObject) ?? "Unknown";
|
|
@@ -2386,8 +2412,9 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
2386
2412
|
}
|
|
2387
2413
|
else if (typeof record.__type === "string") {
|
|
2388
2414
|
for (const k in record) {
|
|
2389
|
-
if (!hasOwn(record, k))
|
|
2415
|
+
if (!hasOwn(record, k)) {
|
|
2390
2416
|
continue;
|
|
2417
|
+
}
|
|
2391
2418
|
const v = record[k];
|
|
2392
2419
|
const t = jsonName ? (nameMap[k] ?? k) : k;
|
|
2393
2420
|
if (!(t in out)) {
|
|
@@ -2409,8 +2436,9 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
2409
2436
|
const mapMember = ns.getValueSchema();
|
|
2410
2437
|
const out = {};
|
|
2411
2438
|
for (const _k in value) {
|
|
2412
|
-
if (!hasOwn(value, _k))
|
|
2439
|
+
if (!hasOwn(value, _k)) {
|
|
2413
2440
|
continue;
|
|
2441
|
+
}
|
|
2414
2442
|
if (_k === "__proto__") {
|
|
2415
2443
|
writeKey(out);
|
|
2416
2444
|
}
|
|
@@ -2472,8 +2500,9 @@ class JsonShapeDeserializer extends SerdeContextConfig {
|
|
|
2472
2500
|
if (isObject) {
|
|
2473
2501
|
const out = Array.isArray(value) ? [] : {};
|
|
2474
2502
|
for (const k in value) {
|
|
2475
|
-
if (!hasOwn(value, k))
|
|
2503
|
+
if (!hasOwn(value, k)) {
|
|
2476
2504
|
continue;
|
|
2505
|
+
}
|
|
2477
2506
|
if (k === "__proto__") {
|
|
2478
2507
|
writeKey(out);
|
|
2479
2508
|
}
|
|
@@ -2610,8 +2639,9 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
2610
2639
|
}
|
|
2611
2640
|
else if (typeof record.__type === "string") {
|
|
2612
2641
|
for (const k in record) {
|
|
2613
|
-
if (!hasOwn(record, k))
|
|
2642
|
+
if (!hasOwn(record, k)) {
|
|
2614
2643
|
continue;
|
|
2644
|
+
}
|
|
2615
2645
|
const v = record[k];
|
|
2616
2646
|
const targetKey = jsonName ? (nameMap[k] ?? k) : k;
|
|
2617
2647
|
if (!(targetKey in out)) {
|
|
@@ -2637,8 +2667,9 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
2637
2667
|
const out = {};
|
|
2638
2668
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
2639
2669
|
for (const _k in value) {
|
|
2640
|
-
if (!hasOwn(value, _k))
|
|
2670
|
+
if (!hasOwn(value, _k)) {
|
|
2641
2671
|
continue;
|
|
2672
|
+
}
|
|
2642
2673
|
const _v = value[_k];
|
|
2643
2674
|
if (sparse || _v != null) {
|
|
2644
2675
|
if (_k === "__proto__") {
|
|
@@ -2711,8 +2742,9 @@ class JsonShapeSerializer extends SerdeContextConfig {
|
|
|
2711
2742
|
}
|
|
2712
2743
|
const out = Array.isArray(value) ? [] : {};
|
|
2713
2744
|
for (const k in value) {
|
|
2714
|
-
if (!hasOwn(value, k))
|
|
2745
|
+
if (!hasOwn(value, k)) {
|
|
2715
2746
|
continue;
|
|
2747
|
+
}
|
|
2716
2748
|
const v = value[k];
|
|
2717
2749
|
if (k === "__proto__") {
|
|
2718
2750
|
writeKey(out);
|
|
@@ -2753,6 +2785,7 @@ class JsonCodec extends SerdeContextConfig {
|
|
|
2753
2785
|
}
|
|
2754
2786
|
}
|
|
2755
2787
|
|
|
2788
|
+
exports.AbstractRpcV2Protocol = AbstractRpcV2Protocol;
|
|
2756
2789
|
exports.Field = Field;
|
|
2757
2790
|
exports.Fields = Fields;
|
|
2758
2791
|
exports.FromStringShapeDeserializer = FromStringShapeDeserializer;
|