@adobe/helix-html-pipeline 5.11.12 → 5.11.13
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 +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.11.13](https://github.com/adobe/helix-html-pipeline/compare/v5.11.12...v5.11.13) (2024-07-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* .aem.* URLs should both be rewritten to keep existing content compatible ([b6b5b04](https://github.com/adobe/helix-html-pipeline/commit/b6b5b04d7d461471173bf33ac801e3b0f54e1a3c)), closes [#498](https://github.com/adobe/helix-html-pipeline/issues/498)
|
|
7
|
+
|
|
1
8
|
## [5.11.12](https://github.com/adobe/helix-html-pipeline/compare/v5.11.11...v5.11.12) (2024-07-07)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-html-pipeline",
|
|
3
|
-
"version": "5.11.
|
|
3
|
+
"version": "5.11.13",
|
|
4
4
|
"description": "Helix HTML Pipeline",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"lint": "eslint .",
|
|
18
18
|
"semantic-release": "semantic-release",
|
|
19
19
|
"semantic-release-dry": "semantic-release --dry-run",
|
|
20
|
-
"prepare": "husky
|
|
20
|
+
"prepare": "husky"
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
package/src/steps/utils.js
CHANGED
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
|
|
13
13
|
const AZURE_BLOB_REGEXP = /^https:\/\/hlx\.blob\.core\.windows\.net\/external\//;
|
|
14
14
|
|
|
15
|
-
const MEDIA_BLOB_REGEXP = /^https:\/\/.*\.hlx3
|
|
15
|
+
const MEDIA_BLOB_REGEXP = /^https:\/\/.*\.(aem|hlx3?)\.(live|page)\/media_.*/;
|
|
16
16
|
|
|
17
|
-
const HELIX_URL_REGEXP = /^https:\/\/(?!admin\.|www\.)[^.]+\.hlx3
|
|
17
|
+
const HELIX_URL_REGEXP = /^https:\/\/(?!admin\.|www\.)[^.]+\.(aem|hlx3?)\.(live|page)\/?.*/;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Returns the original host name from the request to the outer CDN.
|