@adobe/helix-html-pipeline 6.1.2 → 6.2.0

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.2.0](https://github.com/adobe/helix-html-pipeline/compare/v6.1.2...v6.2.0) (2024-01-15)
2
+
3
+
4
+ ### Features
5
+
6
+ * use aem page ([#494](https://github.com/adobe/helix-html-pipeline/issues/494)) ([a04453b](https://github.com/adobe/helix-html-pipeline/commit/a04453b57476c3c3dde9d1d270a26ffe83d78523))
7
+
1
8
  ## [6.1.2](https://github.com/adobe/helix-html-pipeline/compare/v6.1.1...v6.1.2) (2024-01-15)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.1.2",
3
+ "version": "6.2.0",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -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?\.(live|page)\/media_.*/;
15
+ const MEDIA_BLOB_REGEXP = /^https:\/\/.*\.(aem|hlx3?)\.(live|page)\/media_.*/;
16
16
 
17
- const HELIX_URL_REGEXP = /^https:\/\/(?!admin\.|www\.)[^.]+\.hlx3?\.(live|page)\/?.*/;
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.
package/src/utils/auth.js CHANGED
@@ -24,7 +24,7 @@ import idpMicrosoft from './idp-configs/microsoft.js';
24
24
  // eslint-disable-next-line import/no-unresolved
25
25
  import cryptoImpl from '#crypto';
26
26
 
27
- const AUTH_REDIRECT_URL = 'https://login.hlx.page/.auth';
27
+ const AUTH_REDIRECT_URL = 'https://login.aem.page/.auth';
28
28
 
29
29
  let ADMIN_KEY_PAIR = null;
30
30