@cdklabs/cdk-ecs-codedeploy 0.0.278 → 0.0.280

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 (230) 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 +40 -40
  8. package/node_modules/@aws-sdk/client-sso/package.json +36 -36
  9. package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -38
  10. package/node_modules/@aws-sdk/client-sts/package.json +38 -38
  11. package/node_modules/@aws-sdk/core/README.md +35 -1
  12. package/node_modules/@aws-sdk/core/client.js +5 -0
  13. package/node_modules/@aws-sdk/core/dist-cjs/index.js +5 -437
  14. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -0
  15. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +226 -0
  16. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +228 -0
  17. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  18. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -3
  19. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -3
  20. package/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
  21. package/node_modules/@aws-sdk/core/package.json +44 -7
  22. package/node_modules/@aws-sdk/core/protocols.js +5 -0
  23. package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
  24. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  25. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
  26. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
  27. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
  28. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  29. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  30. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  31. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  32. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  33. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
  34. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -3
  35. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
  36. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  37. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
  38. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  39. package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
  40. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  41. package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
  42. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  43. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  44. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
  45. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  46. package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
  47. package/node_modules/@aws-sdk/types/package.json +2 -2
  48. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  49. package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
  50. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  51. package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
  52. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  53. package/node_modules/@smithy/abort-controller/package.json +3 -4
  54. package/node_modules/@smithy/config-resolver/package.json +6 -7
  55. package/node_modules/@smithy/core/package.json +10 -10
  56. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  57. package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
  58. package/node_modules/@smithy/credential-provider-imds/package.json +7 -8
  59. package/node_modules/@smithy/fetch-http-handler/README.md +7 -0
  60. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -9
  61. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +10 -3
  62. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
  63. package/node_modules/@smithy/fetch-http-handler/package.json +8 -25
  64. package/node_modules/@smithy/hash-node/package.json +6 -7
  65. package/node_modules/@smithy/invalid-dependency/package.json +2 -3
  66. package/node_modules/@smithy/is-array-buffer/package.json +2 -3
  67. package/node_modules/@smithy/middleware-content-length/package.json +5 -6
  68. package/node_modules/@smithy/middleware-endpoint/package.json +8 -9
  69. package/node_modules/@smithy/middleware-retry/package.json +10 -11
  70. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -1
  71. package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +1 -1
  72. package/node_modules/@smithy/middleware-serde/package.json +4 -5
  73. package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
  74. package/node_modules/@smithy/middleware-stack/package.json +3 -4
  75. package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
  76. package/node_modules/@smithy/node-config-provider/package.json +6 -7
  77. package/node_modules/@smithy/node-http-handler/README.md +5 -0
  78. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +46 -15
  79. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
  80. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
  81. package/node_modules/@smithy/node-http-handler/package.json +7 -8
  82. package/node_modules/@smithy/property-provider/package.json +3 -4
  83. package/node_modules/@smithy/protocol-http/package.json +3 -4
  84. package/node_modules/@smithy/querystring-builder/package.json +4 -5
  85. package/node_modules/@smithy/querystring-parser/package.json +3 -4
  86. package/node_modules/@smithy/service-error-classification/package.json +3 -4
  87. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -5
  88. package/node_modules/@smithy/signature-v4/package.json +9 -10
  89. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
  90. package/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
  91. package/node_modules/@smithy/smithy-client/package.json +8 -9
  92. package/node_modules/@smithy/types/dist-types/client.d.ts +12 -0
  93. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
  94. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
  95. package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +12 -0
  96. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
  97. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
  98. package/node_modules/@smithy/types/package.json +2 -3
  99. package/node_modules/@smithy/url-parser/package.json +3 -4
  100. package/node_modules/@smithy/util-base64/package.json +5 -6
  101. package/node_modules/@smithy/util-body-length-browser/package.json +1 -2
  102. package/node_modules/@smithy/util-body-length-node/package.json +3 -4
  103. package/node_modules/@smithy/util-buffer-from/package.json +4 -5
  104. package/node_modules/@smithy/util-config-provider/package.json +3 -4
  105. package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -6
  106. package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -9
  107. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
  108. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
  109. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
  110. package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
  111. package/node_modules/@smithy/util-endpoints/package.json +5 -6
  112. package/node_modules/@smithy/util-hex-encoding/package.json +2 -3
  113. package/node_modules/@smithy/util-middleware/package.json +4 -5
  114. package/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
  115. package/node_modules/@smithy/util-retry/package.json +5 -6
  116. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
  117. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
  118. package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
  119. package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
  120. package/node_modules/@smithy/util-stream/package.json +13 -29
  121. package/node_modules/@smithy/util-uri-escape/package.json +2 -3
  122. package/node_modules/@smithy/util-utf8/package.json +3 -4
  123. package/node_modules/@smithy/util-waiter/package.json +4 -5
  124. package/package.json +6 -6
  125. package/node_modules/@aws-sdk/core/CHANGELOG.md +0 -315
  126. package/node_modules/@aws-sdk/core/api-extractor.json +0 -4
  127. package/node_modules/@aws-sdk/core/dist-cjs/client/emitWarningIfUnsupportedVersion.js +0 -1
  128. package/node_modules/@aws-sdk/core/dist-cjs/client/index.js +0 -1
  129. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +0 -1
  130. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/index.js +0 -1
  131. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +0 -1
  132. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/index.js +0 -1
  133. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getDateHeader.js +0 -1
  134. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getSkewCorrectedDate.js +0 -1
  135. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +0 -1
  136. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/index.js +0 -1
  137. package/node_modules/@aws-sdk/core/dist-cjs/httpAuthSchemes/utils/isClockSkewed.js +0 -1
  138. package/node_modules/@aws-sdk/core/dist-cjs/protocols/coercing-serializers.js +0 -1
  139. package/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +0 -1
  140. package/node_modules/@aws-sdk/core/dist-cjs/protocols/index.js +0 -1
  141. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/awsExpectUnion.js +0 -1
  142. package/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +0 -1
  143. package/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +0 -1
  144. package/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +0 -158
  145. package/node_modules/@aws-sdk/core/jest.config.integ.js +0 -4
  146. package/node_modules/@aws-sdk/core/jest.config.js +0 -6
  147. package/node_modules/@aws-sdk/core/scripts/lint.js +0 -24
  148. package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.spec.ts +0 -70
  149. package/node_modules/@aws-sdk/core/src/client/emitWarningIfUnsupportedVersion.ts +0 -26
  150. package/node_modules/@aws-sdk/core/src/client/index.ts +0 -1
  151. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +0 -30
  152. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +0 -134
  153. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/index.ts +0 -2
  154. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +0 -244
  155. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/index.ts +0 -1
  156. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getDateHeader.ts +0 -7
  157. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.spec.ts +0 -17
  158. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getSkewCorrectedDate.ts +0 -8
  159. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.spec.ts +0 -37
  160. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +0 -18
  161. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/index.ts +0 -3
  162. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.spec.ts +0 -32
  163. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/utils/isClockSkewed.ts +0 -12
  164. package/node_modules/@aws-sdk/core/src/index.ts +0 -3
  165. package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.spec.ts +0 -76
  166. package/node_modules/@aws-sdk/core/src/protocols/coercing-serializers.ts +0 -72
  167. package/node_modules/@aws-sdk/core/src/protocols/common.ts +0 -5
  168. package/node_modules/@aws-sdk/core/src/protocols/index.ts +0 -4
  169. package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.spec.ts +0 -30
  170. package/node_modules/@aws-sdk/core/src/protocols/json/awsExpectUnion.ts +0 -17
  171. package/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +0 -60
  172. package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.spec.ts +0 -60
  173. package/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +0 -64
  174. package/node_modules/@aws-sdk/core/tsconfig.cjs.json +0 -9
  175. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +0 -1
  176. package/node_modules/@aws-sdk/core/tsconfig.es.json +0 -9
  177. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +0 -1
  178. package/node_modules/@aws-sdk/core/tsconfig.types.json +0 -9
  179. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +0 -1
  180. /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/emitWarningIfUnsupportedVersion.js +0 -0
  181. /package/node_modules/@aws-sdk/core/dist-es/{client → submodules/client}/index.js +0 -0
  182. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.js +0 -0
  183. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.js +0 -0
  184. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.js +0 -0
  185. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/index.js +0 -0
  186. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.js +0 -0
  187. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.js +0 -0
  188. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.js +0 -0
  189. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.js +0 -0
  190. /package/node_modules/@aws-sdk/core/dist-es/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.js +0 -0
  191. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/coercing-serializers.js +0 -0
  192. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/common.js +0 -0
  193. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/index.js +0 -0
  194. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/awsExpectUnion.js +0 -0
  195. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/json/parseJsonBody.js +0 -0
  196. /package/node_modules/@aws-sdk/core/dist-es/{protocols → submodules/protocols}/xml/parseXmlBody.js +0 -0
  197. /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
  198. /package/node_modules/@aws-sdk/core/dist-types/{client → submodules/client}/index.d.ts +0 -0
  199. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
  200. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
  201. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
  202. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
  203. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
  204. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
  205. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
  206. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
  207. /package/node_modules/@aws-sdk/core/dist-types/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
  208. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
  209. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/common.d.ts +0 -0
  210. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/index.d.ts +0 -0
  211. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
  212. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
  213. /package/node_modules/@aws-sdk/core/dist-types/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
  214. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/emitWarningIfUnsupportedVersion.d.ts +0 -0
  215. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{client → submodules/client}/index.d.ts +0 -0
  216. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/AwsSdkSigV4Signer.d.ts +0 -0
  217. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/index.d.ts +0 -0
  218. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/aws_sdk/resolveAwsSdkSigV4Config.d.ts +0 -0
  219. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/index.d.ts +0 -0
  220. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getDateHeader.d.ts +0 -0
  221. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getSkewCorrectedDate.d.ts +0 -0
  222. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/getUpdatedSystemClockOffset.d.ts +0 -0
  223. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/index.d.ts +0 -0
  224. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{httpAuthSchemes → submodules/httpAuthSchemes}/utils/isClockSkewed.d.ts +0 -0
  225. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/coercing-serializers.d.ts +0 -0
  226. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/common.d.ts +0 -0
  227. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/index.d.ts +0 -0
  228. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/awsExpectUnion.d.ts +0 -0
  229. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/json/parseJsonBody.d.ts +0 -0
  230. /package/node_modules/@aws-sdk/core/dist-types/ts3.4/{protocols → submodules/protocols}/xml/parseXmlBody.d.ts +0 -0
package/package.json CHANGED
@@ -83,10 +83,10 @@
83
83
  "aws-cdk-lib": "2.131.0",
84
84
  "aws-sdk-client-mock": "^4.0.0",
85
85
  "aws-sdk-client-mock-jest": "^4.0.0",
86
- "cdk-nag": "^2.28.113",
86
+ "cdk-nag": "^2.28.115",
87
87
  "cdklabs-projen-project-types": "^0.1.196",
88
88
  "constructs": "10.0.5",
89
- "esbuild": "^0.21.1",
89
+ "esbuild": "^0.21.2",
90
90
  "eslint": "^8",
91
91
  "eslint-import-resolver-typescript": "^3.6.1",
92
92
  "eslint-plugin-import": "^2.29.1",
@@ -96,9 +96,9 @@
96
96
  "jsii-diff": "^1.98.0",
97
97
  "jsii-docgen": "^7.2.9",
98
98
  "jsii-pacmak": "^1.98.0",
99
- "jsii-rosetta": "^5.4.14",
99
+ "jsii-rosetta": "^5.4.17",
100
100
  "lambda-tester": "^4.0.1",
101
- "projen": "0.81.10",
101
+ "projen": "0.81.11",
102
102
  "standard-version": "^9",
103
103
  "ts-jest": "^27",
104
104
  "ts-node": "^10.9.2",
@@ -109,7 +109,7 @@
109
109
  "constructs": "^10.0.5"
110
110
  },
111
111
  "dependencies": {
112
- "@aws-sdk/client-codedeploy": "^3.574.0",
112
+ "@aws-sdk/client-codedeploy": "^3.576.0",
113
113
  "jmespath": "^0.16.0"
114
114
  },
115
115
  "bundledDependencies": [
@@ -127,7 +127,7 @@
127
127
  "publishConfig": {
128
128
  "access": "public"
129
129
  },
130
- "version": "0.0.278",
130
+ "version": "0.0.280",
131
131
  "jest": {
132
132
  "testMatch": [
133
133
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
@@ -1,315 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [3.572.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.571.0...v3.572.0) (2024-05-08)
7
-
8
- **Note:** Version bump only for package @aws-sdk/core
9
-
10
-
11
-
12
-
13
-
14
- # [3.567.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.566.0...v3.567.0) (2024-05-01)
15
-
16
-
17
- ### Features
18
-
19
- * end support for Node.js 14.x ([#6034](https://github.com/aws/aws-sdk-js-v3/issues/6034)) ([d196411](https://github.com/aws/aws-sdk-js-v3/commit/d19641119f07d62c29f12348f448cd834d841533))
20
-
21
-
22
-
23
-
24
-
25
- # [3.556.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.555.0...v3.556.0) (2024-04-16)
26
-
27
- **Note:** Version bump only for package @aws-sdk/core
28
-
29
-
30
-
31
-
32
-
33
- # [3.554.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.553.0...v3.554.0) (2024-04-11)
34
-
35
-
36
- ### Features
37
-
38
- * **core:** validate XML during deserialization ([#5991](https://github.com/aws/aws-sdk-js-v3/issues/5991)) ([50002cf](https://github.com/aws/aws-sdk-js-v3/commit/50002cf02856165ebadecd0ebd975ac7358ec331))
39
-
40
-
41
-
42
-
43
-
44
- # [3.552.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.551.0...v3.552.0) (2024-04-09)
45
-
46
- **Note:** Version bump only for package @aws-sdk/core
47
-
48
-
49
-
50
-
51
-
52
- # [3.549.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.548.0...v3.549.0) (2024-04-04)
53
-
54
- **Note:** Version bump only for package @aws-sdk/core
55
-
56
-
57
-
58
-
59
-
60
- # [3.535.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.534.0...v3.535.0) (2024-03-15)
61
-
62
- **Note:** Version bump only for package @aws-sdk/core
63
-
64
-
65
-
66
-
67
-
68
- # [3.533.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.532.0...v3.533.0) (2024-03-13)
69
-
70
- **Note:** Version bump only for package @aws-sdk/core
71
-
72
-
73
-
74
-
75
-
76
- ## [3.529.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) (2024-03-08)
77
-
78
-
79
- ### Bug Fixes
80
-
81
- * **core:** add missing fast-xml-parser dependency ([#5869](https://github.com/aws/aws-sdk-js-v3/issues/5869)) ([96c375c](https://github.com/aws/aws-sdk-js-v3/commit/96c375cb36c838c76b5384f96d79ad47d9091ee7))
82
-
83
-
84
-
85
-
86
-
87
- # [3.529.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.528.0...v3.529.0) (2024-03-07)
88
-
89
- **Note:** Version bump only for package @aws-sdk/core
90
-
91
-
92
-
93
-
94
-
95
- # [3.525.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.524.0...v3.525.0) (2024-02-29)
96
-
97
- **Note:** Version bump only for package @aws-sdk/core
98
-
99
-
100
-
101
-
102
-
103
- # [3.523.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.522.0...v3.523.0) (2024-02-27)
104
-
105
-
106
- ### Bug Fixes
107
-
108
- * **core:** add error metadata indicating clock skew correction ([#5830](https://github.com/aws/aws-sdk-js-v3/issues/5830)) ([46e5e8d](https://github.com/aws/aws-sdk-js-v3/commit/46e5e8daa0b13208f149bbd0b54857498558e152))
109
-
110
-
111
-
112
-
113
-
114
- # [3.521.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.520.0...v3.521.0) (2024-02-23)
115
-
116
-
117
- ### Features
118
-
119
- * requestHandler ctor param pass-through ([#5820](https://github.com/aws/aws-sdk-js-v3/issues/5820)) ([9fec71d](https://github.com/aws/aws-sdk-js-v3/commit/9fec71d1933cd8e3db118c164bca16edc2305532))
120
-
121
-
122
-
123
-
124
-
125
- # [3.513.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.512.0...v3.513.0) (2024-02-13)
126
-
127
-
128
- ### Features
129
-
130
- * **experimentalIdentityAndAuth:** release phase for services without customizations ([#5787](https://github.com/aws/aws-sdk-js-v3/issues/5787)) ([4004ff6](https://github.com/aws/aws-sdk-js-v3/commit/4004ff68a8ad20f6e60e8fab1f8952928f92f4b7))
131
-
132
-
133
-
134
-
135
-
136
- # [3.511.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.510.0...v3.511.0) (2024-02-09)
137
-
138
-
139
- ### Bug Fixes
140
-
141
- * **credential-provider-node:** pass client region to inner credential client region ([#5758](https://github.com/aws/aws-sdk-js-v3/issues/5758)) ([8c0b29e](https://github.com/aws/aws-sdk-js-v3/commit/8c0b29eabfe0ce8dbd2cbdcfb8b0a31b003bc3f2))
142
-
143
-
144
-
145
-
146
-
147
- # [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19)
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * get full list of exports for esm compat in dist-cjs ([#5694](https://github.com/aws/aws-sdk-js-v3/issues/5694)) ([5d26da6](https://github.com/aws/aws-sdk-js-v3/commit/5d26da6d07b593ae286ca674fb3cbff7c833cbb0))
153
-
154
-
155
-
156
-
157
-
158
- # [3.495.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.494.0...v3.495.0) (2024-01-18)
159
-
160
-
161
- ### Features
162
-
163
- * use bundled dist-cjs build ([#5687](https://github.com/aws/aws-sdk-js-v3/issues/5687)) ([5f79e22](https://github.com/aws/aws-sdk-js-v3/commit/5f79e225e32f0b2ed5b432ae4e4108663eb0acfb))
164
-
165
-
166
-
167
-
168
-
169
- # [3.490.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.489.0...v3.490.0) (2024-01-11)
170
-
171
-
172
- ### Bug Fixes
173
-
174
- * **experimentalIdentityAndAuth:** rename `AWSSDKSigV4` to `AwsSdkSigV4` ([#5667](https://github.com/aws/aws-sdk-js-v3/issues/5667)) ([9c3e91a](https://github.com/aws/aws-sdk-js-v3/commit/9c3e91aeb155cad42ce56cc116aa71bc8f2457c9))
175
-
176
-
177
-
178
-
179
-
180
- # [3.485.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.484.0...v3.485.0) (2024-01-03)
181
-
182
-
183
- ### Features
184
-
185
- * **credential-providers:** add credentialScope field ([#5606](https://github.com/aws/aws-sdk-js-v3/issues/5606)) ([04c1459](https://github.com/aws/aws-sdk-js-v3/commit/04c14592898ac63ed87d47f2a53320ccaa991083))
186
-
187
-
188
-
189
-
190
-
191
- # [3.481.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.480.0...v3.481.0) (2023-12-26)
192
-
193
-
194
- ### Features
195
-
196
- * codegen for command class builder ([#5604](https://github.com/aws/aws-sdk-js-v3/issues/5604)) ([4835de4](https://github.com/aws/aws-sdk-js-v3/commit/4835de4ebb8f302ae1e838ac1efaf5f12384910d))
197
-
198
-
199
-
200
-
201
-
202
- # [3.477.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.476.0...v3.477.0) (2023-12-19)
203
-
204
-
205
- ### Features
206
-
207
- * xml codegen reduction ([#5566](https://github.com/aws/aws-sdk-js-v3/issues/5566)) ([3ed7c81](https://github.com/aws/aws-sdk-js-v3/commit/3ed7c81f9191182826de7645078cc6ed1d2ee959))
208
-
209
-
210
-
211
-
212
-
213
- # [3.476.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.475.0...v3.476.0) (2023-12-18)
214
-
215
-
216
- ### Bug Fixes
217
-
218
- * **core:** wrap `credentialDefaultProvider` with `normalizeProvider` ([#5592](https://github.com/aws/aws-sdk-js-v3/issues/5592)) ([9faa8ad](https://github.com/aws/aws-sdk-js-v3/commit/9faa8ad8dfd3eeb642c7a237a72c8be745ab5ba4))
219
-
220
-
221
-
222
-
223
-
224
- # [3.474.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.473.0...v3.474.0) (2023-12-14)
225
-
226
-
227
- ### Features
228
-
229
- * **core:** add `experimentalIdentityAndAuth` AWS SDK SigV4 support ([#5586](https://github.com/aws/aws-sdk-js-v3/issues/5586)) ([9a97df5](https://github.com/aws/aws-sdk-js-v3/commit/9a97df5953e722ed4887bcb65a41c019f08a5cbb))
230
-
231
-
232
-
233
-
234
-
235
- # [3.468.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.467.0...v3.468.0) (2023-12-06)
236
-
237
- **Note:** Version bump only for package @aws-sdk/core
238
-
239
-
240
-
241
-
242
-
243
- # [3.465.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.464.0...v3.465.0) (2023-12-01)
244
-
245
- **Note:** Version bump only for package @aws-sdk/core
246
-
247
-
248
-
249
-
250
-
251
- # [3.451.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.450.0...v3.451.0) (2023-11-14)
252
-
253
- **Note:** Version bump only for package @aws-sdk/core
254
-
255
-
256
-
257
-
258
-
259
- # [3.445.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.444.0...v3.445.0) (2023-11-07)
260
-
261
-
262
- ### Bug Fixes
263
-
264
- * **core:** add tslib ([#5459](https://github.com/aws/aws-sdk-js-v3/issues/5459)) ([35a1aed](https://github.com/aws/aws-sdk-js-v3/commit/35a1aed1f0d2d6fb33c24232cb24268a1f8c1b05))
265
-
266
-
267
-
268
-
269
-
270
- # [3.441.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.440.0...v3.441.0) (2023-11-01)
271
-
272
- **Note:** Version bump only for package @aws-sdk/core
273
-
274
-
275
-
276
-
277
-
278
- # [3.436.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.435.0...v3.436.0) (2023-10-25)
279
-
280
- **Note:** Version bump only for package @aws-sdk/core
281
-
282
-
283
-
284
-
285
-
286
- # [3.433.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.432.0...v3.433.0) (2023-10-20)
287
-
288
-
289
- ### Bug Fixes
290
-
291
- * **codegen:** use partial record for enum keyed types ([#5391](https://github.com/aws/aws-sdk-js-v3/issues/5391)) ([70c2107](https://github.com/aws/aws-sdk-js-v3/commit/70c2107b970d035bfedb211278c88fdbfc2e5334))
292
-
293
-
294
-
295
-
296
-
297
- # [3.431.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.430.0...v3.431.0) (2023-10-18)
298
-
299
- **Note:** Version bump only for package @aws-sdk/core
300
-
301
-
302
-
303
-
304
-
305
- # [3.430.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.429.0...v3.430.0) (2023-10-17)
306
-
307
- **Note:** Version bump only for package @aws-sdk/core
308
-
309
-
310
-
311
-
312
-
313
- # [3.429.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.428.0...v3.429.0) (2023-10-16)
314
-
315
- **Note:** Version bump only for package @aws-sdk/core
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "../../api-extractor.packages.json",
3
- "mainEntryPointFilePath": "./dist-types/index.d.ts"
4
- }
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../../index.js");
@@ -1,158 +0,0 @@
1
- import { Kinesis } from "@aws-sdk/client-kinesis";
2
- import { S3 } from "@aws-sdk/client-s3";
3
- import { TranscribeStreaming } from "@aws-sdk/client-transcribe-streaming";
4
- import { WebSocketFetchHandler } from "@aws-sdk/middleware-websocket";
5
- import { XhrHttpHandler } from "@aws-sdk/xhr-http-handler";
6
- import { FetchHttpHandler } from "@smithy/fetch-http-handler";
7
- import { NodeHttp2Handler, NodeHttpHandler } from "@smithy/node-http-handler";
8
- import { Agent } from "https";
9
-
10
- describe("request handler initialization", () => {
11
- describe("http", () => {
12
- it("should init with instances", async () => {
13
- let instance: NodeHttpHandler;
14
- let agentInstance: Agent;
15
- const client = new S3({
16
- requestHandler: (instance = new NodeHttpHandler({
17
- requestTimeout: 2_000,
18
- httpsAgent: (agentInstance = new Agent({ maxSockets: 25 })),
19
- })),
20
- });
21
- expect(client.config.requestHandler).toBe(instance);
22
- (instance as any).config = await (instance as any).configProvider;
23
- expect((instance as any).config.httpsAgent).toBe(agentInstance);
24
- expect((instance as any).config.requestTimeout).toEqual(2_000);
25
- expect(agentInstance.maxSockets).toEqual(25);
26
- });
27
- it("should init with Agent pass-through", async () => {
28
- let instance: NodeHttpHandler;
29
- const client = new S3({
30
- requestHandler: (instance = new NodeHttpHandler({
31
- requestTimeout: 2_000,
32
- httpsAgent: { maxSockets: 25 },
33
- })),
34
- });
35
- expect(client.config.requestHandler).toBe(instance);
36
- (instance as any).config = await (instance as any).configProvider;
37
- expect((instance as any).config.requestTimeout).toEqual(2_000);
38
- expect((instance as any).config.httpsAgent.maxSockets).toEqual(25);
39
- });
40
- it("should init with ctor pass-through with Agent instance", async () => {
41
- let agentInstance: Agent;
42
- const client = new S3({
43
- requestHandler: {
44
- requestTimeout: 2_000,
45
- httpsAgent: (agentInstance = new Agent({ maxSockets: 25 })),
46
- },
47
- });
48
- expect(client.config.requestHandler).toBeInstanceOf(NodeHttpHandler);
49
- const instance = client.config.requestHandler;
50
- (instance as any).config = await (instance as any).configProvider;
51
- expect((instance as any).config.httpsAgent).toBe(agentInstance);
52
- expect((instance as any).config.requestTimeout).toEqual(2_000);
53
- expect(agentInstance.maxSockets).toEqual(25);
54
- });
55
- it("should init with ctor and Agent pass-through", async () => {
56
- const client = new S3({
57
- requestHandler: {
58
- requestTimeout: 2_000,
59
- httpsAgent: {
60
- maxSockets: 25,
61
- },
62
- },
63
- });
64
- expect(client.config.requestHandler).toBeInstanceOf(NodeHttpHandler);
65
- const instance = client.config.requestHandler;
66
- (instance as any).config = await (instance as any).configProvider;
67
- expect((instance as any).config.httpsAgent).toBeInstanceOf(Agent);
68
- const agentInstance = (instance as any).config.httpsAgent;
69
- expect((instance as any).config.requestTimeout).toEqual(2_000);
70
- expect(agentInstance.maxSockets).toEqual(25);
71
- });
72
- });
73
-
74
- describe("http2", () => {
75
- it("should init with instances", async () => {
76
- let instance: NodeHttp2Handler;
77
- const client = new Kinesis({
78
- requestHandler: (instance = new NodeHttp2Handler({
79
- requestTimeout: 2_000,
80
- })),
81
- });
82
- expect(client.config.requestHandler).toBe(instance);
83
- (instance as any).config = await (instance as any).configProvider;
84
- expect((instance as any).config.requestTimeout).toEqual(2_000);
85
- });
86
- it("should init with ctor pass-through", async () => {
87
- const client = new Kinesis({
88
- requestHandler: {
89
- requestTimeout: 2_000,
90
- },
91
- });
92
- expect(client.config.requestHandler).toBeInstanceOf(NodeHttp2Handler);
93
- const instance = client.config.requestHandler;
94
- (instance as any).config = await (instance as any).configProvider;
95
- expect((instance as any).config.requestTimeout).toEqual(2_000);
96
- });
97
- });
98
-
99
- describe("fetch", () => {
100
- it("should init with instances", async () => {
101
- let instance: FetchHttpHandler;
102
- const handler = FetchHttpHandler.create((instance = new FetchHttpHandler({ requestTimeout: 2_000 })));
103
- expect(handler).toBe(instance);
104
- expect((instance as any).config.requestTimeout).toEqual(2_000);
105
- });
106
- it("should init with ctor pass-through", async () => {
107
- const handler = FetchHttpHandler.create({ requestTimeout: 2_000 });
108
- expect(handler).toBeInstanceOf(FetchHttpHandler);
109
- expect((handler as any).config.requestTimeout).toEqual(2_000);
110
- });
111
- });
112
-
113
- describe("websocket", () => {
114
- it("should init with instances", async () => {
115
- let instance: WebSocketFetchHandler;
116
- const handler = WebSocketFetchHandler.create(
117
- (instance = new WebSocketFetchHandler({ connectionTimeout: 2_000 }))
118
- );
119
- const client = new TranscribeStreaming({
120
- requestHandler: handler,
121
- });
122
- expect(client.config.requestHandler).toBe(instance);
123
- expect(handler).toBe(instance);
124
- expect((await (handler as any).configPromise).connectionTimeout).toEqual(2_000);
125
- });
126
- it("should init with ctor pass-through", async () => {
127
- const handler = WebSocketFetchHandler.create({ connectionTimeout: 2_000 });
128
- const client = new TranscribeStreaming({
129
- requestHandler: handler,
130
- });
131
- expect(client.config.requestHandler).toBe(handler);
132
- expect(handler).toBeInstanceOf(WebSocketFetchHandler);
133
- expect((await (handler as any).configPromise).connectionTimeout).toEqual(2_000);
134
- });
135
- });
136
-
137
- describe("xhr", () => {
138
- it("should init with instances", async () => {
139
- let instance: XhrHttpHandler;
140
- const handler = XhrHttpHandler.create((instance = new XhrHttpHandler({ requestTimeout: 2_000 })));
141
- const client = new S3({
142
- requestHandler: instance,
143
- });
144
- expect(client.config.requestHandler).toBe(handler);
145
- expect(handler).toBe(instance);
146
- expect((handler as any).config.requestTimeout).toEqual(2_000);
147
- });
148
- it("should init with ctor pass-through", async () => {
149
- const handler = XhrHttpHandler.create({ requestTimeout: 2_000 });
150
- const client = new S3({
151
- requestHandler: handler,
152
- });
153
- expect(client.config.requestHandler).toBe(handler);
154
- expect(handler).toBeInstanceOf(XhrHttpHandler);
155
- expect((handler as any).config.requestTimeout).toEqual(2_000);
156
- });
157
- });
158
- });
@@ -1,4 +0,0 @@
1
- module.exports = {
2
- preset: "ts-jest",
3
- testMatch: ["**/*.integ.spec.ts"],
4
- };
@@ -1,6 +0,0 @@
1
- const base = require("../../jest.config.base.js");
2
-
3
- module.exports = {
4
- ...base,
5
- testPathIgnorePatterns: ["/node_modules/"],
6
- };
@@ -1,24 +0,0 @@
1
- const fs = require("fs");
2
- const path = require("path");
3
- const assert = require("assert");
4
-
5
- const root = path.join(__dirname, "..");
6
-
7
- const pkgJson = require(path.join(root, "package.json"));
8
- const srcFolders = fs.readdirSync(path.join(root, "src"));
9
-
10
- assert(pkgJson.exports === undefined, "We cannot support package.json exports yet.");
11
-
12
- /**
13
- * We probably can't enable package.json exports until
14
- * dropping support for Node.js 14.x and TypeScript 4.6.
15
- */
16
- process.exit(0);
17
-
18
- for (const srcFolder of srcFolders) {
19
- if (fs.lstatSync(path.join(root, "src", srcFolder)).isDirectory()) {
20
- if (!pkgJson.exports["./" + srcFolder]) {
21
- throw new Error(`${srcFolder} is missing exports statement in package.json`);
22
- }
23
- }
24
- }