@mmstack/primitives 20.14.0 → 20.14.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.
|
@@ -4649,8 +4649,11 @@ function toStore(source, { injector, vivify = false, noUnionLeaves = false, ...r
|
|
|
4649
4649
|
return idx >= 0 && idx < v.length;
|
|
4650
4650
|
}
|
|
4651
4651
|
}
|
|
4652
|
-
// nullish node values are routinely descended with vivify on
|
|
4653
|
-
|
|
4652
|
+
// nullish/primitive node values are routinely descended with vivify on or probed
|
|
4653
|
+
// with `in` (e.g. isMutable) — `in` must not throw
|
|
4654
|
+
return v == null || (typeof v !== 'object' && typeof v !== 'function')
|
|
4655
|
+
? false
|
|
4656
|
+
: Reflect.has(v, prop);
|
|
4654
4657
|
},
|
|
4655
4658
|
ownKeys() {
|
|
4656
4659
|
const v = untracked(source);
|