@adobe/helix-config 5.15.3 → 5.15.4

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
+ ## [5.15.4](https://github.com/adobe/helix-config/compare/v5.15.3...v5.15.4) (2026-09-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use concat for array concatenation ([#420](https://github.com/adobe/helix-config/issues/420)) ([756f598](https://github.com/adobe/helix-config/commit/756f598692036dfaf95cd4fa5984162fde59d103))
7
+
1
8
  ## [5.15.3](https://github.com/adobe/helix-config/compare/v5.15.2...v5.15.3) (2026-09-24)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-config",
3
- "version": "5.15.3",
3
+ "version": "5.15.4",
4
4
  "description": "Helix Config",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -250,7 +250,7 @@ async function loadMetadata(ctx, config, partition) {
250
250
 
251
251
  // generate the metadata-all.json first
252
252
  const metadataConfig = new ConfigObject();
253
- const metadata = [];
253
+ let metadata = [];
254
254
 
255
255
  // remember the order of entries
256
256
  const input = paths.map((path, index) => ({ index, path }));
@@ -274,7 +274,7 @@ async function loadMetadata(ctx, config, partition) {
274
274
  output.sort(({ index: i }, { index: j }) => i - j);
275
275
  for (const { data, headers } of output) {
276
276
  if (data) {
277
- metadata.push(...data);
277
+ metadata = metadata.concat(data);
278
278
  }
279
279
  metadataConfig.updateLastModified(headers);
280
280
  }