@servicevic-oss/cdk-cleanup-certificate-validation-records 1.3.33 → 1.3.34

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 (135) hide show
  1. package/.jsii +4 -4
  2. package/lib/index.js +2 -2
  3. package/node_modules/@aws-sdk/client-acm/package.json +3 -3
  4. package/node_modules/@aws-sdk/client-route-53/package.json +3 -3
  5. package/node_modules/@aws-sdk/core/package.json +2 -2
  6. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  7. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  8. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  9. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  10. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  11. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  12. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  13. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  14. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  15. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  16. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  19. package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
  20. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  21. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +1 -1
  22. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +233 -43
  23. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
  24. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
  25. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
  26. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
  27. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  28. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +518 -371
  29. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +1 -1
  30. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +326 -269
  31. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +192 -103
  32. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +4 -2
  33. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +1 -1
  34. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +4 -0
  35. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +8 -4
  36. package/node_modules/@smithy/core/package.json +1 -1
  37. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  38. package/node_modules/@smithy/signature-v4/package.json +2 -2
  39. package/package.json +7 -7
  40. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -333
  41. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
  42. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
  43. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
  44. package/node_modules/@nodable/entities/README.md +0 -41
  45. package/node_modules/@nodable/entities/package.json +0 -54
  46. package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -543
  47. package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
  48. package/node_modules/@nodable/entities/src/entities.js +0 -1177
  49. package/node_modules/@nodable/entities/src/entityTries.js +0 -49
  50. package/node_modules/@nodable/entities/src/index.d.ts +0 -264
  51. package/node_modules/@nodable/entities/src/index.js +0 -29
  52. package/node_modules/fast-xml-builder/CHANGELOG.md +0 -36
  53. package/node_modules/fast-xml-builder/LICENSE +0 -21
  54. package/node_modules/fast-xml-builder/README.md +0 -74
  55. package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
  56. package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -180
  57. package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
  58. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
  59. package/node_modules/fast-xml-builder/package.json +0 -80
  60. package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -181
  61. package/node_modules/fast-xml-builder/src/fxb.js +0 -538
  62. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
  63. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -305
  64. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  65. package/node_modules/fast-xml-builder/src/util.js +0 -16
  66. package/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
  67. package/node_modules/fast-xml-parser/LICENSE +0 -21
  68. package/node_modules/fast-xml-parser/README.md +0 -202
  69. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  70. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  71. package/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  72. package/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
  73. package/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  74. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  75. package/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  76. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  77. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
  78. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
  79. package/node_modules/fast-xml-parser/package.json +0 -93
  80. package/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
  81. package/node_modules/fast-xml-parser/src/cli/man.js +0 -17
  82. package/node_modules/fast-xml-parser/src/cli/read.js +0 -43
  83. package/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
  84. package/node_modules/fast-xml-parser/src/fxp.js +0 -14
  85. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
  86. package/node_modules/fast-xml-parser/src/util.js +0 -61
  87. package/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
  88. package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
  89. package/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
  90. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
  91. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
  92. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
  93. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
  94. package/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
  95. package/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  96. package/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
  97. package/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
  98. package/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
  99. package/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
  100. package/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
  101. package/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
  102. package/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
  103. package/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
  104. package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
  105. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
  106. package/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
  107. package/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
  108. package/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
  109. package/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
  110. package/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
  111. package/node_modules/fast-xml-parser/src/validator.js +0 -425
  112. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
  113. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
  114. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
  115. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
  116. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
  117. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
  118. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
  119. package/node_modules/path-expression-matcher/LICENSE +0 -21
  120. package/node_modules/path-expression-matcher/README.md +0 -872
  121. package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
  122. package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -634
  123. package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
  124. package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
  125. package/node_modules/path-expression-matcher/package.json +0 -78
  126. package/node_modules/path-expression-matcher/src/Expression.js +0 -232
  127. package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -209
  128. package/node_modules/path-expression-matcher/src/Matcher.js +0 -570
  129. package/node_modules/path-expression-matcher/src/index.d.ts +0 -523
  130. package/node_modules/path-expression-matcher/src/index.js +0 -29
  131. package/node_modules/strnum/CHANGELOG.md +0 -40
  132. package/node_modules/strnum/LICENSE +0 -21
  133. package/node_modules/strnum/README.md +0 -104
  134. package/node_modules/strnum/package.json +0 -31
  135. package/node_modules/strnum/strnum.js +0 -161
package/.jsii CHANGED
@@ -7,8 +7,8 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-acm": "^3.1073.0",
11
- "@aws-sdk/client-route-53": "^3.1073.0",
10
+ "@aws-sdk/client-acm": "^3.1074.0",
11
+ "@aws-sdk/client-route-53": "^3.1074.0",
12
12
  "@types/aws-lambda": "^8.10.162",
13
13
  "async-await-retry": "^2.1.0"
14
14
  },
@@ -8898,6 +8898,6 @@
8898
8898
  "symbolId": "src/index:CertificateWithCleanup"
8899
8899
  }
8900
8900
  },
8901
- "version": "1.3.33",
8902
- "fingerprint": "vEekgRb7kPAtO23SUoX3P7lQbhQtQDwuhJvr9QeKB/U="
8901
+ "version": "1.3.34",
8902
+ "fingerprint": "Dg3uVsY/dClZtkp8zZSefeaJxT08G/6NS5SzlyHJyhE="
8903
8903
  }
package/lib/index.js CHANGED
@@ -43,7 +43,7 @@ const constructs_1 = require("constructs");
43
43
  * leave behind when deleting a DNS validated certificate
44
44
  */
45
45
  class CertificateValidationRecordCleanup extends constructs_1.Construct {
46
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.33" };
46
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateValidationRecordCleanup", version: "1.3.34" };
47
47
  static HANDLER_UID = 'CertRecordsCleanupHandler-2B663BAB-7981';
48
48
  static PROVIDER_UID = 'CertRecordsCleanupProvider-57EBF059-2E26';
49
49
  static LOG_GROUP_UID = 'CertRecordsCleanupLogGroup-57ABF051-1E25';
@@ -109,7 +109,7 @@ exports.CertificateValidationRecordCleanup = CertificateValidationRecordCleanup;
109
109
  * A wrapper class for a vanilla `Certificate` object with automatic cleanup attached
110
110
  */
111
111
  class CertificateWithCleanup extends cdk.aws_certificatemanager.Certificate {
112
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.33" };
112
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@servicevic-oss/cdk-cleanup-certificate-validation-records.CertificateWithCleanup", version: "1.3.34" };
113
113
  constructor(scope, id, props) {
114
114
  super(scope, id, props);
115
115
  if (props.validation && props.validation.props.hostedZone && props.validation?.method == cdk.aws_certificatemanager.ValidationMethod.DNS) {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm",
3
3
  "description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
4
- "version": "3.1073.0",
4
+ "version": "3.1074.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-route-53",
3
3
  "description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
4
- "version": "3.1073.0",
4
+ "version": "3.1074.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",
@@ -27,8 +27,8 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.974.22",
31
- "@aws-sdk/credential-provider-node": "^3.972.57",
30
+ "@aws-sdk/core": "^3.974.23",
31
+ "@aws-sdk/credential-provider-node": "^3.972.58",
32
32
  "@aws-sdk/middleware-sdk-route53": "^3.972.17",
33
33
  "@aws-sdk/types": "^3.973.13",
34
34
  "@smithy/core": "^3.24.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
  }