@adobe/helix-html-pipeline 6.29.3 → 6.29.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,10 @@
1
+ ## [6.29.4](https://github.com/adobe/helix-html-pipeline/compare/v6.29.3...v6.29.4) (2026-05-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * catch invalid regex from globToRegExp ([#1093](https://github.com/adobe/helix-html-pipeline/issues/1093)) ([014721c](https://github.com/adobe/helix-html-pipeline/commit/014721c3986183493244ffd811367db03c8cea7a))
7
+
1
8
  ## [6.29.3](https://github.com/adobe/helix-html-pipeline/compare/v6.29.2...v6.29.3) (2026-05-22)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.29.3",
3
+ "version": "6.29.4",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -70,8 +70,8 @@
70
70
  "unist-util-visit-parents": "6.0.2"
71
71
  },
72
72
  "devDependencies": {
73
- "@adobe/eslint-config-helix": "3.0.27",
74
- "@eslint/config-helpers": "0.5.5",
73
+ "@adobe/eslint-config-helix": "3.0.28",
74
+ "@eslint/config-helpers": "0.6.0",
75
75
  "@markedjs/html-differ": "5.0.5",
76
76
  "@semantic-release/changelog": "6.0.3",
77
77
  "@semantic-release/git": "10.0.1",
@@ -81,7 +81,7 @@
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.7.4",
84
+ "esmock": "2.7.5",
85
85
  "husky": "9.1.7",
86
86
  "js-yaml": "4.1.1",
87
87
  "jsdom": "29.1.1",
@@ -28,7 +28,12 @@ export function globToRegExp(glob) {
28
28
  .replaceAll('**', '|')
29
29
  .replaceAll('*', '[0-9a-z-.]*')
30
30
  .replaceAll('|', '.*');
31
- return new RegExp(`^${reString}$`);
31
+ try {
32
+ return new RegExp(`^${reString}$`);
33
+ } catch {
34
+ // glob compiled to an invalid regex
35
+ return null;
36
+ }
32
37
  }
33
38
 
34
39
  /**