@cdklabs/cdk-ecs-codedeploy 0.0.431 → 0.0.432

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 (182) hide show
  1. package/.jsii +3 -3
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/package.json +38 -38
  8. package/node_modules/@aws-sdk/core/dist-cjs/index.js +7 -15
  9. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +7 -15
  10. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -8
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
  12. package/node_modules/@aws-sdk/core/package.json +13 -13
  13. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  14. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  15. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  16. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  17. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  18. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  19. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  20. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  21. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  22. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  23. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  24. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
  25. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
  26. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
  27. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
  28. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -7
  29. package/node_modules/@aws-sdk/nested-clients/package.json +38 -36
  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-locate-window/package.json +2 -2
  35. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  36. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +36 -19
  37. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
  38. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPaths.js +17 -0
  39. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +17 -12
  40. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
  41. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPaths.d.ts +10 -0
  42. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
  43. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPaths.d.ts +3 -0
  44. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  45. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
  46. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
  47. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  48. package/node_modules/@smithy/abort-controller/package.json +2 -2
  49. package/node_modules/@smithy/config-resolver/package.json +6 -6
  50. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +2 -8
  51. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +1 -1
  52. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +1 -1
  53. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
  54. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +1 -1
  55. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +1 -1
  56. package/node_modules/@smithy/core/package.json +11 -11
  57. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  58. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +18 -4
  59. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -4
  60. package/node_modules/@smithy/fetch-http-handler/package.json +6 -6
  61. package/node_modules/@smithy/hash-node/package.json +4 -4
  62. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  63. package/node_modules/@smithy/is-array-buffer/package.json +2 -2
  64. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  65. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  66. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  67. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  68. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  69. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  70. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +21 -8
  71. package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +16 -0
  72. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +3 -4
  73. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +3 -4
  74. package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +9 -0
  75. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +9 -0
  76. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  77. package/node_modules/@smithy/property-provider/package.json +2 -2
  78. package/node_modules/@smithy/protocol-http/package.json +2 -2
  79. package/node_modules/@smithy/querystring-builder/package.json +3 -3
  80. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  81. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  82. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  83. package/node_modules/@smithy/signature-v4/package.json +8 -8
  84. package/node_modules/@smithy/smithy-client/package.json +7 -7
  85. package/node_modules/@smithy/url-parser/package.json +3 -3
  86. package/node_modules/@smithy/util-base64/package.json +4 -4
  87. package/node_modules/@smithy/util-body-length-browser/package.json +2 -2
  88. package/node_modules/@smithy/util-body-length-node/package.json +2 -2
  89. package/node_modules/@smithy/util-buffer-from/package.json +3 -3
  90. package/node_modules/@smithy/util-config-provider/package.json +2 -2
  91. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  92. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  93. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  94. package/node_modules/@smithy/util-hex-encoding/package.json +2 -2
  95. package/node_modules/@smithy/util-middleware/package.json +2 -2
  96. package/node_modules/@smithy/util-retry/package.json +3 -3
  97. package/node_modules/@smithy/util-stream/package.json +8 -8
  98. package/node_modules/@smithy/util-uri-escape/package.json +2 -2
  99. package/node_modules/@smithy/util-utf8/package.json +3 -3
  100. package/node_modules/@smithy/util-waiter/package.json +3 -3
  101. package/node_modules/@smithy/uuid/package.json +2 -2
  102. package/node_modules/fast-xml-builder/LICENSE +21 -0
  103. package/node_modules/fast-xml-builder/README.md +23 -0
  104. package/node_modules/fast-xml-builder/lib/builder.cjs +1 -0
  105. package/node_modules/fast-xml-builder/lib/builder.min.js +2 -0
  106. package/node_modules/fast-xml-builder/lib/builder.min.js.map +1 -0
  107. package/node_modules/fast-xml-builder/lib/fxb.d.cts +167 -0
  108. package/node_modules/fast-xml-builder/package.json +78 -0
  109. package/node_modules/fast-xml-builder/src/fxb.d.ts +156 -0
  110. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js → fast-xml-builder/src/fxb.js} +50 -50
  111. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/orderedJs2Xml.js +14 -3
  112. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/CHANGELOG.md +23 -0
  113. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  114. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  115. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  116. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/lib/fxp.d.cts +15 -1
  117. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  118. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  119. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  120. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  121. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  122. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  123. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/package.json +3 -2
  124. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.d.ts +16 -0
  125. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/fxp.js +1 -1
  126. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  127. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/util.js +1 -26
  128. package/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +106 -0
  129. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OptionsBuilder.js +10 -10
  130. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
  131. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
  132. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
  133. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
  134. package/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  135. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XMLParser.js +22 -22
  136. package/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +105 -0
  137. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/validator.js +34 -34
  138. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +6 -0
  139. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/DocTypeReader.js +1 -1
  140. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OptionsBuilder.js +2 -0
  141. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/OrderedObjParser.js +27 -5
  142. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/XMLParser.js +21 -21
  143. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/node2json.js +38 -34
  144. package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/xmlparser/xmlNode.js +10 -10
  145. package/package.json +6 -6
  146. package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptPackageJsonPath.js +0 -14
  147. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptPackageJsonPath.d.ts +0 -9
  148. package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptPackageJsonPath.d.ts +0 -1
  149. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  150. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  151. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  152. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  153. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  154. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  155. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  156. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
  157. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
  158. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
  159. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
  160. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js → fast-xml-builder/CHANGELOG.md} +0 -0
  161. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-builder}/src/ignoreAttributes.js +0 -0
  162. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
  163. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/LICENSE +0 -0
  164. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/README.md +0 -0
  165. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/cli.js +0 -0
  166. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/man.js +0 -0
  167. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/cli/read.js +0 -0
  168. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/CharsSymbol.js +0 -0
  169. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -0
  170. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPath.js +0 -0
  171. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/TagPathMatcher.js +0 -0
  172. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/Xml2JsParser.js +0 -0
  173. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlPartReader.js +0 -0
  174. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/XmlSpecialTagsReader.js +0 -0
  175. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/BufferSource.js +0 -0
  176. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/inputSource/StringSource.js +0 -0
  177. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParser.js +0 -0
  178. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/booleanParserExt.js +0 -0
  179. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/currency.js +0 -0
  180. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/join.js +0 -0
  181. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/number.js +0 -0
  182. /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser → fast-xml-parser}/src/v6/valueParsers/trim.js +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.972.6",
3
+ "version": "3.972.7",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "^3.973.4",
27
- "@smithy/config-resolver": "^4.4.9",
28
- "@smithy/node-config-provider": "^4.3.10",
26
+ "@aws-sdk/types": "^3.973.5",
27
+ "@smithy/config-resolver": "^4.4.10",
28
+ "@smithy/node-config-provider": "^4.3.11",
29
29
  "@smithy/types": "^4.13.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -40,7 +40,7 @@
40
40
  "node": ">=20.0.0"
41
41
  },
42
42
  "typesVersions": {
43
- "<4.0": {
43
+ "<4.5": {
44
44
  "dist-types/*": [
45
45
  "dist-types/ts3.4/*"
46
46
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.999.0",
3
+ "version": "3.1004.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.973.15",
33
- "@aws-sdk/nested-clients": "^3.996.3",
34
- "@aws-sdk/types": "^3.973.4",
35
- "@smithy/property-provider": "^4.2.10",
36
- "@smithy/shared-ini-file-loader": "^4.4.5",
32
+ "@aws-sdk/core": "^3.973.18",
33
+ "@aws-sdk/nested-clients": "^3.996.7",
34
+ "@aws-sdk/types": "^3.973.5",
35
+ "@smithy/property-provider": "^4.2.11",
36
+ "@smithy/shared-ini-file-loader": "^4.4.6",
37
37
  "@smithy/types": "^4.13.0",
38
38
  "tslib": "^2.6.2"
39
39
  },
@@ -50,7 +50,7 @@
50
50
  "node": ">=20.0.0"
51
51
  },
52
52
  "typesVersions": {
53
- "<4.0": {
53
+ "<4.5": {
54
54
  "dist-types/*": [
55
55
  "dist-types/ts3.4/*"
56
56
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.973.4",
3
+ "version": "3.973.5",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "node": ">=20.0.0"
27
27
  },
28
28
  "typesVersions": {
29
- "<4.0": {
29
+ "<4.5": {
30
30
  "dist-types/*": [
31
31
  "dist-types/ts3.4/*"
32
32
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.996.3",
3
+ "version": "3.996.4",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,17 +25,17 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/types": "^3.973.4",
28
+ "@aws-sdk/types": "^3.973.5",
29
29
  "@smithy/types": "^4.13.0",
30
- "@smithy/url-parser": "^4.2.10",
31
- "@smithy/util-endpoints": "^3.3.1",
30
+ "@smithy/url-parser": "^4.2.11",
31
+ "@smithy/util-endpoints": "^3.3.2",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "engines": {
35
35
  "node": ">=20.0.0"
36
36
  },
37
37
  "typesVersions": {
38
- "<4.0": {
38
+ "<4.5": {
39
39
  "dist-types/*": [
40
40
  "dist-types/ts3.4/*"
41
41
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-locate-window",
3
- "version": "3.965.4",
3
+ "version": "3.965.5",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-locate-window",
@@ -36,7 +36,7 @@
36
36
  "node": ">=20.0.0"
37
37
  },
38
38
  "typesVersions": {
39
- "<4.0": {
39
+ "<4.5": {
40
40
  "dist-types/*": [
41
41
  "dist-types/ts3.4/*"
42
42
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.972.6",
3
+ "version": "3.972.7",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "react-native": "dist-es/index.native.js",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "^3.973.4",
27
+ "@aws-sdk/types": "^3.973.5",
28
28
  "@smithy/types": "^4.13.0",
29
29
  "bowser": "^2.11.0",
30
30
  "tslib": "^2.6.2"
@@ -37,7 +37,7 @@
37
37
  "typescript": "~5.8.3"
38
38
  },
39
39
  "typesVersions": {
40
- "<4.0": {
40
+ "<4.5": {
41
41
  "dist-types/*": [
42
42
  "dist-types/ts3.4/*"
43
43
  ]
@@ -16,18 +16,31 @@ const getRuntimeUserAgentPair = () => {
16
16
  return ["md/nodejs", node_process.versions.node];
17
17
  };
18
18
 
19
- const getTypeScriptPackageJsonPath = (dirname = "") => {
20
- let nodeModulesPath;
19
+ const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
20
+ const getSanitizedTypeScriptVersion = (version = "") => {
21
+ const match = version.match(SEMVER_REGEX);
22
+ if (!match) {
23
+ return undefined;
24
+ }
25
+ const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]];
26
+ return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
27
+ };
28
+
29
+ const typescriptPackageJsonPath = node_path.join("node_modules", "typescript", "package.json");
30
+ const getTypeScriptPackageJsonPaths = (dirname) => {
31
+ const cwdPath = node_path.join(process.cwd(), typescriptPackageJsonPath);
32
+ if (!dirname) {
33
+ return [cwdPath];
34
+ }
21
35
  const normalizedPath = node_path.normalize(dirname);
22
36
  const parts = normalizedPath.split(node_path.sep);
23
37
  const nodeModulesIndex = parts.indexOf("node_modules");
24
- if (nodeModulesIndex !== -1) {
25
- nodeModulesPath = parts.slice(0, nodeModulesIndex).join(node_path.sep);
38
+ const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : dirname;
39
+ const parentDirPath = node_path.join(parentDir, typescriptPackageJsonPath);
40
+ if (cwdPath === parentDirPath) {
41
+ return [cwdPath];
26
42
  }
27
- else {
28
- nodeModulesPath = dirname;
29
- }
30
- return node_path.join(nodeModulesPath, "node_modules", "typescript", "package.json");
43
+ return [parentDirPath, cwdPath];
31
44
  };
32
45
 
33
46
  let tscVersion;
@@ -38,19 +51,23 @@ const getTypeScriptUserAgentPair = async () => {
38
51
  else if (typeof tscVersion === "string") {
39
52
  return ["md/tsc", tscVersion];
40
53
  }
41
- try {
42
- const packageJson = await promises.readFile(getTypeScriptPackageJsonPath(__dirname), "utf-8");
43
- const { version } = JSON.parse(packageJson);
44
- if (typeof version !== "string") {
45
- tscVersion = null;
46
- return undefined;
54
+ const dirname = typeof __dirname !== "undefined" ? __dirname : undefined;
55
+ for (const typescriptPackageJsonPath of getTypeScriptPackageJsonPaths(dirname)) {
56
+ try {
57
+ const packageJson = await promises.readFile(typescriptPackageJsonPath, "utf-8");
58
+ const { version } = JSON.parse(packageJson);
59
+ const sanitizedVersion = getSanitizedTypeScriptVersion(version);
60
+ if (typeof sanitizedVersion !== "string") {
61
+ continue;
62
+ }
63
+ tscVersion = sanitizedVersion;
64
+ return ["md/tsc", tscVersion];
65
+ }
66
+ catch {
47
67
  }
48
- tscVersion = version;
49
- return ["md/tsc", tscVersion];
50
- }
51
- catch {
52
- tscVersion = null;
53
68
  }
69
+ tscVersion = null;
70
+ return undefined;
54
71
  };
55
72
 
56
73
  const crtAvailability = {
@@ -0,0 +1,9 @@
1
+ const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/;
2
+ export const getSanitizedTypeScriptVersion = (version = "") => {
3
+ const match = version.match(SEMVER_REGEX);
4
+ if (!match) {
5
+ return undefined;
6
+ }
7
+ const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]];
8
+ return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`;
9
+ };
@@ -0,0 +1,17 @@
1
+ import { join, normalize, sep } from "node:path";
2
+ const typescriptPackageJsonPath = join("node_modules", "typescript", "package.json");
3
+ export const getTypeScriptPackageJsonPaths = (dirname) => {
4
+ const cwdPath = join(process.cwd(), typescriptPackageJsonPath);
5
+ if (!dirname) {
6
+ return [cwdPath];
7
+ }
8
+ const normalizedPath = normalize(dirname);
9
+ const parts = normalizedPath.split(sep);
10
+ const nodeModulesIndex = parts.indexOf("node_modules");
11
+ const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(sep) : dirname;
12
+ const parentDirPath = join(parentDir, typescriptPackageJsonPath);
13
+ if (cwdPath === parentDirPath) {
14
+ return [cwdPath];
15
+ }
16
+ return [parentDirPath, cwdPath];
17
+ };
@@ -1,5 +1,6 @@
1
1
  import { readFile } from "node:fs/promises";
2
- import { getTypeScriptPackageJsonPath } from "./getTypeScriptPackageJsonPath";
2
+ import { getSanitizedTypeScriptVersion } from "./getSanitizedTypeScriptVersion";
3
+ import { getTypeScriptPackageJsonPaths } from "./getTypeScriptPackageJsonPaths";
3
4
  let tscVersion;
4
5
  export const getTypeScriptUserAgentPair = async () => {
5
6
  if (tscVersion === null) {
@@ -8,17 +9,21 @@ export const getTypeScriptUserAgentPair = async () => {
8
9
  else if (typeof tscVersion === "string") {
9
10
  return ["md/tsc", tscVersion];
10
11
  }
11
- try {
12
- const packageJson = await readFile(getTypeScriptPackageJsonPath(__dirname), "utf-8");
13
- const { version } = JSON.parse(packageJson);
14
- if (typeof version !== "string") {
15
- tscVersion = null;
16
- return undefined;
12
+ const dirname = typeof __dirname !== "undefined" ? __dirname : undefined;
13
+ for (const typescriptPackageJsonPath of getTypeScriptPackageJsonPaths(dirname)) {
14
+ try {
15
+ const packageJson = await readFile(typescriptPackageJsonPath, "utf-8");
16
+ const { version } = JSON.parse(packageJson);
17
+ const sanitizedVersion = getSanitizedTypeScriptVersion(version);
18
+ if (typeof sanitizedVersion !== "string") {
19
+ continue;
20
+ }
21
+ tscVersion = sanitizedVersion;
22
+ return ["md/tsc", tscVersion];
23
+ }
24
+ catch {
17
25
  }
18
- tscVersion = version;
19
- return ["md/tsc", tscVersion];
20
- }
21
- catch {
22
- tscVersion = null;
23
26
  }
27
+ tscVersion = null;
28
+ return undefined;
24
29
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Validates a semver string (with optional pre-release and/or build metadata).
3
+ * If valid, returns the version string with build metadata stripped.
4
+ * Returns undefined if the string is not a valid semver.
5
+ *
6
+ * @internal
7
+ */
8
+ export declare const getSanitizedTypeScriptVersion: (version?: string) => string | undefined;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Returns candidate paths to the TypeScript package.json file derived from the current
3
+ * working directory and, if provided, from the given directory.
4
+ *
5
+ * @param dirname - Optional directory path to derive an additional candidate path from.
6
+ * @returns An array of unique candidate paths to the TypeScript package.json file.
7
+ *
8
+ * @internal
9
+ */
10
+ export declare const getTypeScriptPackageJsonPaths: (dirname?: string) => string[];
@@ -0,0 +1,3 @@
1
+ export declare const getSanitizedTypeScriptVersion: (
2
+ version?: string
3
+ ) => string | undefined;
@@ -0,0 +1,3 @@
1
+ export declare const getTypeScriptPackageJsonPaths: (
2
+ dirname?: string
3
+ ) => string[];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.973.0",
3
+ "version": "3.973.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/middleware-user-agent": "^3.972.15",
28
- "@aws-sdk/types": "^3.973.4",
29
- "@smithy/node-config-provider": "^4.3.10",
27
+ "@aws-sdk/middleware-user-agent": "^3.972.19",
28
+ "@aws-sdk/types": "^3.973.5",
29
+ "@smithy/node-config-provider": "^4.3.11",
30
30
  "@smithy/types": "^4.13.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
@@ -50,7 +50,7 @@
50
50
  "node": ">=20.0.0"
51
51
  },
52
52
  "typesVersions": {
53
- "<4.0": {
53
+ "<4.5": {
54
54
  "dist-types/*": [
55
55
  "dist-types/ts3.4/*"
56
56
  ]
@@ -10,6 +10,7 @@ const parser = new fast_xml_parser_1.XMLParser({
10
10
  parseTagValue: false,
11
11
  trimValues: false,
12
12
  tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
13
+ maxNestedTags: 1024,
13
14
  });
14
15
  parser.addEntity("#xD", "\r");
15
16
  parser.addEntity("#10", "\n");
@@ -7,6 +7,7 @@ const parser = new XMLParser({
7
7
  parseTagValue: false,
8
8
  trimValues: false,
9
9
  tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
10
+ maxNestedTags: 1024,
10
11
  });
11
12
  parser.addEntity("#xD", "\r");
12
13
  parser.addEntity("#10", "\n");
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.972.8",
3
+ "version": "3.972.10",
4
4
  "description": "XML utilities for the AWS SDK",
5
5
  "dependencies": {
6
6
  "@smithy/types": "^4.13.0",
7
- "fast-xml-parser": "5.3.6",
7
+ "fast-xml-parser": "5.4.1",
8
8
  "tslib": "^2.6.2"
9
9
  },
10
10
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  "node": ">=20.0.0"
32
32
  },
33
33
  "typesVersions": {
34
- "<4.0": {
34
+ "<4.5": {
35
35
  "dist-types/*": [
36
36
  "dist-types/ts3.4/*"
37
37
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/abort-controller",
3
- "version": "4.2.10",
3
+ "version": "4.2.11",
4
4
  "description": "A simple abort controller library",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,7 +33,7 @@
33
33
  "node": ">=18.0.0"
34
34
  },
35
35
  "typesVersions": {
36
- "<4.0": {
36
+ "<4.5": {
37
37
  "dist-types/*": [
38
38
  "dist-types/ts3.4/*"
39
39
  ]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/config-resolver",
3
- "version": "4.4.9",
3
+ "version": "4.4.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline config-resolver",
@@ -25,11 +25,11 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/node-config-provider": "^4.3.10",
28
+ "@smithy/node-config-provider": "^4.3.11",
29
29
  "@smithy/types": "^4.13.0",
30
- "@smithy/util-config-provider": "^4.2.1",
31
- "@smithy/util-endpoints": "^3.3.1",
32
- "@smithy/util-middleware": "^4.2.10",
30
+ "@smithy/util-config-provider": "^4.2.2",
31
+ "@smithy/util-endpoints": "^3.3.2",
32
+ "@smithy/util-middleware": "^4.2.11",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -42,7 +42,7 @@
42
42
  "node": ">=18.0.0"
43
43
  },
44
44
  "typesVersions": {
45
- "<4.0": {
45
+ "<4.5": {
46
46
  "dist-types/*": [
47
47
  "dist-types/ts3.4/*"
48
48
  ]
@@ -929,24 +929,18 @@ class CborShapeDeserializer extends protocols.SerdeContext {
929
929
  if (ns.isListSchema()) {
930
930
  const newArray = [];
931
931
  const memberSchema = ns.getValueSchema();
932
- const sparse = !!ns.getMergedTraits().sparse;
933
932
  for (const item of value) {
934
933
  const itemValue = this.readValue(memberSchema, item);
935
- if (itemValue != null || sparse) {
936
- newArray.push(itemValue);
937
- }
934
+ newArray.push(itemValue);
938
935
  }
939
936
  return newArray;
940
937
  }
941
938
  const newObject = {};
942
939
  if (ns.isMapSchema()) {
943
- const sparse = !!ns.getMergedTraits().sparse;
944
940
  const targetSchema = ns.getValueSchema();
945
941
  for (const key of Object.keys(value)) {
946
942
  const itemValue = this.readValue(targetSchema, value[key]);
947
- if (itemValue != null || sparse) {
948
- newObject[key] = itemValue;
949
- }
943
+ newObject[key] = itemValue;
950
944
  }
951
945
  }
952
946
  else if (ns.isStructSchema()) {
@@ -243,7 +243,7 @@ class EventStreamSerde {
243
243
  throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");
244
244
  }
245
245
  }
246
- const messageSerialization = serializer.flush();
246
+ const messageSerialization = serializer.flush() ?? new Uint8Array();
247
247
  const body = typeof messageSerialization === "string"
248
248
  ? (this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8)(messageSerialization)
249
249
  : messageSerialization;
@@ -455,7 +455,7 @@ class NormalizedSchema {
455
455
  if (this.isDocumentSchema()) {
456
456
  return member([15, 0], memberName);
457
457
  }
458
- throw new Error(`@smithy/core/schema - ${this.getName(true)} has no no member=${memberName}.`);
458
+ throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${memberName}.`);
459
459
  }
460
460
  getMemberSchemas() {
461
461
  const buffer = {};
@@ -154,24 +154,18 @@ export class CborShapeDeserializer extends SerdeContext {
154
154
  if (ns.isListSchema()) {
155
155
  const newArray = [];
156
156
  const memberSchema = ns.getValueSchema();
157
- const sparse = !!ns.getMergedTraits().sparse;
158
157
  for (const item of value) {
159
158
  const itemValue = this.readValue(memberSchema, item);
160
- if (itemValue != null || sparse) {
161
- newArray.push(itemValue);
162
- }
159
+ newArray.push(itemValue);
163
160
  }
164
161
  return newArray;
165
162
  }
166
163
  const newObject = {};
167
164
  if (ns.isMapSchema()) {
168
- const sparse = !!ns.getMergedTraits().sparse;
169
165
  const targetSchema = ns.getValueSchema();
170
166
  for (const key of Object.keys(value)) {
171
167
  const itemValue = this.readValue(targetSchema, value[key]);
172
- if (itemValue != null || sparse) {
173
- newObject[key] = itemValue;
174
- }
168
+ newObject[key] = itemValue;
175
169
  }
176
170
  }
177
171
  else if (ns.isStructSchema()) {
@@ -240,7 +240,7 @@ export class EventStreamSerde {
240
240
  throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");
241
241
  }
242
242
  }
243
- const messageSerialization = serializer.flush();
243
+ const messageSerialization = serializer.flush() ?? new Uint8Array();
244
244
  const body = typeof messageSerialization === "string"
245
245
  ? (this.serdeContext?.utf8Decoder ?? fromUtf8)(messageSerialization)
246
246
  : messageSerialization;
@@ -215,7 +215,7 @@ export class NormalizedSchema {
215
215
  if (this.isDocumentSchema()) {
216
216
  return member([15, 0], memberName);
217
217
  }
218
- throw new Error(`@smithy/core/schema - ${this.getName(true)} has no no member=${memberName}.`);
218
+ throw new Error(`@smithy/core/schema - ${this.getName(true)} has no member=${memberName}.`);
219
219
  }
220
220
  getMemberSchemas() {
221
221
  const buffer = {};
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.23.6",
3
+ "version": "3.23.9",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -79,22 +79,22 @@
79
79
  "license": "Apache-2.0",
80
80
  "sideEffects": false,
81
81
  "dependencies": {
82
- "@smithy/middleware-serde": "^4.2.11",
83
- "@smithy/protocol-http": "^5.3.10",
82
+ "@smithy/middleware-serde": "^4.2.12",
83
+ "@smithy/protocol-http": "^5.3.11",
84
84
  "@smithy/types": "^4.13.0",
85
- "@smithy/util-base64": "^4.3.1",
86
- "@smithy/util-body-length-browser": "^4.2.1",
87
- "@smithy/util-middleware": "^4.2.10",
88
- "@smithy/util-stream": "^4.5.15",
89
- "@smithy/util-utf8": "^4.2.1",
90
- "@smithy/uuid": "^1.1.1",
85
+ "@smithy/util-base64": "^4.3.2",
86
+ "@smithy/util-body-length-browser": "^4.2.2",
87
+ "@smithy/util-middleware": "^4.2.11",
88
+ "@smithy/util-stream": "^4.5.17",
89
+ "@smithy/util-utf8": "^4.2.2",
90
+ "@smithy/uuid": "^1.1.2",
91
91
  "tslib": "^2.6.2"
92
92
  },
93
93
  "engines": {
94
94
  "node": ">=18.0.0"
95
95
  },
96
96
  "typesVersions": {
97
- "<4.0": {
97
+ "<4.5": {
98
98
  "dist-types/*": [
99
99
  "dist-types/ts3.4/*"
100
100
  ]
@@ -120,7 +120,7 @@
120
120
  "directory": "packages/core"
121
121
  },
122
122
  "devDependencies": {
123
- "@smithy/eventstream-serde-node": "^4.2.10",
123
+ "@smithy/eventstream-serde-node": "^4.2.11",
124
124
  "@types/node": "^18.11.9",
125
125
  "concurrently": "7.0.0",
126
126
  "downlevel-dts": "0.10.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/credential-provider-imds",
3
- "version": "4.2.10",
3
+ "version": "4.2.11",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,10 +28,10 @@
28
28
  "license": "Apache-2.0",
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
- "@smithy/node-config-provider": "^4.3.10",
32
- "@smithy/property-provider": "^4.2.10",
31
+ "@smithy/node-config-provider": "^4.3.11",
32
+ "@smithy/property-provider": "^4.2.11",
33
33
  "@smithy/types": "^4.13.0",
34
- "@smithy/url-parser": "^4.2.10",
34
+ "@smithy/url-parser": "^4.2.11",
35
35
  "tslib": "^2.6.2"
36
36
  },
37
37
  "devDependencies": {
@@ -46,7 +46,7 @@
46
46
  "node": ">=18.0.0"
47
47
  },
48
48
  "typesVersions": {
49
- "<4.0": {
49
+ "<4.5": {
50
50
  "dist-types/*": [
51
51
  "dist-types/ts3.4/*"
52
52
  ]