@adobe/helix-html-pipeline 6.7.0 → 6.7.2
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
|
+
## [6.7.2](https://github.com/adobe/helix-html-pipeline/compare/v6.7.1...v6.7.2) (2024-03-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency jose to v5.2.3 ([72011d5](https://github.com/adobe/helix-html-pipeline/commit/72011d5fc7988e26386730b5ee4c413bfa2506c0))
|
|
7
|
+
|
|
8
|
+
## [6.7.1](https://github.com/adobe/helix-html-pipeline/compare/v6.7.0...v6.7.1) (2024-03-06)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add path key for original path ([#557](https://github.com/adobe/helix-html-pipeline/issues/557)) ([2db5f39](https://github.com/adobe/helix-html-pipeline/commit/2db5f39526fa46b6c848fd27965be48afb46ad4f))
|
|
14
|
+
|
|
1
15
|
# [6.7.0](https://github.com/adobe/helix-html-pipeline/compare/v6.6.1...v6.7.0) (2024-03-01)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "6.7.
|
|
3
|
+
"version": "6.7.2",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"hast-util-to-html": "9.0.0",
|
|
55
55
|
"hast-util-to-string": "3.0.0",
|
|
56
56
|
"hastscript": "9.0.0",
|
|
57
|
-
"jose": "5.2.
|
|
57
|
+
"jose": "5.2.3",
|
|
58
58
|
"lodash.escape": "4.0.1",
|
|
59
59
|
"mdast-util-to-hast": "13.1.0",
|
|
60
60
|
"mdast-util-to-string": "4.0.0",
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"@markedjs/html-differ": "4.0.2",
|
|
77
77
|
"@semantic-release/changelog": "6.0.3",
|
|
78
78
|
"@semantic-release/git": "10.0.1",
|
|
79
|
-
"@semantic-release/npm": "11.0.
|
|
79
|
+
"@semantic-release/npm": "11.0.3",
|
|
80
80
|
"c8": "9.1.0",
|
|
81
81
|
"eslint": "8.57.0",
|
|
82
82
|
"eslint-import-resolver-exports": "1.0.0-beta.5",
|
|
83
83
|
"eslint-plugin-header": "3.1.1",
|
|
84
84
|
"eslint-plugin-import": "2.29.1",
|
|
85
|
-
"esmock": "2.6.
|
|
85
|
+
"esmock": "2.6.4",
|
|
86
86
|
"husky": "9.0.11",
|
|
87
87
|
"js-yaml": "4.1.0",
|
|
88
88
|
"jsdom": "24.0.0",
|
|
@@ -54,7 +54,12 @@ export default async function setXSurrogateKeyHeader(state, req, res) {
|
|
|
54
54
|
// for folder-mapped resources, we also need to include the surrogate key of the mapped metadata
|
|
55
55
|
if (state.mapped) {
|
|
56
56
|
keys.push(`${hash}_metadata`);
|
|
57
|
+
if (state.info.unmappedPath) {
|
|
58
|
+
keys.push(await getPathKey({
|
|
59
|
+
contentBusId,
|
|
60
|
+
info: { path: state.info.unmappedPath },
|
|
61
|
+
}));
|
|
62
|
+
}
|
|
57
63
|
}
|
|
58
|
-
|
|
59
64
|
res.headers.set('x-surrogate-key', keys.join(' '));
|
|
60
65
|
}
|