@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.mjs
CHANGED
|
@@ -181,7 +181,7 @@ function mapNullFieldsToUndefined(obj) {
|
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region package.json
|
|
184
|
-
var version = "0.23.
|
|
184
|
+
var version = "0.23.15";
|
|
185
185
|
//#endregion
|
|
186
186
|
//#region lib/helpers/mergeFilters.ts
|
|
187
187
|
const EmptyFilter$1 = Symbol.for("drizzle:EmptyFilter");
|
|
@@ -220,7 +220,7 @@ function isPlainObject(value) {
|
|
|
220
220
|
return proto === Object.prototype || proto === null;
|
|
221
221
|
}
|
|
222
222
|
function sanitizeFilterValue(value) {
|
|
223
|
-
if (value === void 0) return EmptyFilter;
|
|
223
|
+
if (value === void 0 || value === null) return EmptyFilter;
|
|
224
224
|
if (Array.isArray(value)) return value.map(sanitizeFilterValue);
|
|
225
225
|
if (isPlainObject(value)) return Object.fromEntries(Object.entries(value).map(([key, entry]) => [key, sanitizeFilterValue(entry)]));
|
|
226
226
|
return value;
|