@adobe/helix-html-pipeline 6.21.2 → 6.21.4

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.21.4](https://github.com/adobe/helix-html-pipeline/compare/v6.21.3...v6.21.4) (2025-03-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** remove direct dependency of micromark-util-subtokenize ([984f01a](https://github.com/adobe/helix-html-pipeline/commit/984f01af77644dd1bf2d6c858cbd343e4699714b))
7
+
8
+ ## [6.21.3](https://github.com/adobe/helix-html-pipeline/compare/v6.21.2...v6.21.3) (2025-02-26)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **metadata:** make html lang case-insensitive ([#833](https://github.com/adobe/helix-html-pipeline/issues/833)) ([c807552](https://github.com/adobe/helix-html-pipeline/commit/c80755226c7bee0e58457ee4492a414c451546e4))
14
+
1
15
  ## [6.21.2](https://github.com/adobe/helix-html-pipeline/compare/v6.21.1...v6.21.2) (2025-02-25)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.21.2",
3
+ "version": "6.21.4",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -55,7 +55,6 @@
55
55
  "lodash.escape": "4.0.1",
56
56
  "mdast-util-to-hast": "13.2.0",
57
57
  "mdast-util-to-string": "4.0.0",
58
- "micromark-util-subtokenize": "2.0.4",
59
58
  "mime": "4.0.6",
60
59
  "parse5": "7.2.1",
61
60
  "rehype-format": "5.0.1",
@@ -76,7 +76,7 @@ export default async function render(state, req, res) {
76
76
  continue;
77
77
  }
78
78
  if (name.toLowerCase() === 'html-lang') {
79
- if (/^[a-z]{2}([-_]{1}[A-Z]{2})?$/.test(value)) {
79
+ if (/^[a-z]{2}([-_]{1}[a-z]{2})?$/i.test(value)) {
80
80
  htmlLang = value;
81
81
  }
82
82
  // eslint-disable-next-line no-continue