@adobe/helix-html-pipeline 6.3.0 → 6.3.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.3.2](https://github.com/adobe/helix-html-pipeline/compare/v6.3.1...v6.3.2) (2024-01-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * surrogate key for .md ([a1e5167](https://github.com/adobe/helix-html-pipeline/commit/a1e51675369b29a0c9f6a91c5c26825fd665bf22)), closes [#504](https://github.com/adobe/helix-html-pipeline/issues/504)
7
+
8
+ ## [6.3.1](https://github.com/adobe/helix-html-pipeline/compare/v6.3.0...v6.3.1) (2024-01-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update external major ([#502](https://github.com/adobe/helix-html-pipeline/issues/502)) ([af2c69d](https://github.com/adobe/helix-html-pipeline/commit/af2c69d5cae1736f19a8559d79ec33d5c753b564))
14
+
1
15
  # [6.3.0](https://github.com/adobe/helix-html-pipeline/compare/v6.2.0...v6.3.0) (2024-01-17)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.3.0",
3
+ "version": "6.3.2",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -53,7 +53,7 @@
53
53
  "hast-util-select": "6.0.2",
54
54
  "hast-util-to-html": "9.0.0",
55
55
  "hast-util-to-string": "3.0.0",
56
- "hastscript": "8.0.0",
56
+ "hastscript": "9.0.0",
57
57
  "jose": "5.2.0",
58
58
  "mdast-util-to-hast": "13.1.0",
59
59
  "mdast-util-to-string": "4.0.0",
@@ -81,10 +81,10 @@
81
81
  "eslint-import-resolver-exports": "1.0.0-beta.5",
82
82
  "eslint-plugin-header": "3.1.1",
83
83
  "eslint-plugin-import": "2.29.1",
84
- "esmock": "2.6.0",
84
+ "esmock": "2.6.2",
85
85
  "husky": "8.0.3",
86
86
  "js-yaml": "4.1.0",
87
- "jsdom": "23.2.0",
87
+ "jsdom": "24.0.0",
88
88
  "junit-report-builder": "3.1.0",
89
89
  "lint-staged": "15.2.0",
90
90
  "mocha": "10.2.0",
@@ -26,6 +26,10 @@ export async function getPathKey(state) {
26
26
  } else if (path.endsWith('.plain.html')) {
27
27
  path = path.substring(0, path.length - '.plain.html'.length);
28
28
  }
29
+ // strip .md
30
+ if (path.endsWith('.md')) {
31
+ path = path.substring(0, path.length - '.md'.length);
32
+ }
29
33
  return computeSurrogateKey(`${contentBusId}${path}`);
30
34
  }
31
35