@strapi/utils 4.15.5 → 4.16.0

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/dist/index.mjs CHANGED
@@ -1810,7 +1810,8 @@ const populate = traverseFactory().intercept(isStringArray$2, async (visitor2, o
1810
1810
  let newProperties = omit("on", value2);
1811
1811
  for (const componentUID of components) {
1812
1812
  const componentSchema = strapi.getModel(componentUID);
1813
- newProperties = await recurse(visitor2, { schema: componentSchema, path }, newProperties);
1813
+ const properties = await recurse(visitor2, { schema: componentSchema, path }, value2);
1814
+ newProperties = merge(newProperties, properties);
1814
1815
  }
1815
1816
  Object.assign(newValue, newProperties);
1816
1817
  if ("on" in value2 && value2.on) {