@cdklabs/cdk-construct-connect-datalake 0.0.11 → 0.0.13
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/.jsii +11 -11
- package/.jsii.tabl.json +1 -1
- package/lib/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +9 -9
- package/node_modules/@aws-sdk/client-connect/README.md +11 -6
- package/node_modules/@aws-sdk/client-connect/dist-cjs/schemas/schemas_0.js +74 -47
- package/node_modules/@aws-sdk/client-connect/dist-es/schemas/schemas_0.js +43 -16
- package/node_modules/@aws-sdk/client-connect/dist-types/Connect.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/ConnectClient.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/CreateVocabularyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/GetMetricDataV2Command.d.ts +2 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchContactsCommand.d.ts +17 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/index.d.ts +12 -7
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_0.d.ts +40 -37
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_1.d.ts +152 -59
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_2.d.ts +69 -63
- package/node_modules/@aws-sdk/client-connect/dist-types/models/models_3.d.ts +72 -16
- package/node_modules/@aws-sdk/client-connect/dist-types/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/GetMetricDataV2Command.d.ts +2 -4
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_0.d.ts +9 -10
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_1.d.ts +9 -10
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_2.d.ts +19 -15
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/models/models_3.d.ts +17 -1
- package/node_modules/@aws-sdk/client-connect/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-connect/package.json +9 -9
- package/node_modules/@aws-sdk/client-glue/README.md +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/index.js +38 -0
- package/node_modules/@aws-sdk/client-glue/dist-cjs/models/errors.js +16 -1
- package/node_modules/@aws-sdk/client-glue/dist-cjs/schemas/schemas_0.js +91 -36
- package/node_modules/@aws-sdk/client-glue/dist-es/Glue.js +4 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetDashboardUrlCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/GetSessionEndpointCommand.js +16 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/models/enums.js +8 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/models/errors.js +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-es/schemas/schemas_0.js +66 -11
- package/node_modules/@aws-sdk/client-glue/dist-types/Glue.d.ts +14 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/GlueClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/CreateSessionCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetDashboardUrlCommand.d.ts +93 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetMLTaskRunCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/GetSessionEndpointCommand.d.ts +101 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/ListSessionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/RunStatementCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/UpdateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/enums.d.ts +24 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/errors.d.ts +17 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_1.d.ts +41 -28
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_2.d.ts +70 -97
- package/node_modules/@aws-sdk/client-glue/dist-types/models/models_3.d.ts +97 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/Glue.d.ts +34 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/GlueClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetDashboardUrlCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetMLTaskRunCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +53 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDataQualityRulesetCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_1.d.ts +12 -7
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_2.d.ts +18 -22
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/models/models_3.d.ts +21 -1
- package/node_modules/@aws-sdk/client-glue/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-glue/package.json +9 -9
- package/node_modules/@aws-sdk/client-lakeformation/package.json +9 -9
- package/node_modules/@aws-sdk/client-ram/package.json +9 -9
- package/node_modules/@aws-sdk/client-sts/package.json +11 -11
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +12 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +12 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +12 -1
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +12 -1
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -6
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@nodable/entities/package.json +1 -1
- package/node_modules/@nodable/entities/src/EntityDecoder.js +1 -1
- package/node_modules/@nodable/entities/src/entities.js +0 -18
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +3 -11
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +9 -40
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +12 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +39 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +7 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +184 -0
- package/node_modules/@smithy/core/dist-es/index.js +6 -6
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/checkRegion.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.browser.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/resolveEndpointConfig.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/lib/index.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +5 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +19 -6
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/service-error-classification/constants.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/ConfiguredRetryStrategy.js +4 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRetryToken.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +9 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +3 -4
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/middleware-serde/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/{protocols/url-parser → transport}/parseUrl.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/{endpoints → transport}/toEndpointV1.js +1 -1
- package/node_modules/@smithy/core/dist-types/index.d.ts +10 -6
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/toEndpointV1.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/lib/index.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/httpHandler.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/middleware-retry/configurations.d.ts +4 -1
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/ConfiguredRetryStrategy.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/DefaultRetryToken.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/StandardRetryStrategy.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +9 -0
- package/node_modules/@smithy/core/package.json +20 -11
- package/node_modules/@smithy/core/transport.d.ts +5 -0
- package/node_modules/@smithy/core/transport.js +5 -0
- package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js +14 -13
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/package.json +3 -3
- package/node_modules/@smithy/types/dist-types/retry.d.ts +25 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/package.json +3 -3
- package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +2 -0
- package/node_modules/hasown/CHANGELOG.md +7 -0
- package/node_modules/hasown/index.d.ts +0 -1
- package/node_modules/hasown/package.json +4 -5
- package/node_modules/which-typed-array/CHANGELOG.md +18 -0
- package/node_modules/which-typed-array/eslint.config.mjs +12 -0
- package/node_modules/which-typed-array/index.d.ts +22 -53
- package/node_modules/which-typed-array/index.js +36 -23
- package/node_modules/which-typed-array/package.json +8 -8
- package/package.json +15 -15
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +0 -21
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +0 -46
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +0 -24
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +0 -19
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +0 -27
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +0 -44
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +0 -5
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +0 -14
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +0 -18
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +0 -38
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +0 -15
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +0 -9
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +0 -6
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +0 -61
- package/node_modules/@smithy/core/dist-es/request-builder/requestBuilder.js +0 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/util-middleware/getSmithyContext.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/TestVectors.fixture.js +0 -146
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/vectorTypes.fixture.js +0 -1
- package/node_modules/@smithy/core/dist-types/request-builder/requestBuilder.d.ts +0 -6
- package/node_modules/@smithy/core/dist-types/submodules/client/util-middleware/getSmithyContext.d.ts +0 -5
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/TestVectors.fixture.d.ts +0 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/eventstream-codec/vectorTypes.fixture.d.ts +0 -12
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/index.js +0 -2
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/index.d.ts +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +0 -88
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +0 -21
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +0 -12
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +0 -12
- package/node_modules/@smithy/signature-v4/dist-es/suite.fixture.js +0 -399
- package/node_modules/@smithy/signature-v4/dist-types/suite.fixture.d.ts +0 -14
- package/node_modules/which-typed-array/.eslintrc +0 -10
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{pagination → legacy-root-exports/pagination}/createPaginator.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/{getSmithyContext.js → submodules/transport/getSmithyContext.js} +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpRequest.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/httpResponse.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/protocol-http → transport}/isValidHostname.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{client/util-middleware → transport}/normalizeProvider.js +0 -0
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols/querystring-parser → transport}/parseQueryString.js +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/getHttpAuthSchemePlugin.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/httpAuthSchemeMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-auth-scheme → legacy-root-exports/middleware-http-auth-scheme}/resolveAuthOptions.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/getHttpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/httpSigningMiddleware.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{middleware-http-signing → legacy-root-exports/middleware-http-signing}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{pagination → legacy-root-exports/pagination}/createPaginator.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/DefaultIdentityProviderConfig.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpApiKeyAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/httpBearerAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/httpAuthSchemes/noAuth.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/index.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{util-identity-and-auth → legacy-root-exports/util-identity-and-auth}/memoizeIdentityProvider.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/{getSmithyContext.d.ts → submodules/transport/getSmithyContext.d.ts} +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpRequest.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/httpResponse.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{endpoints/util-endpoints/lib → transport}/isValidHostLabel.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/protocol-http → transport}/isValidHostname.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{client/util-middleware → transport}/normalizeProvider.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/querystring-parser → transport}/parseQueryString.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols/url-parser → transport}/parseUrl.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{endpoints → transport}/toEndpointV1.d.ts +0 -0
|
@@ -239,6 +239,8 @@ export interface APIGatewayProxyWebsocketEventV2WithRequestContext<TRequestConte
|
|
|
239
239
|
body?: string;
|
|
240
240
|
isBase64Encoded: boolean;
|
|
241
241
|
stageVariables?: APIGatewayProxyEventStageVariables;
|
|
242
|
+
queryStringParameters?: APIGatewayProxyEventQueryStringParameters;
|
|
243
|
+
multiValueQueryStringParameters?: APIGatewayProxyEventMultiValueQueryStringParameters;
|
|
242
244
|
}
|
|
243
245
|
|
|
244
246
|
/**
|
|
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v2.0.4](https://github.com/inspect-js/hasOwn/compare/v2.0.3...v2.0.4) - 2026-05-28
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] drop the dead key-narrowing overload [`fdab00e`](https://github.com/inspect-js/hasOwn/commit/fdab00e2703e65411424e19bf86a7e72a8f10da9)
|
|
13
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`91f6247`](https://github.com/inspect-js/hasOwn/commit/91f624768dd0f7db0d019b89d4d86bd66e20ec30)
|
|
14
|
+
|
|
8
15
|
## [v2.0.3](https://github.com/inspect-js/hasOwn/compare/v2.0.2...v2.0.3) - 2026-04-17
|
|
9
16
|
|
|
10
17
|
### Commits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hasown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "A robust, ES3 compatible, \"has own property\" predicate.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -52,13 +52,12 @@
|
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
55
|
-
"@ljharb/eslint-config": "^22.2.
|
|
55
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
56
56
|
"@ljharb/tsconfig": "^0.3.2",
|
|
57
57
|
"@types/function-bind": "^1.1.10",
|
|
58
58
|
"@types/tape": "^5.8.1",
|
|
59
|
-
"auto-changelog": "^2.5.
|
|
60
|
-
"
|
|
61
|
-
"eslint": "^10.2.0",
|
|
59
|
+
"auto-changelog": "^2.5.1",
|
|
60
|
+
"eslint": "^10.4.0",
|
|
62
61
|
"evalmd": "^0.0.19",
|
|
63
62
|
"in-publish": "^2.0.1",
|
|
64
63
|
"jiti": "^0.0.0",
|
|
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.1.22](https://github.com/inspect-js/which-typed-array/compare/v1.1.21...v1.1.22) - 2026-06-05
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] improve typings [`5a60076`](https://github.com/inspect-js/which-typed-array/commit/5a60076ec334e32dcb41d38b1eb6c2c49d18d097)
|
|
13
|
+
- [Dev Deps] update `@arethetypeswrong/cli`, `auto-changelog`, `eslint` [`6fb45d2`](https://github.com/inspect-js/which-typed-array/commit/6fb45d27e29dc0384d142c3af95540dfe7409207)
|
|
14
|
+
|
|
15
|
+
## [v1.1.21](https://github.com/inspect-js/which-typed-array/compare/v1.1.20...v1.1.21) - 2026-05-26
|
|
16
|
+
|
|
17
|
+
### Commits
|
|
18
|
+
|
|
19
|
+
- [types] add Float16Array [`b3dac9f`](https://github.com/inspect-js/which-typed-array/commit/b3dac9f6931f463d10b7e21b1b5e5369602642c4)
|
|
20
|
+
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`; migrate to flat config [`2dd9b04`](https://github.com/inspect-js/which-typed-array/commit/2dd9b04cd3f461a0f4b19c607124e134e12df135)
|
|
21
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `auto-changelog`, `eslint` [`b46f6a2`](https://github.com/inspect-js/which-typed-array/commit/b46f6a2f000e932f7b78c54b9dce0bf940379fea)
|
|
22
|
+
- [Tests] pin `fflate` to 0.8.2 [`06eb54e`](https://github.com/inspect-js/which-typed-array/commit/06eb54e4ee7369da3639a2291a1c6add642e53fb)
|
|
23
|
+
- [Dev Deps] update `eslint` [`2181d61`](https://github.com/inspect-js/which-typed-array/commit/2181d61990f20c82c84d06bcd4a91ba70b486bc1)
|
|
24
|
+
- [Deps] update `call-bind` [`ca58bca`](https://github.com/inspect-js/which-typed-array/commit/ca58bca5034adcbfc05797ffde7e9134c9df4a72)
|
|
25
|
+
|
|
8
26
|
## [v1.1.20](https://github.com/inspect-js/which-typed-array/compare/v1.1.19...v1.1.20) - 2026-01-14
|
|
9
27
|
|
|
10
28
|
### Commits
|
|
@@ -4,63 +4,32 @@
|
|
|
4
4
|
* @param {unknown} value The potential collection
|
|
5
5
|
* @returns {TypedArrayName | false | null} 'Int8Array' | 'Uint8Array' | 'Uint8ClampedArray' | 'Int16Array' | 'Uint16Array' | 'Int32Array' | 'Uint32Array' | 'Float32Array' | 'Float64Array' | 'BigInt64Array' | 'BigUint64Array' | false | null
|
|
6
6
|
*/
|
|
7
|
-
declare function whichTypedArray(value:
|
|
8
|
-
declare function whichTypedArray(value:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
declare function whichTypedArray(value: Uint16Array): 'Uint16Array';
|
|
12
|
-
declare function whichTypedArray(value: Int32Array): 'Int32Array';
|
|
13
|
-
declare function whichTypedArray(value: Uint32Array): 'Uint32Array';
|
|
14
|
-
declare function whichTypedArray(value: Float32Array): 'Float32Array';
|
|
15
|
-
declare function whichTypedArray(value: Float64Array): 'Float64Array';
|
|
16
|
-
declare function whichTypedArray(value: Float16Array): 'Float16Array';
|
|
17
|
-
declare function whichTypedArray(value: BigInt64Array): 'BigInt64Array';
|
|
18
|
-
declare function whichTypedArray(value: BigUint64Array): 'BigUint64Array';
|
|
19
|
-
declare function whichTypedArray(value: whichTypedArray.TypedArray): whichTypedArray.TypedArrayName;
|
|
20
|
-
declare function whichTypedArray(value: unknown): false | null;
|
|
7
|
+
declare function whichTypedArray<T>(value: T): false | null | whichTypedArray.WhichTypedArray<T>;
|
|
8
|
+
declare function whichTypedArray(value: unknown): false | null | whichTypedArray.TypedArrayName;
|
|
9
|
+
|
|
10
|
+
import TAs from 'available-typed-arrays';
|
|
21
11
|
|
|
22
12
|
declare namespace whichTypedArray {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
| 'Uint8ClampedArray'
|
|
27
|
-
| 'Int16Array'
|
|
28
|
-
| 'Uint16Array'
|
|
29
|
-
| 'Int32Array'
|
|
30
|
-
| 'Uint32Array'
|
|
31
|
-
| 'Float32Array'
|
|
32
|
-
| 'Float64Array'
|
|
33
|
-
| 'Float16Array'
|
|
34
|
-
| 'BigInt64Array'
|
|
35
|
-
| 'BigUint64Array';
|
|
13
|
+
export type TypedArrayName = ReturnType<typeof TAs>[number];
|
|
14
|
+
|
|
15
|
+
export type TypedArrayConstructor = typeof globalThis[TypedArrayName];
|
|
36
16
|
|
|
37
|
-
|
|
38
|
-
| Int8Array
|
|
39
|
-
| Uint8Array
|
|
40
|
-
| Uint8ClampedArray
|
|
41
|
-
| Int16Array
|
|
42
|
-
| Uint16Array
|
|
43
|
-
| Int32Array
|
|
44
|
-
| Uint32Array
|
|
45
|
-
| Float32Array
|
|
46
|
-
| Float64Array
|
|
47
|
-
| Float16Array
|
|
48
|
-
| BigInt64Array
|
|
49
|
-
| BigUint64Array;
|
|
17
|
+
export type TypedArray = TypedArrayConstructor['prototype'];
|
|
50
18
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Distributes over `T`, so a subset of typed arrays maps to the matching
|
|
21
|
+
* subset of names (`Int8Array | Uint8Array` -> `'Int8Array' | 'Uint8Array'`,
|
|
22
|
+
* never a float16 or bigint name). Any non-typed-array part adds `false | null`.
|
|
23
|
+
*
|
|
24
|
+
* Derived entirely from `TypedArrayName`, so a new entry in `available-typed-arrays` flows through with no other change here.
|
|
25
|
+
*/
|
|
26
|
+
export type WhichTypedArray<T> =
|
|
27
|
+
| {
|
|
28
|
+
[Name in TypedArrayName]: T extends typeof globalThis[Name]['prototype']
|
|
29
|
+
? Name
|
|
30
|
+
: never
|
|
31
|
+
}[TypedArrayName]
|
|
32
|
+
| ([T] extends [TypedArray] ? never : false | null);
|
|
64
33
|
}
|
|
65
34
|
|
|
66
35
|
export = whichTypedArray;
|
|
@@ -15,6 +15,9 @@ var typedArrays = availableTypedArrays();
|
|
|
15
15
|
|
|
16
16
|
var $slice = callBound('String.prototype.slice');
|
|
17
17
|
|
|
18
|
+
/** @import { BoundSet, BoundSlice, Cache, Getter } from './types' */
|
|
19
|
+
/** @import { TypedArrayName } from '.' */
|
|
20
|
+
|
|
18
21
|
/** @type {<T = unknown>(array: readonly T[], value: unknown) => number} */
|
|
19
22
|
var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(array, value) {
|
|
20
23
|
for (var i = 0; i < array.length; i += 1) {
|
|
@@ -25,8 +28,7 @@ var $indexOf = callBound('Array.prototype.indexOf', true) || function indexOf(ar
|
|
|
25
28
|
return -1;
|
|
26
29
|
};
|
|
27
30
|
|
|
28
|
-
/** @
|
|
29
|
-
/** @type {import('./types').Cache} */
|
|
31
|
+
/** @type {Cache} */
|
|
30
32
|
var cache = { __proto__: null };
|
|
31
33
|
if (hasToStringTag && gOPD && getProto) {
|
|
32
34
|
forEach(typedArrays, function (typedArray) {
|
|
@@ -43,7 +45,8 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
43
45
|
if (descriptor && descriptor.get) {
|
|
44
46
|
var bound = callBind(descriptor.get);
|
|
45
47
|
cache[
|
|
46
|
-
/** @type {`$${
|
|
48
|
+
/** @type {`$${TypedArrayName}`} */
|
|
49
|
+
('$' + typedArray)
|
|
47
50
|
] = bound;
|
|
48
51
|
}
|
|
49
52
|
}
|
|
@@ -53,62 +56,72 @@ if (hasToStringTag && gOPD && getProto) {
|
|
|
53
56
|
var arr = new g[typedArray]();
|
|
54
57
|
var fn = arr.slice || arr.set;
|
|
55
58
|
if (fn) {
|
|
56
|
-
var bound = /** @type {
|
|
59
|
+
var bound = /** @type {BoundSlice | BoundSet} */ (
|
|
57
60
|
// @ts-expect-error TODO FIXME
|
|
58
61
|
callBind(fn)
|
|
59
62
|
);
|
|
60
63
|
cache[
|
|
61
|
-
/** @type {`$${
|
|
64
|
+
/** @type {`$${TypedArrayName}`} */
|
|
65
|
+
('$' + typedArray)
|
|
62
66
|
] = bound;
|
|
63
67
|
}
|
|
64
68
|
});
|
|
65
69
|
}
|
|
66
70
|
|
|
67
|
-
/** @type {(value: object) => false |
|
|
68
|
-
|
|
69
|
-
/** @type {ReturnType<typeof
|
|
71
|
+
/** @type {(value: object) => false | TypedArrayName} */
|
|
72
|
+
function tryTypedArrays(value) {
|
|
73
|
+
/** @type {ReturnType<typeof tryTypedArrays>} */ var found = false;
|
|
70
74
|
forEach(
|
|
71
|
-
/** @type {Record
|
|
72
|
-
/** @
|
|
75
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */ (cache),
|
|
76
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} typedArray */
|
|
73
77
|
function (getter, typedArray) {
|
|
74
78
|
if (!found) {
|
|
75
79
|
try {
|
|
76
80
|
// @ts-expect-error a throw is fine here
|
|
77
81
|
if ('$' + getter(value) === typedArray) {
|
|
78
|
-
found = /** @type {
|
|
82
|
+
found = /** @type {TypedArrayName} */ ($slice(typedArray, 1));
|
|
79
83
|
}
|
|
80
84
|
} catch (e) { /**/ }
|
|
81
85
|
}
|
|
82
86
|
}
|
|
83
87
|
);
|
|
84
88
|
return found;
|
|
85
|
-
}
|
|
89
|
+
}
|
|
86
90
|
|
|
87
|
-
/** @type {(value: object) => false |
|
|
88
|
-
|
|
89
|
-
/** @type {ReturnType<typeof
|
|
91
|
+
/** @type {(value: object) => false | TypedArrayName} */
|
|
92
|
+
function trySlices(value) {
|
|
93
|
+
/** @type {ReturnType<typeof trySlices>} */ var found = false;
|
|
90
94
|
forEach(
|
|
91
|
-
/** @type {Record
|
|
92
|
-
/** @
|
|
95
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */(cache),
|
|
96
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} name */ function (getter, name) {
|
|
93
97
|
if (!found) {
|
|
94
98
|
try {
|
|
95
99
|
// @ts-expect-error a throw is fine here
|
|
96
100
|
getter(value);
|
|
97
|
-
found = /** @type {
|
|
101
|
+
found = /** @type {TypedArrayName} */ ($slice(name, 1));
|
|
98
102
|
} catch (e) { /**/ }
|
|
99
103
|
}
|
|
100
104
|
}
|
|
101
105
|
);
|
|
102
106
|
return found;
|
|
103
|
-
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** @type {(tag: unknown) => tag is typeof typedArrays[number]} */
|
|
110
|
+
function isTATag(tag) {
|
|
111
|
+
return $indexOf(typedArrays, tag) > -1;
|
|
112
|
+
}
|
|
104
113
|
|
|
105
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* @type {import('.')}
|
|
116
|
+
* @param {unknown} value
|
|
117
|
+
*/
|
|
106
118
|
module.exports = function whichTypedArray(value) {
|
|
107
|
-
if (!value || typeof value !== 'object') {
|
|
119
|
+
if (!value || typeof value !== 'object') {
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
108
122
|
if (!hasToStringTag) {
|
|
109
|
-
/** @type {string} */
|
|
110
123
|
var tag = $slice($toString(value), 8, -1);
|
|
111
|
-
if (
|
|
124
|
+
if (isTATag(tag)) {
|
|
112
125
|
return tag;
|
|
113
126
|
}
|
|
114
127
|
if (tag !== 'Object') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "which-typed-array",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.22",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Jordan Harband",
|
|
6
6
|
"email": "ljharb@gmail.com",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tests-only": "nyc tape test",
|
|
31
31
|
"test:harmony": "nyc node --harmony --es-staging test",
|
|
32
32
|
"posttest": "npx npm@'>=10.2' audit --production",
|
|
33
|
-
"lint": "eslint
|
|
33
|
+
"lint": "eslint .",
|
|
34
34
|
"postlint": "tsc -p . && attw -P",
|
|
35
35
|
"version": "auto-changelog && git add CHANGELOG.md",
|
|
36
36
|
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"available-typed-arrays": "^1.0.7",
|
|
64
|
-
"call-bind": "^1.0.
|
|
64
|
+
"call-bind": "^1.0.9",
|
|
65
65
|
"call-bound": "^1.0.4",
|
|
66
66
|
"for-each": "^0.3.5",
|
|
67
67
|
"get-proto": "^1.0.1",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"has-tostringtag": "^1.0.2"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@arethetypeswrong/cli": "^0.18.
|
|
73
|
-
"@ljharb/eslint-config": "^22.
|
|
72
|
+
"@arethetypeswrong/cli": "^0.18.3",
|
|
73
|
+
"@ljharb/eslint-config": "^22.2.3",
|
|
74
74
|
"@ljharb/tsconfig": "^0.3.2",
|
|
75
75
|
"@types/call-bind": "^1.0.5",
|
|
76
76
|
"@types/for-each": "^0.3.3",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"@types/make-arrow-function": "^1.2.2",
|
|
80
80
|
"@types/make-generator-function": "^2.0.3",
|
|
81
81
|
"@types/tape": "^5.8.1",
|
|
82
|
-
"auto-changelog": "^2.
|
|
83
|
-
"
|
|
84
|
-
"eslint": "^8.57.1",
|
|
82
|
+
"auto-changelog": "^2.6.0",
|
|
83
|
+
"eslint": "^10.4.1",
|
|
85
84
|
"in-publish": "^2.0.1",
|
|
86
85
|
"is-callable": "^1.2.7",
|
|
86
|
+
"jiti": "^0.0.0",
|
|
87
87
|
"make-arrow-function": "^1.2.0",
|
|
88
88
|
"make-generator-function": "^2.1.0",
|
|
89
89
|
"npmignore": "^0.3.5",
|
package/package.json
CHANGED
|
@@ -56,19 +56,19 @@
|
|
|
56
56
|
"constructs": "10.5.1",
|
|
57
57
|
"eslint": "^9",
|
|
58
58
|
"eslint-config-prettier": "^10.1.8",
|
|
59
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
59
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
60
60
|
"eslint-plugin-import": "^2.32.0",
|
|
61
|
-
"eslint-plugin-prettier": "^5.5.
|
|
61
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
62
62
|
"jest": "^30.4.2",
|
|
63
63
|
"jest-junit": "^16",
|
|
64
64
|
"jsii": "~5.9",
|
|
65
|
-
"jsii-diff": "^1.
|
|
65
|
+
"jsii-diff": "^1.133.0",
|
|
66
66
|
"jsii-docgen": "^10.5.0",
|
|
67
|
-
"jsii-pacmak": "^1.
|
|
68
|
-
"jsii-rosetta": "^5.9.
|
|
67
|
+
"jsii-pacmak": "^1.133.0",
|
|
68
|
+
"jsii-rosetta": "^5.9.49",
|
|
69
69
|
"prettier": "^3.8.3",
|
|
70
70
|
"projen": "^0.99.17",
|
|
71
|
-
"ts-jest": "^29.4.
|
|
71
|
+
"ts-jest": "^29.4.11",
|
|
72
72
|
"ts-node": "^10.9.2",
|
|
73
73
|
"typescript": "^5.9.3"
|
|
74
74
|
},
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
"constructs": "^10.5.1"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
|
81
|
-
"@aws-sdk/client-connect": "^3.
|
|
82
|
-
"@aws-sdk/client-glue": "^3.
|
|
83
|
-
"@aws-sdk/client-lakeformation": "^3.
|
|
84
|
-
"@aws-sdk/client-ram": "^3.
|
|
85
|
-
"@aws-sdk/client-sts": "^3.
|
|
86
|
-
"@aws-sdk/types": "^3.973.
|
|
87
|
-
"@types/aws-lambda": "^8.10.
|
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.1063.0",
|
|
81
|
+
"@aws-sdk/client-connect": "^3.1063.0",
|
|
82
|
+
"@aws-sdk/client-glue": "^3.1063.0",
|
|
83
|
+
"@aws-sdk/client-lakeformation": "^3.1063.0",
|
|
84
|
+
"@aws-sdk/client-ram": "^3.1063.0",
|
|
85
|
+
"@aws-sdk/client-sts": "^3.1063.0",
|
|
86
|
+
"@aws-sdk/types": "^3.973.11",
|
|
87
|
+
"@types/aws-lambda": "^8.10.162",
|
|
88
88
|
"aws-lambda": "^1.0.7"
|
|
89
89
|
},
|
|
90
90
|
"bundledDependencies": [
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"publishConfig": {
|
|
113
113
|
"access": "public"
|
|
114
114
|
},
|
|
115
|
-
"version": "0.0.
|
|
115
|
+
"version": "0.0.13",
|
|
116
116
|
"jest": {
|
|
117
117
|
"coverageProvider": "v8",
|
|
118
118
|
"moduleNameMapper": {
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getSmithyContext = void 0;
|
|
4
|
-
const types_1 = require("@smithy/types");
|
|
5
|
-
const getSmithyContext = (context) => context[types_1.SMITHY_CONTEXT_KEY] || (context[types_1.SMITHY_CONTEXT_KEY] = {});
|
|
6
|
-
exports.getSmithyContext = getSmithyContext;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getHttpAuthSchemeEndpointRuleSetPlugin = exports.httpAuthSchemeEndpointRuleSetMiddlewareOptions = void 0;
|
|
4
|
-
const httpAuthSchemeMiddleware_1 = require("./httpAuthSchemeMiddleware");
|
|
5
|
-
exports.httpAuthSchemeEndpointRuleSetMiddlewareOptions = {
|
|
6
|
-
step: "serialize",
|
|
7
|
-
tags: ["HTTP_AUTH_SCHEME"],
|
|
8
|
-
name: "httpAuthSchemeMiddleware",
|
|
9
|
-
override: true,
|
|
10
|
-
relation: "before",
|
|
11
|
-
toMiddleware: "endpointV2Middleware",
|
|
12
|
-
};
|
|
13
|
-
const getHttpAuthSchemeEndpointRuleSetPlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({
|
|
14
|
-
applyToStack: (clientStack) => {
|
|
15
|
-
clientStack.addRelativeTo((0, httpAuthSchemeMiddleware_1.httpAuthSchemeMiddleware)(config, {
|
|
16
|
-
httpAuthSchemeParametersProvider,
|
|
17
|
-
identityProviderConfigProvider,
|
|
18
|
-
}), exports.httpAuthSchemeEndpointRuleSetMiddlewareOptions);
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
exports.getHttpAuthSchemeEndpointRuleSetPlugin = getHttpAuthSchemeEndpointRuleSetPlugin;
|
package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getHttpAuthSchemePlugin = exports.httpAuthSchemeMiddlewareOptions = void 0;
|
|
4
|
-
const httpAuthSchemeMiddleware_1 = require("./httpAuthSchemeMiddleware");
|
|
5
|
-
exports.httpAuthSchemeMiddlewareOptions = {
|
|
6
|
-
step: "serialize",
|
|
7
|
-
tags: ["HTTP_AUTH_SCHEME"],
|
|
8
|
-
name: "httpAuthSchemeMiddleware",
|
|
9
|
-
override: true,
|
|
10
|
-
relation: "before",
|
|
11
|
-
toMiddleware: "serializerMiddleware",
|
|
12
|
-
};
|
|
13
|
-
const getHttpAuthSchemePlugin = (config, { httpAuthSchemeParametersProvider, identityProviderConfigProvider, }) => ({
|
|
14
|
-
applyToStack: (clientStack) => {
|
|
15
|
-
clientStack.addRelativeTo((0, httpAuthSchemeMiddleware_1.httpAuthSchemeMiddleware)(config, {
|
|
16
|
-
httpAuthSchemeParametersProvider,
|
|
17
|
-
identityProviderConfigProvider,
|
|
18
|
-
}), exports.httpAuthSchemeMiddlewareOptions);
|
|
19
|
-
},
|
|
20
|
-
});
|
|
21
|
-
exports.getHttpAuthSchemePlugin = getHttpAuthSchemePlugin;
|
package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.httpAuthSchemeMiddleware = void 0;
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
const resolveAuthOptions_1 = require("./resolveAuthOptions");
|
|
6
|
-
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
7
|
-
const map = new Map();
|
|
8
|
-
for (const scheme of httpAuthSchemes) {
|
|
9
|
-
map.set(scheme.schemeId, scheme);
|
|
10
|
-
}
|
|
11
|
-
return map;
|
|
12
|
-
}
|
|
13
|
-
const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => {
|
|
14
|
-
const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input));
|
|
15
|
-
const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];
|
|
16
|
-
const resolvedOptions = (0, resolveAuthOptions_1.resolveAuthOptions)(options, authSchemePreference);
|
|
17
|
-
const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);
|
|
18
|
-
const smithyContext = (0, client_1.getSmithyContext)(context);
|
|
19
|
-
const failureReasons = [];
|
|
20
|
-
for (const option of resolvedOptions) {
|
|
21
|
-
const scheme = authSchemes.get(option.schemeId);
|
|
22
|
-
if (!scheme) {
|
|
23
|
-
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`);
|
|
24
|
-
continue;
|
|
25
|
-
}
|
|
26
|
-
const identityProvider = scheme.identityProvider(await mwOptions.identityProviderConfigProvider(config));
|
|
27
|
-
if (!identityProvider) {
|
|
28
|
-
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` did not have an IdentityProvider configured.`);
|
|
29
|
-
continue;
|
|
30
|
-
}
|
|
31
|
-
const { identityProperties = {}, signingProperties = {} } = option.propertiesExtractor?.(config, context) || {};
|
|
32
|
-
option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties);
|
|
33
|
-
option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties);
|
|
34
|
-
smithyContext.selectedHttpAuthScheme = {
|
|
35
|
-
httpAuthOption: option,
|
|
36
|
-
identity: await identityProvider(option.identityProperties),
|
|
37
|
-
signer: scheme.signer,
|
|
38
|
-
};
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
if (!smithyContext.selectedHttpAuthScheme) {
|
|
42
|
-
throw new Error(failureReasons.join("\n"));
|
|
43
|
-
}
|
|
44
|
-
return next(args);
|
|
45
|
-
};
|
|
46
|
-
exports.httpAuthSchemeMiddleware = httpAuthSchemeMiddleware;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./httpAuthSchemeMiddleware"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./getHttpAuthSchemeEndpointRuleSetPlugin"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./getHttpAuthSchemePlugin"), exports);
|
package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveAuthOptions = void 0;
|
|
4
|
-
const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {
|
|
5
|
-
if (!authSchemePreference || authSchemePreference.length === 0) {
|
|
6
|
-
return candidateAuthOptions;
|
|
7
|
-
}
|
|
8
|
-
const preferredAuthOptions = [];
|
|
9
|
-
for (const preferredSchemeName of authSchemePreference) {
|
|
10
|
-
for (const candidateAuthOption of candidateAuthOptions) {
|
|
11
|
-
const candidateAuthSchemeName = candidateAuthOption.schemeId.split("#")[1];
|
|
12
|
-
if (candidateAuthSchemeName === preferredSchemeName) {
|
|
13
|
-
preferredAuthOptions.push(candidateAuthOption);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
for (const candidateAuthOption of candidateAuthOptions) {
|
|
18
|
-
if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) {
|
|
19
|
-
preferredAuthOptions.push(candidateAuthOption);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return preferredAuthOptions;
|
|
23
|
-
};
|
|
24
|
-
exports.resolveAuthOptions = resolveAuthOptions;
|
package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getHttpSigningPlugin = exports.httpSigningMiddlewareOptions = void 0;
|
|
4
|
-
const httpSigningMiddleware_1 = require("./httpSigningMiddleware");
|
|
5
|
-
exports.httpSigningMiddlewareOptions = {
|
|
6
|
-
step: "finalizeRequest",
|
|
7
|
-
tags: ["HTTP_SIGNING"],
|
|
8
|
-
name: "httpSigningMiddleware",
|
|
9
|
-
aliases: ["apiKeyMiddleware", "tokenMiddleware", "awsAuthMiddleware"],
|
|
10
|
-
override: true,
|
|
11
|
-
relation: "after",
|
|
12
|
-
toMiddleware: "retryMiddleware",
|
|
13
|
-
};
|
|
14
|
-
const getHttpSigningPlugin = (config) => ({
|
|
15
|
-
applyToStack: (clientStack) => {
|
|
16
|
-
clientStack.addRelativeTo((0, httpSigningMiddleware_1.httpSigningMiddleware)(config), exports.httpSigningMiddlewareOptions);
|
|
17
|
-
},
|
|
18
|
-
});
|
|
19
|
-
exports.getHttpSigningPlugin = getHttpSigningPlugin;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.httpSigningMiddleware = void 0;
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
const protocols_1 = require("@smithy/core/protocols");
|
|
6
|
-
const defaultErrorHandler = (signingProperties) => (error) => {
|
|
7
|
-
throw error;
|
|
8
|
-
};
|
|
9
|
-
const defaultSuccessHandler = (httpResponse, signingProperties) => { };
|
|
10
|
-
const httpSigningMiddleware = (config) => (next, context) => async (args) => {
|
|
11
|
-
if (!protocols_1.HttpRequest.isInstance(args.request)) {
|
|
12
|
-
return next(args);
|
|
13
|
-
}
|
|
14
|
-
const smithyContext = (0, client_1.getSmithyContext)(context);
|
|
15
|
-
const scheme = smithyContext.selectedHttpAuthScheme;
|
|
16
|
-
if (!scheme) {
|
|
17
|
-
throw new Error(`No HttpAuthScheme was selected: unable to sign request`);
|
|
18
|
-
}
|
|
19
|
-
const { httpAuthOption: { signingProperties = {} }, identity, signer, } = scheme;
|
|
20
|
-
const output = await next({
|
|
21
|
-
...args,
|
|
22
|
-
request: await signer.sign(args.request, identity, signingProperties),
|
|
23
|
-
}).catch((signer.errorHandler || defaultErrorHandler)(signingProperties));
|
|
24
|
-
(signer.successHandler || defaultSuccessHandler)(output.response, signingProperties);
|
|
25
|
-
return output;
|
|
26
|
-
};
|
|
27
|
-
exports.httpSigningMiddleware = httpSigningMiddleware;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.normalizeProvider = void 0;
|
|
4
|
-
const normalizeProvider = (input) => {
|
|
5
|
-
if (typeof input === "function")
|
|
6
|
-
return input;
|
|
7
|
-
const promisified = Promise.resolve(input);
|
|
8
|
-
return () => promisified;
|
|
9
|
-
};
|
|
10
|
-
exports.normalizeProvider = normalizeProvider;
|