@m1212e/rumble 0.23.14 → 0.23.15
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/out/index.cjs +2 -2
- package/out/index.cjs.map +1 -1
- package/out/index.mjs +2 -2
- package/out/index.mjs.map +1 -1
- package/package.json +1 -1
package/out/index.cjs
CHANGED
|
@@ -210,7 +210,7 @@ function mapNullFieldsToUndefined(obj) {
|
|
|
210
210
|
}
|
|
211
211
|
//#endregion
|
|
212
212
|
//#region package.json
|
|
213
|
-
var version = "0.23.
|
|
213
|
+
var version = "0.23.15";
|
|
214
214
|
//#endregion
|
|
215
215
|
//#region lib/helpers/mergeFilters.ts
|
|
216
216
|
const EmptyFilter$1 = Symbol.for("drizzle:EmptyFilter");
|
|
@@ -249,7 +249,7 @@ function isPlainObject(value) {
|
|
|
249
249
|
return proto === Object.prototype || proto === null;
|
|
250
250
|
}
|
|
251
251
|
function sanitizeFilterValue(value) {
|
|
252
|
-
if (value === void 0) return EmptyFilter;
|
|
252
|
+
if (value === void 0 || value === null) return EmptyFilter;
|
|
253
253
|
if (Array.isArray(value)) return value.map(sanitizeFilterValue);
|
|
254
254
|
if (isPlainObject(value)) return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, sanitizeFilterValue(entry)]));
|
|
255
255
|
return value;
|