@adobe/helix-config 5.6.4 → 5.6.5
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 +3 -3
- package/src/config-view.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [5.6.5](https://github.com/adobe/helix-config/compare/v5.6.4...v5.6.5) (2025-09-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* correctly handle metadata with data sheets ([#319](https://github.com/adobe/helix-config/issues/319)) ([47d4bd9](https://github.com/adobe/helix-config/commit/47d4bd940a3aef72e9ca7385665f3889da665f5b)), closes [#318](https://github.com/adobe/helix-config/issues/318)
|
|
7
|
+
|
|
1
8
|
## [5.6.4](https://github.com/adobe/helix-config/compare/v5.6.3...v5.6.4) (2025-09-08)
|
|
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.5",
|
|
4
4
|
"description": "Helix Config",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"reporter-options": "configFile=.mocha-multi.json"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@adobe/eslint-config-helix": "3.0.
|
|
38
|
+
"@adobe/eslint-config-helix": "3.0.10",
|
|
39
39
|
"@eslint/config-helpers": "0.3.1",
|
|
40
40
|
"@semantic-release/changelog": "6.0.3",
|
|
41
41
|
"@semantic-release/git": "10.0.1",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"mocha": "11.7.2",
|
|
49
49
|
"mocha-multi-reporters": "1.5.1",
|
|
50
50
|
"mocha-suppress-logs": "0.6.0",
|
|
51
|
-
"semantic-release": "24.2.
|
|
51
|
+
"semantic-release": "24.2.8"
|
|
52
52
|
},
|
|
53
53
|
"lint-staged": {
|
|
54
54
|
"*.js": "eslint",
|
package/src/config-view.js
CHANGED
|
@@ -221,7 +221,7 @@ async function loadMetadata(ctx, config, partition) {
|
|
|
221
221
|
const res = await ctx.loader.getObject(HELIX_CONTENT_BUS, key);
|
|
222
222
|
if (res.body) {
|
|
223
223
|
const json = res.json();
|
|
224
|
-
const data = json.data
|
|
224
|
+
const data = Array.isArray(json.data) ? json.data : json.default?.data;
|
|
225
225
|
if (data) {
|
|
226
226
|
metadata.push(...data);
|
|
227
227
|
}
|