@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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/server/index.js +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1472,7 +1472,7 @@ var noopActivityRecorder = {
|
|
|
1472
1472
|
// ../core/src/utils/filename.ts
|
|
1473
1473
|
function sanitizeFileName(name) {
|
|
1474
1474
|
const base = name.split(/[/\\]/).pop() ?? name;
|
|
1475
|
-
const cleaned = base.replace(/[\u0000-\u001f\u007f]/g, "").replace(/[<>:"|?*]/g, "_").trim();
|
|
1475
|
+
const cleaned = base.replace(/[\u0000-\u001f\u007f-\u009f]/g, "").replace(/[\u200B-\u200F\u202A-\u202E\u2066-\u2069\uFEFF]/g, "").replace(/[<>:"|?*]/g, "_").trim();
|
|
1476
1476
|
if (!cleaned || cleaned === "." || cleaned === "..") return "";
|
|
1477
1477
|
return cleaned.slice(0, 255);
|
|
1478
1478
|
}
|