@adobe/helix-html-pipeline 6.29.4 → 6.29.5
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 +7 -0
- package/package.json +2 -2
- package/src/steps/utils.js +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [6.29.5](https://github.com/adobe/helix-html-pipeline/compare/v6.29.4...v6.29.5) (2026-06-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
1
8
|
## [6.29.4](https://github.com/adobe/helix-html-pipeline/compare/v6.29.3...v6.29.4) (2026-05-26)
|
|
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
|
+
"version": "6.29.5",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"js-yaml": "4.1.1",
|
|
87
87
|
"jsdom": "29.1.1",
|
|
88
88
|
"junit-report-builder": "5.1.2",
|
|
89
|
-
"lint-staged": "
|
|
89
|
+
"lint-staged": "17.0.4",
|
|
90
90
|
"mocha": "11.7.5",
|
|
91
91
|
"mocha-multi-reporters": "1.5.1",
|
|
92
92
|
"mocha-suppress-logs": "0.6.0",
|
package/src/steps/utils.js
CHANGED
|
@@ -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)
|
|
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
|
-
|
|
239
|
+
const filename = pathname.split('/').pop();
|
|
240
|
+
return `./${filename}${hash}`;
|
|
240
241
|
}
|
|
241
242
|
|
|
242
243
|
if ((host.includes('--') && HELIX_URL_REGEXP.test(url))
|