@mavogel/awscdk-rootmail 0.0.316 → 0.0.317
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 +2 -2
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +14 -14
- package/node_modules/@aws-sdk/client-route-53/package.json +14 -14
- package/node_modules/@aws-sdk/client-s3/package.json +19 -19
- package/node_modules/@aws-sdk/client-ses/package.json +14 -14
- package/node_modules/@aws-sdk/client-ssm/package.json +14 -14
- package/node_modules/@aws-sdk/client-sso/package.json +13 -13
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/package.json +13 -13
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +30 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +20 -20
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +80 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +20 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -4
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +5 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -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 -9
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +1 -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 +3 -3
- package/node_modules/cdk-nag/.jsii +2 -2
- package/node_modules/cdk-nag/lib/ignore-suppression-conditions.js +5 -5
- package/node_modules/cdk-nag/lib/nag-logger.js +2 -2
- package/node_modules/cdk-nag/lib/nag-pack.js +1 -1
- package/node_modules/cdk-nag/lib/nag-rules.js +1 -1
- package/node_modules/cdk-nag/lib/nag-suppressions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/aws-solutions.js +1 -1
- package/node_modules/cdk-nag/lib/packs/hipaa-security.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r4.js +1 -1
- package/node_modules/cdk-nag/lib/packs/nist-800-53-r5.js +1 -1
- package/node_modules/cdk-nag/lib/packs/pci-dss-321.js +1 -1
- package/node_modules/cdk-nag/lib/packs/serverless.js +1 -1
- package/node_modules/cdk-nag/package.json +2 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +77 -0
- package/node_modules/fast-xml-parser/README.md +39 -52
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +36 -20
- package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
- package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
- package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
- package/node_modules/fast-xml-parser/src/fxp.d.ts +52 -9
- package/node_modules/fast-xml-parser/src/fxp.js +11 -8
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-parser/src/util.js +14 -18
- package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5/valueParsers → v6}/EntitiesParser.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +24 -26
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6/valueParsers}/EntitiesParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
- package/node_modules/fast-xml-parser/src/validator.js +5 -5
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +288 -71
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +28 -23
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/CHANGELOG.md +33 -0
- package/node_modules/strnum/README.md +14 -3
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +9 -2
- package/node_modules/strnum/strnum.js +72 -67
- package/node_modules/strnum/strnum.test.js +29 -6
- package/node_modules/strnum/test.js +9 -0
- package/package.json +1 -1
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-flexible-checksums",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-crypto/crc32": "5.2.0",
|
|
37
37
|
"@aws-crypto/crc32c": "5.2.0",
|
|
38
38
|
"@aws-crypto/util": "5.2.0",
|
|
39
|
-
"@aws-sdk/core": "3.
|
|
39
|
+
"@aws-sdk/core": "3.844.0",
|
|
40
40
|
"@aws-sdk/types": "3.840.0",
|
|
41
41
|
"@smithy/is-array-buffer": "^4.0.0",
|
|
42
42
|
"@smithy/node-config-provider": "^4.1.3",
|
|
43
43
|
"@smithy/protocol-http": "^5.1.2",
|
|
44
44
|
"@smithy/types": "^4.3.1",
|
|
45
45
|
"@smithy/util-middleware": "^4.0.4",
|
|
46
|
-
"@smithy/util-stream": "^4.2.
|
|
46
|
+
"@smithy/util-stream": "^4.2.3",
|
|
47
47
|
"@smithy/util-utf8": "^4.0.0",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@smithy/node-http-handler": "^4.0
|
|
51
|
+
"@smithy/node-http-handler": "^4.1.0",
|
|
52
52
|
"concurrently": "7.0.0",
|
|
53
53
|
"downlevel-dts": "0.10.1",
|
|
54
54
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-sdk-s3",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
30
|
+
"@aws-sdk/core": "3.844.0",
|
|
31
31
|
"@aws-sdk/types": "3.840.0",
|
|
32
32
|
"@aws-sdk/util-arn-parser": "3.804.0",
|
|
33
|
-
"@smithy/core": "^3.
|
|
33
|
+
"@smithy/core": "^3.7.0",
|
|
34
34
|
"@smithy/node-config-provider": "^4.1.3",
|
|
35
35
|
"@smithy/protocol-http": "^5.1.2",
|
|
36
36
|
"@smithy/signature-v4": "^5.1.2",
|
|
37
|
-
"@smithy/smithy-client": "^4.4.
|
|
37
|
+
"@smithy/smithy-client": "^4.4.6",
|
|
38
38
|
"@smithy/types": "^4.3.1",
|
|
39
39
|
"@smithy/util-config-provider": "^4.0.0",
|
|
40
40
|
"@smithy/util-middleware": "^4.0.4",
|
|
41
|
-
"@smithy/util-stream": "^4.2.
|
|
41
|
+
"@smithy/util-stream": "^4.2.3",
|
|
42
42
|
"@smithy/util-utf8": "^4.0.0",
|
|
43
43
|
"tslib": "^2.6.2"
|
|
44
44
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
27
|
+
"@aws-sdk/core": "3.844.0",
|
|
28
28
|
"@aws-sdk/types": "3.840.0",
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@smithy/core": "^3.
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.844.0",
|
|
30
|
+
"@smithy/core": "^3.7.0",
|
|
31
31
|
"@smithy/protocol-http": "^5.1.2",
|
|
32
32
|
"@smithy/types": "^4.3.1",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,37 +28,37 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
31
|
+
"@aws-sdk/core": "3.844.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.840.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.844.0",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
37
37
|
"@aws-sdk/types": "3.840.0",
|
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
|
38
|
+
"@aws-sdk/util-endpoints": "3.844.0",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.844.0",
|
|
41
41
|
"@smithy/config-resolver": "^4.1.4",
|
|
42
|
-
"@smithy/core": "^3.
|
|
43
|
-
"@smithy/fetch-http-handler": "^5.0
|
|
42
|
+
"@smithy/core": "^3.7.0",
|
|
43
|
+
"@smithy/fetch-http-handler": "^5.1.0",
|
|
44
44
|
"@smithy/hash-node": "^4.0.4",
|
|
45
45
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
48
|
-
"@smithy/middleware-retry": "^4.1.
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.1.14",
|
|
48
|
+
"@smithy/middleware-retry": "^4.1.15",
|
|
49
49
|
"@smithy/middleware-serde": "^4.0.8",
|
|
50
50
|
"@smithy/middleware-stack": "^4.0.4",
|
|
51
51
|
"@smithy/node-config-provider": "^4.1.3",
|
|
52
|
-
"@smithy/node-http-handler": "^4.0
|
|
52
|
+
"@smithy/node-http-handler": "^4.1.0",
|
|
53
53
|
"@smithy/protocol-http": "^5.1.2",
|
|
54
|
-
"@smithy/smithy-client": "^4.4.
|
|
54
|
+
"@smithy/smithy-client": "^4.4.6",
|
|
55
55
|
"@smithy/types": "^4.3.1",
|
|
56
56
|
"@smithy/url-parser": "^4.0.4",
|
|
57
57
|
"@smithy/util-base64": "^4.0.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.0.22",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.0.22",
|
|
62
62
|
"@smithy/util-endpoints": "^3.0.6",
|
|
63
63
|
"@smithy/util-middleware": "^4.0.4",
|
|
64
64
|
"@smithy/util-retry": "^4.0.6",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
27
|
+
"@aws-sdk/middleware-sdk-s3": "3.844.0",
|
|
28
28
|
"@aws-sdk/types": "3.840.0",
|
|
29
29
|
"@smithy/protocol-http": "^5.1.2",
|
|
30
30
|
"@smithy/signature-v4": "^5.1.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/nested-clients": "3.
|
|
30
|
+
"@aws-sdk/core": "3.844.0",
|
|
31
|
+
"@aws-sdk/nested-clients": "3.844.0",
|
|
32
32
|
"@aws-sdk/types": "3.840.0",
|
|
33
33
|
"@smithy/property-provider": "^4.0.4",
|
|
34
34
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
|
@@ -46,8 +46,10 @@ __export(index_exports, {
|
|
|
46
46
|
getUserAgentPrefix: () => getUserAgentPrefix,
|
|
47
47
|
isIpAddress: () => import_util_endpoints.isIpAddress,
|
|
48
48
|
partition: () => partition,
|
|
49
|
+
resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,
|
|
49
50
|
resolveEndpoint: () => import_util_endpoints.resolveEndpoint,
|
|
50
51
|
setPartitionInfo: () => setPartitionInfo,
|
|
52
|
+
toEndpointV1: () => toEndpointV1,
|
|
51
53
|
useDefaultPartitionInfo: () => useDefaultPartitionInfo
|
|
52
54
|
});
|
|
53
55
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -418,6 +420,32 @@ var awsEndpointFunctions = {
|
|
|
418
420
|
};
|
|
419
421
|
import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
420
422
|
|
|
423
|
+
// src/resolveDefaultAwsRegionalEndpointsConfig.ts
|
|
424
|
+
var import_url_parser = require("@smithy/url-parser");
|
|
425
|
+
var resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {
|
|
426
|
+
if (typeof input.endpointProvider !== "function") {
|
|
427
|
+
throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
|
|
428
|
+
}
|
|
429
|
+
const { endpoint } = input;
|
|
430
|
+
if (endpoint === void 0) {
|
|
431
|
+
input.endpoint = async () => {
|
|
432
|
+
return toEndpointV1(
|
|
433
|
+
input.endpointProvider(
|
|
434
|
+
{
|
|
435
|
+
Region: typeof input.region === "function" ? await input.region() : input.region,
|
|
436
|
+
UseDualStack: typeof input.useDualstackEndpoint === "function" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,
|
|
437
|
+
UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
|
|
438
|
+
Endpoint: void 0
|
|
439
|
+
},
|
|
440
|
+
{ logger: input.logger }
|
|
441
|
+
)
|
|
442
|
+
);
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
return input;
|
|
446
|
+
}, "resolveDefaultAwsRegionalEndpointsConfig");
|
|
447
|
+
var toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), "toEndpointV1");
|
|
448
|
+
|
|
421
449
|
// src/resolveEndpoint.ts
|
|
422
450
|
|
|
423
451
|
|
|
@@ -447,6 +475,8 @@ import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
447
475
|
useDefaultPartitionInfo,
|
|
448
476
|
getUserAgentPrefix,
|
|
449
477
|
isIpAddress,
|
|
478
|
+
resolveDefaultAwsRegionalEndpointsConfig,
|
|
479
|
+
toEndpointV1,
|
|
450
480
|
resolveEndpoint,
|
|
451
481
|
EndpointError
|
|
452
482
|
});
|
package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
2
|
+
export const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
|
|
3
|
+
if (typeof input.endpointProvider !== "function") {
|
|
4
|
+
throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
|
|
5
|
+
}
|
|
6
|
+
const { endpoint } = input;
|
|
7
|
+
if (endpoint === undefined) {
|
|
8
|
+
input.endpoint = async () => {
|
|
9
|
+
return toEndpointV1(input.endpointProvider({
|
|
10
|
+
Region: typeof input.region === "function" ? await input.region() : input.region,
|
|
11
|
+
UseDualStack: typeof input.useDualstackEndpoint === "function"
|
|
12
|
+
? await input.useDualstackEndpoint()
|
|
13
|
+
: input.useDualstackEndpoint,
|
|
14
|
+
UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
|
|
15
|
+
Endpoint: undefined,
|
|
16
|
+
}, { logger: input.logger }));
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
return input;
|
|
20
|
+
};
|
|
21
|
+
export const toEndpointV1 = (endpoint) => parseUrl(endpoint.url);
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Endpoint, EndpointParameters, EndpointV2, Logger, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* This is an additional config resolver layer for clients using the default
|
|
4
|
+
* AWS regional endpoints ruleset. It makes the *resolved* config guarantee the presence of an
|
|
5
|
+
* endpoint provider function. This differs from the base behavior of the Endpoint
|
|
6
|
+
* config resolver, which only normalizes config.endpoint IFF one is provided by the caller.
|
|
7
|
+
*
|
|
8
|
+
* This is not used by AWS SDK clients, but rather
|
|
9
|
+
* generated clients that have the aws.api#service trait. This includes protocol tests
|
|
10
|
+
* and other customers.
|
|
11
|
+
*
|
|
12
|
+
* This resolver is MUTUALLY EXCLUSIVE with the EndpointRequired config resolver from
|
|
13
|
+
* |@smithy/middleware-endpoint.
|
|
14
|
+
*
|
|
15
|
+
* It must be placed after the `resolveEndpointConfig`
|
|
16
|
+
* resolver. This replaces the endpoints.json-based default endpoint provider.
|
|
17
|
+
*
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type DefaultAwsRegionalEndpointsInputConfig = {
|
|
21
|
+
endpoint?: unknown;
|
|
22
|
+
};
|
|
23
|
+
type PreviouslyResolved = {
|
|
24
|
+
logger?: Logger;
|
|
25
|
+
region?: undefined | string | Provider<string | undefined>;
|
|
26
|
+
useFipsEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
27
|
+
useDualstackEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
28
|
+
endpointProvider: (endpointParams: EndpointParameters | DefaultRegionalEndpointParameters, context?: {
|
|
29
|
+
logger?: Logger;
|
|
30
|
+
}) => EndpointV2;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
type DefaultRegionalEndpointParameters = {
|
|
36
|
+
Region?: string | undefined;
|
|
37
|
+
UseDualStack?: boolean | undefined;
|
|
38
|
+
UseFIPS?: boolean | undefined;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export interface DefaultAwsRegionalEndpointsResolvedConfig {
|
|
44
|
+
endpoint: Provider<Endpoint>;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* MUST resolve after `\@smithy/middleware-endpoint`::`resolveEndpointConfig`.
|
|
48
|
+
*
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
export declare const resolveDefaultAwsRegionalEndpointsConfig: <T>(input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved) => T & DefaultAwsRegionalEndpointsResolvedConfig;
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Logger,
|
|
6
|
+
Provider,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export type DefaultAwsRegionalEndpointsInputConfig = {
|
|
9
|
+
endpoint?: unknown;
|
|
10
|
+
};
|
|
11
|
+
type PreviouslyResolved = {
|
|
12
|
+
logger?: Logger;
|
|
13
|
+
region?: undefined | string | Provider<string | undefined>;
|
|
14
|
+
useFipsEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
15
|
+
useDualstackEndpoint?: undefined | boolean | Provider<string | boolean>;
|
|
16
|
+
endpointProvider: (
|
|
17
|
+
endpointParams: EndpointParameters | DefaultRegionalEndpointParameters,
|
|
18
|
+
context?: {
|
|
19
|
+
logger?: Logger;
|
|
20
|
+
}
|
|
21
|
+
) => EndpointV2;
|
|
22
|
+
};
|
|
23
|
+
type DefaultRegionalEndpointParameters = {
|
|
24
|
+
Region?: string | undefined;
|
|
25
|
+
UseDualStack?: boolean | undefined;
|
|
26
|
+
UseFIPS?: boolean | undefined;
|
|
27
|
+
};
|
|
28
|
+
export interface DefaultAwsRegionalEndpointsResolvedConfig {
|
|
29
|
+
endpoint: Provider<Endpoint>;
|
|
30
|
+
}
|
|
31
|
+
export declare const resolveDefaultAwsRegionalEndpointsConfig: <T>(
|
|
32
|
+
input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved
|
|
33
|
+
) => T & DefaultAwsRegionalEndpointsResolvedConfig;
|
|
34
|
+
export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint;
|
|
35
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@aws-sdk/types": "3.840.0",
|
|
28
28
|
"@smithy/types": "^4.3.1",
|
|
29
|
+
"@smithy/url-parser": "^4.0.4",
|
|
29
30
|
"@smithy/util-endpoints": "^3.0.6",
|
|
30
31
|
"tslib": "^2.6.2"
|
|
31
32
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.844.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.844.0",
|
|
25
25
|
"@aws-sdk/types": "3.840.0",
|
|
26
26
|
"@smithy/node-config-provider": "^4.1.3",
|
|
27
27
|
"@smithy/types": "^4.3.1",
|
|
@@ -225,7 +225,10 @@ var HttpProtocol = class {
|
|
|
225
225
|
|
|
226
226
|
// src/submodules/protocols/HttpBindingProtocol.ts
|
|
227
227
|
var HttpBindingProtocol = class extends HttpProtocol {
|
|
228
|
-
async serializeRequest(operationSchema,
|
|
228
|
+
async serializeRequest(operationSchema, _input, context) {
|
|
229
|
+
const input = {
|
|
230
|
+
..._input ?? {}
|
|
231
|
+
};
|
|
229
232
|
const serializer = this.serializer;
|
|
230
233
|
const query = {};
|
|
231
234
|
const headers = {};
|
|
@@ -260,16 +263,12 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
260
263
|
Object.assign(query, Object.fromEntries(traitSearchParams));
|
|
261
264
|
}
|
|
262
265
|
}
|
|
263
|
-
const
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
const memberNs = ns.getMemberSchema(memberName);
|
|
268
|
-
if (memberNs === void 0) {
|
|
266
|
+
for (const [memberName, memberNs] of ns.structIterator()) {
|
|
267
|
+
const memberTraits = memberNs.getMergedTraits() ?? {};
|
|
268
|
+
const inputMemberValue = input[memberName];
|
|
269
|
+
if (inputMemberValue == null) {
|
|
269
270
|
continue;
|
|
270
271
|
}
|
|
271
|
-
const memberTraits = memberNs.getMergedTraits();
|
|
272
|
-
const inputMember = _input[memberName];
|
|
273
272
|
if (memberTraits.httpPayload) {
|
|
274
273
|
const isStreaming = memberNs.isStreaming();
|
|
275
274
|
if (isStreaming) {
|
|
@@ -277,14 +276,15 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
277
276
|
if (isEventStream) {
|
|
278
277
|
throw new Error("serialization of event streams is not yet implemented");
|
|
279
278
|
} else {
|
|
280
|
-
payload =
|
|
279
|
+
payload = inputMemberValue;
|
|
281
280
|
}
|
|
282
281
|
} else {
|
|
283
|
-
serializer.write(memberNs,
|
|
282
|
+
serializer.write(memberNs, inputMemberValue);
|
|
284
283
|
payload = serializer.flush();
|
|
285
284
|
}
|
|
285
|
+
delete input[memberName];
|
|
286
286
|
} else if (memberTraits.httpLabel) {
|
|
287
|
-
serializer.write(memberNs,
|
|
287
|
+
serializer.write(memberNs, inputMemberValue);
|
|
288
288
|
const replacement = serializer.flush();
|
|
289
289
|
if (request.path.includes(`{${memberName}+}`)) {
|
|
290
290
|
request.path = request.path.replace(
|
|
@@ -294,27 +294,27 @@ var HttpBindingProtocol = class extends HttpProtocol {
|
|
|
294
294
|
} else if (request.path.includes(`{${memberName}}`)) {
|
|
295
295
|
request.path = request.path.replace(`{${memberName}}`, extendedEncodeURIComponent(replacement));
|
|
296
296
|
}
|
|
297
|
-
delete
|
|
297
|
+
delete input[memberName];
|
|
298
298
|
} else if (memberTraits.httpHeader) {
|
|
299
|
-
serializer.write(memberNs,
|
|
299
|
+
serializer.write(memberNs, inputMemberValue);
|
|
300
300
|
headers[memberTraits.httpHeader.toLowerCase()] = String(serializer.flush());
|
|
301
|
-
delete
|
|
301
|
+
delete input[memberName];
|
|
302
302
|
} else if (typeof memberTraits.httpPrefixHeaders === "string") {
|
|
303
|
-
for (const [key, val] of Object.entries(
|
|
303
|
+
for (const [key, val] of Object.entries(inputMemberValue)) {
|
|
304
304
|
const amalgam = memberTraits.httpPrefixHeaders + key;
|
|
305
305
|
serializer.write([memberNs.getValueSchema(), { httpHeader: amalgam }], val);
|
|
306
306
|
headers[amalgam.toLowerCase()] = serializer.flush();
|
|
307
307
|
}
|
|
308
|
-
delete
|
|
308
|
+
delete input[memberName];
|
|
309
309
|
} else if (memberTraits.httpQuery || memberTraits.httpQueryParams) {
|
|
310
|
-
this.serializeQuery(memberNs,
|
|
311
|
-
delete
|
|
310
|
+
this.serializeQuery(memberNs, inputMemberValue, query);
|
|
311
|
+
delete input[memberName];
|
|
312
312
|
} else {
|
|
313
313
|
hasNonHttpBindingMember = true;
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
if (hasNonHttpBindingMember && input) {
|
|
317
|
-
serializer.write(schema,
|
|
317
|
+
serializer.write(schema, input);
|
|
318
318
|
payload = serializer.flush();
|
|
319
319
|
}
|
|
320
320
|
request.headers = headers;
|