@adobe/helix-deploy 9.0.36 → 9.0.38

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.38](https://github.com/adobe/helix-deploy/compare/v9.0.37...v9.0.38) (2023-06-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([05fd7b9](https://github.com/adobe/helix-deploy/commit/05fd7b99617e7d92e2cb709aaaca49464c34b6c8))
7
+
8
+ ## [9.0.37](https://github.com/adobe/helix-deploy/compare/v9.0.36...v9.0.37) (2023-06-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * support binary content returned as base64 ([#548](https://github.com/adobe/helix-deploy/issues/548)) ([9cedbbe](https://github.com/adobe/helix-deploy/commit/9cedbbe6caa1001510d700031a6935b9f255b799))
14
+
1
15
  ## [9.0.36](https://github.com/adobe/helix-deploy/compare/v9.0.35...v9.0.36) (2023-05-31)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-deploy",
3
- "version": "9.0.36",
3
+ "version": "9.0.38",
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,25 +38,25 @@
38
38
  "dependencies": {
39
39
  "@adobe/fastly-native-promises": "3.0.3",
40
40
  "@adobe/fetch": "4.0.13",
41
- "@aws-sdk/client-apigatewayv2": "3.341.0",
42
- "@aws-sdk/client-lambda": "3.341.0",
43
- "@aws-sdk/client-s3": "3.341.0",
44
- "@aws-sdk/client-secrets-manager": "3.341.0",
45
- "@aws-sdk/client-ssm": "3.341.0",
46
- "@aws-sdk/client-sts": "3.341.0",
47
- "@fastly/js-compute": "2.0.1",
41
+ "@aws-sdk/client-apigatewayv2": "3.345.0",
42
+ "@aws-sdk/client-lambda": "3.345.0",
43
+ "@aws-sdk/client-s3": "3.345.0",
44
+ "@aws-sdk/client-secrets-manager": "3.345.0",
45
+ "@aws-sdk/client-ssm": "3.345.0",
46
+ "@aws-sdk/client-sts": "3.345.0",
47
+ "@fastly/js-compute": "2.1.0",
48
48
  "@google-cloud/functions": "2.4.1",
49
49
  "@google-cloud/secret-manager": "4.2.2",
50
50
  "@google-cloud/storage": "6.10.1",
51
51
  "@rollup/plugin-alias": "5.0.0",
52
52
  "@rollup/plugin-commonjs": "25.0.0",
53
53
  "@rollup/plugin-json": "6.0.0",
54
- "@rollup/plugin-node-resolve": "15.0.2",
54
+ "@rollup/plugin-node-resolve": "15.1.0",
55
55
  "@rollup/plugin-terser": "0.4.3",
56
56
  "archiver": "5.3.1",
57
57
  "chalk-template": "1.1.0",
58
58
  "constants-browserify": "1.0.0",
59
- "dotenv": "16.0.3",
59
+ "dotenv": "16.1.3",
60
60
  "express": "4.18.2",
61
61
  "form-data": "4.0.0",
62
62
  "fs-extra": "11.1.1",
@@ -66,7 +66,7 @@
66
66
  "rollup": "3.23.0",
67
67
  "semver": "7.5.1",
68
68
  "tar": "6.1.15",
69
- "webpack": "5.84.1",
69
+ "webpack": "5.85.0",
70
70
  "yargs": "17.7.2"
71
71
  },
72
72
  "devDependencies": {
@@ -75,15 +75,15 @@
75
75
  "@adobe/helix-status": "10.0.9",
76
76
  "@semantic-release/changelog": "6.0.3",
77
77
  "@semantic-release/git": "10.0.1",
78
- "c8": "7.13.0",
79
- "eslint": "8.41.0",
78
+ "c8": "7.14.0",
79
+ "eslint": "8.42.0",
80
80
  "husky": "8.0.3",
81
81
  "lint-staged": "13.2.2",
82
82
  "mocha": "10.2.0",
83
83
  "mocha-junit-reporter": "2.2.0",
84
84
  "mocha-multi-reporters": "1.5.1",
85
85
  "nock": "13.3.1",
86
- "semantic-release": "21.0.2",
86
+ "semantic-release": "21.0.3",
87
87
  "yauzl": "2.10.0"
88
88
  },
89
89
  "engines": {
@@ -167,12 +167,13 @@ export default class DevelopmentServer {
167
167
  const {
168
168
  statusCode,
169
169
  headers,
170
+ isBase64Encoded,
170
171
  body,
171
172
  } = await adapter(event, context);
172
173
 
173
174
  res.status(statusCode);
174
175
  Object.entries(headers).forEach(([name, value]) => res.set(name, value));
175
- res.send(body);
176
+ res.send(isBase64Encoded ? Buffer.from(body, 'base64') : body);
176
177
  };
177
178
  this.params = config.params;
178
179
  return this;