@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.js CHANGED
@@ -1835,7 +1835,8 @@ const populate = traverseFactory().intercept(isStringArray$2, async (visitor2, o
1835
1835
  let newProperties = fp.omit("on", value2);
1836
1836
  for (const componentUID of components) {
1837
1837
  const componentSchema = strapi.getModel(componentUID);
1838
- newProperties = await recurse(visitor2, { schema: componentSchema, path }, newProperties);
1838
+ const properties = await recurse(visitor2, { schema: componentSchema, path }, value2);
1839
+ newProperties = fp.merge(newProperties, properties);
1839
1840
  }
1840
1841
  Object.assign(newValue, newProperties);
1841
1842
  if ("on" in value2 && value2.on) {