@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lacrous/omnicloud",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "SDK and core building blocks for OmniCloud — self-hosted cloud storage powered by your Telegram account.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -48,9 +48,9 @@
48
48
  "prisma": "^6.2.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@omnicloud/core": "0.2.12",
52
- "@omnicloud/shared": "0.2.12",
53
- "@omnicloud/telegram": "0.2.12",
51
+ "@omnicloud/core": "0.2.13",
52
+ "@omnicloud/shared": "0.2.13",
53
+ "@omnicloud/telegram": "0.2.13",
54
54
  "@types/node": "^22.10.0",
55
55
  "esbuild": "0.25.12",
56
56
  "tsup": "^8.3.0",
package/server/index.js CHANGED
@@ -1073,7 +1073,7 @@ var noopActivityRecorder = {
1073
1073
  // ../core/src/utils/filename.ts
1074
1074
  function sanitizeFileName(name) {
1075
1075
  const base = name.split(/[/\\]/).pop() ?? name;
1076
- const cleaned = base.replace(/[\u0000-\u001f\u007f]/g, "").replace(/[<>:"|?*]/g, "_").trim();
1076
+ const cleaned = base.replace(/[\u0000-\u001f\u007f-\u009f]/g, "").replace(/[\u200B-\u200F\u202A-\u202E\u2066-\u2069\uFEFF]/g, "").replace(/[<>:"|?*]/g, "_").trim();
1077
1077
  if (!cleaned || cleaned === "." || cleaned === "..") return "";
1078
1078
  return cleaned.slice(0, 255);
1079
1079
  }
@@ -4983,7 +4983,7 @@ function encryptionCheck(configured) {
4983
4983
  }
4984
4984
 
4985
4985
  // ../../apps/api/src/routes/storage.ts
4986
- var VERSION = "0.2.12";
4986
+ var VERSION = "0.2.13";
4987
4987
  function registerStorageRoutes(app2, container2) {
4988
4988
  app2.get("/api/health", async () => {
4989
4989
  const database = await probeDatabase(container2);