@base-web-kits/base-tools-ts 1.4.10 → 1.4.16
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/base-tools-ts.umd.global.js +1 -1
- package/dist/base-tools-ts.umd.global.js.map +1 -1
- package/dist/day/index.d.ts +3 -1
- package/dist/day/index.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/ts/clsx/index.ts +3 -3
- package/src/ts/day/index.ts +4 -1
- package/src/ts/url/oss/index.ts +4 -4
|
@@ -5857,7 +5857,7 @@ var baseToolsTS = (() => {
|
|
|
5857
5857
|
if (!option && option !== 0) return "";
|
|
5858
5858
|
if (option === true) return type;
|
|
5859
5859
|
if (typeof option === "number" || typeof option === "string") return `${type},${option}`;
|
|
5860
|
-
const segs = Object.entries(option).filter(([, v]) => v !== null && v !== void 0).map(([k, v]) => `${k}_${v}`).join(",");
|
|
5860
|
+
const segs = Object.entries(option).filter(([, v]) => v !== null && v !== void 0 && !Number.isNaN(v)).map(([k, v]) => `${k}_${v}`).join(",");
|
|
5861
5861
|
return segs ? `${type},${segs}` : "";
|
|
5862
5862
|
}
|
|
5863
5863
|
function getWatermark(w) {
|