@mmstack/primitives 22.9.0 → 22.9.1

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.
@@ -4661,8 +4661,11 @@ function toStore(source, { injector, vivify = false, noUnionLeaves = false, ...r
4661
4661
  return idx >= 0 && idx < v.length;
4662
4662
  }
4663
4663
  }
4664
- // nullish node values are routinely descended with vivify on `in` must not throw
4665
- return v == null ? false : Reflect.has(v, prop);
4664
+ // nullish/primitive node values are routinely descended with vivify on or probed
4665
+ // with `in` (e.g. isMutable) `in` must not throw
4666
+ return v == null || (typeof v !== 'object' && typeof v !== 'function')
4667
+ ? false
4668
+ : Reflect.has(v, prop);
4666
4669
  },
4667
4670
  ownKeys() {
4668
4671
  const v = untracked(source);