@cdk8s/awscdk-resolver 0.0.608 → 0.0.610

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 (145) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +3 -3
  4. package/node_modules/@aws-sdk/core/package.json +2 -2
  5. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  6. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  7. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  8. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  9. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  10. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  11. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  12. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  13. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  14. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  15. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  16. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  19. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  20. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +1 -1
  21. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +233 -43
  22. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
  23. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
  24. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
  25. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
  26. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  27. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +518 -371
  28. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1 -1
  29. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
  30. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
  31. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
  32. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
  33. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
  34. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
  35. package/node_modules/@smithy/core/package.json +1 -1
  36. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  37. package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
  38. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  39. package/node_modules/@smithy/signature-v4/package.json +2 -2
  40. package/package.json +6 -6
  41. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -333
  42. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
  43. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
  44. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
  45. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
  46. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
  47. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
  48. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  49. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  50. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  51. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
  52. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  53. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  54. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  55. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  56. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
  57. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
  58. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
  59. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
  60. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
  61. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
  62. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
  63. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
  64. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
  65. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
  66. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
  67. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
  68. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
  69. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
  70. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
  71. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
  72. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
  73. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
  74. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  75. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
  76. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
  77. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
  78. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
  79. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
  80. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
  81. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
  82. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
  83. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
  84. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
  85. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
  86. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
  87. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
  88. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
  89. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
  90. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
  91. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
  92. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
  93. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
  94. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
  95. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
  96. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
  97. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
  98. package/node_modules/@nodable/entities/README.md +0 -41
  99. package/node_modules/@nodable/entities/package.json +0 -57
  100. package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
  101. package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
  102. package/node_modules/@nodable/entities/src/entities.js +0 -1159
  103. package/node_modules/@nodable/entities/src/entityTries.js +0 -49
  104. package/node_modules/@nodable/entities/src/index.d.ts +0 -341
  105. package/node_modules/@nodable/entities/src/index.js +0 -29
  106. package/node_modules/anynum/LICENSE +0 -21
  107. package/node_modules/anynum/README.md +0 -142
  108. package/node_modules/anynum/anynum.js +0 -135
  109. package/node_modules/anynum/digitTable.js +0 -116
  110. package/node_modules/anynum/package.json +0 -42
  111. package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
  112. package/node_modules/fast-xml-builder/LICENSE +0 -21
  113. package/node_modules/fast-xml-builder/README.md +0 -74
  114. package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
  115. package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
  116. package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
  117. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
  118. package/node_modules/fast-xml-builder/package.json +0 -81
  119. package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
  120. package/node_modules/fast-xml-builder/src/fxb.js +0 -599
  121. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
  122. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
  123. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  124. package/node_modules/fast-xml-builder/src/util.js +0 -16
  125. package/node_modules/path-expression-matcher/LICENSE +0 -21
  126. package/node_modules/path-expression-matcher/README.md +0 -947
  127. package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
  128. package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -715
  129. package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
  130. package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
  131. package/node_modules/path-expression-matcher/package.json +0 -79
  132. package/node_modules/path-expression-matcher/src/Expression.js +0 -232
  133. package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -225
  134. package/node_modules/path-expression-matcher/src/Matcher.js +0 -660
  135. package/node_modules/path-expression-matcher/src/index.d.ts +0 -589
  136. package/node_modules/path-expression-matcher/src/index.js +0 -29
  137. package/node_modules/strnum/CHANGELOG.md +0 -51
  138. package/node_modules/strnum/LICENSE +0 -21
  139. package/node_modules/strnum/README.md +0 -113
  140. package/node_modules/strnum/package.json +0 -36
  141. package/node_modules/strnum/strnum.js +0 -171
  142. package/node_modules/xml-naming/README.md +0 -189
  143. package/node_modules/xml-naming/package.json +0 -54
  144. package/node_modules/xml-naming/src/index.d.ts +0 -74
  145. package/node_modules/xml-naming/src/index.js +0 -270
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.1073.0"
10
+ "@aws-sdk/client-cloudformation": "^3.1075.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -4082,6 +4082,6 @@
4082
4082
  "symbolId": "src/resolve:AwsCdkResolver"
4083
4083
  }
4084
4084
  },
4085
- "version": "0.0.608",
4086
- "fingerprint": "2OTHYRy6a1IxUxiSmtHE3CovQ9HDuEOLreTUYtITAbI="
4085
+ "version": "0.0.610",
4086
+ "fingerprint": "gzTmxvUO7yJ34fMkeOLr5wih48D2XAxEj5z81DqkaC0="
4087
4087
  }
package/lib/resolve.js CHANGED
@@ -39,7 +39,7 @@ const child_process_1 = require("child_process");
39
39
  const path = __importStar(require("path"));
40
40
  const aws_cdk_lib_1 = require("aws-cdk-lib");
41
41
  class AwsCdkResolver {
42
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.608" };
42
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.610" };
43
43
  resolve(context) {
44
44
  if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
45
45
  return;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.1073.0",
4
+ "version": "3.1075.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -23,8 +23,8 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.974.22",
27
- "@aws-sdk/credential-provider-node": "^3.972.57",
26
+ "@aws-sdk/core": "^3.974.23",
27
+ "@aws-sdk/credential-provider-node": "^3.972.58",
28
28
  "@aws-sdk/types": "^3.973.13",
29
29
  "@smithy/core": "^3.24.6",
30
30
  "@smithy/fetch-http-handler": "^5.4.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.974.22",
3
+ "version": "3.974.23",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -111,7 +111,7 @@
111
111
  "license": "Apache-2.0",
112
112
  "dependencies": {
113
113
  "@aws-sdk/types": "^3.973.13",
114
- "@aws-sdk/xml-builder": "^3.972.30",
114
+ "@aws-sdk/xml-builder": "^3.972.31",
115
115
  "@aws/lambda-invoke-store": "^0.2.2",
116
116
  "@smithy/core": "^3.24.6",
117
117
  "@smithy/signature-v4": "^5.4.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.48",
3
+ "version": "3.972.49",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.22",
29
+ "@aws-sdk/core": "^3.974.23",
30
30
  "@aws-sdk/types": "^3.973.13",
31
31
  "@smithy/core": "^3.24.6",
32
32
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.50",
3
+ "version": "3.972.51",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "license": "Apache-2.0",
40
40
  "dependencies": {
41
- "@aws-sdk/core": "^3.974.22",
41
+ "@aws-sdk/core": "^3.974.23",
42
42
  "@aws-sdk/types": "^3.973.13",
43
43
  "@smithy/core": "^3.24.6",
44
44
  "@smithy/fetch-http-handler": "^5.4.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.55",
3
+ "version": "3.972.56",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,14 +28,14 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.22",
32
- "@aws-sdk/credential-provider-env": "^3.972.48",
33
- "@aws-sdk/credential-provider-http": "^3.972.50",
34
- "@aws-sdk/credential-provider-login": "^3.972.54",
35
- "@aws-sdk/credential-provider-process": "^3.972.48",
36
- "@aws-sdk/credential-provider-sso": "^3.972.54",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.54",
38
- "@aws-sdk/nested-clients": "^3.997.22",
31
+ "@aws-sdk/core": "^3.974.23",
32
+ "@aws-sdk/credential-provider-env": "^3.972.49",
33
+ "@aws-sdk/credential-provider-http": "^3.972.51",
34
+ "@aws-sdk/credential-provider-login": "^3.972.55",
35
+ "@aws-sdk/credential-provider-process": "^3.972.49",
36
+ "@aws-sdk/credential-provider-sso": "^3.972.55",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.55",
38
+ "@aws-sdk/nested-clients": "^3.997.23",
39
39
  "@aws-sdk/types": "^3.973.13",
40
40
  "@smithy/core": "^3.24.6",
41
41
  "@smithy/credential-provider-imds": "^4.3.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.54",
3
+ "version": "3.972.55",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.22",
32
- "@aws-sdk/nested-clients": "^3.997.22",
31
+ "@aws-sdk/core": "^3.974.23",
32
+ "@aws-sdk/nested-clients": "^3.997.23",
33
33
  "@aws-sdk/types": "^3.973.13",
34
34
  "@smithy/core": "^3.24.6",
35
35
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.57",
3
+ "version": "3.972.58",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "license": "Apache-2.0",
33
33
  "dependencies": {
34
- "@aws-sdk/credential-provider-env": "^3.972.48",
35
- "@aws-sdk/credential-provider-http": "^3.972.50",
36
- "@aws-sdk/credential-provider-ini": "^3.972.55",
37
- "@aws-sdk/credential-provider-process": "^3.972.48",
38
- "@aws-sdk/credential-provider-sso": "^3.972.54",
39
- "@aws-sdk/credential-provider-web-identity": "^3.972.54",
34
+ "@aws-sdk/credential-provider-env": "^3.972.49",
35
+ "@aws-sdk/credential-provider-http": "^3.972.51",
36
+ "@aws-sdk/credential-provider-ini": "^3.972.56",
37
+ "@aws-sdk/credential-provider-process": "^3.972.49",
38
+ "@aws-sdk/credential-provider-sso": "^3.972.55",
39
+ "@aws-sdk/credential-provider-web-identity": "^3.972.55",
40
40
  "@aws-sdk/types": "^3.973.13",
41
41
  "@smithy/core": "^3.24.6",
42
42
  "@smithy/credential-provider-imds": "^4.3.7",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.48",
3
+ "version": "3.972.49",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.22",
29
+ "@aws-sdk/core": "^3.974.23",
30
30
  "@aws-sdk/types": "^3.973.13",
31
31
  "@smithy/core": "^3.24.6",
32
32
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.972.54",
3
+ "version": "3.972.55",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,9 +28,9 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.22",
32
- "@aws-sdk/nested-clients": "^3.997.22",
33
- "@aws-sdk/token-providers": "3.1071.0",
31
+ "@aws-sdk/core": "^3.974.23",
32
+ "@aws-sdk/nested-clients": "^3.997.23",
33
+ "@aws-sdk/token-providers": "3.1074.0",
34
34
  "@aws-sdk/types": "^3.973.13",
35
35
  "@smithy/core": "^3.24.6",
36
36
  "@smithy/types": "^4.14.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.54",
3
+ "version": "3.972.55",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "license": "Apache-2.0",
36
36
  "dependencies": {
37
- "@aws-sdk/core": "^3.974.22",
38
- "@aws-sdk/nested-clients": "^3.997.22",
37
+ "@aws-sdk/core": "^3.974.23",
38
+ "@aws-sdk/nested-clients": "^3.997.23",
39
39
  "@aws-sdk/types": "^3.973.13",
40
40
  "@smithy/core": "^3.24.6",
41
41
  "@smithy/types": "^4.14.3",
@@ -79,7 +79,7 @@ const commonParams = {
79
79
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
80
80
  };
81
81
 
82
- var version = "3.997.21";
82
+ var version = "3.997.22";
83
83
  var packageInfo = {
84
84
  version: version};
85
85
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.21";
78
+ var version = "3.997.22";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.21";
78
+ var version = "3.997.22";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -75,7 +75,7 @@ const commonParams = {
75
75
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
76
76
  };
77
77
 
78
- var version = "3.997.21";
78
+ var version = "3.997.22";
79
79
  var packageInfo = {
80
80
  version: version};
81
81
 
@@ -256,7 +256,7 @@ const commonParams = {
256
256
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
257
257
  };
258
258
 
259
- var version = "3.997.21";
259
+ var version = "3.997.22";
260
260
  var packageInfo = {
261
261
  version: version};
262
262
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.22",
3
+ "version": "3.997.23",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@aws-crypto/sha256-browser": "5.2.0",
32
32
  "@aws-crypto/sha256-js": "5.2.0",
33
- "@aws-sdk/core": "^3.974.22",
33
+ "@aws-sdk/core": "^3.974.23",
34
34
  "@aws-sdk/signature-v4-multi-region": "^3.996.35",
35
35
  "@aws-sdk/types": "^3.973.13",
36
36
  "@smithy/core": "^3.24.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1071.0",
3
+ "version": "3.1074.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.974.22",
33
- "@aws-sdk/nested-clients": "^3.997.22",
32
+ "@aws-sdk/core": "^3.974.23",
33
+ "@aws-sdk/nested-clients": "^3.997.23",
34
34
  "@aws-sdk/types": "^3.973.13",
35
35
  "@smithy/core": "^3.24.6",
36
36
  "@smithy/types": "^4.14.3",
@@ -31,7 +31,7 @@ exports.parseXML = function parseXML(xmlString) {
31
31
  if (childNodes.length === 1 && attributes.length === 0 && childName === "#text") {
32
32
  return childResult;
33
33
  }
34
- if (obj[childName]) {
34
+ if (childName in obj) {
35
35
  if (Array.isArray(obj[childName])) {
36
36
  obj[childName].push(childResult);
37
37
  }
@@ -1,44 +1,234 @@
1
- const { XMLParser } = require("fast-xml-parser");
2
- const { COMMON_HTML, CURRENCY, EntityDecoderImpl, XML } = require("./xml-external/nodable_entities");
3
- const entityDecoder = new EntityDecoderImpl({
4
- namedEntities: { ...XML, ...COMMON_HTML, ...CURRENCY },
5
- numericAllowed: true,
6
- limit: {
7
- maxTotalExpansions: Infinity,
8
- },
9
- ncr: {
10
- xmlVersion: 1.1,
11
- },
12
- });
13
- const parser = new XMLParser({
14
- attributeNamePrefix: "",
15
- processEntities: {
16
- enabled: true,
17
- maxTotalExpansions: Infinity,
18
- },
19
- htmlEntities: true,
20
- entityDecoder: {
21
- setExternalEntities: (entities) => {
22
- entityDecoder.setExternalEntities(entities);
23
- },
24
- addInputEntities: (entities) => {
25
- entityDecoder.addInputEntities(entities);
26
- },
27
- reset: () => {
28
- entityDecoder.reset();
29
- },
30
- decode: (text) => {
31
- return entityDecoder.decode(text);
32
- },
33
- setXmlVersion: (version) => void {},
34
- },
35
- ignoreAttributes: false,
36
- ignoreDeclaration: true,
37
- parseTagValue: false,
38
- trimValues: false,
39
- tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
40
- maxNestedTags: Infinity,
41
- });
42
- exports.parseXML = function parseXML(xmlString) {
43
- return parser.parse(xmlString, true);
1
+ exports.parseXML = function parseXML(xml) {
2
+ const state = new AwsXmlParser(xml);
3
+ return state.parse();
44
4
  };
5
+ class AwsXmlParser {
6
+ x;
7
+ i = 0;
8
+ z;
9
+ constructor(x) {
10
+ this.x = x;
11
+ this.x = x.replace(/\r\n?/g, "\n");
12
+ this.z = this.x.length;
13
+ }
14
+ parse() {
15
+ const p = this;
16
+ const { z } = p;
17
+ while (p.i < z) {
18
+ p.trim();
19
+ if (p.i >= z) {
20
+ break;
21
+ }
22
+ if (p.isNext("<?")) {
23
+ p.readTo("?>");
24
+ p.trim();
25
+ }
26
+ else if (p.isNext("<!--")) {
27
+ p.readTo("-->");
28
+ p.trim();
29
+ }
30
+ else if (p.isNext("<!DOCTYPE", false)) {
31
+ p.skipDoctype();
32
+ p.trim();
33
+ }
34
+ else if (p.x[p.i] === "<") {
35
+ const root = p.parseTag();
36
+ return { [root.tag]: root.value };
37
+ }
38
+ else {
39
+ throw new Error("@aws-sdk XML parse error: unexpected content.");
40
+ }
41
+ }
42
+ throw new Error("@aws-sdk XML parse error: no root element.");
43
+ }
44
+ isNext(s, caseSensitive = true) {
45
+ const p = this;
46
+ if (caseSensitive) {
47
+ return p.x.startsWith(s, p.i);
48
+ }
49
+ return p.x.toLowerCase().startsWith(s.toLowerCase(), p.i);
50
+ }
51
+ readTo(stop) {
52
+ const p = this;
53
+ const _i = p.x.indexOf(stop, p.i);
54
+ if (_i === -1) {
55
+ throw new Error(`@aws-sdk XML parse error: expected "${stop}" not found.`);
56
+ }
57
+ const result = p.x.slice(p.i, _i);
58
+ p.i = _i + stop.length;
59
+ return result;
60
+ }
61
+ trim() {
62
+ const p = this;
63
+ while (p.i < p.z && " \t\r\n".includes(p.x[p.i])) {
64
+ ++p.i;
65
+ }
66
+ }
67
+ readAttrValue() {
68
+ const p = this;
69
+ const quote = p.x[p.i];
70
+ ++p.i;
71
+ let value = "";
72
+ while (p.i < p.z && p.x[p.i] !== quote) {
73
+ value += p.x[p.i++];
74
+ }
75
+ ++p.i;
76
+ return p.decodeEntities(value);
77
+ }
78
+ parseTag() {
79
+ const p = this;
80
+ ++p.i;
81
+ let tag = "";
82
+ while (p.i < p.z && !" \t\r\n>/".includes(p.x[p.i])) {
83
+ tag += p.x[p.i++];
84
+ }
85
+ let hasAttrs = false;
86
+ const attrs = Object.create(null);
87
+ while (p.i < p.z) {
88
+ p.trim();
89
+ if (">/".includes(p.x[p.i])) {
90
+ break;
91
+ }
92
+ let name = "";
93
+ while (p.i < p.z && !"= \t\r\n>/?".includes(p.x[p.i])) {
94
+ name += p.x[p.i++];
95
+ }
96
+ p.trim();
97
+ if (p.x[p.i] !== "=") {
98
+ break;
99
+ }
100
+ ++p.i;
101
+ p.trim();
102
+ attrs[name] = p.readAttrValue();
103
+ hasAttrs = true;
104
+ }
105
+ if (p.i >= p.z) {
106
+ throw new Error("@aws-sdk XML parse error: unexpected end of input.");
107
+ }
108
+ if (p.x[p.i] === "/") {
109
+ ++p.i;
110
+ if (p.i >= p.z || p.x[p.i] !== ">") {
111
+ throw new Error("@aws-sdk XML parse error: expected > at the end of self-closing tag.");
112
+ }
113
+ ++p.i;
114
+ Object.setPrototypeOf(attrs, Object.prototype);
115
+ return { tag, value: hasAttrs ? attrs : "" };
116
+ }
117
+ if (p.x[p.i] !== ">") {
118
+ throw new Error("@aws-sdk XML parse error: expected > at the end of opening tag.");
119
+ }
120
+ ++p.i;
121
+ const textParts = [];
122
+ const childTags = [];
123
+ let hasElementChild = false;
124
+ while (p.i < p.z) {
125
+ if (p.isNext("</")) {
126
+ break;
127
+ }
128
+ if (p.x[p.i] === "<") {
129
+ if (p.isNext("<!--")) {
130
+ p.readTo("-->");
131
+ }
132
+ else if (p.isNext("<![CDATA[")) {
133
+ p.i += 9;
134
+ textParts.push(p.readTo("]]>"));
135
+ }
136
+ else if (p.isNext("<?")) {
137
+ p.readTo("?>");
138
+ }
139
+ else {
140
+ hasElementChild = true;
141
+ childTags.push(p.parseTag());
142
+ }
143
+ }
144
+ else {
145
+ let text = "";
146
+ while (p.i < p.z && p.x[p.i] !== "<") {
147
+ text += p.x[p.i++];
148
+ }
149
+ textParts.push(p.decodeEntities(text));
150
+ }
151
+ }
152
+ if (!p.isNext("</")) {
153
+ throw new Error(`@aws-sdk XML parse error: missing closing tag </${tag}>.`);
154
+ }
155
+ p.i += 2;
156
+ const closeTag = p.readTo(">").trim();
157
+ if (closeTag !== tag) {
158
+ throw new Error(`@aws-sdk XML parse error: mismatched tags <${tag}> and </${closeTag}>.`);
159
+ }
160
+ if (!hasAttrs && textParts.length === 0 && !hasElementChild) {
161
+ return { tag, value: "" };
162
+ }
163
+ if (!hasAttrs && !hasElementChild) {
164
+ const text = textParts.length === 1 ? textParts[0] : textParts.join("");
165
+ if (text.trim() === "" && text.includes("\n")) {
166
+ return { tag, value: "" };
167
+ }
168
+ return { tag, value: text };
169
+ }
170
+ const obj = Object.create(null);
171
+ for (const text of textParts) {
172
+ if (text.trim() === "" && text.includes("\n")) {
173
+ continue;
174
+ }
175
+ obj["#text"] = "#text" in obj ? obj["#text"] + text : text;
176
+ }
177
+ for (const child of childTags) {
178
+ if (child.tag in obj) {
179
+ if (Array.isArray(obj[child.tag])) {
180
+ obj[child.tag].push(child.value);
181
+ }
182
+ else {
183
+ obj[child.tag] = [obj[child.tag], child.value];
184
+ }
185
+ }
186
+ else {
187
+ obj[child.tag] = child.value;
188
+ }
189
+ }
190
+ for (const [k, v] of Object.entries(attrs)) {
191
+ obj[k] = v;
192
+ }
193
+ Object.setPrototypeOf(obj, Object.prototype);
194
+ return { tag, value: obj };
195
+ }
196
+ static ENTITIES = {
197
+ amp: "&",
198
+ lt: "<",
199
+ gt: ">",
200
+ quot: '"',
201
+ apos: "'",
202
+ };
203
+ skipDoctype() {
204
+ const p = this;
205
+ p.i += 9;
206
+ let depth = 0;
207
+ while (p.i < p.z) {
208
+ const c = p.x[p.i];
209
+ if (c === "[") {
210
+ ++depth;
211
+ }
212
+ else if (c === "]") {
213
+ --depth;
214
+ }
215
+ else if (c === ">" && depth === 0) {
216
+ ++p.i;
217
+ return;
218
+ }
219
+ ++p.i;
220
+ }
221
+ throw new Error("@aws-sdk XML parse error: unclosed DOCTYPE.");
222
+ }
223
+ decodeEntities(s) {
224
+ return s.replace(/&(?:#x([0-9a-fA-F]{1,6})|#(\d{1,7})|([a-zA-Z][a-zA-Z0-9]{0,30}));/g, (_, hex, dec, named) => {
225
+ if (hex) {
226
+ return String.fromCharCode(parseInt(hex, 16));
227
+ }
228
+ if (dec) {
229
+ return String.fromCharCode(parseInt(dec, 10));
230
+ }
231
+ return AwsXmlParser.ENTITIES[named] ?? "";
232
+ });
233
+ }
234
+ }
@@ -31,7 +31,7 @@ export function parseXML(xmlString) {
31
31
  if (childNodes.length === 1 && attributes.length === 0 && childName === "#text") {
32
32
  return childResult;
33
33
  }
34
- if (obj[childName]) {
34
+ if (childName in obj) {
35
35
  if (Array.isArray(obj[childName])) {
36
36
  obj[childName].push(childResult);
37
37
  }