@cdk8s/awscdk-resolver 0.0.365 → 0.0.367

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 (42) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +83 -83
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +83 -83
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +18 -18
  6. package/node_modules/@aws-sdk/client-sso/package.json +17 -17
  7. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +15 -37
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -13
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +2 -13
  10. package/node_modules/@aws-sdk/core/package.json +5 -6
  11. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -3
  12. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -5
  13. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -9
  14. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -8
  15. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -3
  16. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -5
  17. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -4
  18. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -2
  19. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -2
  20. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -2
  21. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -5
  22. package/node_modules/@aws-sdk/nested-clients/package.json +18 -17
  23. package/node_modules/@aws-sdk/region-config-resolver/package.json +3 -2
  24. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  25. package/node_modules/@aws-sdk/types/package.json +2 -1
  26. package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
  27. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -1
  28. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -2
  29. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -3
  30. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +6 -1
  31. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +18 -0
  32. package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +1 -0
  33. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +54 -0
  34. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +15 -0
  35. package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +4 -0
  36. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +1 -0
  37. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -0
  38. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -0
  39. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts +9 -0
  40. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +4 -0
  41. package/node_modules/@aws-sdk/xml-builder/package.json +10 -1
  42. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-logger",
3
- "version": "3.891.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 middleware-logger",
@@ -14,6 +14,7 @@
14
14
  "test:watch": "yarn g:vitest watch",
15
15
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
16
16
  },
17
+ "sideEffects": false,
17
18
  "author": {
18
19
  "name": "AWS SDK for JavaScript Team",
19
20
  "email": "",
@@ -24,7 +25,7 @@
24
25
  "module": "./dist-es/index.js",
25
26
  "types": "./dist-types/index.d.ts",
26
27
  "dependencies": {
27
- "@aws-sdk/types": "3.887.0",
28
+ "@aws-sdk/types": "3.893.0",
28
29
  "@smithy/types": "^4.5.0",
29
30
  "tslib": "^2.6.2"
30
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.891.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 middleware-recursion-detection",
@@ -17,13 +17,14 @@
17
17
  "main": "./dist-cjs/index.js",
18
18
  "module": "./dist-es/index.js",
19
19
  "types": "./dist-types/index.d.ts",
20
+ "sideEffects": false,
20
21
  "author": {
21
22
  "name": "AWS SDK for JavaScript Team",
22
23
  "url": "https://aws.amazon.com/javascript/"
23
24
  },
24
25
  "license": "Apache-2.0",
25
26
  "dependencies": {
26
- "@aws-sdk/types": "3.887.0",
27
+ "@aws-sdk/types": "3.893.0",
27
28
  "@aws/lambda-invoke-store": "^0.0.1",
28
29
  "@smithy/protocol-http": "^5.2.1",
29
30
  "@smithy/types": "^4.5.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.891.0",
3
+ "version": "3.894.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
@@ -18,16 +18,17 @@
18
18
  "main": "./dist-cjs/index.js",
19
19
  "module": "./dist-es/index.js",
20
20
  "types": "./dist-types/index.d.ts",
21
+ "sideEffects": false,
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
27
  "dependencies": {
27
- "@aws-sdk/core": "3.890.0",
28
- "@aws-sdk/types": "3.887.0",
29
- "@aws-sdk/util-endpoints": "3.891.0",
30
- "@smithy/core": "^3.11.0",
28
+ "@aws-sdk/core": "3.894.0",
29
+ "@aws-sdk/types": "3.893.0",
30
+ "@aws-sdk/util-endpoints": "3.893.0",
31
+ "@smithy/core": "^3.11.1",
31
32
  "@smithy/protocol-http": "^5.2.1",
32
33
  "@smithy/types": "^4.5.0",
33
34
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.891.0",
3
+ "version": "3.894.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.894.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.894.0",
37
+ "@aws-sdk/region-config-resolver": "3.893.0",
38
+ "@aws-sdk/types": "3.893.0",
39
+ "@aws-sdk/util-endpoints": "3.893.0",
40
+ "@aws-sdk/util-user-agent-browser": "3.893.0",
41
+ "@aws-sdk/util-user-agent-node": "3.894.0",
41
42
  "@smithy/config-resolver": "^4.2.2",
42
- "@smithy/core": "^3.11.0",
43
+ "@smithy/core": "^3.11.1",
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.3",
49
+ "@smithy/middleware-retry": "^4.2.4",
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.3",
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.3",
62
+ "@smithy/util-defaults-mode-node": "^4.1.3",
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.894.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.894.0",
33
+ "@aws-sdk/nested-clients": "3.894.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/"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.891.0",
3
+ "version": "3.893.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.894.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.894.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",
package/package.json CHANGED
@@ -49,10 +49,10 @@
49
49
  "@types/node": "16.18.78",
50
50
  "@typescript-eslint/eslint-plugin": "^8",
51
51
  "@typescript-eslint/parser": "^8",
52
- "aws-cdk": "^2.1029.1",
52
+ "aws-cdk": "^2.1029.2",
53
53
  "aws-cdk-lib": "2.195.0",
54
54
  "cdk8s": "2.68.91",
55
- "cdk8s-cli": "^2.201.28",
55
+ "cdk8s-cli": "^2.201.32",
56
56
  "commit-and-tag-version": "^12",
57
57
  "constructs": "10.3.0",
58
58
  "eslint": "^9",
@@ -66,7 +66,7 @@
66
66
  "jsii-docgen": "^10.5.0",
67
67
  "jsii-pacmak": "^1.114.1",
68
68
  "jsii-rosetta": "^5",
69
- "projen": "^0.96.1",
69
+ "projen": "^0.96.3",
70
70
  "ts-jest": "^27",
71
71
  "ts-node": "^10.9.2",
72
72
  "typescript": "^5.9.2"
@@ -77,7 +77,7 @@
77
77
  "constructs": "^10.3.0"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.891.0"
80
+ "@aws-sdk/client-cloudformation": "^3.894.0"
81
81
  },
82
82
  "bundledDependencies": [
83
83
  "@aws-sdk/client-cloudformation"
@@ -93,7 +93,7 @@
93
93
  "publishConfig": {
94
94
  "access": "public"
95
95
  },
96
- "version": "0.0.365",
96
+ "version": "0.0.367",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [