@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/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) {