react-native-onyx 2.0.29 → 2.0.31

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/OnyxUtils.js CHANGED
@@ -836,7 +836,7 @@ function applyMerge(existingValue, changes, shouldRemoveNullObjectValues) {
836
836
  if (Array.isArray(lastChange)) {
837
837
  return lastChange;
838
838
  }
839
- if (changes.some((change) => typeof change === 'object')) {
839
+ if (changes.some((change) => change && typeof change === 'object')) {
840
840
  // Object values are then merged one after the other
841
841
  return changes.reduce((modifiedData, change) => utils_1.default.fastMerge(modifiedData, change, shouldRemoveNullObjectValues), existingValue || {});
842
842
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-onyx",
3
- "version": "2.0.29",
3
+ "version": "2.0.31",
4
4
  "author": "Expensify, Inc.",
5
5
  "homepage": "https://expensify.com",
6
6
  "description": "State management for React Native",