@adobe/helix-html-pipeline 1.8.10 → 1.8.12
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 +4 -4
- package/src/html-pipe.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.8.12](https://github.com/adobe/helix-html-pipeline/compare/v1.8.11...v1.8.12) (2022-11-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @adobe/helix-shared-utils to v2.2.0 ([001e855](https://github.com/adobe/helix-html-pipeline/commit/001e855e63df5aea9dad938a811bf2296c0491bd))
|
|
7
|
+
|
|
8
|
+
## [1.8.11](https://github.com/adobe/helix-html-pipeline/compare/v1.8.10...v1.8.11) (2022-11-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* use info for response status < 500 ([#194](https://github.com/adobe/helix-html-pipeline/issues/194)) ([5d8424d](https://github.com/adobe/helix-html-pipeline/commit/5d8424d40b4883993d7f3f5488680ec1924f7bd5))
|
|
14
|
+
|
|
1
15
|
## [1.8.10](https://github.com/adobe/helix-html-pipeline/compare/v1.8.9...v1.8.10) (2022-11-11)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.12",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@adobe/helix-markdown-support": "6.0.0",
|
|
33
|
-
"@adobe/helix-shared-utils": "2.
|
|
33
|
+
"@adobe/helix-shared-utils": "2.2.0",
|
|
34
34
|
"@adobe/mdast-util-gridtables": "1.0.3",
|
|
35
35
|
"@adobe/remark-gridtables": "1.0.0",
|
|
36
36
|
"github-slugger": "2.0.0",
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
"@semantic-release/git": "10.0.1",
|
|
72
72
|
"@semantic-release/npm": "9.0.1",
|
|
73
73
|
"c8": "7.12.0",
|
|
74
|
-
"eslint": "8.
|
|
74
|
+
"eslint": "8.27.0",
|
|
75
75
|
"eslint-import-resolver-exports": "1.0.0-beta.3",
|
|
76
76
|
"eslint-plugin-header": "3.1.1",
|
|
77
77
|
"eslint-plugin-import": "2.26.0",
|
|
78
78
|
"esmock": "2.0.7",
|
|
79
|
-
"husky": "8.0.
|
|
79
|
+
"husky": "8.0.2",
|
|
80
80
|
"js-yaml": "4.1.0",
|
|
81
81
|
"jsdom": "20.0.2",
|
|
82
82
|
"junit-report-builder": "3.0.1",
|
package/src/html-pipe.js
CHANGED
|
@@ -78,7 +78,8 @@ export async function htmlPipe(state, req) {
|
|
|
78
78
|
|
|
79
79
|
if (res.error) {
|
|
80
80
|
// if content loading produced an error, we're done.
|
|
81
|
-
|
|
81
|
+
const level = res.status >= 500 ? 'error' : 'info';
|
|
82
|
+
log[level](`pipeline status: ${res.status} ${res.error}`);
|
|
82
83
|
res.headers.set('x-error', cleanupHeaderValue(res.error));
|
|
83
84
|
if (res.status < 500) {
|
|
84
85
|
await setCustomResponseHeaders(state, req, res);
|