@event-driven-io/emmett-mongodb 0.43.0-alpha.4 → 0.43.0-beta.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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -357,7 +357,7 @@ var isSubset = (superObj, subObj) => {
|
|
|
357
357
|
assertOk(sup);
|
|
358
358
|
assertOk(sub);
|
|
359
359
|
return Object.keys(sub).every((ele) => {
|
|
360
|
-
if (typeof sub[ele] == "object") {
|
|
360
|
+
if (sub[ele] !== null && typeof sub[ele] == "object") {
|
|
361
361
|
return isSubset(sup[ele], sub[ele]);
|
|
362
362
|
}
|
|
363
363
|
return sub[ele] === sup[ele];
|