@adobe/helix-config 5.6.8 → 5.6.9
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 +8 -8
- package/src/config-legacy.js +3 -0
- package/src/utils.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.6.9](https://github.com/adobe/helix-config/compare/v5.6.8...v5.6.9) (2025-10-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* return 404 if legacy config has no contentBusId ([#328](https://github.com/adobe/helix-config/issues/328)) ([a532acd](https://github.com/adobe/helix-config/commit/a532acd172af2755e20aca25058aaa9097041360))
|
|
7
|
+
|
|
1
8
|
## [5.6.8](https://github.com/adobe/helix-config/compare/v5.6.7...v5.6.8) (2025-10-03)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-config",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.9",
|
|
4
4
|
"description": "Helix Config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/adobe/helix-config"
|
|
20
|
+
"url": "https://github.com/adobe/helix-config.git"
|
|
21
21
|
},
|
|
22
22
|
"author": "",
|
|
23
23
|
"license": "Apache-2.0",
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
"reporter-options": "configFile=.mocha-multi.json"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
39
|
-
"@eslint/config-helpers": "0.
|
|
38
|
+
"@adobe/eslint-config-helix": "3.0.12",
|
|
39
|
+
"@eslint/config-helpers": "0.4.0",
|
|
40
40
|
"@semantic-release/changelog": "6.0.3",
|
|
41
41
|
"@semantic-release/git": "10.0.1",
|
|
42
|
-
"@semantic-release/npm": "
|
|
42
|
+
"@semantic-release/npm": "13.0.0",
|
|
43
43
|
"c8": "10.1.3",
|
|
44
44
|
"eslint": "9.4.0",
|
|
45
45
|
"husky": "9.1.7",
|
|
46
46
|
"junit-report-builder": "5.1.1",
|
|
47
|
-
"lint-staged": "16.
|
|
48
|
-
"mocha": "11.7.
|
|
47
|
+
"lint-staged": "16.2.3",
|
|
48
|
+
"mocha": "11.7.4",
|
|
49
49
|
"mocha-multi-reporters": "1.5.1",
|
|
50
50
|
"mocha-suppress-logs": "0.6.0",
|
|
51
|
-
"semantic-release": "
|
|
51
|
+
"semantic-release": "25.0.0"
|
|
52
52
|
},
|
|
53
53
|
"lint-staged": {
|
|
54
54
|
"*.js": "eslint",
|
package/src/config-legacy.js
CHANGED
|
@@ -114,6 +114,9 @@ export async function resolveLegacyConfig(ctx, rso, scope) {
|
|
|
114
114
|
}
|
|
115
115
|
const helixConfig = cfg.data;
|
|
116
116
|
const { contentBusId } = helixConfig.content.data['/'];
|
|
117
|
+
if (!contentBusId) {
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
117
120
|
const fstab = helixConfig.fstab?.data || helixConfig.fstab;
|
|
118
121
|
if (!fstab) {
|
|
119
122
|
return null;
|
package/src/utils.js
CHANGED
|
@@ -50,7 +50,7 @@ export function prune(obj, path = '') {
|
|
|
50
50
|
// eslint-disable-next-line no-param-reassign
|
|
51
51
|
delete obj[key];
|
|
52
52
|
}
|
|
53
|
-
} else if (typeof prop === 'object') {
|
|
53
|
+
} else if (prop && typeof prop === 'object') {
|
|
54
54
|
prune(prop, itemPath);
|
|
55
55
|
if (Object.keys(prop).length === 0) {
|
|
56
56
|
// eslint-disable-next-line no-param-reassign
|