@base-web-kits/base-tools-ts 1.3.11 → 1.3.13

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.cjs CHANGED
@@ -3797,7 +3797,7 @@ function getOSSSegs(type, option) {
3797
3797
  if (!option && option !== 0) return "";
3798
3798
  if (option === true) return type;
3799
3799
  if (typeof option === "number" || typeof option === "string") return `${type},${option}`;
3800
- const segs = Object.entries(option).map(([k, v]) => `${k}_${v}`).join(",");
3800
+ const segs = Object.entries(option).filter(([, v]) => v !== null && v !== void 0).map(([k, v]) => `${k}_${v}`).join(",");
3801
3801
  return segs ? `${type},${segs}` : "";
3802
3802
  }
3803
3803
  function getWatermark(w) {