@adobe/helix-html-pipeline 6.33.11 → 6.33.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [6.33.12](https://github.com/adobe/helix-html-pipeline/compare/v6.33.11...v6.33.12) (2026-11-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * ignore paths as descriptions ([#707](https://github.com/adobe/helix-html-pipeline/issues/707)) ([c9fcd39](https://github.com/adobe/helix-html-pipeline/commit/c9fcd39511ae4af338648357417e126d590cfc35)), closes [#705](https://github.com/adobe/helix-html-pipeline/issues/705)
7
+
1
8
  ## [6.33.11](https://github.com/adobe/helix-html-pipeline/compare/v6.33.10...v6.33.11) (2026-11-24)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.33.11",
3
+ "version": "6.33.12",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -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.32.0",
84
- "esmock": "2.8.0",
84
+ "esmock": "3.0.0",
85
85
  "husky": "9.1.7",
86
86
  "js-yaml": "5.5.0",
87
- "jsdom": "30.1.3",
87
+ "jsdom": "31.0.0",
88
88
  "junit-report-builder": "5.1.2",
89
89
  "lint-staged": "17.6.0",
90
90
  "mocha": "12.0.3",
@@ -185,8 +185,8 @@ function extractDescription(hast) {
185
185
  .replace(REGEXP_ICON, '')
186
186
  .trim()
187
187
  .split(/\s+/)
188
- .filter((w) => w);
189
- if (words.length >= 10 || words.some((w) => w.length > 25 && !w.startsWith('http'))) {
188
+ .filter((w) => Boolean(w));
189
+ if (words.length >= 10 || words.some((w) => w.length > 25 && !w.startsWith('http://') && !w.startsWith('https://') && !w.startsWith('/'))) {
190
190
  desc = `${words.slice(0, 25).join(' ')}${words.length > 25 ? ' ...' : ''}`;
191
191
  return EXIT;
192
192
  }