@lacrous/omnicloud 0.2.12 → 0.2.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.js CHANGED
@@ -1409,7 +1409,7 @@ var noopActivityRecorder = {
1409
1409
  // ../core/src/utils/filename.ts
1410
1410
  function sanitizeFileName(name) {
1411
1411
  const base = name.split(/[/\\]/).pop() ?? name;
1412
- const cleaned = base.replace(/[\u0000-\u001f\u007f]/g, "").replace(/[<>:"|?*]/g, "_").trim();
1412
+ const cleaned = base.replace(/[\u0000-\u001f\u007f-\u009f]/g, "").replace(/[\u200B-\u200F\u202A-\u202E\u2066-\u2069\uFEFF]/g, "").replace(/[<>:"|?*]/g, "_").trim();
1413
1413
  if (!cleaned || cleaned === "." || cleaned === "..") return "";
1414
1414
  return cleaned.slice(0, 255);
1415
1415
  }