@psnext/slingcli 3.5.20261019-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 +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- 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 +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/eventstream-handler-node/package.json +3 -3
- 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 +3 -3
- package/node_modules/@aws-sdk/middleware-websocket/package.json +5 -5
- 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/CognitoIdentityClient.d.ts +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 +3 -3
- 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/SSOClient.d.ts +2 -1
- 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/SSOOIDCClient.d.ts +2 -1
- 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/STSClient.d.ts +2 -1
- 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 +6 -6
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +3 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +3 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- 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/@modelcontextprotocol/sdk/dist/cjs/server/mcp.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js +10 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/server/mcp.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts +8 -8
- package/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/transport.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js +10 -0
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts +8 -8
- package/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts.map +1 -1
- package/node_modules/@modelcontextprotocol/sdk/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 +52 -19
- 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 +28 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +28 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +91 -58
- 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 +17 -2
- 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 +12 -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 +11 -8
- 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/body-parser/README.md +17 -13
- package/node_modules/body-parser/lib/read.js +74 -57
- package/node_modules/body-parser/lib/types/json.js +11 -11
- package/node_modules/body-parser/lib/types/urlencoded.js +5 -5
- package/node_modules/body-parser/lib/utils.js +0 -15
- package/node_modules/body-parser/package.json +7 -12
- 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/README.md +2 -3
- 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 +11 -8
- package/node_modules/hono/dist/cjs/helper/css/index.js +1 -1
- package/node_modules/hono/dist/cjs/helper/route/index.js +3 -1
- 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/jsx/base.js +1 -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 +9 -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/middleware/serve-static/index.js +3 -1
- 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/router/trie-router/node.js +2 -2
- 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 +21 -6
- 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 +11 -8
- package/node_modules/hono/dist/helper/css/index.js +1 -1
- package/node_modules/hono/dist/helper/route/index.js +3 -1
- package/node_modules/hono/dist/hono-base.js +4 -10
- package/node_modules/hono/dist/hono.js +0 -1
- package/node_modules/hono/dist/jsx/base.js +1 -1
- package/node_modules/hono/dist/middleware/basic-auth/index.js +1 -1
- package/node_modules/hono/dist/middleware/bearer-auth/index.js +9 -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/middleware/serve-static/index.js +3 -1
- 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/router/trie-router/node.js +2 -2
- package/node_modules/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/bun/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/bun/ssg.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/deno/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/deno/ssg.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/netlify/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/adapter/vercel/conninfo.d.ts +1 -1
- package/node_modules/hono/dist/types/helper/testing/index.d.ts +2 -1
- package/node_modules/hono/dist/types/hono-base.d.ts +21 -9
- package/node_modules/hono/dist/types/index.d.ts +1 -1
- package/node_modules/hono/dist/types/jsx/components.d.ts +2 -2
- package/node_modules/hono/dist/types/jsx/context.d.ts +2 -2
- package/node_modules/hono/dist/types/jsx/dom/components.d.ts +2 -2
- package/node_modules/hono/dist/types/jsx/dom/css.d.ts +2 -2
- package/node_modules/hono/dist/types/jsx/streaming.d.ts +4 -3
- package/node_modules/hono/dist/types/middleware/bearer-auth/index.d.ts +2 -1
- package/node_modules/hono/dist/types/middleware/ip-restriction/index.d.ts +3 -3
- package/node_modules/hono/dist/types/middleware/jsx-renderer/index.d.ts +3 -3
- 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/ipaddr.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 +21 -7
- 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/common.js +2 -2
- package/node_modules/ip-address/dist/common.js.map +1 -1
- 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 +2 -2
- 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/on-finished/index.js +14 -2
- package/node_modules/on-finished/package.json +11 -7
- 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/sling-default-packages.json +3 -2
- package/slingshot/index.js +2 -2
- package/node_modules/on-finished/HISTORY.md +0 -98
- /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
|
@@ -31,19 +31,19 @@ export type TransportSendOptions = {
|
|
|
31
31
|
/**
|
|
32
32
|
* If present, `relatedRequestId` is used to indicate to the transport which incoming request to associate this outgoing message with.
|
|
33
33
|
*/
|
|
34
|
-
relatedRequestId?: RequestId;
|
|
34
|
+
relatedRequestId?: RequestId | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The resumption token used to continue long-running requests that were interrupted.
|
|
37
37
|
*
|
|
38
38
|
* This allows clients to reconnect and continue from where they left off, if supported by the transport.
|
|
39
39
|
*/
|
|
40
|
-
resumptionToken?: string;
|
|
40
|
+
resumptionToken?: string | undefined;
|
|
41
41
|
/**
|
|
42
42
|
* A callback that is invoked when the resumption token changes, if supported by the transport.
|
|
43
43
|
*
|
|
44
44
|
* This allows clients to persist the latest token for potential reconnection.
|
|
45
45
|
*/
|
|
46
|
-
onresumptiontoken?: (token: string) => void;
|
|
46
|
+
onresumptiontoken?: ((token: string) => void) | undefined;
|
|
47
47
|
};
|
|
48
48
|
/**
|
|
49
49
|
* Describes the minimal contract for an MCP transport that a client or server can communicate over.
|
|
@@ -72,13 +72,13 @@ export interface Transport {
|
|
|
72
72
|
*
|
|
73
73
|
* This should be invoked when close() is called as well.
|
|
74
74
|
*/
|
|
75
|
-
onclose?: () => void;
|
|
75
|
+
onclose?: (() => void) | undefined;
|
|
76
76
|
/**
|
|
77
77
|
* Callback for when an error occurs.
|
|
78
78
|
*
|
|
79
79
|
* Note that errors are not necessarily fatal; they are used for reporting any kind of exceptional condition out of band.
|
|
80
80
|
*/
|
|
81
|
-
onerror?: (error: Error) => void;
|
|
81
|
+
onerror?: ((error: Error) => void) | undefined;
|
|
82
82
|
/**
|
|
83
83
|
* Callback for when a message (request or response) is received over the connection.
|
|
84
84
|
*
|
|
@@ -86,14 +86,14 @@ export interface Transport {
|
|
|
86
86
|
*
|
|
87
87
|
* The requestInfo can be used to get the original request information (headers, etc.)
|
|
88
88
|
*/
|
|
89
|
-
onmessage?: <T extends JSONRPCMessage>(message: T, extra?: MessageExtraInfo) => void;
|
|
89
|
+
onmessage?: (<T extends JSONRPCMessage>(message: T, extra?: MessageExtraInfo) => void) | undefined;
|
|
90
90
|
/**
|
|
91
91
|
* The session ID generated for this connection.
|
|
92
92
|
*/
|
|
93
|
-
sessionId?: string;
|
|
93
|
+
sessionId?: string | undefined;
|
|
94
94
|
/**
|
|
95
95
|
* Sets the protocol version used for the connection (called when the initialize response is received).
|
|
96
96
|
*/
|
|
97
|
-
setProtocolVersion?: (version: string) => void;
|
|
97
|
+
setProtocolVersion?: ((version: string) => void) | undefined;
|
|
98
98
|
}
|
|
99
99
|
//# sourceMappingURL=transport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../src/shared/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAErF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAYzF;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,GAAE,SAAiB,EAAE,QAAQ,CAAC,EAAE,WAAW,GAAG,SAAS,CAenG;AAKD,uHAAuH;AACvH,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,GAAG,OAAO,CAK1D;AAWD,6IAA6I;AAC7I,wBAAgB,kBAAkB,CAC9B,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,EAAE,WAAW,GAAG,SAAS,EAC7B,QAAQ,EAAE,QAAQ,EAClB,QAAQ,SAAI,GACb,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,CAiB/B;AAID,mJAAmJ;AACnJ,wBAAgB,qBAAqB,CAAC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAItE;AAED,wIAAwI;AACxI,wBAAgB,iBAAiB,CAAC,SAAS,GAAE,SAAiB,GAAG,SAAS,CAazE;AAED,0IAA0I;AAC1I,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,GAAG,SAAS,CAiBnG;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../../../src/shared/transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE1E,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAErF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAYzF;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,GAAE,SAAiB,EAAE,QAAQ,CAAC,EAAE,WAAW,GAAG,SAAS,CAenG;AAKD,uHAAuH;AACvH,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,GAAG,OAAO,CAK1D;AAWD,6IAA6I;AAC7I,wBAAgB,kBAAkB,CAC9B,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,MAAM,GAAG,GAAG,EACjB,IAAI,EAAE,WAAW,GAAG,SAAS,EAC7B,QAAQ,EAAE,QAAQ,EAClB,QAAQ,SAAI,GACb,OAAO,CAAC,QAAQ,CAAC,GAAG,SAAS,CAiB/B;AAID,mJAAmJ;AACnJ,wBAAgB,qBAAqB,CAAC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAItE;AAED,wIAAwI;AACxI,wBAAgB,iBAAiB,CAAC,SAAS,GAAE,SAAiB,GAAG,SAAS,CAazE;AAED,0IAA0I;AAC1I,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,GAAG,GAAG,GAAG,MAAM,GAAG,SAAS,CAiBnG;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAEzC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CAC7D,CAAC;AACF;;GAEG;AACH,MAAM,WAAW,SAAS;IACtB;;;;;;OAMG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvB;;;;OAIG;IACH,IAAI,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7E;;OAEG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAEnC;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAE/C;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,cAAc,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAEnG;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE/B;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;CAChE"}
|
|
@@ -139,8 +139,9 @@ const getHttpSigningPlugin = (config) => ({
|
|
|
139
139
|
});
|
|
140
140
|
|
|
141
141
|
const normalizeProvider = (input) => {
|
|
142
|
-
if (typeof input === "function")
|
|
142
|
+
if (typeof input === "function") {
|
|
143
143
|
return input;
|
|
144
|
+
}
|
|
144
145
|
const promisified = Promise.resolve(input);
|
|
145
146
|
return () => promisified;
|
|
146
147
|
};
|
|
@@ -203,8 +204,9 @@ class DefaultIdentityProviderConfig {
|
|
|
203
204
|
authSchemes = new Map();
|
|
204
205
|
constructor(config) {
|
|
205
206
|
for (const key in config) {
|
|
206
|
-
if (!hasOwn(config, key))
|
|
207
|
+
if (!hasOwn(config, key)) {
|
|
207
208
|
continue;
|
|
209
|
+
}
|
|
208
210
|
const value = config[key];
|
|
209
211
|
if (value !== undefined) {
|
|
210
212
|
this.authSchemes.set(key, value);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require("@smithy/core/serde");
|
|
2
|
-
const { hasOwn
|
|
3
|
-
const { HttpRequest, collectBody, SerdeContext,
|
|
4
|
-
const { NormalizedSchema,
|
|
2
|
+
const { hasOwn } = require("@smithy/core/transport");
|
|
3
|
+
const { HttpRequest, collectBody, SerdeContext, AbstractRpcV2Protocol } = require("@smithy/core/protocols");
|
|
4
|
+
const { NormalizedSchema, TypeRegistry } = require("@smithy/core/schema");
|
|
5
5
|
|
|
6
6
|
const majorUint64 = 0;
|
|
7
7
|
const majorNegativeInt64 = 1;
|
|
@@ -931,8 +931,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
931
931
|
}
|
|
932
932
|
if (endpoint.headers) {
|
|
933
933
|
for (const name in endpoint.headers) {
|
|
934
|
-
if (!hasOwn(endpoint.headers, name))
|
|
934
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
935
935
|
continue;
|
|
936
|
+
}
|
|
936
937
|
contents.headers[name] = endpoint.headers[name];
|
|
937
938
|
}
|
|
938
939
|
}
|
|
@@ -1193,8 +1194,9 @@ function writeStruct(ns, value, serdeContext) {
|
|
|
1193
1194
|
}
|
|
1194
1195
|
if (typeof value.__type === "string") {
|
|
1195
1196
|
for (const k in value) {
|
|
1196
|
-
if (!hasOwn(value, k))
|
|
1197
|
+
if (!hasOwn(value, k)) {
|
|
1197
1198
|
continue;
|
|
1199
|
+
}
|
|
1198
1200
|
if (!memberNames.includes(k)) {
|
|
1199
1201
|
writeString(k);
|
|
1200
1202
|
writeUntypedValue(value[k]);
|
|
@@ -1260,8 +1262,9 @@ function writeMap(ns, value, isDocument, serdeContext) {
|
|
|
1260
1262
|
const valueSchema = ns.getValueSchema();
|
|
1261
1263
|
const keys = [];
|
|
1262
1264
|
for (const k in value) {
|
|
1263
|
-
if (!hasOwn(value, k))
|
|
1265
|
+
if (!hasOwn(value, k)) {
|
|
1264
1266
|
continue;
|
|
1267
|
+
}
|
|
1265
1268
|
const v = value[k];
|
|
1266
1269
|
if (isDocument ? v !== undefined : v != null || sparse) {
|
|
1267
1270
|
keys.push(k);
|
|
@@ -1675,8 +1678,9 @@ function readStruct(ns, count, startPos) {
|
|
|
1675
1678
|
if (isUnion) {
|
|
1676
1679
|
let resultEmpty = true;
|
|
1677
1680
|
for (const _ in result) {
|
|
1678
|
-
if (!hasOwn(result, _))
|
|
1681
|
+
if (!hasOwn(result, _)) {
|
|
1679
1682
|
continue;
|
|
1683
|
+
}
|
|
1680
1684
|
resultEmpty = false;
|
|
1681
1685
|
break;
|
|
1682
1686
|
}
|
|
@@ -1845,8 +1849,9 @@ function readMapIndefinite(ns) {
|
|
|
1845
1849
|
if (isUnion) {
|
|
1846
1850
|
let resultEmpty = true;
|
|
1847
1851
|
for (const _ in result) {
|
|
1848
|
-
if (!hasOwn(result, _))
|
|
1852
|
+
if (!hasOwn(result, _)) {
|
|
1849
1853
|
continue;
|
|
1854
|
+
}
|
|
1850
1855
|
resultEmpty = false;
|
|
1851
1856
|
break;
|
|
1852
1857
|
}
|
|
@@ -2151,8 +2156,9 @@ function transformObject(ns, value) {
|
|
|
2151
2156
|
if (ns.isMapSchema()) {
|
|
2152
2157
|
const targetSchema = ns.getValueSchema();
|
|
2153
2158
|
for (const key in value) {
|
|
2154
|
-
if (!hasOwn(value, key))
|
|
2159
|
+
if (!hasOwn(value, key)) {
|
|
2155
2160
|
continue;
|
|
2161
|
+
}
|
|
2156
2162
|
newObject[key] = transformObject(targetSchema, value[key]);
|
|
2157
2163
|
}
|
|
2158
2164
|
}
|
|
@@ -2162,8 +2168,9 @@ function transformObject(ns, value) {
|
|
|
2162
2168
|
if (isUnion) {
|
|
2163
2169
|
keys = new Set();
|
|
2164
2170
|
for (const k in value) {
|
|
2165
|
-
if (!hasOwn(value, k))
|
|
2171
|
+
if (!hasOwn(value, k)) {
|
|
2166
2172
|
continue;
|
|
2173
|
+
}
|
|
2167
2174
|
if (k !== "__type") {
|
|
2168
2175
|
keys.add(k);
|
|
2169
2176
|
}
|
|
@@ -2180,8 +2187,9 @@ function transformObject(ns, value) {
|
|
|
2180
2187
|
if (isUnion && keys?.size === 1) {
|
|
2181
2188
|
let newObjectEmpty = true;
|
|
2182
2189
|
for (const _ in newObject) {
|
|
2183
|
-
if (!hasOwn(newObject, _))
|
|
2190
|
+
if (!hasOwn(newObject, _)) {
|
|
2184
2191
|
continue;
|
|
2192
|
+
}
|
|
2185
2193
|
newObjectEmpty = false;
|
|
2186
2194
|
break;
|
|
2187
2195
|
}
|
|
@@ -2192,8 +2200,9 @@ function transformObject(ns, value) {
|
|
|
2192
2200
|
}
|
|
2193
2201
|
else if (typeof value.__type === "string") {
|
|
2194
2202
|
for (const k in value) {
|
|
2195
|
-
if (!hasOwn(value, k))
|
|
2203
|
+
if (!hasOwn(value, k)) {
|
|
2196
2204
|
continue;
|
|
2205
|
+
}
|
|
2197
2206
|
if (!(k in newObject)) {
|
|
2198
2207
|
newObject[k] = value[k];
|
|
2199
2208
|
}
|
|
@@ -2216,51 +2225,27 @@ class CborCodec extends SerdeContext {
|
|
|
2216
2225
|
}
|
|
2217
2226
|
}
|
|
2218
2227
|
|
|
2219
|
-
class SmithyRpcV2CborProtocol extends
|
|
2228
|
+
class SmithyRpcV2CborProtocol extends AbstractRpcV2Protocol {
|
|
2220
2229
|
codec = new CborCodec();
|
|
2221
2230
|
serializer = this.codec.createSerializer();
|
|
2222
2231
|
deserializer = this.codec.createDeserializer();
|
|
2223
|
-
constructor({ defaultNamespace, errorTypeRegistries, }) {
|
|
2224
|
-
super({ defaultNamespace, errorTypeRegistries });
|
|
2225
|
-
}
|
|
2226
2232
|
getShapeId() {
|
|
2227
2233
|
return "smithy.protocols#rpcv2Cbor";
|
|
2228
2234
|
}
|
|
2229
2235
|
getPayloadCodec() {
|
|
2230
2236
|
return this.codec;
|
|
2231
2237
|
}
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
if (deref(operationSchema.input) === "unit") {
|
|
2240
|
-
delete request.body;
|
|
2241
|
-
delete request.headers["content-type"];
|
|
2242
|
-
}
|
|
2243
|
-
else {
|
|
2244
|
-
if (!request.body) {
|
|
2245
|
-
this.serializer.write(15, {});
|
|
2246
|
-
request.body = this.serializer.flush();
|
|
2247
|
-
}
|
|
2248
|
-
if (request.body instanceof Uint8Array) {
|
|
2249
|
-
request.headers["content-length"] = String(request.body.byteLength);
|
|
2250
|
-
}
|
|
2251
|
-
}
|
|
2252
|
-
const { service, operation } = getSmithyContext(context);
|
|
2253
|
-
const path = `/service/${service}/operation/${operation}`;
|
|
2254
|
-
if (request.path.endsWith("/")) {
|
|
2255
|
-
request.path += path.slice(1);
|
|
2238
|
+
getSmithyProtocolHeaderValue() {
|
|
2239
|
+
return "rpc-v2-cbor";
|
|
2240
|
+
}
|
|
2241
|
+
applyEmptyBody(request) {
|
|
2242
|
+
if (!request.body) {
|
|
2243
|
+
this.serializer.write(15, {});
|
|
2244
|
+
request.body = this.serializer.flush();
|
|
2256
2245
|
}
|
|
2257
|
-
|
|
2258
|
-
request.
|
|
2246
|
+
if (request.body instanceof Uint8Array) {
|
|
2247
|
+
request.headers["content-length"] = String(request.body.byteLength);
|
|
2259
2248
|
}
|
|
2260
|
-
return request;
|
|
2261
|
-
}
|
|
2262
|
-
async deserializeResponse(operationSchema, context, response) {
|
|
2263
|
-
return super.deserializeResponse(operationSchema, context, response);
|
|
2264
2249
|
}
|
|
2265
2250
|
async handleError(operationSchema, context, response, dataObject, metadata) {
|
|
2266
2251
|
const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
|
|
@@ -2356,8 +2341,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2356
2341
|
if (ns.isMapSchema()) {
|
|
2357
2342
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
2358
2343
|
for (const key in sourceObject) {
|
|
2359
|
-
if (!hasOwn(sourceObject, key))
|
|
2344
|
+
if (!hasOwn(sourceObject, key)) {
|
|
2360
2345
|
continue;
|
|
2346
|
+
}
|
|
2361
2347
|
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2362
2348
|
if (value != null || sparse) {
|
|
2363
2349
|
newObject[key] = value;
|
|
@@ -2378,8 +2364,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2378
2364
|
}
|
|
2379
2365
|
else if (typeof sourceObject.__type === "string") {
|
|
2380
2366
|
for (const k in sourceObject) {
|
|
2381
|
-
if (!hasOwn(sourceObject, k))
|
|
2367
|
+
if (!hasOwn(sourceObject, k)) {
|
|
2382
2368
|
continue;
|
|
2369
|
+
}
|
|
2383
2370
|
if (!(k in newObject)) {
|
|
2384
2371
|
newObject[k] = this.serialize(15, sourceObject[k]);
|
|
2385
2372
|
}
|
|
@@ -2396,8 +2383,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2396
2383
|
return newArray;
|
|
2397
2384
|
}
|
|
2398
2385
|
for (const key in sourceObject) {
|
|
2399
|
-
if (!hasOwn(sourceObject, key))
|
|
2386
|
+
if (!hasOwn(sourceObject, key)) {
|
|
2400
2387
|
continue;
|
|
2388
|
+
}
|
|
2401
2389
|
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2402
2390
|
}
|
|
2403
2391
|
}
|
|
@@ -2472,8 +2460,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2472
2460
|
if (ns.isMapSchema()) {
|
|
2473
2461
|
const targetSchema = ns.getValueSchema();
|
|
2474
2462
|
for (const key in value) {
|
|
2475
|
-
if (!hasOwn(value, key))
|
|
2463
|
+
if (!hasOwn(value, key)) {
|
|
2476
2464
|
continue;
|
|
2465
|
+
}
|
|
2477
2466
|
const itemValue = this.readValue(targetSchema, value[key]);
|
|
2478
2467
|
newObject[key] = itemValue;
|
|
2479
2468
|
}
|
|
@@ -2484,8 +2473,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2484
2473
|
if (isUnion) {
|
|
2485
2474
|
keys = new Set();
|
|
2486
2475
|
for (const k in value) {
|
|
2487
|
-
if (!hasOwn(value, k))
|
|
2476
|
+
if (!hasOwn(value, k)) {
|
|
2488
2477
|
continue;
|
|
2478
|
+
}
|
|
2489
2479
|
if (k !== "__type") {
|
|
2490
2480
|
keys.add(k);
|
|
2491
2481
|
}
|
|
@@ -2502,8 +2492,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2502
2492
|
if (isUnion && keys?.size === 1) {
|
|
2503
2493
|
let newObjectEmpty = true;
|
|
2504
2494
|
for (const _ in newObject) {
|
|
2505
|
-
if (!hasOwn(newObject, _))
|
|
2495
|
+
if (!hasOwn(newObject, _)) {
|
|
2506
2496
|
continue;
|
|
2497
|
+
}
|
|
2507
2498
|
newObjectEmpty = false;
|
|
2508
2499
|
break;
|
|
2509
2500
|
}
|
|
@@ -2514,8 +2505,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2514
2505
|
}
|
|
2515
2506
|
else if (typeof value.__type === "string") {
|
|
2516
2507
|
for (const k in value) {
|
|
2517
|
-
if (!hasOwn(value, k))
|
|
2508
|
+
if (!hasOwn(value, k)) {
|
|
2518
2509
|
continue;
|
|
2510
|
+
}
|
|
2519
2511
|
if (!(k in newObject)) {
|
|
2520
2512
|
newObject[k] = value[k];
|
|
2521
2513
|
}
|
|
@@ -157,8 +157,9 @@ const constructStack = () => {
|
|
|
157
157
|
const aliases = getAllAliases(name, _aliases);
|
|
158
158
|
if (aliases.length > 0) {
|
|
159
159
|
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
160
|
-
if (!override)
|
|
160
|
+
if (!override) {
|
|
161
161
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
162
|
+
}
|
|
162
163
|
for (const alias of aliases) {
|
|
163
164
|
const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
|
164
165
|
if (toOverrideIndex === -1) {
|
|
@@ -189,8 +190,9 @@ const constructStack = () => {
|
|
|
189
190
|
const aliases = getAllAliases(name, _aliases);
|
|
190
191
|
if (aliases.length > 0) {
|
|
191
192
|
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
192
|
-
if (!override)
|
|
193
|
+
if (!override) {
|
|
193
194
|
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
195
|
+
}
|
|
194
196
|
for (const alias of aliases) {
|
|
195
197
|
const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
|
196
198
|
if (toOverrideIndex === -1) {
|
|
@@ -217,10 +219,12 @@ const constructStack = () => {
|
|
|
217
219
|
plugin.applyToStack(stack);
|
|
218
220
|
},
|
|
219
221
|
remove: (toRemove) => {
|
|
220
|
-
if (typeof toRemove === "string")
|
|
222
|
+
if (typeof toRemove === "string") {
|
|
221
223
|
return removeByName(toRemove);
|
|
222
|
-
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
223
226
|
return removeByReference(toRemove);
|
|
227
|
+
}
|
|
224
228
|
},
|
|
225
229
|
removeByTag: (toRemove) => {
|
|
226
230
|
let isRemoved = false;
|
|
@@ -257,8 +261,9 @@ const constructStack = () => {
|
|
|
257
261
|
});
|
|
258
262
|
},
|
|
259
263
|
identifyOnResolve(toggle) {
|
|
260
|
-
if (typeof toggle === "boolean")
|
|
264
|
+
if (typeof toggle === "boolean") {
|
|
261
265
|
identifyOnResolve = toggle;
|
|
266
|
+
}
|
|
262
267
|
return identifyOnResolve;
|
|
263
268
|
},
|
|
264
269
|
resolve: (handler, context) => {
|
|
@@ -554,16 +559,22 @@ function schemaLogFilter(schema, data) {
|
|
|
554
559
|
return SENSITIVE_STRING$1;
|
|
555
560
|
}
|
|
556
561
|
if (ns.isListSchema()) {
|
|
557
|
-
const
|
|
558
|
-
if (
|
|
562
|
+
const valueSchema = ns.getValueSchema();
|
|
563
|
+
if (valueSchema.getMergedTraits().sensitive) {
|
|
559
564
|
return SENSITIVE_STRING$1;
|
|
560
565
|
}
|
|
566
|
+
if (Array.isArray(data)) {
|
|
567
|
+
return data.map((value) => schemaLogFilter(valueSchema, value));
|
|
568
|
+
}
|
|
561
569
|
}
|
|
562
570
|
else if (ns.isMapSchema()) {
|
|
563
|
-
const
|
|
564
|
-
if (
|
|
571
|
+
const valueSchema = ns.getValueSchema();
|
|
572
|
+
if (ns.getKeySchema().getMergedTraits().sensitive || valueSchema.getMergedTraits().sensitive) {
|
|
565
573
|
return SENSITIVE_STRING$1;
|
|
566
574
|
}
|
|
575
|
+
if (typeof data === "object") {
|
|
576
|
+
return Object.fromEntries(Object.entries(data).map(([key, value]) => [key, schemaLogFilter(valueSchema, value)]));
|
|
577
|
+
}
|
|
567
578
|
}
|
|
568
579
|
else if (ns.isStructSchema() && typeof data === "object") {
|
|
569
580
|
const object = data;
|
|
@@ -578,6 +589,7 @@ function schemaLogFilter(schema, data) {
|
|
|
578
589
|
return data;
|
|
579
590
|
}
|
|
580
591
|
|
|
592
|
+
const operationEventStreamMarker = Symbol.for("@smithy/op-event-stream");
|
|
581
593
|
class Command {
|
|
582
594
|
middlewareStack = constructStack();
|
|
583
595
|
schema;
|
|
@@ -603,6 +615,7 @@ class Command {
|
|
|
603
615
|
commandInstance: this,
|
|
604
616
|
...smithyContext,
|
|
605
617
|
...(options?.metricsRecorder === undefined ? {} : { metricsRecorder: options.metricsRecorder }),
|
|
618
|
+
...(options?.abortSignal === undefined ? {} : { abortSignal: options.abortSignal }),
|
|
606
619
|
},
|
|
607
620
|
};
|
|
608
621
|
const { requestHandler } = configuration;
|
|
@@ -611,9 +624,21 @@ class Command {
|
|
|
611
624
|
requestOptions = { ...requestOptions };
|
|
612
625
|
delete requestOptions.metricsRecorder;
|
|
613
626
|
}
|
|
614
|
-
|
|
627
|
+
let isEventStream;
|
|
628
|
+
const schema = this.schema;
|
|
629
|
+
const marker = schema?.[operationEventStreamMarker];
|
|
630
|
+
if (marker !== undefined) {
|
|
631
|
+
isEventStream = marker;
|
|
632
|
+
}
|
|
633
|
+
else if (schema) {
|
|
634
|
+
if (Array.isArray(schema) && schema[0] === 9) {
|
|
635
|
+
const [, , , , input$, output$] = schema;
|
|
636
|
+
isEventStream = schema[operationEventStreamMarker] = Boolean(NormalizedSchema.of(input$).getEventStreamMember() || NormalizedSchema.of(output$).getEventStreamMember());
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
if (isEventStream) {
|
|
615
640
|
requestOptions = {
|
|
616
|
-
isEventStream
|
|
641
|
+
isEventStream,
|
|
617
642
|
...requestOptions,
|
|
618
643
|
};
|
|
619
644
|
}
|
|
@@ -724,8 +749,9 @@ const createAggregatedClient = (commands, Client, options) => {
|
|
|
724
749
|
this.send(command, optionsOrCb);
|
|
725
750
|
}
|
|
726
751
|
else if (typeof cb === "function") {
|
|
727
|
-
if (typeof optionsOrCb !== "object")
|
|
752
|
+
if (typeof optionsOrCb !== "object") {
|
|
728
753
|
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
754
|
+
}
|
|
729
755
|
this.send(command, optionsOrCb || {}, cb);
|
|
730
756
|
}
|
|
731
757
|
else {
|
|
@@ -778,8 +804,9 @@ class ServiceException extends Error {
|
|
|
778
804
|
this.$metadata = options.$metadata;
|
|
779
805
|
}
|
|
780
806
|
static isInstance(value) {
|
|
781
|
-
if (!value)
|
|
807
|
+
if (!value) {
|
|
782
808
|
return false;
|
|
809
|
+
}
|
|
783
810
|
const candidate = value;
|
|
784
811
|
return (ServiceException.prototype.isPrototypeOf(candidate) ||
|
|
785
812
|
(Boolean(candidate.$fault) &&
|
|
@@ -787,8 +814,9 @@ class ServiceException extends Error {
|
|
|
787
814
|
(candidate.$fault === "client" || candidate.$fault === "server")));
|
|
788
815
|
}
|
|
789
816
|
static [Symbol.hasInstance](instance) {
|
|
790
|
-
if (!instance)
|
|
817
|
+
if (!instance) {
|
|
791
818
|
return false;
|
|
819
|
+
}
|
|
792
820
|
const candidate = instance;
|
|
793
821
|
if (this === ServiceException) {
|
|
794
822
|
return ServiceException.isInstance(instance);
|
|
@@ -912,8 +940,9 @@ const knownAlgorithms = Object.values(AlgorithmId);
|
|
|
912
940
|
const getChecksumConfiguration = (runtimeConfig) => {
|
|
913
941
|
const checksumAlgorithms = [];
|
|
914
942
|
for (const id in AlgorithmId) {
|
|
915
|
-
if (!hasOwn(AlgorithmId, id))
|
|
943
|
+
if (!hasOwn(AlgorithmId, id)) {
|
|
916
944
|
continue;
|
|
945
|
+
}
|
|
917
946
|
const algorithmId = AlgorithmId[id];
|
|
918
947
|
if (runtimeConfig[algorithmId] === undefined) {
|
|
919
948
|
continue;
|
|
@@ -987,8 +1016,9 @@ const getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeAr
|
|
|
987
1016
|
const getValueFromTextNode = (obj) => {
|
|
988
1017
|
const textNodeName = "#text";
|
|
989
1018
|
for (const key in obj) {
|
|
990
|
-
if (!hasOwn(obj, key))
|
|
1019
|
+
if (!hasOwn(obj, key)) {
|
|
991
1020
|
continue;
|
|
1021
|
+
}
|
|
992
1022
|
if (obj[key][textNodeName] !== undefined) {
|
|
993
1023
|
obj[key] = obj[key][textNodeName];
|
|
994
1024
|
}
|
|
@@ -1031,8 +1061,9 @@ function map(arg0, arg1, arg2) {
|
|
|
1031
1061
|
}
|
|
1032
1062
|
}
|
|
1033
1063
|
for (const key in instructions) {
|
|
1034
|
-
if (!hasOwn(instructions, key))
|
|
1064
|
+
if (!hasOwn(instructions, key)) {
|
|
1035
1065
|
continue;
|
|
1066
|
+
}
|
|
1036
1067
|
if (!Array.isArray(instructions[key])) {
|
|
1037
1068
|
target[key] = instructions[key];
|
|
1038
1069
|
continue;
|
|
@@ -1051,8 +1082,9 @@ const convertMap = (target) => {
|
|
|
1051
1082
|
const take = (source, instructions) => {
|
|
1052
1083
|
const out = {};
|
|
1053
1084
|
for (const key in instructions) {
|
|
1054
|
-
if (!hasOwn(instructions, key))
|
|
1085
|
+
if (!hasOwn(instructions, key)) {
|
|
1055
1086
|
continue;
|
|
1087
|
+
}
|
|
1056
1088
|
applyInstruction(out, source, instructions, key);
|
|
1057
1089
|
}
|
|
1058
1090
|
return out;
|
|
@@ -1133,8 +1165,9 @@ const _json = (obj) => {
|
|
|
1133
1165
|
if (typeof obj === "object") {
|
|
1134
1166
|
const target = {};
|
|
1135
1167
|
for (const key in obj) {
|
|
1136
|
-
if (!hasOwn(obj, key))
|
|
1168
|
+
if (!hasOwn(obj, key)) {
|
|
1137
1169
|
continue;
|
|
1170
|
+
}
|
|
1138
1171
|
if (obj[key] == null) {
|
|
1139
1172
|
continue;
|
|
1140
1173
|
}
|
|
@@ -111,18 +111,22 @@ const memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
const booleanSelector = (obj, key, type) => {
|
|
114
|
-
if (!(key in obj))
|
|
114
|
+
if (!(key in obj)) {
|
|
115
115
|
return undefined;
|
|
116
|
-
|
|
116
|
+
}
|
|
117
|
+
if (obj[key] === "true") {
|
|
117
118
|
return true;
|
|
118
|
-
|
|
119
|
+
}
|
|
120
|
+
if (obj[key] === "false") {
|
|
119
121
|
return false;
|
|
122
|
+
}
|
|
120
123
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
121
124
|
};
|
|
122
125
|
|
|
123
126
|
const numberSelector = (obj, key, type) => {
|
|
124
|
-
if (!(key in obj))
|
|
127
|
+
if (!(key in obj)) {
|
|
125
128
|
return undefined;
|
|
129
|
+
}
|
|
126
130
|
const numberValue = parseInt(obj[key], 10);
|
|
127
131
|
if (Number.isNaN(numberValue)) {
|
|
128
132
|
throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
|
|
@@ -116,18 +116,22 @@ const memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
const booleanSelector = (obj, key, type) => {
|
|
119
|
-
if (!(key in obj))
|
|
119
|
+
if (!(key in obj)) {
|
|
120
120
|
return undefined;
|
|
121
|
-
|
|
121
|
+
}
|
|
122
|
+
if (obj[key] === "true") {
|
|
122
123
|
return true;
|
|
123
|
-
|
|
124
|
+
}
|
|
125
|
+
if (obj[key] === "false") {
|
|
124
126
|
return false;
|
|
127
|
+
}
|
|
125
128
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
126
129
|
};
|
|
127
130
|
|
|
128
131
|
const numberSelector = (obj, key, type) => {
|
|
129
|
-
if (!(key in obj))
|
|
132
|
+
if (!(key in obj)) {
|
|
130
133
|
return undefined;
|
|
134
|
+
}
|
|
131
135
|
const numberValue = parseInt(obj[key], 10);
|
|
132
136
|
if (Number.isNaN(numberValue)) {
|
|
133
137
|
throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
|
|
@@ -150,15 +154,19 @@ const getHomeDirCacheKey = () => {
|
|
|
150
154
|
};
|
|
151
155
|
const getHomeDir = () => {
|
|
152
156
|
const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${sep}` } = process.env;
|
|
153
|
-
if (HOME)
|
|
157
|
+
if (HOME) {
|
|
154
158
|
return HOME;
|
|
155
|
-
|
|
159
|
+
}
|
|
160
|
+
if (USERPROFILE) {
|
|
156
161
|
return USERPROFILE;
|
|
157
|
-
|
|
162
|
+
}
|
|
163
|
+
if (HOMEPATH) {
|
|
158
164
|
return `${HOMEDRIVE}${HOMEPATH}`;
|
|
165
|
+
}
|
|
159
166
|
const homeDirCacheKey = getHomeDirCacheKey();
|
|
160
|
-
if (!homeDirCache[homeDirCacheKey])
|
|
167
|
+
if (!homeDirCache[homeDirCacheKey]) {
|
|
161
168
|
homeDirCache[homeDirCacheKey] = homedir();
|
|
169
|
+
}
|
|
162
170
|
return homeDirCache[homeDirCacheKey];
|
|
163
171
|
};
|
|
164
172
|
|
|
@@ -111,18 +111,22 @@ const memoize = (provider, isExpired, requiresRefresh) => {
|
|
|
111
111
|
};
|
|
112
112
|
|
|
113
113
|
const booleanSelector = (obj, key, type) => {
|
|
114
|
-
if (!(key in obj))
|
|
114
|
+
if (!(key in obj)) {
|
|
115
115
|
return undefined;
|
|
116
|
-
|
|
116
|
+
}
|
|
117
|
+
if (obj[key] === "true") {
|
|
117
118
|
return true;
|
|
118
|
-
|
|
119
|
+
}
|
|
120
|
+
if (obj[key] === "false") {
|
|
119
121
|
return false;
|
|
122
|
+
}
|
|
120
123
|
throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`);
|
|
121
124
|
};
|
|
122
125
|
|
|
123
126
|
const numberSelector = (obj, key, type) => {
|
|
124
|
-
if (!(key in obj))
|
|
127
|
+
if (!(key in obj)) {
|
|
125
128
|
return undefined;
|
|
129
|
+
}
|
|
126
130
|
const numberValue = parseInt(obj[key], 10);
|
|
127
131
|
if (Number.isNaN(numberValue)) {
|
|
128
132
|
throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`);
|
|
@@ -783,8 +783,9 @@ const resolveEndpoint = (ruleSetObject, options) => {
|
|
|
783
783
|
const { parameters, rules } = ruleSetObject;
|
|
784
784
|
options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
|
|
785
785
|
for (const paramKey in parameters) {
|
|
786
|
-
if (!hasOwn(parameters, paramKey))
|
|
786
|
+
if (!hasOwn(parameters, paramKey)) {
|
|
787
787
|
continue;
|
|
788
|
+
}
|
|
788
789
|
const parameter = parameters[paramKey];
|
|
789
790
|
const endpointParam = endpointParams[paramKey];
|
|
790
791
|
if (endpointParam == null && parameter.default != null) {
|