@gemeentenijmegen/webapp 1.1.2 → 1.1.3
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 +12 -12
- package/assets/webapp/auth/auth.lambda/index.js +4 -7
- package/assets/webapp/login/login.lambda/index.js +4 -7
- package/lib/webapp/Criticality.js +1 -1
- package/lib/webapp/Webapp.js +1 -1
- package/lib/webapp/Webpage.js +1 -1
- package/lib/webapp/util/Files.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +38 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +16 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +14 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +63 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +18 -0
- package/node_modules/@aws-sdk/client-dynamodb/package.json +4 -4
- package/node_modules/@aws-sdk/client-s3/README.md +24 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +358 -104
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +32 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +2 -12
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +13 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +159 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +21 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +5 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +5 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +6 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +63 -53
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +23 -22
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +36 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +54 -52
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +455 -411
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +404 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +27 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +69 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +18 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +50 -66
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +75 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
- package/node_modules/@aws-sdk/client-s3/package.json +5 -5
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +4 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetExecutionPreviewCommand.d.ts +29 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesCommand.d.ts +52 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +43 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +16 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +3 -3
- package/node_modules/@aws-sdk/client-sts/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +1 -1
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +11 -10
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +5 -7
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +4 -0
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +5 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@gemeentenijmegen/apiclient/package.json +4 -4
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +3 -3
- package/node_modules/@gemeentenijmegen/utils/package.json +6 -6
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/package.json +6 -6
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -8
- package/node_modules/@smithy/node-http-handler/dist-es/timing.js +2 -2
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -6
- package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -2
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +1 -1
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +22 -34
- package/node_modules/@smithy/smithy-client/dist-es/lazy-json.js +22 -31
- package/node_modules/@smithy/smithy-client/dist-types/lazy-json.d.ts +34 -15
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/lazy-json.d.ts +34 -15
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +31 -4
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +30 -4
- package/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts +5 -0
- package/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts +5 -0
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/index.d.ts +1 -0
- package/node_modules/@types/aws-lambda/package.json +4 -3
- package/node_modules/@types/aws-lambda/trigger/guard-duty-event-notification.d.ts +36 -0
- package/node_modules/axios/CHANGELOG.md +49 -0
- package/node_modules/axios/README.md +20 -8
- package/node_modules/axios/dist/axios.js +34 -63
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +40 -71
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +40 -71
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +45 -75
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +5 -1
- package/node_modules/axios/index.d.ts +8 -1
- package/node_modules/axios/lib/adapters/http.js +4 -4
- package/node_modules/axios/lib/core/Axios.js +7 -2
- package/node_modules/axios/lib/core/mergeConfig.js +5 -5
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +7 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +2 -2
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +12 -65
- package/node_modules/axios/lib/helpers/validator.js +8 -0
- package/node_modules/axios/package.json +3 -3
- package/node_modules/dotenv/CHANGELOG.md +15 -2
- package/node_modules/dotenv/README.md +37 -114
- package/node_modules/dotenv/package.json +5 -9
- package/node_modules/openid-client/lib/helpers/client.js +1 -4
- package/node_modules/openid-client/package.json +3 -3
- package/package.json +18 -17
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/md5-js",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline md5-js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typedoc": "0.23.23"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@smithy/types": "^3.7.
|
|
36
|
+
"@smithy/types": "^3.7.2",
|
|
37
37
|
"@smithy/util-utf8": "^3.0.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-content-length",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-content-length",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/protocol-http": "^4.1.
|
|
28
|
-
"@smithy/types": "^3.7.
|
|
27
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
28
|
+
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^2.5.
|
|
28
|
-
"@smithy/middleware-serde": "^3.0.
|
|
29
|
-
"@smithy/node-config-provider": "^3.1.
|
|
30
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
31
|
-
"@smithy/types": "^3.7.
|
|
32
|
-
"@smithy/url-parser": "^3.0.
|
|
33
|
-
"@smithy/util-middleware": "^3.0.
|
|
27
|
+
"@smithy/core": "^2.5.5",
|
|
28
|
+
"@smithy/middleware-serde": "^3.0.11",
|
|
29
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
30
|
+
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
31
|
+
"@smithy/types": "^3.7.2",
|
|
32
|
+
"@smithy/url-parser": "^3.0.11",
|
|
33
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.30",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@smithy/node-config-provider": "^3.1.
|
|
37
|
-
"@smithy/protocol-http": "^4.1.
|
|
38
|
-
"@smithy/service-error-classification": "^3.0.
|
|
39
|
-
"@smithy/smithy-client": "^3.
|
|
40
|
-
"@smithy/types": "^3.7.
|
|
41
|
-
"@smithy/util-middleware": "^3.0.
|
|
42
|
-
"@smithy/util-retry": "^3.0.
|
|
36
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
37
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
38
|
+
"@smithy/service-error-classification": "^3.0.11",
|
|
39
|
+
"@smithy/smithy-client": "^3.5.0",
|
|
40
|
+
"@smithy/types": "^3.7.2",
|
|
41
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
42
|
+
"@smithy/util-retry": "^3.0.11",
|
|
43
43
|
"tslib": "^2.6.2",
|
|
44
44
|
"uuid": "^9.0.1"
|
|
45
45
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-serde",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/types": "^3.7.
|
|
28
|
+
"@smithy/types": "^3.7.2",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-stack",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"module": "./dist-es/index.js",
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/types": "^3.7.
|
|
29
|
+
"@smithy/types": "^3.7.2",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-config-provider",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.12",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"types": "./dist-types/index.d.ts",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/property-provider": "^3.1.
|
|
29
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
30
|
-
"@smithy/types": "^3.7.
|
|
28
|
+
"@smithy/property-provider": "^3.1.11",
|
|
29
|
+
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
30
|
+
"@smithy/types": "^3.7.2",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -58,8 +58,8 @@ var getTransformedHeaders = /* @__PURE__ */ __name((headers) => {
|
|
|
58
58
|
|
|
59
59
|
// src/timing.ts
|
|
60
60
|
var timing = {
|
|
61
|
-
setTimeout,
|
|
62
|
-
clearTimeout
|
|
61
|
+
setTimeout: (cb, ms) => setTimeout(cb, ms),
|
|
62
|
+
clearTimeout: (timeoutId) => clearTimeout(timeoutId)
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
// src/set-connection-timeout.ts
|
|
@@ -147,26 +147,29 @@ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN
|
|
|
147
147
|
const headers = request.headers ?? {};
|
|
148
148
|
const expect = headers["Expect"] || headers["expect"];
|
|
149
149
|
let timeoutId = -1;
|
|
150
|
-
let
|
|
150
|
+
let sendBody = true;
|
|
151
151
|
if (expect === "100-continue") {
|
|
152
|
-
await Promise.race([
|
|
152
|
+
sendBody = await Promise.race([
|
|
153
153
|
new Promise((resolve) => {
|
|
154
154
|
timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
|
|
155
155
|
}),
|
|
156
156
|
new Promise((resolve) => {
|
|
157
157
|
httpRequest.on("continue", () => {
|
|
158
158
|
timing.clearTimeout(timeoutId);
|
|
159
|
-
resolve();
|
|
159
|
+
resolve(true);
|
|
160
|
+
});
|
|
161
|
+
httpRequest.on("response", () => {
|
|
162
|
+
timing.clearTimeout(timeoutId);
|
|
163
|
+
resolve(false);
|
|
160
164
|
});
|
|
161
165
|
httpRequest.on("error", () => {
|
|
162
|
-
hasError = true;
|
|
163
166
|
timing.clearTimeout(timeoutId);
|
|
164
|
-
resolve();
|
|
167
|
+
resolve(false);
|
|
165
168
|
});
|
|
166
169
|
})
|
|
167
170
|
]);
|
|
168
171
|
}
|
|
169
|
-
if (
|
|
172
|
+
if (sendBody) {
|
|
170
173
|
writeBody(httpRequest, request.body);
|
|
171
174
|
}
|
|
172
175
|
}
|
|
@@ -5,26 +5,29 @@ export async function writeRequestBody(httpRequest, request, maxContinueTimeoutM
|
|
|
5
5
|
const headers = request.headers ?? {};
|
|
6
6
|
const expect = headers["Expect"] || headers["expect"];
|
|
7
7
|
let timeoutId = -1;
|
|
8
|
-
let
|
|
8
|
+
let sendBody = true;
|
|
9
9
|
if (expect === "100-continue") {
|
|
10
|
-
await Promise.race([
|
|
10
|
+
sendBody = await Promise.race([
|
|
11
11
|
new Promise((resolve) => {
|
|
12
12
|
timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
|
|
13
13
|
}),
|
|
14
14
|
new Promise((resolve) => {
|
|
15
15
|
httpRequest.on("continue", () => {
|
|
16
16
|
timing.clearTimeout(timeoutId);
|
|
17
|
-
resolve();
|
|
17
|
+
resolve(true);
|
|
18
|
+
});
|
|
19
|
+
httpRequest.on("response", () => {
|
|
20
|
+
timing.clearTimeout(timeoutId);
|
|
21
|
+
resolve(false);
|
|
18
22
|
});
|
|
19
23
|
httpRequest.on("error", () => {
|
|
20
|
-
hasError = true;
|
|
21
24
|
timing.clearTimeout(timeoutId);
|
|
22
|
-
resolve();
|
|
25
|
+
resolve(false);
|
|
23
26
|
});
|
|
24
27
|
}),
|
|
25
28
|
]);
|
|
26
29
|
}
|
|
27
|
-
if (
|
|
30
|
+
if (sendBody) {
|
|
28
31
|
writeBody(httpRequest, request.body);
|
|
29
32
|
}
|
|
30
33
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For test spies.
|
|
4
4
|
*/
|
|
5
5
|
export declare const timing: {
|
|
6
|
-
setTimeout:
|
|
7
|
-
clearTimeout:
|
|
6
|
+
setTimeout: (cb: (...ignored: any[]) => void | unknown, ms?: number) => number;
|
|
7
|
+
clearTimeout: (timeoutId: string | number | undefined | unknown) => void;
|
|
8
8
|
};
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* For test spies.
|
|
4
4
|
*/
|
|
5
5
|
export declare const timing: {
|
|
6
|
-
setTimeout:
|
|
7
|
-
clearTimeout:
|
|
6
|
+
setTimeout: (cb: (...ignored: any[]) => void | unknown, ms?: number) => number;
|
|
7
|
+
clearTimeout: (timeoutId: string | number | undefined | unknown) => void;
|
|
8
8
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"module": "./dist-es/index.js",
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/abort-controller": "^3.1.
|
|
30
|
-
"@smithy/protocol-http": "^4.1.
|
|
31
|
-
"@smithy/querystring-builder": "^3.0.
|
|
32
|
-
"@smithy/types": "^3.7.
|
|
29
|
+
"@smithy/abort-controller": "^3.1.9",
|
|
30
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
31
|
+
"@smithy/querystring-builder": "^3.0.11",
|
|
32
|
+
"@smithy/types": "^3.7.2",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/property-provider",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline property-provider",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@smithy/types": "^3.7.
|
|
26
|
+
"@smithy/types": "^3.7.2",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/protocol-http",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.8",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline protocol-http",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/types": "^3.7.
|
|
27
|
+
"@smithy/types": "^3.7.2",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-builder",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline querystring-builder",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^3.7.
|
|
25
|
+
"@smithy/types": "^3.7.2",
|
|
26
26
|
"@smithy/util-uri-escape": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-parser",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline querystring-parser",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@smithy/types": "^3.7.
|
|
26
|
+
"@smithy/types": "^3.7.2",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
@@ -70,9 +70,9 @@ var isThrottlingError = /* @__PURE__ */ __name((error) => {
|
|
|
70
70
|
var _a, _b;
|
|
71
71
|
return ((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) === 429 || THROTTLING_ERROR_CODES.includes(error.name) || ((_b = error.$retryable) == null ? void 0 : _b.throttling) == true;
|
|
72
72
|
}, "isThrottlingError");
|
|
73
|
-
var isTransientError = /* @__PURE__ */ __name((error) => {
|
|
73
|
+
var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => {
|
|
74
74
|
var _a;
|
|
75
|
-
return isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes((error == null ? void 0 : error.code) || "") || TRANSIENT_ERROR_STATUS_CODES.includes(((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) || 0);
|
|
75
|
+
return isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes((error == null ? void 0 : error.code) || "") || TRANSIENT_ERROR_STATUS_CODES.includes(((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) || 0) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1);
|
|
76
76
|
}, "isTransientError");
|
|
77
77
|
var isServerError = /* @__PURE__ */ __name((error) => {
|
|
78
78
|
var _a;
|
|
@@ -5,10 +5,11 @@ export const isClockSkewCorrectedError = (error) => error.$metadata?.clockSkewCo
|
|
|
5
5
|
export const isThrottlingError = (error) => error.$metadata?.httpStatusCode === 429 ||
|
|
6
6
|
THROTTLING_ERROR_CODES.includes(error.name) ||
|
|
7
7
|
error.$retryable?.throttling == true;
|
|
8
|
-
export const isTransientError = (error) => isClockSkewCorrectedError(error) ||
|
|
8
|
+
export const isTransientError = (error, depth = 0) => isClockSkewCorrectedError(error) ||
|
|
9
9
|
TRANSIENT_ERROR_CODES.includes(error.name) ||
|
|
10
10
|
NODEJS_TIMEOUT_ERROR_CODES.includes(error?.code || "") ||
|
|
11
|
-
TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0)
|
|
11
|
+
TRANSIENT_ERROR_STATUS_CODES.includes(error.$metadata?.httpStatusCode || 0) ||
|
|
12
|
+
(error.cause !== undefined && depth <= 10 && isTransientError(error.cause, depth + 1));
|
|
12
13
|
export const isServerError = (error) => {
|
|
13
14
|
if (error.$metadata?.httpStatusCode !== undefined) {
|
|
14
15
|
const statusCode = error.$metadata.httpStatusCode;
|
|
@@ -15,5 +15,5 @@ export declare const isThrottlingError: (error: SdkError) => boolean;
|
|
|
15
15
|
* cause where the NodeHttpHandler does not decorate the Error with
|
|
16
16
|
* the name "TimeoutError" to be checked by the TRANSIENT_ERROR_CODES condition.
|
|
17
17
|
*/
|
|
18
|
-
export declare const isTransientError: (error: SdkError) => boolean;
|
|
18
|
+
export declare const isTransientError: (error: SdkError, depth?: number) => boolean;
|
|
19
19
|
export declare const isServerError: (error: SdkError) => boolean;
|
|
@@ -15,5 +15,5 @@ export declare const isThrottlingError: (error: SdkError) => boolean;
|
|
|
15
15
|
* cause where the NodeHttpHandler does not decorate the Error with
|
|
16
16
|
* the name "TimeoutError" to be checked by the TRANSIENT_ERROR_CODES condition.
|
|
17
17
|
*/
|
|
18
|
-
export declare const isTransientError: (error: SdkError) => boolean;
|
|
18
|
+
export declare const isTransientError: (error: SdkError, depth?: number) => boolean;
|
|
19
19
|
export declare const isServerError: (error: SdkError) => boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/service-error-classification",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline service-error-classification",
|
|
@@ -54,6 +54,6 @@
|
|
|
54
54
|
"directory": ".release/package"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@smithy/types": "^3.7.
|
|
57
|
+
"@smithy/types": "^3.7.2"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.4",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@smithy/is-array-buffer": "^3.0.0",
|
|
29
|
-
"@smithy/protocol-http": "^4.1.
|
|
30
|
-
"@smithy/types": "^3.7.
|
|
29
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
30
|
+
"@smithy/types": "^3.7.2",
|
|
31
31
|
"@smithy/util-hex-encoding": "^3.0.0",
|
|
32
|
-
"@smithy/util-middleware": "^3.0.
|
|
32
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
33
33
|
"@smithy/util-uri-escape": "^3.0.0",
|
|
34
34
|
"@smithy/util-utf8": "^3.0.0",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
@@ -26,7 +26,6 @@ __export(src_exports, {
|
|
|
26
26
|
NoOpLogger: () => NoOpLogger,
|
|
27
27
|
SENSITIVE_STRING: () => SENSITIVE_STRING,
|
|
28
28
|
ServiceException: () => ServiceException,
|
|
29
|
-
StringWrapper: () => StringWrapper,
|
|
30
29
|
_json: () => _json,
|
|
31
30
|
collectBody: () => import_protocols.collectBody,
|
|
32
31
|
convertMap: () => convertMap,
|
|
@@ -978,40 +977,30 @@ var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => {
|
|
|
978
977
|
}, "isSerializableHeaderValue");
|
|
979
978
|
|
|
980
979
|
// src/lazy-json.ts
|
|
981
|
-
|
|
982
|
-
const
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
enumerable: false,
|
|
992
|
-
writable: true,
|
|
993
|
-
configurable: true
|
|
994
|
-
}
|
|
995
|
-
});
|
|
996
|
-
Object.setPrototypeOf(StringWrapper, String);
|
|
997
|
-
var _LazyJsonString = class _LazyJsonString extends StringWrapper {
|
|
998
|
-
deserializeJSON() {
|
|
999
|
-
return JSON.parse(super.toString());
|
|
1000
|
-
}
|
|
1001
|
-
toJSON() {
|
|
1002
|
-
return super.toString();
|
|
1003
|
-
}
|
|
1004
|
-
static fromObject(object) {
|
|
1005
|
-
if (object instanceof _LazyJsonString) {
|
|
1006
|
-
return object;
|
|
1007
|
-
} else if (object instanceof String || typeof object === "string") {
|
|
1008
|
-
return new _LazyJsonString(object);
|
|
980
|
+
function LazyJsonString(val) {
|
|
981
|
+
const str = Object.assign(new String(val), {
|
|
982
|
+
deserializeJSON() {
|
|
983
|
+
return JSON.parse(String(val));
|
|
984
|
+
},
|
|
985
|
+
toString() {
|
|
986
|
+
return String(val);
|
|
987
|
+
},
|
|
988
|
+
toJSON() {
|
|
989
|
+
return String(val);
|
|
1009
990
|
}
|
|
1010
|
-
|
|
1011
|
-
|
|
991
|
+
});
|
|
992
|
+
return str;
|
|
993
|
+
}
|
|
994
|
+
__name(LazyJsonString, "LazyJsonString");
|
|
995
|
+
LazyJsonString.from = (object) => {
|
|
996
|
+
if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {
|
|
997
|
+
return object;
|
|
998
|
+
} else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) {
|
|
999
|
+
return LazyJsonString(String(object));
|
|
1000
|
+
}
|
|
1001
|
+
return LazyJsonString(JSON.stringify(object));
|
|
1012
1002
|
};
|
|
1013
|
-
|
|
1014
|
-
var LazyJsonString = _LazyJsonString;
|
|
1003
|
+
LazyJsonString.fromObject = LazyJsonString.from;
|
|
1015
1004
|
|
|
1016
1005
|
// src/NoOpLogger.ts
|
|
1017
1006
|
var _NoOpLogger = class _NoOpLogger {
|
|
@@ -1266,7 +1255,6 @@ var splitHeader = /* @__PURE__ */ __name((value) => {
|
|
|
1266
1255
|
getArrayIfSingleItem,
|
|
1267
1256
|
getValueFromTextNode,
|
|
1268
1257
|
isSerializableHeaderValue,
|
|
1269
|
-
StringWrapper,
|
|
1270
1258
|
LazyJsonString,
|
|
1271
1259
|
NoOpLogger,
|
|
1272
1260
|
map,
|
|
@@ -1,33 +1,24 @@
|
|
|
1
|
-
export
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
deserializeJSON() {
|
|
19
|
-
return JSON.parse(super.toString());
|
|
20
|
-
}
|
|
21
|
-
toJSON() {
|
|
22
|
-
return super.toString();
|
|
1
|
+
export function LazyJsonString(val) {
|
|
2
|
+
const str = Object.assign(new String(val), {
|
|
3
|
+
deserializeJSON() {
|
|
4
|
+
return JSON.parse(String(val));
|
|
5
|
+
},
|
|
6
|
+
toString() {
|
|
7
|
+
return String(val);
|
|
8
|
+
},
|
|
9
|
+
toJSON() {
|
|
10
|
+
return String(val);
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
return str;
|
|
14
|
+
}
|
|
15
|
+
LazyJsonString.from = (object) => {
|
|
16
|
+
if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {
|
|
17
|
+
return object;
|
|
23
18
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return object;
|
|
27
|
-
}
|
|
28
|
-
else if (object instanceof String || typeof object === "string") {
|
|
29
|
-
return new LazyJsonString(object);
|
|
30
|
-
}
|
|
31
|
-
return new LazyJsonString(JSON.stringify(object));
|
|
19
|
+
else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) {
|
|
20
|
+
return LazyJsonString(String(object));
|
|
32
21
|
}
|
|
33
|
-
|
|
22
|
+
return LazyJsonString(JSON.stringify(object));
|
|
23
|
+
};
|
|
24
|
+
LazyJsonString.fromObject = LazyJsonString.from;
|