@adobe/helix-html-pipeline 6.29.4 → 6.29.6

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.29.6](https://github.com/adobe/helix-html-pipeline/compare/v6.29.5...v6.29.6) (2026-06-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update adobe fixes ([#1103](https://github.com/adobe/helix-html-pipeline/issues/1103)) ([aff830a](https://github.com/adobe/helix-html-pipeline/commit/aff830a1069f4d48e622889b82f1a71d4cd4d078))
7
+
8
+ ## [6.29.5](https://github.com/adobe/helix-html-pipeline/compare/v6.29.4...v6.29.5) (2026-06-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * support media_ files on deeper paths ([#1097](https://github.com/adobe/helix-html-pipeline/issues/1097)) ([d0804fb](https://github.com/adobe/helix-html-pipeline/commit/d0804fb24692a186e7d15469fb3eefd3ac38c162))
14
+
1
15
  ## [6.29.4](https://github.com/adobe/helix-html-pipeline/compare/v6.29.3...v6.29.4) (2026-05-26)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.29.4",
3
+ "version": "6.29.6",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "node": ">=16.x"
43
43
  },
44
44
  "dependencies": {
45
- "@adobe/helix-markdown-support": "7.1.18",
45
+ "@adobe/helix-markdown-support": "7.1.19",
46
46
  "@adobe/helix-shared-utils": "3.0.2",
47
47
  "@adobe/mdast-util-gridtables": "4.0.19",
48
48
  "@adobe/remark-gridtables": "3.0.20",
@@ -81,13 +81,13 @@
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.5",
84
+ "esmock": "2.7.6",
85
85
  "husky": "9.1.7",
86
- "js-yaml": "4.1.1",
86
+ "js-yaml": "4.2.0",
87
87
  "jsdom": "29.1.1",
88
88
  "junit-report-builder": "5.1.2",
89
- "lint-staged": "16.4.0",
90
- "mocha": "11.7.5",
89
+ "lint-staged": "17.0.7",
90
+ "mocha": "11.7.6",
91
91
  "mocha-multi-reporters": "1.5.1",
92
92
  "mocha-suppress-logs": "0.6.0",
93
93
  "semantic-release": "25.0.3"
@@ -12,7 +12,7 @@
12
12
 
13
13
  const AZURE_BLOB_REGEXP = /^https:\/\/hlx\.blob\.core\.windows\.net\/external\//;
14
14
 
15
- const MEDIA_BLOB_REGEXP = /^https:\/\/.*\.(aem|hlx3?)\.(live|page)\/media_.*/;
15
+ const MEDIA_BLOB_REGEXP = /^https:\/\/.*\.(aem|hlx3?)\.(live|page)(\/.*)?\/media_.*/;
16
16
 
17
17
  const HELIX_URL_REGEXP = /^https:\/\/.*\.(aem|hlx3?)\.(live|page)\/?.*/;
18
18
 
@@ -236,7 +236,8 @@ export function rewriteUrl(state, url) {
236
236
  }
237
237
 
238
238
  if (MEDIA_BLOB_REGEXP.test(url)) {
239
- return `.${pathname}${hash}`;
239
+ const filename = pathname.split('/').pop();
240
+ return `./${filename}${hash}`;
240
241
  }
241
242
 
242
243
  if ((host.includes('--') && HELIX_URL_REGEXP.test(url))