@dyedurham/search-and-file-widget 2.0.34 → 2.0.35
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/dnd-filing-shell.js +4 -3
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -58005,8 +58005,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58005
58005
|
return void 0;
|
|
58006
58006
|
if (typeof value === "number" && Number.isNaN(value))
|
|
58007
58007
|
return void 0;
|
|
58008
|
-
if (Array.isArray(value))
|
|
58009
|
-
return value.map((v) => normalizeForCompare(v) ?? null);
|
|
58008
|
+
if (Array.isArray(value)) {
|
|
58009
|
+
return value.length ? value.map((v) => normalizeForCompare(v) ?? null) : void 0;
|
|
58010
|
+
}
|
|
58010
58011
|
if (typeof value === "object") {
|
|
58011
58012
|
const out = {};
|
|
58012
58013
|
for (const key of Object.keys(value)) {
|
|
@@ -58014,7 +58015,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
58014
58015
|
if (v !== void 0)
|
|
58015
58016
|
out[key] = v;
|
|
58016
58017
|
}
|
|
58017
|
-
return out;
|
|
58018
|
+
return Object.keys(out).length ? out : void 0;
|
|
58018
58019
|
}
|
|
58019
58020
|
return value;
|
|
58020
58021
|
}
|