@adobe/helix-deploy 9.0.2 → 9.0.4

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [9.0.4](https://github.com/adobe/helix-deploy/compare/v9.0.3...v9.0.4) (2023-02-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([3c0aa35](https://github.com/adobe/helix-deploy/commit/3c0aa357c9999e6c96dd9b74084d968684218bdf))
7
+
8
+ ## [9.0.3](https://github.com/adobe/helix-deploy/compare/v9.0.2...v9.0.3) (2023-02-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * wait for close ([#499](https://github.com/adobe/helix-deploy/issues/499)) ([676a04e](https://github.com/adobe/helix-deploy/commit/676a04ec19d494b80f029720a7280c0f20f38b3f))
14
+
1
15
  ## [9.0.2](https://github.com/adobe/helix-deploy/compare/v9.0.1...v9.0.2) (2023-02-02)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-deploy",
3
- "version": "9.0.2",
3
+ "version": "9.0.4",
4
4
  "description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/adobe/helix-deploy#readme",
@@ -38,14 +38,14 @@
38
38
  "dependencies": {
39
39
  "@adobe/fastly-native-promises": "3.0.0",
40
40
  "@adobe/fetch": "4.0.1",
41
- "@aws-sdk/client-apigatewayv2": "3.261.0",
42
- "@aws-sdk/client-lambda": "3.261.0",
43
- "@aws-sdk/client-s3": "3.261.0",
44
- "@aws-sdk/client-secrets-manager": "3.261.0",
45
- "@aws-sdk/client-ssm": "3.261.0",
46
- "@aws-sdk/client-sts": "3.261.0",
41
+ "@aws-sdk/client-apigatewayv2": "3.264.0",
42
+ "@aws-sdk/client-lambda": "3.264.0",
43
+ "@aws-sdk/client-s3": "3.264.0",
44
+ "@aws-sdk/client-secrets-manager": "3.264.0",
45
+ "@aws-sdk/client-ssm": "3.264.0",
46
+ "@aws-sdk/client-sts": "3.264.0",
47
47
  "@fastly/js-compute": "1.3.2",
48
- "@google-cloud/functions": "2.2.3",
48
+ "@google-cloud/functions": "2.3.0",
49
49
  "@google-cloud/secret-manager": "4.2.0",
50
50
  "@google-cloud/storage": "6.9.1",
51
51
  "@rollup/plugin-alias": "4.0.3",
@@ -63,7 +63,7 @@
63
63
  "get-stream": "6.0.1",
64
64
  "isomorphic-git": "1.21.0",
65
65
  "openwhisk": "3.21.7",
66
- "rollup": "3.12.0",
66
+ "rollup": "3.13.0",
67
67
  "semver": "7.3.8",
68
68
  "tar": "6.1.13",
69
69
  "webpack": "5.75.0",
@@ -356,9 +356,9 @@ export default class ActionBuilder {
356
356
  return this.execute('cleanup', '');
357
357
  }
358
358
 
359
- close() {
359
+ async close() {
360
360
  if (this.validated) {
361
- Object.values(this._deployers).forEach((dep) => dep.close());
361
+ await Promise.allSettled(Object.values(this._deployers).map((dep) => dep.close()));
362
362
  }
363
363
  }
364
364
 
@@ -366,7 +366,7 @@ export default class ActionBuilder {
366
366
  try {
367
367
  return await this._run();
368
368
  } finally {
369
- this.close();
369
+ await this.close();
370
370
  }
371
371
  }
372
372
 
@@ -887,6 +887,8 @@ export default class AWSDeployer extends BaseDeployer {
887
887
  this._api?.destroy();
888
888
  this._ssm?.destroy();
889
889
  this._sm?.destroy();
890
+
891
+ await super.close();
890
892
  }
891
893
  }
892
894
 
@@ -55,8 +55,8 @@ export default class BaseDeployer {
55
55
  }
56
56
  }
57
57
 
58
- close() {
59
- this.resetFetchContext();
58
+ async close() {
59
+ await this.resetFetchContext();
60
60
  }
61
61
 
62
62
  get fetch() {