@adobe/helix-deploy 9.0.40 → 9.1.1
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 +14 -0
- package/package.json +10 -10
- package/src/DevelopmentServer.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [9.1.1](https://github.com/adobe/helix-deploy/compare/v9.1.0...v9.1.1) (2023-06-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update external fixes ([8e1f922](https://github.com/adobe/helix-deploy/commit/8e1f922f1c0b6f174a5dccf80b1528f54ede35cd))
|
|
7
|
+
|
|
8
|
+
# [9.1.0](https://github.com/adobe/helix-deploy/compare/v9.0.40...v9.1.0) (2023-06-09)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add support for x-http-method override ([#551](https://github.com/adobe/helix-deploy/issues/551)) ([49cbe6c](https://github.com/adobe/helix-deploy/commit/49cbe6c3f7e8ed5c4bdbc27c26f43e8dac9af5b3))
|
|
14
|
+
|
|
1
15
|
## [9.0.40](https://github.com/adobe/helix-deploy/compare/v9.0.39...v9.0.40) (2023-06-08)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-deploy",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.1",
|
|
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,18 +38,18 @@
|
|
|
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.
|
|
42
|
-
"@aws-sdk/client-lambda": "3.
|
|
43
|
-
"@aws-sdk/client-s3": "3.
|
|
44
|
-
"@aws-sdk/client-secrets-manager": "3.
|
|
45
|
-
"@aws-sdk/client-ssm": "3.
|
|
46
|
-
"@aws-sdk/client-sts": "3.
|
|
41
|
+
"@aws-sdk/client-apigatewayv2": "3.350.0",
|
|
42
|
+
"@aws-sdk/client-lambda": "3.350.0",
|
|
43
|
+
"@aws-sdk/client-s3": "3.350.0",
|
|
44
|
+
"@aws-sdk/client-secrets-manager": "3.350.0",
|
|
45
|
+
"@aws-sdk/client-ssm": "3.350.0",
|
|
46
|
+
"@aws-sdk/client-sts": "3.350.0",
|
|
47
47
|
"@fastly/js-compute": "2.2.0",
|
|
48
48
|
"@google-cloud/functions": "2.5.0",
|
|
49
49
|
"@google-cloud/secret-manager": "4.2.2",
|
|
50
50
|
"@google-cloud/storage": "6.11.0",
|
|
51
51
|
"@rollup/plugin-alias": "5.0.0",
|
|
52
|
-
"@rollup/plugin-commonjs": "25.0.
|
|
52
|
+
"@rollup/plugin-commonjs": "25.0.1",
|
|
53
53
|
"@rollup/plugin-json": "6.0.0",
|
|
54
54
|
"@rollup/plugin-node-resolve": "15.1.0",
|
|
55
55
|
"@rollup/plugin-terser": "0.4.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"get-stream": "6.0.1",
|
|
64
64
|
"isomorphic-git": "1.24.0",
|
|
65
65
|
"openwhisk": "3.21.7",
|
|
66
|
-
"rollup": "3.24.
|
|
66
|
+
"rollup": "3.24.1",
|
|
67
67
|
"semver": "7.5.1",
|
|
68
68
|
"tar": "6.1.15",
|
|
69
69
|
"webpack": "5.86.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
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.
|
|
86
|
+
"semantic-release": "21.0.5",
|
|
87
87
|
"yauzl": "2.10.0"
|
|
88
88
|
},
|
|
89
89
|
"engines": {
|
package/src/DevelopmentServer.js
CHANGED
|
@@ -144,6 +144,7 @@ export default class DevelopmentServer {
|
|
|
144
144
|
});
|
|
145
145
|
this._handler = async (req, res) => {
|
|
146
146
|
const [rawPath, rawQueryString = ''] = req.originalUrl.split('?');
|
|
147
|
+
const method = req.headers['x-http-method'] || req.method;
|
|
147
148
|
const event = {
|
|
148
149
|
body: req.rawBody,
|
|
149
150
|
headers: req.headers,
|
|
@@ -153,7 +154,7 @@ export default class DevelopmentServer {
|
|
|
153
154
|
requestContext: {
|
|
154
155
|
domainName: req.hostname,
|
|
155
156
|
http: {
|
|
156
|
-
method
|
|
157
|
+
method,
|
|
157
158
|
},
|
|
158
159
|
},
|
|
159
160
|
rawPath,
|