@adobe/helix-config 4.11.0 → 4.11.2
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 +14 -0
- package/package.json +2 -2
- package/src/config-legacy.js +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [4.11.2](https://github.com/adobe/helix-config/compare/v4.11.1...v4.11.2) (2025-01-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* handle incorrect setup gracefully ([6160923](https://github.com/adobe/helix-config/commit/6160923cf91d1d6aba0ef4a5b4c8af6f308209de))
|
|
7
|
+
|
|
8
|
+
## [4.11.1](https://github.com/adobe/helix-config/compare/v4.11.0...v4.11.1) (2025-01-13)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update dependency @adobe/helix-shared-config to v11.0.14 ([#231](https://github.com/adobe/helix-config/issues/231)) ([31a144b](https://github.com/adobe/helix-config/commit/31a144b11b3157614a04dc086c989ce5ab1a21bc))
|
|
14
|
+
|
|
1
15
|
# [4.11.0](https://github.com/adobe/helix-config/compare/v4.10.2...v4.11.0) (2025-01-13)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-config",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.2",
|
|
4
4
|
"description": "Helix Config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@adobe/fetch": "4.1.11",
|
|
59
|
-
"@adobe/helix-shared-config": "11.0.
|
|
59
|
+
"@adobe/helix-shared-config": "11.0.14",
|
|
60
60
|
"@adobe/helix-shared-utils": "3.0.2"
|
|
61
61
|
}
|
|
62
62
|
}
|
package/src/config-legacy.js
CHANGED
|
@@ -123,8 +123,14 @@ export async function resolveLegacyConfig(ctx, rso, scope) {
|
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
125
125
|
const { contentBusId } = helixConfig.content.data['/'];
|
|
126
|
-
const fstab = helixConfig.fstab
|
|
126
|
+
const fstab = helixConfig.fstab?.data || helixConfig.fstab;
|
|
127
|
+
if (!fstab) {
|
|
128
|
+
return null;
|
|
129
|
+
}
|
|
127
130
|
let source = fstab.mountpoints['/'];
|
|
131
|
+
if (!source) {
|
|
132
|
+
return null;
|
|
133
|
+
}
|
|
128
134
|
if (typeof source === 'string') {
|
|
129
135
|
source = {
|
|
130
136
|
type: source.startsWith('https://drive.google.com/')
|