@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
package/dist/index.mjs
CHANGED
|
@@ -5577,7 +5577,7 @@ function getOSSSegs(type, option) {
|
|
|
5577
5577
|
if (!option && option !== 0) return "";
|
|
5578
5578
|
if (option === true) return type;
|
|
5579
5579
|
if (typeof option === "number" || typeof option === "string") return `${type},${option}`;
|
|
5580
|
-
const segs = Object.entries(option).filter(([, v]) => v !== null && v !== void 0).map(([k, v]) => `${k}_${v}`).join(",");
|
|
5580
|
+
const segs = Object.entries(option).filter(([, v]) => v !== null && v !== void 0 && !Number.isNaN(v)).map(([k, v]) => `${k}_${v}`).join(",");
|
|
5581
5581
|
return segs ? `${type},${segs}` : "";
|
|
5582
5582
|
}
|
|
5583
5583
|
function getWatermark(w) {
|