@jjrawlins/cdk-diff-pr-github-action 1.5.3 → 1.5.5

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 (143) hide show
  1. package/.jsii +4 -4
  2. package/lib/CdkDiffIamTemplate.js +2 -2
  3. package/lib/CdkDiffIamTemplateStackSet.js +2 -2
  4. package/lib/CdkDiffStackWorkflow.js +1 -1
  5. package/lib/CdkDriftDetectionWorkflow.js +1 -1
  6. package/lib/CdkDriftIamTemplate.js +2 -2
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +17 -18
  8. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
  9. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
  10. package/node_modules/@aws-sdk/client-sso/package.json +5 -5
  11. package/node_modules/@aws-sdk/core/dist-cjs/index.js +4 -4
  12. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
  14. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
  15. package/node_modules/@aws-sdk/core/package.json +1 -1
  16. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  17. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  18. package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
  19. package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
  20. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  21. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  22. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
  23. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-Bw7VSvlO.js +8 -0
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
  26. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  27. package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
  28. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -18
  29. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
  30. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +23 -17
  31. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  32. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  33. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -12
  34. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  35. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  36. package/node_modules/@smithy/abort-controller/package.json +6 -6
  37. package/node_modules/@smithy/config-resolver/package.json +10 -10
  38. package/node_modules/@smithy/core/dist-cjs/index.js +1 -4
  39. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
  40. package/node_modules/@smithy/core/package.json +11 -11
  41. package/node_modules/@smithy/credential-provider-imds/package.json +9 -9
  42. package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
  43. package/node_modules/@smithy/hash-node/package.json +8 -8
  44. package/node_modules/@smithy/invalid-dependency/package.json +6 -6
  45. package/node_modules/@smithy/is-array-buffer/package.json +5 -5
  46. package/node_modules/@smithy/middleware-content-length/package.json +7 -7
  47. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  48. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  49. package/node_modules/@smithy/middleware-serde/package.json +7 -7
  50. package/node_modules/@smithy/middleware-stack/package.json +6 -6
  51. package/node_modules/@smithy/node-config-provider/package.json +8 -8
  52. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  53. package/node_modules/@smithy/property-provider/package.json +6 -6
  54. package/node_modules/@smithy/protocol-http/package.json +6 -6
  55. package/node_modules/@smithy/querystring-builder/package.json +7 -7
  56. package/node_modules/@smithy/querystring-parser/package.json +6 -6
  57. package/node_modules/@smithy/service-error-classification/package.json +6 -6
  58. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
  59. package/node_modules/@smithy/shared-ini-file-loader/package.json +6 -6
  60. package/node_modules/@smithy/signature-v4/package.json +12 -12
  61. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +10 -15
  62. package/node_modules/@smithy/smithy-client/package.json +7 -7
  63. package/node_modules/@smithy/types/package.json +5 -5
  64. package/node_modules/@smithy/url-parser/package.json +7 -7
  65. package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
  66. package/node_modules/@smithy/util-base64/package.json +7 -7
  67. package/node_modules/@smithy/util-body-length-browser/package.json +5 -5
  68. package/node_modules/@smithy/util-body-length-node/package.json +5 -5
  69. package/node_modules/@smithy/util-buffer-from/package.json +6 -6
  70. package/node_modules/@smithy/util-config-provider/package.json +5 -5
  71. package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
  72. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  73. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  74. package/node_modules/@smithy/util-endpoints/package.json +7 -7
  75. package/node_modules/@smithy/util-hex-encoding/package.json +5 -5
  76. package/node_modules/@smithy/util-middleware/package.json +6 -6
  77. package/node_modules/@smithy/util-retry/package.json +7 -7
  78. package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
  79. package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -29
  80. package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
  81. package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
  82. package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +1 -0
  83. package/node_modules/@smithy/util-stream/package.json +8 -8
  84. package/node_modules/@smithy/util-uri-escape/package.json +5 -5
  85. package/node_modules/@smithy/util-utf8/package.json +6 -6
  86. package/node_modules/@smithy/util-waiter/package.json +7 -7
  87. package/node_modules/@smithy/uuid/package.json +5 -5
  88. package/package.json +4 -4
  89. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
  90. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
  91. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
  92. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
  93. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
  94. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
  95. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
  96. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
  97. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
  98. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
  99. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
  100. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
  101. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
  102. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
  103. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
  104. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
  105. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
  106. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
  107. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
  108. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
  109. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
  110. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
  111. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
  112. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
  113. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
  114. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
  115. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
  116. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
  117. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
  118. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
  119. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
  120. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
  121. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
  122. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
  123. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
  124. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
  125. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
  126. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
  127. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
  128. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
  129. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
  130. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
  131. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
  132. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
  133. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
  134. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
  135. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
  136. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
  137. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
  138. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
  139. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
  140. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
  141. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
  142. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
  143. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@smithy/util-hex-encoding",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Converts binary buffers to and from lowercase hexadecimal encoding",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
7
7
  "build:cjs": "node ../../scripts/inline util-hex-encoding",
8
8
  "build:es": "yarn g:tsc -p tsconfig.es.json",
9
9
  "build:types": "yarn g:tsc -p tsconfig.types.json",
10
- "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
11
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
10
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
11
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "test": "yarn g:vitest run",
@@ -49,7 +49,7 @@
49
49
  "devDependencies": {
50
50
  "concurrently": "7.0.0",
51
51
  "downlevel-dts": "0.10.1",
52
- "rimraf": "3.0.2",
52
+ "premove": "4.0.0",
53
53
  "typedoc": "0.23.23"
54
54
  },
55
55
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-middleware",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
4
4
  "description": "Shared utilities for to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -9,9 +9,9 @@
9
9
  "build:cjs": "node ../../scripts/inline util-middleware",
10
10
  "build:es": "yarn g:tsc -p tsconfig.es.json",
11
11
  "build:types": "yarn g:tsc -p tsconfig.types.json",
12
- "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
15
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
16
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
17
17
  "test": "yarn g:vitest run",
@@ -28,14 +28,14 @@
28
28
  "license": "Apache-2.0",
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
- "@smithy/types": "^4.12.0",
31
+ "@smithy/types": "^4.12.1",
32
32
  "tslib": "^2.6.2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^18.11.9",
36
36
  "concurrently": "7.0.0",
37
37
  "downlevel-dts": "0.10.1",
38
- "rimraf": "5.0.10",
38
+ "premove": "4.0.0",
39
39
  "typedoc": "0.23.23"
40
40
  },
41
41
  "types": "./dist-types/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-retry",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -9,9 +9,9 @@
9
9
  "build:cjs": "node ../../scripts/inline util-retry",
10
10
  "build:es": "yarn g:tsc -p tsconfig.es.json",
11
11
  "build:types": "yarn g:tsc -p tsconfig.types.json",
12
- "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
15
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
16
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
17
17
  "extract:docs": "api-extractor run --local",
@@ -31,15 +31,15 @@
31
31
  "license": "Apache-2.0",
32
32
  "sideEffects": false,
33
33
  "dependencies": {
34
- "@smithy/service-error-classification": "^4.2.8",
35
- "@smithy/types": "^4.12.0",
34
+ "@smithy/service-error-classification": "^4.2.9",
35
+ "@smithy/types": "^4.12.1",
36
36
  "tslib": "^2.6.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^18.11.9",
40
40
  "concurrently": "7.0.0",
41
41
  "downlevel-dts": "0.10.1",
42
- "rimraf": "5.0.10",
42
+ "premove": "4.0.0",
43
43
  "typedoc": "0.23.23"
44
44
  },
45
45
  "types": "./dist-types/index.d.ts",
@@ -9,6 +9,7 @@ class ChecksumStream extends stream_1.Duplex {
9
9
  checksum;
10
10
  source;
11
11
  base64Encoder;
12
+ pendingCallback = null;
12
13
  constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) {
13
14
  super();
14
15
  if (typeof source.pipe === "function") {
@@ -23,11 +24,21 @@ class ChecksumStream extends stream_1.Duplex {
23
24
  this.checksumSourceLocation = checksumSourceLocation;
24
25
  this.source.pipe(this);
25
26
  }
26
- _read(size) { }
27
+ _read(size) {
28
+ if (this.pendingCallback) {
29
+ const callback = this.pendingCallback;
30
+ this.pendingCallback = null;
31
+ callback();
32
+ }
33
+ }
27
34
  _write(chunk, encoding, callback) {
28
35
  try {
29
36
  this.checksum.update(chunk);
30
- this.push(chunk);
37
+ const canPushMore = this.push(chunk);
38
+ if (!canPushMore) {
39
+ this.pendingCallback = callback;
40
+ return;
41
+ }
31
42
  }
32
43
  catch (e) {
33
44
  return callback(e);
@@ -33,54 +33,76 @@ class Uint8ArrayBlobAdapter extends Uint8Array {
33
33
  }
34
34
  }
35
35
 
36
- Object.defineProperty(exports, "isBlob", {
37
- enumerable: true,
38
- get: function () { return streamTypeCheck.isBlob; }
39
- });
40
- Object.defineProperty(exports, "isReadableStream", {
41
- enumerable: true,
42
- get: function () { return streamTypeCheck.isReadableStream; }
43
- });
36
+ exports.isBlob = streamTypeCheck.isBlob;
37
+ exports.isReadableStream = streamTypeCheck.isReadableStream;
44
38
  exports.Uint8ArrayBlobAdapter = Uint8ArrayBlobAdapter;
45
- Object.keys(ChecksumStream).forEach(function (k) {
46
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
39
+ Object.prototype.hasOwnProperty.call(ChecksumStream, '__proto__') &&
40
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
41
+ Object.defineProperty(exports, '__proto__', {
47
42
  enumerable: true,
48
- get: function () { return ChecksumStream[k]; }
43
+ value: ChecksumStream['__proto__']
49
44
  });
45
+
46
+ Object.keys(ChecksumStream).forEach(function (k) {
47
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = ChecksumStream[k];
50
48
  });
51
- Object.keys(createChecksumStream).forEach(function (k) {
52
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
49
+ Object.prototype.hasOwnProperty.call(createChecksumStream, '__proto__') &&
50
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
51
+ Object.defineProperty(exports, '__proto__', {
53
52
  enumerable: true,
54
- get: function () { return createChecksumStream[k]; }
53
+ value: createChecksumStream['__proto__']
55
54
  });
55
+
56
+ Object.keys(createChecksumStream).forEach(function (k) {
57
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = createChecksumStream[k];
56
58
  });
57
- Object.keys(createBufferedReadable).forEach(function (k) {
58
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
59
+ Object.prototype.hasOwnProperty.call(createBufferedReadable, '__proto__') &&
60
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
61
+ Object.defineProperty(exports, '__proto__', {
59
62
  enumerable: true,
60
- get: function () { return createBufferedReadable[k]; }
63
+ value: createBufferedReadable['__proto__']
61
64
  });
65
+
66
+ Object.keys(createBufferedReadable).forEach(function (k) {
67
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = createBufferedReadable[k];
62
68
  });
63
- Object.keys(getAwsChunkedEncodingStream).forEach(function (k) {
64
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
69
+ Object.prototype.hasOwnProperty.call(getAwsChunkedEncodingStream, '__proto__') &&
70
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
71
+ Object.defineProperty(exports, '__proto__', {
65
72
  enumerable: true,
66
- get: function () { return getAwsChunkedEncodingStream[k]; }
73
+ value: getAwsChunkedEncodingStream['__proto__']
67
74
  });
75
+
76
+ Object.keys(getAwsChunkedEncodingStream).forEach(function (k) {
77
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = getAwsChunkedEncodingStream[k];
68
78
  });
69
- Object.keys(headStream).forEach(function (k) {
70
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
79
+ Object.prototype.hasOwnProperty.call(headStream, '__proto__') &&
80
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
81
+ Object.defineProperty(exports, '__proto__', {
71
82
  enumerable: true,
72
- get: function () { return headStream[k]; }
83
+ value: headStream['__proto__']
73
84
  });
85
+
86
+ Object.keys(headStream).forEach(function (k) {
87
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = headStream[k];
74
88
  });
75
- Object.keys(sdkStreamMixin).forEach(function (k) {
76
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
89
+ Object.prototype.hasOwnProperty.call(sdkStreamMixin, '__proto__') &&
90
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
91
+ Object.defineProperty(exports, '__proto__', {
77
92
  enumerable: true,
78
- get: function () { return sdkStreamMixin[k]; }
93
+ value: sdkStreamMixin['__proto__']
79
94
  });
95
+
96
+ Object.keys(sdkStreamMixin).forEach(function (k) {
97
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = sdkStreamMixin[k];
80
98
  });
81
- Object.keys(splitStream).forEach(function (k) {
82
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
99
+ Object.prototype.hasOwnProperty.call(splitStream, '__proto__') &&
100
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
101
+ Object.defineProperty(exports, '__proto__', {
83
102
  enumerable: true,
84
- get: function () { return splitStream[k]; }
103
+ value: splitStream['__proto__']
85
104
  });
105
+
106
+ Object.keys(splitStream).forEach(function (k) {
107
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = splitStream[k];
86
108
  });
@@ -6,6 +6,7 @@ export class ChecksumStream extends Duplex {
6
6
  checksum;
7
7
  source;
8
8
  base64Encoder;
9
+ pendingCallback = null;
9
10
  constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) {
10
11
  super();
11
12
  if (typeof source.pipe === "function") {
@@ -20,11 +21,21 @@ export class ChecksumStream extends Duplex {
20
21
  this.checksumSourceLocation = checksumSourceLocation;
21
22
  this.source.pipe(this);
22
23
  }
23
- _read(size) { }
24
+ _read(size) {
25
+ if (this.pendingCallback) {
26
+ const callback = this.pendingCallback;
27
+ this.pendingCallback = null;
28
+ callback();
29
+ }
30
+ }
24
31
  _write(chunk, encoding, callback) {
25
32
  try {
26
33
  this.checksum.update(chunk);
27
- this.push(chunk);
34
+ const canPushMore = this.push(chunk);
35
+ if (!canPushMore) {
36
+ this.pendingCallback = callback;
37
+ return;
38
+ }
28
39
  }
29
40
  catch (e) {
30
41
  return callback(e);
@@ -38,6 +38,7 @@ export declare class ChecksumStream extends Duplex {
38
38
  private checksum;
39
39
  private source?;
40
40
  private base64Encoder;
41
+ private pendingCallback;
41
42
  constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit<Readable>);
42
43
  /**
43
44
  * Do not call this directly.
@@ -38,6 +38,7 @@ export declare class ChecksumStream extends Duplex {
38
38
  private checksum;
39
39
  private source?;
40
40
  private base64Encoder;
41
+ private pendingCallback;
41
42
  constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }: ChecksumStreamInit<Readable>);
42
43
  /**
43
44
  * Do not call this directly.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "4.5.12",
3
+ "version": "4.5.14",
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 util-stream",
@@ -29,13 +29,13 @@
29
29
  "license": "Apache-2.0",
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
- "@smithy/fetch-http-handler": "^5.3.9",
33
- "@smithy/node-http-handler": "^4.4.10",
34
- "@smithy/types": "^4.12.0",
35
- "@smithy/util-base64": "^4.3.0",
36
- "@smithy/util-buffer-from": "^4.2.0",
37
- "@smithy/util-hex-encoding": "^4.2.0",
38
- "@smithy/util-utf8": "^4.2.0",
32
+ "@smithy/fetch-http-handler": "^5.3.10",
33
+ "@smithy/node-http-handler": "^4.4.11",
34
+ "@smithy/types": "^4.12.1",
35
+ "@smithy/util-base64": "^4.3.1",
36
+ "@smithy/util-buffer-from": "^4.2.1",
37
+ "@smithy/util-hex-encoding": "^4.2.1",
38
+ "@smithy/util-utf8": "^4.2.1",
39
39
  "tslib": "^2.6.2"
40
40
  },
41
41
  "devDependencies": {
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@smithy/util-uri-escape",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
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 util-uri-escape",
7
7
  "build:es": "yarn g:tsc -p tsconfig.es.json",
8
8
  "build:types": "yarn g:tsc -p tsconfig.types.json",
9
- "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
9
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
10
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
14
  "test": "yarn g:vitest run",
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "concurrently": "7.0.0",
50
50
  "downlevel-dts": "0.10.1",
51
- "rimraf": "3.0.2",
51
+ "premove": "4.0.0",
52
52
  "typedoc": "0.23.23"
53
53
  },
54
54
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-utf8",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "A UTF-8 string <-> UInt8Array converter",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -9,9 +9,9 @@
9
9
  "build:cjs": "node ../../scripts/inline util-utf8",
10
10
  "build:es": "yarn g:tsc -p tsconfig.es.json",
11
11
  "build:types": "yarn g:tsc -p tsconfig.types.json",
12
- "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
13
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
15
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
16
16
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
17
17
  "test": "yarn g:vitest run",
@@ -24,13 +24,13 @@
24
24
  "license": "Apache-2.0",
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
- "@smithy/util-buffer-from": "^4.2.0",
27
+ "@smithy/util-buffer-from": "^4.2.1",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "concurrently": "7.0.0",
32
32
  "downlevel-dts": "0.10.1",
33
- "rimraf": "3.0.2",
33
+ "premove": "4.0.0",
34
34
  "typedoc": "0.23.23"
35
35
  },
36
36
  "types": "./dist-types/index.d.ts",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@smithy/util-waiter",
3
- "version": "4.2.8",
3
+ "version": "4.2.9",
4
4
  "description": "Shared utilities for client waiters for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/abort-controller": "^4.2.8",
7
- "@smithy/types": "^4.12.0",
6
+ "@smithy/abort-controller": "^4.2.9",
7
+ "@smithy/types": "^4.12.1",
8
8
  "tslib": "^2.6.2"
9
9
  },
10
10
  "scripts": {
@@ -12,9 +12,9 @@
12
12
  "build:cjs": "node ../../scripts/inline util-waiter",
13
13
  "build:es": "yarn g:tsc -p tsconfig.es.json",
14
14
  "build:types": "yarn g:tsc -p tsconfig.types.json",
15
- "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
16
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
17
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
15
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
16
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
17
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
18
18
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
19
19
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
20
20
  "test": "yarn g:vitest run",
@@ -51,7 +51,7 @@
51
51
  "devDependencies": {
52
52
  "concurrently": "7.0.0",
53
53
  "downlevel-dts": "0.10.1",
54
- "rimraf": "5.0.10",
54
+ "premove": "4.0.0",
55
55
  "typedoc": "0.23.23"
56
56
  },
57
57
  "typedoc": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/uuid",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Polyfill for generating UUID v4",
5
5
  "dependencies": {
6
6
  "tslib": "^2.6.2"
@@ -10,9 +10,9 @@
10
10
  "build:cjs": "node ../../scripts/inline uuid",
11
11
  "build:es": "yarn g:tsc -p tsconfig.es.json",
12
12
  "build:types": "yarn g:tsc -p tsconfig.types.json",
13
- "build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
14
- "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
15
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
+ "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
14
+ "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
15
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
16
16
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
17
17
  "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
18
18
  "test": "yarn g:vitest run",
@@ -54,7 +54,7 @@
54
54
  "@types/node": "^18.11.9",
55
55
  "concurrently": "7.0.0",
56
56
  "downlevel-dts": "0.10.1",
57
- "rimraf": "3.0.2",
57
+ "premove": "4.0.0",
58
58
  "typedoc": "0.23.23"
59
59
  },
60
60
  "typedoc": {
package/package.json CHANGED
@@ -38,7 +38,7 @@
38
38
  "@aws-sdk/types": "^3.973.1",
39
39
  "@stylistic/eslint-plugin": "^2",
40
40
  "@types/jest": "^30.0.0",
41
- "@types/lodash": "^4.17.23",
41
+ "@types/lodash": "^4.17.24",
42
42
  "@types/node": "^24.10.13",
43
43
  "@typescript-eslint/eslint-plugin": "^8",
44
44
  "@typescript-eslint/parser": "^8",
@@ -66,7 +66,7 @@
66
66
  "constructs": ">=10.0.5 <11.0.0"
67
67
  },
68
68
  "dependencies": {
69
- "@aws-sdk/client-cloudformation": "^3.995.0",
69
+ "@aws-sdk/client-cloudformation": "^3.996.0",
70
70
  "@types/crypto-js": "^4.2.2",
71
71
  "@types/js-yaml": "^4.0.9",
72
72
  "crypto-js": "^4.2.0",
@@ -101,14 +101,14 @@
101
101
  "pull request"
102
102
  ],
103
103
  "engines": {
104
- "node": ">=20.0.0 <21"
104
+ "node": ">=20.0.0"
105
105
  },
106
106
  "main": "lib/index.js",
107
107
  "license": "Apache-2.0",
108
108
  "publishConfig": {
109
109
  "access": "public"
110
110
  },
111
- "version": "1.5.3",
111
+ "version": "1.5.5",
112
112
  "jest": {
113
113
  "coverageProvider": "v8",
114
114
  "testMatch": [