cloudstructs 0.12.8 → 0.12.9
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 +5 -5
- package/assets/slack-textract/detect.lambda/index.js +437 -344
- package/assets/ssl-server-test/analyze.lambda/index.js +51 -31
- package/assets/toolkit-cleaner/clean.lambda/index.js +51 -31
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/README.md +25 -5
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +101 -33
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +101 -33
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/concurrent-execution-handler.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts +45 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -2
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +287 -3988
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +28 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
- package/node_modules/@aws-sdk/client-lambda/package.json +20 -20
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +32 -239
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/SSOServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/models/errors.js +56 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +161 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +32 -26
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +12 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/client-sso/package.json +18 -18
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +30 -50
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -50
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +15 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +20 -198
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +20 -347
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +21 -308
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +11 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +10 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +15 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +201 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +415 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +10 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +25 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +41 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +267 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +28 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +5 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +12 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +6 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +60 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +18 -18
- package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +16 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +2 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +4 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +297 -287
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +55 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +4 -4
- package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts +18 -0
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
- package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
- package/node_modules/@slack/types/dist/chunk.js +3 -0
- package/node_modules/@slack/types/dist/chunk.js.map +1 -0
- package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
- package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.d.ts +1 -0
- package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.js +1 -0
- package/node_modules/@slack/types/dist/index.js.map +1 -1
- package/node_modules/@slack/types/package.json +8 -8
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +48 -12
- package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
- package/node_modules/@slack/web-api/dist/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/index.js +3 -1
- package/node_modules/@slack/web-api/dist/index.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts.map +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@slack/web-api/package.json +10 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +31 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@types/http-cache-semantics/README.md +1 -1
- package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
- package/node_modules/@types/http-cache-semantics/package.json +4 -3
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +6 -6
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +35 -11
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +18 -0
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +10 -1
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +4 -0
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- package/node_modules/axios/CHANGELOG.md +296 -239
- package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
- package/node_modules/axios/README.md +584 -447
- package/node_modules/axios/dist/axios.js +779 -897
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +4 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +353 -283
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +353 -283
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +388 -315
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +22 -3
- package/node_modules/axios/index.d.ts +341 -116
- package/node_modules/axios/lib/adapters/README.md +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +2 -2
- package/node_modules/axios/lib/adapters/http.js +13 -10
- package/node_modules/axios/lib/adapters/xhr.js +2 -2
- package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
- package/node_modules/axios/lib/core/Axios.js +12 -3
- package/node_modules/axios/lib/core/AxiosError.js +65 -102
- package/node_modules/axios/lib/core/InterceptorManager.js +2 -1
- package/node_modules/axios/lib/core/mergeConfig.js +24 -11
- package/node_modules/axios/lib/core/transformData.js +1 -1
- package/node_modules/axios/lib/defaults/transitional.js +2 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +7 -10
- package/node_modules/axios/lib/helpers/composeSignals.js +1 -1
- package/node_modules/axios/lib/helpers/cookies.js +1 -1
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +5 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
- package/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
- package/node_modules/axios/lib/helpers/spread.js +1 -1
- package/node_modules/axios/lib/utils.js +221 -140
- package/node_modules/axios/package.json +49 -68
- package/node_modules/bowser/README.md +72 -3
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +44 -6
- package/node_modules/bowser/package.json +10 -5
- package/node_modules/bowser/src/bowser.js +24 -8
- package/node_modules/bowser/src/constants.js +8 -0
- package/node_modules/bowser/src/parser-browsers.js +89 -0
- package/node_modules/bowser/src/parser-platforms.js +42 -0
- package/node_modules/bowser/src/parser.js +86 -5
- package/node_modules/semver/README.md +3 -2
- package/node_modules/semver/bin/semver.js +1 -1
- package/node_modules/semver/functions/diff.js +1 -1
- package/node_modules/semver/internal/re.js +2 -2
- package/node_modules/semver/package.json +4 -4
- package/node_modules/semver/ranges/subset.js +1 -1
- package/package.json +20 -20
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
- package/node_modules/bowser/CHANGELOG.md +0 -218
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
|
-
import bind from
|
|
3
|
+
import bind from "./helpers/bind.js";
|
|
4
4
|
|
|
5
5
|
// utils is a library of generic helper functions non-specific to axios
|
|
6
6
|
|
|
7
|
-
const {toString} = Object.prototype;
|
|
8
|
-
const {getPrototypeOf} = Object;
|
|
9
|
-
const {iterator, toStringTag} = Symbol;
|
|
7
|
+
const { toString } = Object.prototype;
|
|
8
|
+
const { getPrototypeOf } = Object;
|
|
9
|
+
const { iterator, toStringTag } = Symbol;
|
|
10
10
|
|
|
11
|
-
const kindOf = (cache => thing => {
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const kindOf = ((cache) => (thing) => {
|
|
12
|
+
const str = toString.call(thing);
|
|
13
|
+
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
|
|
14
14
|
})(Object.create(null));
|
|
15
15
|
|
|
16
16
|
const kindOfTest = (type) => {
|
|
17
17
|
type = type.toLowerCase();
|
|
18
|
-
return (thing) => kindOf(thing) === type
|
|
19
|
-
}
|
|
18
|
+
return (thing) => kindOf(thing) === type;
|
|
19
|
+
};
|
|
20
20
|
|
|
21
|
-
const typeOfTest = type => thing => typeof thing === type;
|
|
21
|
+
const typeOfTest = (type) => (thing) => typeof thing === type;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* Determine if a value is
|
|
24
|
+
* Determine if a value is a non-null object
|
|
25
25
|
*
|
|
26
26
|
* @param {Object} val The value to test
|
|
27
27
|
*
|
|
28
28
|
* @returns {boolean} True if value is an Array, otherwise false
|
|
29
29
|
*/
|
|
30
|
-
const {isArray} = Array;
|
|
30
|
+
const { isArray } = Array;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Determine if a value is undefined
|
|
@@ -36,7 +36,7 @@ const {isArray} = Array;
|
|
|
36
36
|
*
|
|
37
37
|
* @returns {boolean} True if the value is undefined, otherwise false
|
|
38
38
|
*/
|
|
39
|
-
const isUndefined = typeOfTest(
|
|
39
|
+
const isUndefined = typeOfTest("undefined");
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Determine if a value is a Buffer
|
|
@@ -46,8 +46,14 @@ const isUndefined = typeOfTest('undefined');
|
|
|
46
46
|
* @returns {boolean} True if value is a Buffer, otherwise false
|
|
47
47
|
*/
|
|
48
48
|
function isBuffer(val) {
|
|
49
|
-
return
|
|
50
|
-
|
|
49
|
+
return (
|
|
50
|
+
val !== null &&
|
|
51
|
+
!isUndefined(val) &&
|
|
52
|
+
val.constructor !== null &&
|
|
53
|
+
!isUndefined(val.constructor) &&
|
|
54
|
+
isFunction(val.constructor.isBuffer) &&
|
|
55
|
+
val.constructor.isBuffer(val)
|
|
56
|
+
);
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
/**
|
|
@@ -57,8 +63,7 @@ function isBuffer(val) {
|
|
|
57
63
|
*
|
|
58
64
|
* @returns {boolean} True if value is an ArrayBuffer, otherwise false
|
|
59
65
|
*/
|
|
60
|
-
const isArrayBuffer = kindOfTest(
|
|
61
|
-
|
|
66
|
+
const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
62
67
|
|
|
63
68
|
/**
|
|
64
69
|
* Determine if a value is a view on an ArrayBuffer
|
|
@@ -69,10 +74,10 @@ const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
|
69
74
|
*/
|
|
70
75
|
function isArrayBufferView(val) {
|
|
71
76
|
let result;
|
|
72
|
-
if (
|
|
77
|
+
if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
|
|
73
78
|
result = ArrayBuffer.isView(val);
|
|
74
79
|
} else {
|
|
75
|
-
result =
|
|
80
|
+
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
76
81
|
}
|
|
77
82
|
return result;
|
|
78
83
|
}
|
|
@@ -84,7 +89,7 @@ function isArrayBufferView(val) {
|
|
|
84
89
|
*
|
|
85
90
|
* @returns {boolean} True if value is a String, otherwise false
|
|
86
91
|
*/
|
|
87
|
-
const isString = typeOfTest(
|
|
92
|
+
const isString = typeOfTest("string");
|
|
88
93
|
|
|
89
94
|
/**
|
|
90
95
|
* Determine if a value is a Function
|
|
@@ -92,7 +97,7 @@ const isString = typeOfTest('string');
|
|
|
92
97
|
* @param {*} val The value to test
|
|
93
98
|
* @returns {boolean} True if value is a Function, otherwise false
|
|
94
99
|
*/
|
|
95
|
-
const isFunction = typeOfTest(
|
|
100
|
+
const isFunction = typeOfTest("function");
|
|
96
101
|
|
|
97
102
|
/**
|
|
98
103
|
* Determine if a value is a Number
|
|
@@ -101,7 +106,7 @@ const isFunction = typeOfTest('function');
|
|
|
101
106
|
*
|
|
102
107
|
* @returns {boolean} True if value is a Number, otherwise false
|
|
103
108
|
*/
|
|
104
|
-
const isNumber = typeOfTest(
|
|
109
|
+
const isNumber = typeOfTest("number");
|
|
105
110
|
|
|
106
111
|
/**
|
|
107
112
|
* Determine if a value is an Object
|
|
@@ -110,7 +115,7 @@ const isNumber = typeOfTest('number');
|
|
|
110
115
|
*
|
|
111
116
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
112
117
|
*/
|
|
113
|
-
const isObject = (thing) => thing !== null && typeof thing ===
|
|
118
|
+
const isObject = (thing) => thing !== null && typeof thing === "object";
|
|
114
119
|
|
|
115
120
|
/**
|
|
116
121
|
* Determine if a value is a Boolean
|
|
@@ -118,7 +123,7 @@ const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
|
118
123
|
* @param {*} thing The value to test
|
|
119
124
|
* @returns {boolean} True if value is a Boolean, otherwise false
|
|
120
125
|
*/
|
|
121
|
-
const isBoolean = thing => thing === true || thing === false;
|
|
126
|
+
const isBoolean = (thing) => thing === true || thing === false;
|
|
122
127
|
|
|
123
128
|
/**
|
|
124
129
|
* Determine if a value is a plain Object
|
|
@@ -128,13 +133,19 @@ const isBoolean = thing => thing === true || thing === false;
|
|
|
128
133
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
129
134
|
*/
|
|
130
135
|
const isPlainObject = (val) => {
|
|
131
|
-
if (kindOf(val) !==
|
|
136
|
+
if (kindOf(val) !== "object") {
|
|
132
137
|
return false;
|
|
133
138
|
}
|
|
134
139
|
|
|
135
140
|
const prototype = getPrototypeOf(val);
|
|
136
|
-
return (
|
|
137
|
-
|
|
141
|
+
return (
|
|
142
|
+
(prototype === null ||
|
|
143
|
+
prototype === Object.prototype ||
|
|
144
|
+
Object.getPrototypeOf(prototype) === null) &&
|
|
145
|
+
!(toStringTag in val) &&
|
|
146
|
+
!(iterator in val)
|
|
147
|
+
);
|
|
148
|
+
};
|
|
138
149
|
|
|
139
150
|
/**
|
|
140
151
|
* Determine if a value is an empty object (safely handles Buffers)
|
|
@@ -150,12 +161,15 @@ const isEmptyObject = (val) => {
|
|
|
150
161
|
}
|
|
151
162
|
|
|
152
163
|
try {
|
|
153
|
-
return
|
|
164
|
+
return (
|
|
165
|
+
Object.keys(val).length === 0 &&
|
|
166
|
+
Object.getPrototypeOf(val) === Object.prototype
|
|
167
|
+
);
|
|
154
168
|
} catch (e) {
|
|
155
169
|
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
156
170
|
return false;
|
|
157
171
|
}
|
|
158
|
-
}
|
|
172
|
+
};
|
|
159
173
|
|
|
160
174
|
/**
|
|
161
175
|
* Determine if a value is a Date
|
|
@@ -164,7 +178,7 @@ const isEmptyObject = (val) => {
|
|
|
164
178
|
*
|
|
165
179
|
* @returns {boolean} True if value is a Date, otherwise false
|
|
166
180
|
*/
|
|
167
|
-
const isDate = kindOfTest(
|
|
181
|
+
const isDate = kindOfTest("Date");
|
|
168
182
|
|
|
169
183
|
/**
|
|
170
184
|
* Determine if a value is a File
|
|
@@ -173,7 +187,7 @@ const isDate = kindOfTest('Date');
|
|
|
173
187
|
*
|
|
174
188
|
* @returns {boolean} True if value is a File, otherwise false
|
|
175
189
|
*/
|
|
176
|
-
const isFile = kindOfTest(
|
|
190
|
+
const isFile = kindOfTest("File");
|
|
177
191
|
|
|
178
192
|
/**
|
|
179
193
|
* Determine if a value is a Blob
|
|
@@ -182,7 +196,7 @@ const isFile = kindOfTest('File');
|
|
|
182
196
|
*
|
|
183
197
|
* @returns {boolean} True if value is a Blob, otherwise false
|
|
184
198
|
*/
|
|
185
|
-
const isBlob = kindOfTest(
|
|
199
|
+
const isBlob = kindOfTest("Blob");
|
|
186
200
|
|
|
187
201
|
/**
|
|
188
202
|
* Determine if a value is a FileList
|
|
@@ -191,7 +205,7 @@ const isBlob = kindOfTest('Blob');
|
|
|
191
205
|
*
|
|
192
206
|
* @returns {boolean} True if value is a File, otherwise false
|
|
193
207
|
*/
|
|
194
|
-
const isFileList = kindOfTest(
|
|
208
|
+
const isFileList = kindOfTest("FileList");
|
|
195
209
|
|
|
196
210
|
/**
|
|
197
211
|
* Determine if a value is a Stream
|
|
@@ -211,16 +225,17 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
|
|
|
211
225
|
*/
|
|
212
226
|
const isFormData = (thing) => {
|
|
213
227
|
let kind;
|
|
214
|
-
return
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
228
|
+
return (
|
|
229
|
+
thing &&
|
|
230
|
+
((typeof FormData === "function" && thing instanceof FormData) ||
|
|
231
|
+
(isFunction(thing.append) &&
|
|
232
|
+
((kind = kindOf(thing)) === "formdata" ||
|
|
233
|
+
// detect form-data instance
|
|
234
|
+
(kind === "object" &&
|
|
235
|
+
isFunction(thing.toString) &&
|
|
236
|
+
thing.toString() === "[object FormData]"))))
|
|
237
|
+
);
|
|
238
|
+
};
|
|
224
239
|
|
|
225
240
|
/**
|
|
226
241
|
* Determine if a value is a URLSearchParams object
|
|
@@ -229,9 +244,14 @@ const isFormData = (thing) => {
|
|
|
229
244
|
*
|
|
230
245
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
231
246
|
*/
|
|
232
|
-
const isURLSearchParams = kindOfTest(
|
|
247
|
+
const isURLSearchParams = kindOfTest("URLSearchParams");
|
|
233
248
|
|
|
234
|
-
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
249
|
+
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
250
|
+
"ReadableStream",
|
|
251
|
+
"Request",
|
|
252
|
+
"Response",
|
|
253
|
+
"Headers",
|
|
254
|
+
].map(kindOfTest);
|
|
235
255
|
|
|
236
256
|
/**
|
|
237
257
|
* Trim excess whitespace off the beginning and end of a string
|
|
@@ -240,8 +260,8 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream',
|
|
|
240
260
|
*
|
|
241
261
|
* @returns {String} The String freed of excess whitespace
|
|
242
262
|
*/
|
|
243
|
-
const trim = (str) =>
|
|
244
|
-
str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
|
263
|
+
const trim = (str) =>
|
|
264
|
+
str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
245
265
|
|
|
246
266
|
/**
|
|
247
267
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
@@ -252,15 +272,16 @@ const trim = (str) => str.trim ?
|
|
|
252
272
|
* If 'obj' is an Object callback will be called passing
|
|
253
273
|
* the value, key, and complete object for each property.
|
|
254
274
|
*
|
|
255
|
-
* @param {Object|Array} obj The object to iterate
|
|
275
|
+
* @param {Object|Array<unknown>} obj The object to iterate
|
|
256
276
|
* @param {Function} fn The callback to invoke for each item
|
|
257
277
|
*
|
|
258
|
-
* @param {
|
|
278
|
+
* @param {Object} [options]
|
|
279
|
+
* @param {Boolean} [options.allOwnKeys = false]
|
|
259
280
|
* @returns {any}
|
|
260
281
|
*/
|
|
261
|
-
function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
282
|
+
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
262
283
|
// Don't bother if no value provided
|
|
263
|
-
if (obj === null || typeof obj ===
|
|
284
|
+
if (obj === null || typeof obj === "undefined") {
|
|
264
285
|
return;
|
|
265
286
|
}
|
|
266
287
|
|
|
@@ -268,7 +289,7 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
268
289
|
let l;
|
|
269
290
|
|
|
270
291
|
// Force an array if not already something iterable
|
|
271
|
-
if (typeof obj !==
|
|
292
|
+
if (typeof obj !== "object") {
|
|
272
293
|
/*eslint no-param-reassign:0*/
|
|
273
294
|
obj = [obj];
|
|
274
295
|
}
|
|
@@ -285,7 +306,9 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
285
306
|
}
|
|
286
307
|
|
|
287
308
|
// Iterate over object keys
|
|
288
|
-
const keys = allOwnKeys
|
|
309
|
+
const keys = allOwnKeys
|
|
310
|
+
? Object.getOwnPropertyNames(obj)
|
|
311
|
+
: Object.keys(obj);
|
|
289
312
|
const len = keys.length;
|
|
290
313
|
let key;
|
|
291
314
|
|
|
@@ -297,7 +320,7 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
297
320
|
}
|
|
298
321
|
|
|
299
322
|
function findKey(obj, key) {
|
|
300
|
-
if (isBuffer(obj)){
|
|
323
|
+
if (isBuffer(obj)) {
|
|
301
324
|
return null;
|
|
302
325
|
}
|
|
303
326
|
|
|
@@ -317,10 +340,15 @@ function findKey(obj, key) {
|
|
|
317
340
|
const _global = (() => {
|
|
318
341
|
/*eslint no-undef:0*/
|
|
319
342
|
if (typeof globalThis !== "undefined") return globalThis;
|
|
320
|
-
return typeof self !== "undefined"
|
|
343
|
+
return typeof self !== "undefined"
|
|
344
|
+
? self
|
|
345
|
+
: typeof window !== "undefined"
|
|
346
|
+
? window
|
|
347
|
+
: global;
|
|
321
348
|
})();
|
|
322
349
|
|
|
323
|
-
const isContextDefined = (context) =>
|
|
350
|
+
const isContextDefined = (context) =>
|
|
351
|
+
!isUndefined(context) && context !== _global;
|
|
324
352
|
|
|
325
353
|
/**
|
|
326
354
|
* Accepts varargs expecting each argument to be an object, then
|
|
@@ -332,7 +360,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
332
360
|
* Example:
|
|
333
361
|
*
|
|
334
362
|
* ```js
|
|
335
|
-
*
|
|
363
|
+
* const result = merge({foo: 123}, {foo: 456});
|
|
336
364
|
* console.log(result.foo); // outputs 456
|
|
337
365
|
* ```
|
|
338
366
|
*
|
|
@@ -341,10 +369,15 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
341
369
|
* @returns {Object} Result of all merge properties
|
|
342
370
|
*/
|
|
343
371
|
function merge(/* obj1, obj2, obj3, ... */) {
|
|
344
|
-
const {caseless, skipUndefined} = isContextDefined(this) && this || {};
|
|
372
|
+
const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
|
|
345
373
|
const result = {};
|
|
346
374
|
const assignValue = (val, key) => {
|
|
347
|
-
|
|
375
|
+
// Skip dangerous property names to prevent prototype pollution
|
|
376
|
+
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
const targetKey = (caseless && findKey(result, key)) || key;
|
|
348
381
|
if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
|
|
349
382
|
result[targetKey] = merge(result[targetKey], val);
|
|
350
383
|
} else if (isPlainObject(val)) {
|
|
@@ -354,7 +387,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
354
387
|
} else if (!skipUndefined || !isUndefined(val)) {
|
|
355
388
|
result[targetKey] = val;
|
|
356
389
|
}
|
|
357
|
-
}
|
|
390
|
+
};
|
|
358
391
|
|
|
359
392
|
for (let i = 0, l = arguments.length; i < l; i++) {
|
|
360
393
|
arguments[i] && forEach(arguments[i], assignValue);
|
|
@@ -369,19 +402,34 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
369
402
|
* @param {Object} b The object to copy properties from
|
|
370
403
|
* @param {Object} thisArg The object to bind function to
|
|
371
404
|
*
|
|
372
|
-
* @param {
|
|
405
|
+
* @param {Object} [options]
|
|
406
|
+
* @param {Boolean} [options.allOwnKeys]
|
|
373
407
|
* @returns {Object} The resulting value of object a
|
|
374
408
|
*/
|
|
375
|
-
const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
|
|
376
|
-
forEach(
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
409
|
+
const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
410
|
+
forEach(
|
|
411
|
+
b,
|
|
412
|
+
(val, key) => {
|
|
413
|
+
if (thisArg && isFunction(val)) {
|
|
414
|
+
Object.defineProperty(a, key, {
|
|
415
|
+
value: bind(val, thisArg),
|
|
416
|
+
writable: true,
|
|
417
|
+
enumerable: true,
|
|
418
|
+
configurable: true,
|
|
419
|
+
});
|
|
420
|
+
} else {
|
|
421
|
+
Object.defineProperty(a, key, {
|
|
422
|
+
value: val,
|
|
423
|
+
writable: true,
|
|
424
|
+
enumerable: true,
|
|
425
|
+
configurable: true,
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
{ allOwnKeys },
|
|
430
|
+
);
|
|
383
431
|
return a;
|
|
384
|
-
}
|
|
432
|
+
};
|
|
385
433
|
|
|
386
434
|
/**
|
|
387
435
|
* Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
|
|
@@ -391,11 +439,11 @@ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
|
|
|
391
439
|
* @returns {string} content value without BOM
|
|
392
440
|
*/
|
|
393
441
|
const stripBOM = (content) => {
|
|
394
|
-
if (content.charCodeAt(0) ===
|
|
442
|
+
if (content.charCodeAt(0) === 0xfeff) {
|
|
395
443
|
content = content.slice(1);
|
|
396
444
|
}
|
|
397
445
|
return content;
|
|
398
|
-
}
|
|
446
|
+
};
|
|
399
447
|
|
|
400
448
|
/**
|
|
401
449
|
* Inherit the prototype methods from one constructor into another
|
|
@@ -407,13 +455,21 @@ const stripBOM = (content) => {
|
|
|
407
455
|
* @returns {void}
|
|
408
456
|
*/
|
|
409
457
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
410
|
-
constructor.prototype = Object.create(
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
458
|
+
constructor.prototype = Object.create(
|
|
459
|
+
superConstructor.prototype,
|
|
460
|
+
descriptors,
|
|
461
|
+
);
|
|
462
|
+
Object.defineProperty(constructor.prototype, "constructor", {
|
|
463
|
+
value: constructor,
|
|
464
|
+
writable: true,
|
|
465
|
+
enumerable: false,
|
|
466
|
+
configurable: true,
|
|
467
|
+
});
|
|
468
|
+
Object.defineProperty(constructor, "super", {
|
|
469
|
+
value: superConstructor.prototype,
|
|
414
470
|
});
|
|
415
471
|
props && Object.assign(constructor.prototype, props);
|
|
416
|
-
}
|
|
472
|
+
};
|
|
417
473
|
|
|
418
474
|
/**
|
|
419
475
|
* Resolve object with deep prototype chain to a flat object
|
|
@@ -439,16 +495,23 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
439
495
|
i = props.length;
|
|
440
496
|
while (i-- > 0) {
|
|
441
497
|
prop = props[i];
|
|
442
|
-
if (
|
|
498
|
+
if (
|
|
499
|
+
(!propFilter || propFilter(prop, sourceObj, destObj)) &&
|
|
500
|
+
!merged[prop]
|
|
501
|
+
) {
|
|
443
502
|
destObj[prop] = sourceObj[prop];
|
|
444
503
|
merged[prop] = true;
|
|
445
504
|
}
|
|
446
505
|
}
|
|
447
506
|
sourceObj = filter !== false && getPrototypeOf(sourceObj);
|
|
448
|
-
} while (
|
|
507
|
+
} while (
|
|
508
|
+
sourceObj &&
|
|
509
|
+
(!filter || filter(sourceObj, destObj)) &&
|
|
510
|
+
sourceObj !== Object.prototype
|
|
511
|
+
);
|
|
449
512
|
|
|
450
513
|
return destObj;
|
|
451
|
-
}
|
|
514
|
+
};
|
|
452
515
|
|
|
453
516
|
/**
|
|
454
517
|
* Determines whether a string ends with the characters of a specified string
|
|
@@ -467,8 +530,7 @@ const endsWith = (str, searchString, position) => {
|
|
|
467
530
|
position -= searchString.length;
|
|
468
531
|
const lastIndex = str.indexOf(searchString, position);
|
|
469
532
|
return lastIndex !== -1 && lastIndex === position;
|
|
470
|
-
}
|
|
471
|
-
|
|
533
|
+
};
|
|
472
534
|
|
|
473
535
|
/**
|
|
474
536
|
* Returns new array from array like object or null if failed
|
|
@@ -487,7 +549,7 @@ const toArray = (thing) => {
|
|
|
487
549
|
arr[i] = thing[i];
|
|
488
550
|
}
|
|
489
551
|
return arr;
|
|
490
|
-
}
|
|
552
|
+
};
|
|
491
553
|
|
|
492
554
|
/**
|
|
493
555
|
* Checking if the Uint8Array exists and if it does, it returns a function that checks if the
|
|
@@ -498,12 +560,12 @@ const toArray = (thing) => {
|
|
|
498
560
|
* @returns {Array}
|
|
499
561
|
*/
|
|
500
562
|
// eslint-disable-next-line func-names
|
|
501
|
-
const isTypedArray = (TypedArray => {
|
|
563
|
+
const isTypedArray = ((TypedArray) => {
|
|
502
564
|
// eslint-disable-next-line func-names
|
|
503
|
-
return thing => {
|
|
565
|
+
return (thing) => {
|
|
504
566
|
return TypedArray && thing instanceof TypedArray;
|
|
505
567
|
};
|
|
506
|
-
})(typeof Uint8Array !==
|
|
568
|
+
})(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
|
|
507
569
|
|
|
508
570
|
/**
|
|
509
571
|
* For each entry in the object, call the function with the key and value.
|
|
@@ -524,7 +586,7 @@ const forEachEntry = (obj, fn) => {
|
|
|
524
586
|
const pair = result.value;
|
|
525
587
|
fn.call(obj, pair[0], pair[1]);
|
|
526
588
|
}
|
|
527
|
-
}
|
|
589
|
+
};
|
|
528
590
|
|
|
529
591
|
/**
|
|
530
592
|
* It takes a regular expression and a string, and returns an array of all the matches
|
|
@@ -543,21 +605,25 @@ const matchAll = (regExp, str) => {
|
|
|
543
605
|
}
|
|
544
606
|
|
|
545
607
|
return arr;
|
|
546
|
-
}
|
|
608
|
+
};
|
|
547
609
|
|
|
548
610
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
549
|
-
const isHTMLForm = kindOfTest(
|
|
611
|
+
const isHTMLForm = kindOfTest("HTMLFormElement");
|
|
550
612
|
|
|
551
|
-
const toCamelCase = str => {
|
|
552
|
-
return str
|
|
553
|
-
|
|
613
|
+
const toCamelCase = (str) => {
|
|
614
|
+
return str
|
|
615
|
+
.toLowerCase()
|
|
616
|
+
.replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
554
617
|
return p1.toUpperCase() + p2;
|
|
555
|
-
}
|
|
556
|
-
);
|
|
618
|
+
});
|
|
557
619
|
};
|
|
558
620
|
|
|
559
621
|
/* Creating a function that will check if an object has a property. */
|
|
560
|
-
const hasOwnProperty = (
|
|
622
|
+
const hasOwnProperty = (
|
|
623
|
+
({ hasOwnProperty }) =>
|
|
624
|
+
(obj, prop) =>
|
|
625
|
+
hasOwnProperty.call(obj, prop)
|
|
626
|
+
)(Object.prototype);
|
|
561
627
|
|
|
562
628
|
/**
|
|
563
629
|
* Determine if a value is a RegExp object
|
|
@@ -566,7 +632,7 @@ const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call
|
|
|
566
632
|
*
|
|
567
633
|
* @returns {boolean} True if value is a RegExp object, otherwise false
|
|
568
634
|
*/
|
|
569
|
-
const isRegExp = kindOfTest(
|
|
635
|
+
const isRegExp = kindOfTest("RegExp");
|
|
570
636
|
|
|
571
637
|
const reduceDescriptors = (obj, reducer) => {
|
|
572
638
|
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
@@ -580,7 +646,7 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
580
646
|
});
|
|
581
647
|
|
|
582
648
|
Object.defineProperties(obj, reducedDescriptors);
|
|
583
|
-
}
|
|
649
|
+
};
|
|
584
650
|
|
|
585
651
|
/**
|
|
586
652
|
* Makes all methods read-only
|
|
@@ -590,7 +656,10 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
590
656
|
const freezeMethods = (obj) => {
|
|
591
657
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
592
658
|
// skip restricted props in strict mode
|
|
593
|
-
if (
|
|
659
|
+
if (
|
|
660
|
+
isFunction(obj) &&
|
|
661
|
+
["arguments", "caller", "callee"].indexOf(name) !== -1
|
|
662
|
+
) {
|
|
594
663
|
return false;
|
|
595
664
|
}
|
|
596
665
|
|
|
@@ -600,40 +669,42 @@ const freezeMethods = (obj) => {
|
|
|
600
669
|
|
|
601
670
|
descriptor.enumerable = false;
|
|
602
671
|
|
|
603
|
-
if (
|
|
672
|
+
if ("writable" in descriptor) {
|
|
604
673
|
descriptor.writable = false;
|
|
605
674
|
return;
|
|
606
675
|
}
|
|
607
676
|
|
|
608
677
|
if (!descriptor.set) {
|
|
609
678
|
descriptor.set = () => {
|
|
610
|
-
throw Error(
|
|
679
|
+
throw Error("Can not rewrite read-only method '" + name + "'");
|
|
611
680
|
};
|
|
612
681
|
}
|
|
613
682
|
});
|
|
614
|
-
}
|
|
683
|
+
};
|
|
615
684
|
|
|
616
685
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
617
686
|
const obj = {};
|
|
618
687
|
|
|
619
688
|
const define = (arr) => {
|
|
620
|
-
arr.forEach(value => {
|
|
689
|
+
arr.forEach((value) => {
|
|
621
690
|
obj[value] = true;
|
|
622
691
|
});
|
|
623
|
-
}
|
|
692
|
+
};
|
|
624
693
|
|
|
625
|
-
isArray(arrayOrString)
|
|
694
|
+
isArray(arrayOrString)
|
|
695
|
+
? define(arrayOrString)
|
|
696
|
+
: define(String(arrayOrString).split(delimiter));
|
|
626
697
|
|
|
627
698
|
return obj;
|
|
628
|
-
}
|
|
699
|
+
};
|
|
629
700
|
|
|
630
|
-
const noop = () => {}
|
|
701
|
+
const noop = () => {};
|
|
631
702
|
|
|
632
703
|
const toFiniteNumber = (value, defaultValue) => {
|
|
633
|
-
return value != null && Number.isFinite(value = +value)
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
704
|
+
return value != null && Number.isFinite((value = +value))
|
|
705
|
+
? value
|
|
706
|
+
: defaultValue;
|
|
707
|
+
};
|
|
637
708
|
|
|
638
709
|
/**
|
|
639
710
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
@@ -643,14 +714,18 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
643
714
|
* @returns {boolean}
|
|
644
715
|
*/
|
|
645
716
|
function isSpecCompliantForm(thing) {
|
|
646
|
-
return !!(
|
|
717
|
+
return !!(
|
|
718
|
+
thing &&
|
|
719
|
+
isFunction(thing.append) &&
|
|
720
|
+
thing[toStringTag] === "FormData" &&
|
|
721
|
+
thing[iterator]
|
|
722
|
+
);
|
|
647
723
|
}
|
|
648
724
|
|
|
649
725
|
const toJSONObject = (obj) => {
|
|
650
726
|
const stack = new Array(10);
|
|
651
727
|
|
|
652
728
|
const visit = (source, i) => {
|
|
653
|
-
|
|
654
729
|
if (isObject(source)) {
|
|
655
730
|
if (stack.indexOf(source) >= 0) {
|
|
656
731
|
return;
|
|
@@ -661,7 +736,7 @@ const toJSONObject = (obj) => {
|
|
|
661
736
|
return source;
|
|
662
737
|
}
|
|
663
738
|
|
|
664
|
-
if(!(
|
|
739
|
+
if (!("toJSON" in source)) {
|
|
665
740
|
stack[i] = source;
|
|
666
741
|
const target = isArray(source) ? [] : {};
|
|
667
742
|
|
|
@@ -677,15 +752,18 @@ const toJSONObject = (obj) => {
|
|
|
677
752
|
}
|
|
678
753
|
|
|
679
754
|
return source;
|
|
680
|
-
}
|
|
755
|
+
};
|
|
681
756
|
|
|
682
757
|
return visit(obj, 0);
|
|
683
|
-
}
|
|
758
|
+
};
|
|
684
759
|
|
|
685
|
-
const isAsyncFn = kindOfTest(
|
|
760
|
+
const isAsyncFn = kindOfTest("AsyncFunction");
|
|
686
761
|
|
|
687
762
|
const isThenable = (thing) =>
|
|
688
|
-
thing &&
|
|
763
|
+
thing &&
|
|
764
|
+
(isObject(thing) || isFunction(thing)) &&
|
|
765
|
+
isFunction(thing.then) &&
|
|
766
|
+
isFunction(thing.catch);
|
|
689
767
|
|
|
690
768
|
// original code
|
|
691
769
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
@@ -695,32 +773,35 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
695
773
|
return setImmediate;
|
|
696
774
|
}
|
|
697
775
|
|
|
698
|
-
return postMessageSupported
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
776
|
+
return postMessageSupported
|
|
777
|
+
? ((token, callbacks) => {
|
|
778
|
+
_global.addEventListener(
|
|
779
|
+
"message",
|
|
780
|
+
({ source, data }) => {
|
|
781
|
+
if (source === _global && data === token) {
|
|
782
|
+
callbacks.length && callbacks.shift()();
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
false,
|
|
786
|
+
);
|
|
787
|
+
|
|
788
|
+
return (cb) => {
|
|
789
|
+
callbacks.push(cb);
|
|
790
|
+
_global.postMessage(token, "*");
|
|
791
|
+
};
|
|
792
|
+
})(`axios@${Math.random()}`, [])
|
|
793
|
+
: (cb) => setTimeout(cb);
|
|
794
|
+
})(typeof setImmediate === "function", isFunction(_global.postMessage));
|
|
795
|
+
|
|
796
|
+
const asap =
|
|
797
|
+
typeof queueMicrotask !== "undefined"
|
|
798
|
+
? queueMicrotask.bind(_global)
|
|
799
|
+
: (typeof process !== "undefined" && process.nextTick) || _setImmediate;
|
|
717
800
|
|
|
718
801
|
// *********************
|
|
719
802
|
|
|
720
|
-
|
|
721
803
|
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
722
804
|
|
|
723
|
-
|
|
724
805
|
export default {
|
|
725
806
|
isArray,
|
|
726
807
|
isArrayBuffer,
|
|
@@ -778,5 +859,5 @@ export default {
|
|
|
778
859
|
isThenable,
|
|
779
860
|
setImmediate: _setImmediate,
|
|
780
861
|
asap,
|
|
781
|
-
isIterable
|
|
862
|
+
isIterable,
|
|
782
863
|
};
|