@jjrawlins/cdk-iam-policy-builder-helper 0.0.36 → 0.0.38

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.
Files changed (181) hide show
  1. package/.jsii +4 -4
  2. package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
  3. package/cdk-iam-policy-builder-helper/version +1 -1
  4. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +90 -90
  5. package/node_modules/@aws-sdk/client-iam/dist-es/protocols/Aws_query.js +90 -90
  6. package/node_modules/@aws-sdk/client-iam/package.json +18 -18
  7. package/node_modules/@aws-sdk/client-sso/package.json +17 -17
  8. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -75
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -8
  10. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +0 -4
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +0 -6
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -1
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +10 -6
  14. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +0 -6
  15. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -13
  16. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +2 -13
  17. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -9
  18. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +0 -2
  19. package/node_modules/@aws-sdk/core/package.json +5 -7
  20. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -3
  21. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -5
  22. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -9
  23. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -8
  24. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -3
  25. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -5
  26. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -4
  27. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -2
  28. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -2
  29. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -2
  30. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -5
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +29 -2
  32. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +13 -0
  33. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +2 -0
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -1
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -1
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +36 -3
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +15 -0
  39. package/node_modules/@aws-sdk/nested-clients/package.json +18 -17
  40. package/node_modules/@aws-sdk/region-config-resolver/package.json +3 -2
  41. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  42. package/node_modules/@aws-sdk/types/package.json +2 -1
  43. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +4 -4
  44. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +4 -4
  45. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +4 -4
  46. package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
  47. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -1
  48. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -2
  49. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -3
  50. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +6 -1
  51. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +18 -0
  52. package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +1 -0
  53. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +54 -0
  54. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +15 -0
  55. package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +4 -0
  56. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +1 -0
  57. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -0
  58. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -0
  59. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts +9 -0
  60. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +4 -0
  61. package/node_modules/@aws-sdk/xml-builder/package.json +10 -1
  62. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -5
  63. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -1
  64. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +15 -5
  65. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +1 -1
  66. package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +1 -1
  67. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +1 -1
  68. package/node_modules/@smithy/core/package.json +3 -4
  69. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  70. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +1 -1
  71. package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +1 -1
  72. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -1
  73. package/node_modules/@smithy/middleware-retry/package.json +4 -5
  74. package/node_modules/@smithy/smithy-client/package.json +3 -3
  75. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  76. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  77. package/node_modules/@smithy/uuid/LICENSE +201 -0
  78. package/node_modules/@smithy/uuid/README.md +10 -0
  79. package/node_modules/@smithy/uuid/dist-cjs/index.js +45 -0
  80. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.browser.js +1 -0
  81. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  82. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js +4 -0
  83. package/node_modules/@smithy/uuid/dist-cjs/v4.js +1 -0
  84. package/node_modules/@smithy/uuid/dist-es/index.js +1 -0
  85. package/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js +1 -0
  86. package/node_modules/@smithy/uuid/dist-es/randomUUID.js +2 -0
  87. package/node_modules/@smithy/uuid/dist-es/randomUUID.native.js +1 -0
  88. package/node_modules/@smithy/uuid/dist-es/v4.js +31 -0
  89. package/node_modules/@smithy/uuid/dist-types/index.d.ts +1 -0
  90. package/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts +1 -0
  91. package/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts +2 -0
  92. package/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts +1 -0
  93. package/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts +1 -0
  94. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts +1 -0
  95. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts +2 -0
  96. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts +1 -0
  97. package/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts +19 -0
  98. package/node_modules/@smithy/uuid/dist-types/v4.d.ts +19 -0
  99. package/node_modules/@smithy/uuid/package.json +66 -0
  100. package/package.json +4 -4
  101. package/node_modules/@types/uuid/LICENSE +0 -21
  102. package/node_modules/@types/uuid/README.md +0 -15
  103. package/node_modules/@types/uuid/index.d.mts +0 -12
  104. package/node_modules/@types/uuid/index.d.ts +0 -86
  105. package/node_modules/@types/uuid/package.json +0 -54
  106. package/node_modules/uuid/CHANGELOG.md +0 -274
  107. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  108. package/node_modules/uuid/LICENSE.md +0 -9
  109. package/node_modules/uuid/README.md +0 -466
  110. package/node_modules/uuid/dist/bin/uuid +0 -2
  111. package/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
  112. package/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
  113. package/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
  114. package/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
  115. package/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
  116. package/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
  117. package/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
  118. package/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
  119. package/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
  120. package/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
  121. package/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
  122. package/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
  123. package/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
  124. package/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
  125. package/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
  126. package/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
  127. package/node_modules/uuid/dist/esm-browser/index.js +0 -9
  128. package/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  129. package/node_modules/uuid/dist/esm-browser/native.js +0 -4
  130. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  131. package/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  132. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  133. package/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  134. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  135. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  136. package/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  137. package/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  138. package/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  139. package/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  140. package/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  141. package/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  142. package/node_modules/uuid/dist/esm-browser/version.js +0 -11
  143. package/node_modules/uuid/dist/esm-node/index.js +0 -9
  144. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  145. package/node_modules/uuid/dist/esm-node/native.js +0 -4
  146. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  147. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  148. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  149. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  150. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  151. package/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  152. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  153. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  154. package/node_modules/uuid/dist/esm-node/v35.js +0 -66
  155. package/node_modules/uuid/dist/esm-node/v4.js +0 -29
  156. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  157. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  158. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  159. package/node_modules/uuid/dist/index.js +0 -79
  160. package/node_modules/uuid/dist/md5-browser.js +0 -223
  161. package/node_modules/uuid/dist/md5.js +0 -23
  162. package/node_modules/uuid/dist/native-browser.js +0 -11
  163. package/node_modules/uuid/dist/native.js +0 -15
  164. package/node_modules/uuid/dist/nil.js +0 -8
  165. package/node_modules/uuid/dist/parse.js +0 -45
  166. package/node_modules/uuid/dist/regex.js +0 -8
  167. package/node_modules/uuid/dist/rng-browser.js +0 -25
  168. package/node_modules/uuid/dist/rng.js +0 -24
  169. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  170. package/node_modules/uuid/dist/sha1.js +0 -23
  171. package/node_modules/uuid/dist/stringify.js +0 -44
  172. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  173. package/node_modules/uuid/dist/v1.js +0 -107
  174. package/node_modules/uuid/dist/v3.js +0 -16
  175. package/node_modules/uuid/dist/v35.js +0 -80
  176. package/node_modules/uuid/dist/v4.js +0 -43
  177. package/node_modules/uuid/dist/v5.js +0 -16
  178. package/node_modules/uuid/dist/validate.js +0 -17
  179. package/node_modules/uuid/dist/version.js +0 -21
  180. package/node_modules/uuid/package.json +0 -135
  181. package/node_modules/uuid/wrapper.mjs +0 -10
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.891.0",
3
+ "version": "3.896.0",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -20,6 +20,7 @@
20
20
  "engines": {
21
21
  "node": ">=18.0.0"
22
22
  },
23
+ "sideEffects": false,
23
24
  "author": {
24
25
  "name": "AWS SDK for JavaScript Team",
25
26
  "url": "https://aws.amazon.com/javascript/"
@@ -28,37 +29,37 @@
28
29
  "dependencies": {
29
30
  "@aws-crypto/sha256-browser": "5.2.0",
30
31
  "@aws-crypto/sha256-js": "5.2.0",
31
- "@aws-sdk/core": "3.890.0",
32
- "@aws-sdk/middleware-host-header": "3.891.0",
33
- "@aws-sdk/middleware-logger": "3.891.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.891.0",
35
- "@aws-sdk/middleware-user-agent": "3.891.0",
36
- "@aws-sdk/region-config-resolver": "3.890.0",
37
- "@aws-sdk/types": "3.887.0",
38
- "@aws-sdk/util-endpoints": "3.891.0",
39
- "@aws-sdk/util-user-agent-browser": "3.887.0",
40
- "@aws-sdk/util-user-agent-node": "3.891.0",
32
+ "@aws-sdk/core": "3.896.0",
33
+ "@aws-sdk/middleware-host-header": "3.893.0",
34
+ "@aws-sdk/middleware-logger": "3.893.0",
35
+ "@aws-sdk/middleware-recursion-detection": "3.893.0",
36
+ "@aws-sdk/middleware-user-agent": "3.896.0",
37
+ "@aws-sdk/region-config-resolver": "3.893.0",
38
+ "@aws-sdk/types": "3.893.0",
39
+ "@aws-sdk/util-endpoints": "3.895.0",
40
+ "@aws-sdk/util-user-agent-browser": "3.893.0",
41
+ "@aws-sdk/util-user-agent-node": "3.896.0",
41
42
  "@smithy/config-resolver": "^4.2.2",
42
- "@smithy/core": "^3.11.0",
43
+ "@smithy/core": "^3.12.0",
43
44
  "@smithy/fetch-http-handler": "^5.2.1",
44
45
  "@smithy/hash-node": "^4.1.1",
45
46
  "@smithy/invalid-dependency": "^4.1.1",
46
47
  "@smithy/middleware-content-length": "^4.1.1",
47
- "@smithy/middleware-endpoint": "^4.2.2",
48
- "@smithy/middleware-retry": "^4.2.3",
48
+ "@smithy/middleware-endpoint": "^4.2.4",
49
+ "@smithy/middleware-retry": "^4.3.0",
49
50
  "@smithy/middleware-serde": "^4.1.1",
50
51
  "@smithy/middleware-stack": "^4.1.1",
51
52
  "@smithy/node-config-provider": "^4.2.2",
52
53
  "@smithy/node-http-handler": "^4.2.1",
53
54
  "@smithy/protocol-http": "^5.2.1",
54
- "@smithy/smithy-client": "^4.6.2",
55
+ "@smithy/smithy-client": "^4.6.4",
55
56
  "@smithy/types": "^4.5.0",
56
57
  "@smithy/url-parser": "^4.1.1",
57
58
  "@smithy/util-base64": "^4.1.0",
58
59
  "@smithy/util-body-length-browser": "^4.1.0",
59
60
  "@smithy/util-body-length-node": "^4.1.0",
60
- "@smithy/util-defaults-mode-browser": "^4.1.2",
61
- "@smithy/util-defaults-mode-node": "^4.1.2",
61
+ "@smithy/util-defaults-mode-browser": "^4.1.4",
62
+ "@smithy/util-defaults-mode-node": "^4.1.4",
62
63
  "@smithy/util-endpoints": "^3.1.2",
63
64
  "@smithy/util-middleware": "^4.1.1",
64
65
  "@smithy/util-retry": "^4.1.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.890.0",
3
+ "version": "3.893.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 region-config-resolver",
@@ -16,13 +16,14 @@
16
16
  "main": "./dist-cjs/index.js",
17
17
  "module": "./dist-es/index.js",
18
18
  "types": "./dist-types/index.d.ts",
19
+ "sideEffects": false,
19
20
  "author": {
20
21
  "name": "AWS SDK for JavaScript Team",
21
22
  "url": "https://aws.amazon.com/javascript/"
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@aws-sdk/types": "3.887.0",
26
+ "@aws-sdk/types": "3.893.0",
26
27
  "@smithy/node-config-provider": "^4.2.2",
27
28
  "@smithy/types": "^4.5.0",
28
29
  "@smithy/util-config-provider": "^4.1.0",
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.891.0",
3
+ "version": "3.896.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
7
- "sideEffects": false,
8
7
  "scripts": {
9
8
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
10
9
  "build:cjs": "node ../../scripts/compilation/inline token-providers",
@@ -23,15 +22,16 @@
23
22
  "aws",
24
23
  "token"
25
24
  ],
25
+ "sideEffects": false,
26
26
  "author": {
27
27
  "name": "AWS SDK for JavaScript Team",
28
28
  "url": "https://aws.amazon.com/javascript/"
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "3.890.0",
33
- "@aws-sdk/nested-clients": "3.891.0",
34
- "@aws-sdk/types": "3.887.0",
32
+ "@aws-sdk/core": "3.896.0",
33
+ "@aws-sdk/nested-clients": "3.896.0",
34
+ "@aws-sdk/types": "3.893.0",
35
35
  "@smithy/property-provider": "^4.1.1",
36
36
  "@smithy/shared-ini-file-loader": "^4.2.0",
37
37
  "@smithy/types": "^4.5.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.887.0",
3
+ "version": "3.893.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -16,6 +16,7 @@
16
16
  "extract:docs": "api-extractor run --local",
17
17
  "test": "tsc -p tsconfig.test.json"
18
18
  },
19
+ "sideEffects": false,
19
20
  "author": {
20
21
  "name": "AWS SDK for JavaScript Team",
21
22
  "url": "https://aws.amazon.com/javascript/"
@@ -271,7 +271,7 @@ var partitions_default = {
271
271
  dualStackDnsSuffix: "api.aws.ic.gov",
272
272
  implicitGlobalRegion: "us-iso-east-1",
273
273
  name: "aws-iso",
274
- supportsDualStack: false,
274
+ supportsDualStack: true,
275
275
  supportsFIPS: true
276
276
  },
277
277
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
@@ -293,7 +293,7 @@ var partitions_default = {
293
293
  dualStackDnsSuffix: "api.aws.scloud",
294
294
  implicitGlobalRegion: "us-isob-east-1",
295
295
  name: "aws-iso-b",
296
- supportsDualStack: false,
296
+ supportsDualStack: true,
297
297
  supportsFIPS: true
298
298
  },
299
299
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
@@ -312,7 +312,7 @@ var partitions_default = {
312
312
  dualStackDnsSuffix: "api.cloud-aws.adc-e.uk",
313
313
  implicitGlobalRegion: "eu-isoe-west-1",
314
314
  name: "aws-iso-e",
315
- supportsDualStack: false,
315
+ supportsDualStack: true,
316
316
  supportsFIPS: true
317
317
  },
318
318
  regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$",
@@ -331,7 +331,7 @@ var partitions_default = {
331
331
  dualStackDnsSuffix: "api.aws.hci.ic.gov",
332
332
  implicitGlobalRegion: "us-isof-south-1",
333
333
  name: "aws-iso-f",
334
- supportsDualStack: false,
334
+ supportsDualStack: true,
335
335
  supportsFIPS: true
336
336
  },
337
337
  regionRegex: "^us\\-isof\\-\\w+\\-\\d+$",
@@ -162,7 +162,7 @@
162
162
  "dualStackDnsSuffix": "api.aws.ic.gov",
163
163
  "implicitGlobalRegion": "us-iso-east-1",
164
164
  "name": "aws-iso",
165
- "supportsDualStack": false,
165
+ "supportsDualStack": true,
166
166
  "supportsFIPS": true
167
167
  },
168
168
  "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$",
@@ -184,7 +184,7 @@
184
184
  "dualStackDnsSuffix": "api.aws.scloud",
185
185
  "implicitGlobalRegion": "us-isob-east-1",
186
186
  "name": "aws-iso-b",
187
- "supportsDualStack": false,
187
+ "supportsDualStack": true,
188
188
  "supportsFIPS": true
189
189
  },
190
190
  "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$",
@@ -203,7 +203,7 @@
203
203
  "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk",
204
204
  "implicitGlobalRegion": "eu-isoe-west-1",
205
205
  "name": "aws-iso-e",
206
- "supportsDualStack": false,
206
+ "supportsDualStack": true,
207
207
  "supportsFIPS": true
208
208
  },
209
209
  "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$",
@@ -222,7 +222,7 @@
222
222
  "dualStackDnsSuffix": "api.aws.hci.ic.gov",
223
223
  "implicitGlobalRegion": "us-isof-south-1",
224
224
  "name": "aws-iso-f",
225
- "supportsDualStack": false,
225
+ "supportsDualStack": true,
226
226
  "supportsFIPS": true
227
227
  },
228
228
  "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
@@ -162,7 +162,7 @@
162
162
  "dualStackDnsSuffix": "api.aws.ic.gov",
163
163
  "implicitGlobalRegion": "us-iso-east-1",
164
164
  "name": "aws-iso",
165
- "supportsDualStack": false,
165
+ "supportsDualStack": true,
166
166
  "supportsFIPS": true
167
167
  },
168
168
  "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$",
@@ -184,7 +184,7 @@
184
184
  "dualStackDnsSuffix": "api.aws.scloud",
185
185
  "implicitGlobalRegion": "us-isob-east-1",
186
186
  "name": "aws-iso-b",
187
- "supportsDualStack": false,
187
+ "supportsDualStack": true,
188
188
  "supportsFIPS": true
189
189
  },
190
190
  "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$",
@@ -203,7 +203,7 @@
203
203
  "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk",
204
204
  "implicitGlobalRegion": "eu-isoe-west-1",
205
205
  "name": "aws-iso-e",
206
- "supportsDualStack": false,
206
+ "supportsDualStack": true,
207
207
  "supportsFIPS": true
208
208
  },
209
209
  "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$",
@@ -222,7 +222,7 @@
222
222
  "dualStackDnsSuffix": "api.aws.hci.ic.gov",
223
223
  "implicitGlobalRegion": "us-isof-south-1",
224
224
  "name": "aws-iso-f",
225
- "supportsDualStack": false,
225
+ "supportsDualStack": true,
226
226
  "supportsFIPS": true
227
227
  },
228
228
  "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.891.0",
3
+ "version": "3.895.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -18,14 +18,14 @@
18
18
  "test:watch": "yarn g:vitest watch",
19
19
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
20
20
  },
21
+ "sideEffects": true,
21
22
  "author": {
22
23
  "name": "AWS SDK for JavaScript Team",
23
24
  "url": "https://aws.amazon.com/javascript/"
24
25
  },
25
26
  "license": "Apache-2.0",
26
- "sideEffects": true,
27
27
  "dependencies": {
28
- "@aws-sdk/types": "3.887.0",
28
+ "@aws-sdk/types": "3.893.0",
29
29
  "@smithy/types": "^4.5.0",
30
30
  "@smithy/url-parser": "^4.1.1",
31
31
  "@smithy/util-endpoints": "^3.1.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-locate-window",
3
- "version": "3.873.0",
3
+ "version": "3.893.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-locate-window",
@@ -12,6 +12,7 @@
12
12
  "test": "yarn g:vitest run",
13
13
  "test:watch": "yarn g:vitest watch"
14
14
  },
15
+ "sideEffects": false,
15
16
  "author": {
16
17
  "name": "AWS SDK for JavaScript Team",
17
18
  "url": "https://aws.amazon.com/javascript/"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.887.0",
3
+ "version": "3.893.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-browser",
@@ -16,6 +16,7 @@
16
16
  "module": "./dist-es/index.js",
17
17
  "browser": "./dist-es/index.js",
18
18
  "types": "./dist-types/index.d.ts",
19
+ "sideEffects": false,
19
20
  "author": {
20
21
  "name": "AWS SDK for JavaScript Team",
21
22
  "url": "https://aws.amazon.com/javascript/"
@@ -23,7 +24,7 @@
23
24
  "license": "Apache-2.0",
24
25
  "react-native": "dist-es/index.native.js",
25
26
  "dependencies": {
26
- "@aws-sdk/types": "3.887.0",
27
+ "@aws-sdk/types": "3.893.0",
27
28
  "@smithy/types": "^4.5.0",
28
29
  "bowser": "^2.11.0",
29
30
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.891.0",
3
+ "version": "3.896.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",
@@ -15,14 +15,15 @@
15
15
  "main": "./dist-cjs/index.js",
16
16
  "module": "./dist-es/index.js",
17
17
  "types": "./dist-types/index.d.ts",
18
+ "sideEffects": false,
18
19
  "author": {
19
20
  "name": "AWS SDK for JavaScript Team",
20
21
  "url": "https://aws.amazon.com/javascript/"
21
22
  },
22
23
  "license": "Apache-2.0",
23
24
  "dependencies": {
24
- "@aws-sdk/middleware-user-agent": "3.891.0",
25
- "@aws-sdk/types": "3.887.0",
25
+ "@aws-sdk/middleware-user-agent": "3.896.0",
26
+ "@aws-sdk/types": "3.893.0",
26
27
  "@smithy/node-config-provider": "^4.2.2",
27
28
  "@smithy/types": "^4.5.0",
28
29
  "tslib": "^2.6.2"
@@ -22,7 +22,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var index_exports = {};
23
23
  __export(index_exports, {
24
24
  XmlNode: () => XmlNode,
25
- XmlText: () => XmlText
25
+ XmlText: () => XmlText,
26
+ parseXML: () => import_xml_parser.parseXML
26
27
  });
27
28
  module.exports = __toCommonJS(index_exports);
28
29
 
@@ -164,9 +165,13 @@ var XmlNode = class _XmlNode {
164
165
  return xmlText += !hasChildren ? "/>" : `>${this.children.map((c) => c.toString()).join("")}</${this.name}>`;
165
166
  }
166
167
  };
168
+
169
+ // src/index.ts
170
+ var import_xml_parser = require("././xml-parser");
167
171
  // Annotate the CommonJS export names for ESM import in node:
168
172
 
169
173
  0 && (module.exports = {
174
+ parseXML,
170
175
  XmlNode,
171
176
  XmlText
172
177
  });
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.parseXML = parseXML;
4
+ const fast_xml_parser_1 = require("fast-xml-parser");
5
+ const parser = new fast_xml_parser_1.XMLParser({
6
+ attributeNamePrefix: "",
7
+ htmlEntities: true,
8
+ ignoreAttributes: false,
9
+ ignoreDeclaration: true,
10
+ parseTagValue: false,
11
+ trimValues: false,
12
+ tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
13
+ });
14
+ parser.addEntity("#xD", "\r");
15
+ parser.addEntity("#10", "\n");
16
+ function parseXML(xmlString) {
17
+ return parser.parse(xmlString, true);
18
+ }
@@ -1,2 +1,3 @@
1
1
  export * from "./XmlNode";
2
2
  export * from "./XmlText";
3
+ export { parseXML } from "./xml-parser";
@@ -0,0 +1,54 @@
1
+ const parser = new DOMParser();
2
+ export function parseXML(xmlString) {
3
+ const xmlDocument = parser.parseFromString(xmlString, "application/xml");
4
+ if (xmlDocument.getElementsByTagName("parsererror").length > 0) {
5
+ throw new Error("DOMParser XML parsing error.");
6
+ }
7
+ const xmlToObj = (node) => {
8
+ if (node.nodeType === Node.TEXT_NODE) {
9
+ if (node.textContent?.trim()) {
10
+ return node.textContent;
11
+ }
12
+ }
13
+ if (node.nodeType === Node.ELEMENT_NODE) {
14
+ const element = node;
15
+ if (element.attributes.length === 0 && element.childNodes.length === 0) {
16
+ return "";
17
+ }
18
+ const obj = {};
19
+ const attributes = Array.from(element.attributes);
20
+ for (const attr of attributes) {
21
+ obj[`${attr.name}`] = attr.value;
22
+ }
23
+ const childNodes = Array.from(element.childNodes);
24
+ for (const child of childNodes) {
25
+ const childResult = xmlToObj(child);
26
+ if (childResult != null) {
27
+ const childName = child.nodeName;
28
+ if (childNodes.length === 1 && attributes.length === 0 && childName === "#text") {
29
+ return childResult;
30
+ }
31
+ if (obj[childName]) {
32
+ if (Array.isArray(obj[childName])) {
33
+ obj[childName].push(childResult);
34
+ }
35
+ else {
36
+ obj[childName] = [obj[childName], childResult];
37
+ }
38
+ }
39
+ else {
40
+ obj[childName] = childResult;
41
+ }
42
+ }
43
+ else if (childNodes.length === 1 && attributes.length === 0) {
44
+ return element.textContent;
45
+ }
46
+ }
47
+ return obj;
48
+ }
49
+ return null;
50
+ };
51
+ return {
52
+ [xmlDocument.documentElement.nodeName]: xmlToObj(xmlDocument.documentElement),
53
+ };
54
+ }
@@ -0,0 +1,15 @@
1
+ import { XMLParser } from "fast-xml-parser";
2
+ const parser = new XMLParser({
3
+ attributeNamePrefix: "",
4
+ htmlEntities: true,
5
+ ignoreAttributes: false,
6
+ ignoreDeclaration: true,
7
+ parseTagValue: false,
8
+ trimValues: false,
9
+ tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
10
+ });
11
+ parser.addEntity("#xD", "\r");
12
+ parser.addEntity("#10", "\n");
13
+ export function parseXML(xmlString) {
14
+ return parser.parse(xmlString, true);
15
+ }
@@ -6,3 +6,7 @@ export * from "./XmlNode";
6
6
  * @internal
7
7
  */
8
8
  export * from "./XmlText";
9
+ /**
10
+ * @internal
11
+ */
12
+ export { parseXML } from "./xml-parser";
@@ -1,2 +1,3 @@
1
1
  export * from "./XmlNode";
2
2
  export * from "./XmlText";
3
+ export { parseXML } from "./xml-parser";
@@ -0,0 +1 @@
1
+ export declare function parseXML(xmlString: string): any;
@@ -0,0 +1 @@
1
+ export declare function parseXML(xmlString: string): any;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Cases where this differs from fast-xml-parser:
3
+ *
4
+ * 1. Mixing text with nested tags (does not occur in AWS REST XML).
5
+ * <mixed-text> hello, <bold>world</bold>, how are you?</mixed-text>
6
+ *
7
+ * @internal
8
+ */
9
+ export declare function parseXML(xmlString: string): any;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @internal
3
+ */
4
+ export declare function parseXML(xmlString: string): any;
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.887.0",
3
+ "version": "3.894.0",
4
4
  "description": "XML builder for the AWS SDK",
5
5
  "dependencies": {
6
6
  "@smithy/types": "^4.5.0",
7
+ "fast-xml-parser": "5.2.5",
7
8
  "tslib": "^2.6.2"
8
9
  },
9
10
  "scripts": {
@@ -17,6 +18,7 @@
17
18
  "test": "yarn g:vitest run",
18
19
  "test:watch": "yarn g:vitest watch"
19
20
  },
21
+ "sideEffects": false,
20
22
  "author": {
21
23
  "name": "AWS SDK for JavaScript Team",
22
24
  "url": "https://aws.amazon.com/javascript/"
@@ -38,6 +40,13 @@
38
40
  "files": [
39
41
  "dist-*/**"
40
42
  ],
43
+ "browser": {
44
+ "./dist-es/xml-parser": "./dist-es/xml-parser.browser"
45
+ },
46
+ "react-native": {
47
+ "./dist-es/xml-parser": "./dist-es/xml-parser",
48
+ "./dist-cjs/xml-parser": "./dist-cjs/xml-parser"
49
+ },
41
50
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/xml-builder",
42
51
  "repository": {
43
52
  "type": "git",
@@ -427,8 +427,9 @@ var NormalizedSchema = class _NormalizedSchema {
427
427
  this.memberTraits = 0;
428
428
  }
429
429
  if (schema instanceof _NormalizedSchema) {
430
+ const computedMemberTraits = this.memberTraits;
430
431
  Object.assign(this, schema);
431
- this.memberTraits = Object.assign({}, schema.getMemberTraits(), this.getMemberTraits());
432
+ this.memberTraits = Object.assign({}, computedMemberTraits, schema.getMemberTraits(), this.getMemberTraits());
432
433
  this.normalizedTraits = void 0;
433
434
  this.memberName = memberName ?? schema.memberName;
434
435
  return;
@@ -592,10 +593,19 @@ var NormalizedSchema = class _NormalizedSchema {
592
593
  * @returns whether the schema has the idempotencyToken trait.
593
594
  */
594
595
  isIdempotencyToken() {
595
- if (typeof this.traits === "number") {
596
- return (this.traits & 4) === 4;
597
- } else if (typeof this.traits === "object") {
598
- return !!this.traits.idempotencyToken;
596
+ if (this.normalizedTraits) {
597
+ return !!this.normalizedTraits.idempotencyToken;
598
+ }
599
+ for (const traits of [this.traits, this.memberTraits]) {
600
+ if (typeof traits === "number") {
601
+ if ((traits & 4) === 4) {
602
+ return true;
603
+ }
604
+ } else if (typeof traits === "object") {
605
+ if (!!traits.idempotencyToken) {
606
+ return true;
607
+ }
608
+ }
599
609
  }
600
610
  return false;
601
611
  }
@@ -518,7 +518,7 @@ var stripLeadingZeroes = (value) => {
518
518
  };
519
519
 
520
520
  // src/submodules/serde/generateIdempotencyToken.ts
521
- var import_uuid = require("uuid");
521
+ var import_uuid = require("@smithy/uuid");
522
522
 
523
523
  // src/submodules/serde/lazy-json.ts
524
524
  var LazyJsonString = function LazyJsonString2(val) {
@@ -31,8 +31,9 @@ export class NormalizedSchema {
31
31
  this.memberTraits = 0;
32
32
  }
33
33
  if (schema instanceof NormalizedSchema) {
34
+ const computedMemberTraits = this.memberTraits;
34
35
  Object.assign(this, schema);
35
- this.memberTraits = Object.assign({}, schema.getMemberTraits(), this.getMemberTraits());
36
+ this.memberTraits = Object.assign({}, computedMemberTraits, schema.getMemberTraits(), this.getMemberTraits());
36
37
  this.normalizedTraits = void 0;
37
38
  this.memberName = memberName ?? schema.memberName;
38
39
  return;
@@ -170,11 +171,20 @@ export class NormalizedSchema {
170
171
  return this.getSchema() === SCHEMA.STREAMING_BLOB;
171
172
  }
172
173
  isIdempotencyToken() {
173
- if (typeof this.traits === "number") {
174
- return (this.traits & 0b0100) === 0b0100;
174
+ if (this.normalizedTraits) {
175
+ return !!this.normalizedTraits.idempotencyToken;
175
176
  }
176
- else if (typeof this.traits === "object") {
177
- return !!this.traits.idempotencyToken;
177
+ for (const traits of [this.traits, this.memberTraits]) {
178
+ if (typeof traits === "number") {
179
+ if ((traits & 0b0100) === 0b0100) {
180
+ return true;
181
+ }
182
+ }
183
+ else if (typeof traits === "object") {
184
+ if (!!traits.idempotencyToken) {
185
+ return true;
186
+ }
187
+ }
178
188
  }
179
189
  return false;
180
190
  }
@@ -1,2 +1,2 @@
1
- import { v4 as generateIdempotencyToken } from "uuid";
1
+ import { v4 as generateIdempotencyToken } from "@smithy/uuid";
2
2
  export { generateIdempotencyToken };
@@ -1,2 +1,2 @@
1
- import { v4 as generateIdempotencyToken } from "uuid";
1
+ import { v4 as generateIdempotencyToken } from "@smithy/uuid";
2
2
  export { generateIdempotencyToken };
@@ -1,2 +1,2 @@
1
- import { v4 as generateIdempotencyToken } from "uuid";
1
+ import { v4 as generateIdempotencyToken } from "@smithy/uuid";
2
2
  export { generateIdempotencyToken };