@cdk8s/awscdk-resolver 0.0.536 → 0.0.538

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 (87) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
  4. package/node_modules/@aws-sdk/core/dist-cjs/index.js +52 -50
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +52 -50
  6. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +11 -10
  7. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +4 -1
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -5
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -1
  10. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +9 -7
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +17 -17
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -8
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -1
  14. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +2 -2
  15. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
  16. package/node_modules/@aws-sdk/core/package.json +11 -11
  17. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  18. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  19. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  20. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  21. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  22. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  23. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  24. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  25. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  26. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  27. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  28. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -8
  29. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  30. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  31. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  32. package/node_modules/@aws-sdk/types/package.json +2 -2
  33. package/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  34. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  35. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  36. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  37. package/node_modules/@smithy/config-resolver/package.json +5 -5
  38. package/node_modules/@smithy/core/package.json +7 -7
  39. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  40. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  41. package/node_modules/@smithy/hash-node/package.json +2 -2
  42. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  43. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  44. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  45. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  46. package/node_modules/@smithy/middleware-serde/package.json +4 -4
  47. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  48. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  49. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -6
  50. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  51. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +5 -5
  52. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +14 -1
  53. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  54. package/node_modules/@smithy/property-provider/package.json +2 -2
  55. package/node_modules/@smithy/protocol-http/package.json +2 -2
  56. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  57. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  58. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  59. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  60. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +11 -5
  61. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +11 -5
  62. package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -3
  63. package/node_modules/@smithy/signature-v4/package.json +4 -4
  64. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +8 -1
  65. package/node_modules/@smithy/smithy-client/dist-es/command.js +8 -1
  66. package/node_modules/@smithy/smithy-client/package.json +7 -7
  67. package/node_modules/@smithy/types/dist-types/connection/config.d.ts +5 -0
  68. package/node_modules/@smithy/types/dist-types/signature.d.ts +20 -3
  69. package/node_modules/@smithy/types/package.json +1 -1
  70. package/node_modules/@smithy/url-parser/package.json +3 -3
  71. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  72. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  73. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +15 -19
  74. package/node_modules/@smithy/util-endpoints/dist-es/decideEndpoint.js +4 -3
  75. package/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js +2 -1
  76. package/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js +8 -13
  77. package/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js +1 -1
  78. package/node_modules/@smithy/util-endpoints/dist-types/bdd/BinaryDecisionDiagram.d.ts +2 -2
  79. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  80. package/node_modules/@smithy/util-middleware/package.json +2 -2
  81. package/node_modules/@smithy/util-retry/package.json +3 -3
  82. package/node_modules/@smithy/util-stream/package.json +4 -4
  83. package/node_modules/@smithy/util-waiter/package.json +3 -3
  84. package/node_modules/fast-xml-builder/package.json +1 -1
  85. package/node_modules/fast-xml-builder/src/fxb.js +6 -2
  86. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +16 -2
  87. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@smithy/util-waiter",
3
- "version": "4.2.15",
3
+ "version": "4.2.16",
4
4
  "description": "Shared utilities for client waiters for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/types": "^4.14.0",
6
+ "@smithy/types": "^4.14.1",
7
7
  "tslib": "^2.6.2"
8
8
  },
9
9
  "scripts": {
@@ -47,7 +47,7 @@
47
47
  "directory": "packages/util-waiter"
48
48
  },
49
49
  "devDependencies": {
50
- "@smithy/abort-controller": "^4.2.13",
50
+ "@smithy/abort-controller": "^4.2.14",
51
51
  "concurrently": "7.0.0",
52
52
  "downlevel-dts": "0.10.1",
53
53
  "premove": "4.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-xml-builder",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "Build XML from JSON without C/C++ based libraries",
5
5
  "main": "./lib/fxb.cjs",
6
6
  "type": "module",
@@ -486,9 +486,13 @@ function buildEmptyObjNode(val, key, attrStr, level) {
486
486
 
487
487
  Builder.prototype.buildTextValNode = function (val, key, attrStr, level, matcher) {
488
488
  if (this.options.cdataPropName !== false && key === this.options.cdataPropName) {
489
- return this.indentate(level) + `<![CDATA[${val}]]>` + this.newLine;
489
+ const safeVal = String(val).replace(/\]\]>/g, ']]]]><![CDATA[>');
490
+ return this.indentate(level) + `<![CDATA[${safeVal}]]>` + this.newLine;
490
491
  } else if (this.options.commentPropName !== false && key === this.options.commentPropName) {
491
- return this.indentate(level) + `<!--${val}-->` + this.newLine;
492
+ const safeVal = String(val)
493
+ .replace(/--/g, '- -') // -- is illegal anywhere in comment content
494
+ .replace(/-$/, '- '); // trailing - would form -- with the closing -->
495
+ return this.indentate(level) + `<!--${safeVal}-->` + this.newLine;
492
496
  } else if (key[0] === "?") {//PI tag
493
497
  return this.indentate(level) + '<' + key + attrStr + '?' + this.tagEndChar;
494
498
  } else {
@@ -82,12 +82,18 @@ function arrToStr(arr, options, indentation, matcher, stopNodeExpressions) {
82
82
  if (isPreviousElementTag) {
83
83
  xmlStr += indentation;
84
84
  }
85
- xmlStr += `<![CDATA[${tagObj[tagName][0][options.textNodeName]}]]>`;
85
+ const val = tagObj[tagName][0][options.textNodeName];
86
+ const safeVal = String(val).replace(/\]\]>/g, ']]]]><![CDATA[>');
87
+ xmlStr += `<![CDATA[${safeVal}]]>`;
86
88
  isPreviousElementTag = false;
87
89
  matcher.pop();
88
90
  continue;
89
91
  } else if (tagName === options.commentPropName) {
90
- xmlStr += indentation + `<!--${tagObj[tagName][0][options.textNodeName]}-->`;
92
+ const val = tagObj[tagName][0][options.textNodeName]
93
+ const safeVal = String(val)
94
+ .replace(/--/g, '- -') // -- is illegal anywhere in comment content
95
+ .replace(/-$/, '- '); // trailing - would form -- with the closing -->
96
+ xmlStr += indentation + `<!--${safeVal}-->`;
91
97
  isPreviousElementTag = true;
92
98
  matcher.pop();
93
99
  continue;
@@ -289,4 +295,12 @@ function replaceEntitiesValue(textValue, options) {
289
295
  }
290
296
  }
291
297
  return textValue;
298
+ }
299
+
300
+ function cdataVal(val) {
301
+
302
+ }
303
+
304
+ function commentVal(val) {
305
+
292
306
  }
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "organization": false
43
43
  },
44
44
  "devDependencies": {
45
- "@cdk8s/projen-common": "0.0.682",
45
+ "@cdk8s/projen-common": "0.0.684",
46
46
  "@stylistic/eslint-plugin": "^2",
47
47
  "@types/fs-extra": "^11.0.4",
48
48
  "@types/jest": "^27",
@@ -66,7 +66,7 @@
66
66
  "jsii-docgen": "^10.5.0",
67
67
  "jsii-pacmak": "^1.128.0",
68
68
  "jsii-rosetta": "^5",
69
- "projen": "^0.99.49",
69
+ "projen": "^0.99.51",
70
70
  "ts-jest": "^27",
71
71
  "ts-node": "^10.9.2",
72
72
  "typescript": "^5.9.3"
@@ -77,7 +77,7 @@
77
77
  "constructs": "^10.3.0"
78
78
  },
79
79
  "dependencies": {
80
- "@aws-sdk/client-cloudformation": "^3.1030.0"
80
+ "@aws-sdk/client-cloudformation": "^3.1032.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.536",
96
+ "version": "0.0.538",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [