@adobe/helix-config-storage 2.12.0 → 2.12.1

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
+ ## [2.12.1](https://github.com/adobe/helix-config-storage/compare/v2.12.0...v2.12.1) (2026-03-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * validate cdn.* host names ([#231](https://github.com/adobe/helix-config-storage/issues/231)) ([528075a](https://github.com/adobe/helix-config-storage/commit/528075a5f7880e9d8758cc5fccf6093747408c18))
7
+
1
8
  # [2.12.0](https://github.com/adobe/helix-config-storage/compare/v2.11.0...v2.12.0) (2026-03-11)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config-storage",
3
- "version": "2.12.0",
3
+ "version": "2.12.1",
4
4
  "description": "Helix Config Storage",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "@semantic-release/git": "10.0.1",
43
43
  "@semantic-release/npm": "13.1.4",
44
44
  "ajv-cli": "5.0.0",
45
- "c8": "10.1.3",
45
+ "c8": "11.0.0",
46
46
  "eslint": "9.4.0",
47
47
  "husky": "9.1.7",
48
48
  "json-schema-to-typescript": "15.0.4",
@@ -51,7 +51,7 @@
51
51
  "mocha": "11.7.5",
52
52
  "mocha-multi-reporters": "1.5.1",
53
53
  "mocha-suppress-logs": "0.6.0",
54
- "nock": "13.5.6",
54
+ "nock": "14.0.11",
55
55
  "semantic-release": "25.0.3",
56
56
  "xml2js": "0.6.2"
57
57
  },
@@ -12,7 +12,11 @@
12
12
  "host": {
13
13
  "description": "production host",
14
14
  "type": "string",
15
- "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"
15
+ "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$",
16
+ "not": {
17
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
18
+ "description": "AEM endpoints not allowed"
19
+ }
16
20
  },
17
21
  "route": {
18
22
  "description": "Routes on the CDN that are rendered with Franklin",
@@ -12,7 +12,11 @@
12
12
  "host": {
13
13
  "description": "production host",
14
14
  "type": "string",
15
- "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"
15
+ "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$",
16
+ "not": {
17
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
18
+ "description": "AEM endpoints not allowed"
19
+ }
16
20
  },
17
21
  "route": {
18
22
  "description": "Routes on the CDN that are rendered with Franklin",
@@ -12,7 +12,11 @@
12
12
  "host": {
13
13
  "description": "production host",
14
14
  "type": "string",
15
- "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"
15
+ "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$",
16
+ "not": {
17
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
18
+ "description": "AEM endpoints not allowed"
19
+ }
16
20
  },
17
21
  "route": {
18
22
  "description": "Routes on the CDN that are rendered with Franklin",
@@ -13,7 +13,11 @@
13
13
  "host": {
14
14
  "description": "production host",
15
15
  "type": "string",
16
- "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"
16
+ "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$",
17
+ "not": {
18
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
19
+ "description": "AEM endpoints not allowed"
20
+ }
17
21
  },
18
22
  "route": {
19
23
  "description": "Routes on the CDN that are rendered with Franklin",
@@ -12,7 +12,11 @@
12
12
  "host": {
13
13
  "description": "production host",
14
14
  "type": "string",
15
- "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"
15
+ "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$",
16
+ "not": {
17
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
18
+ "description": "AEM endpoints not allowed"
19
+ }
16
20
  },
17
21
  "envId": {
18
22
  "description": "environment id",
@@ -29,7 +29,11 @@
29
29
  "host": {
30
30
  "description": "production host",
31
31
  "type": "string",
32
- "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$"
32
+ "pattern": "^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.){1,3}[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$",
33
+ "not": {
34
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
35
+ "description": "AEM endpoints not allowed"
36
+ }
33
37
  }
34
38
  },
35
39
  "required": [
@@ -47,7 +51,11 @@
47
51
  "examples": [
48
52
  "main--$repo--page.example.com"
49
53
  ],
50
- "type": "string"
54
+ "type": "string",
55
+ "not": {
56
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
57
+ "description": "AEM endpoints not allowed"
58
+ }
51
59
  }
52
60
  },
53
61
  "required": [
@@ -63,7 +71,11 @@
63
71
  "examples": [
64
72
  "main--$repo--live.example.com"
65
73
  ],
66
- "type": "string"
74
+ "type": "string",
75
+ "not": {
76
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
77
+ "description": "AEM endpoints not allowed"
78
+ }
67
79
  }
68
80
  },
69
81
  "required": [
@@ -79,7 +91,11 @@
79
91
  "examples": [
80
92
  "example.reviews"
81
93
  ],
82
- "type": "string"
94
+ "type": "string",
95
+ "not": {
96
+ "pattern": ".*--.*--.*\\.aem\\.(live|page|reviews|network)$",
97
+ "description": "AEM endpoints not allowed"
98
+ }
83
99
  }
84
100
  },
85
101
  "required": [