Skip to content

Build your personal knowledge base with Trilium Notes

chore(server): drop the unused file-uri-to-path

Elian Doranc3cefc3a48a4
diff --git a/apps/desktop/spec/build-checks/artifacts.spec.ts b/apps/desktop/spec/build-checks/artifacts.spec.ts
index 6a41f552a6..4d5a06b94f 100644
--- a/apps/desktop/spec/build-checks/artifacts.spec.ts
+++ b/apps/desktop/spec/build-checks/artifacts.spec.ts
@@ -7,9 +7,7 @@ describe("Check artifacts are present", () => {
it("has the necessary node modules", async () => {
const paths = [
- "node_modules/better-sqlite3",
- "node_modules/bindings",
- "node_modules/file-uri-to-path"
+ "node_modules/better-sqlite3"
];
ensurePathsExist(paths);
diff --git a/apps/edit-docs/spec/build-checks/artifacts.spec.ts b/apps/edit-docs/spec/build-checks/artifacts.spec.ts
index e1550e517b..2a88192c14 100644
--- a/apps/edit-docs/spec/build-checks/artifacts.spec.ts
+++ b/apps/edit-docs/spec/build-checks/artifacts.spec.ts
@@ -7,9 +7,7 @@ describe("Check artifacts are present", () => {
it("has the necessary node modules", async () => {
const paths = [
- "node_modules/better-sqlite3",
- "node_modules/bindings",
- "node_modules/file-uri-to-path",
+ "node_modules/better-sqlite3"
];
ensurePathsExist(paths);
diff --git a/apps/server/package.json b/apps/server/package.json
index f32b9737a5..b4de2e3f64 100644
--- a/apps/server/package.json
+++ b/apps/server/package.json
@@ -74,7 +74,6 @@
"express-openid-connect": "3.4.0",
"express-rate-limit": "8.7.1",
"express-session": "1.19.0",
- "file-uri-to-path": "2.0.0",
"helmet": "8.3.0",
"html": "1.0.0",
"http-proxy-agent": "9.1.0",
diff --git a/apps/server/spec/build-checks/artifacts.spec.ts b/apps/server/spec/build-checks/artifacts.spec.ts
index 6a41f552a6..4d5a06b94f 100644
--- a/apps/server/spec/build-checks/artifacts.spec.ts
+++ b/apps/server/spec/build-checks/artifacts.spec.ts
@@ -7,9 +7,7 @@ describe("Check artifacts are present", () => {
it("has the necessary node modules", async () => {
const paths = [
- "node_modules/better-sqlite3",
- "node_modules/bindings",
- "node_modules/file-uri-to-path"
+ "node_modules/better-sqlite3"
];
ensurePathsExist(paths);
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 594c3060eb..394682d719 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -761,9 +761,6 @@ importers:
express-session:
specifier: 1.19.0
version: 1.19.0([email protected])
- file-uri-to-path:
- specifier: 2.0.0
- version: 2.0.0
helmet:
specifier: 8.3.0
version: 8.3.0
@@ -7465,10 +7462,6 @@ packages:
resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
- resolution: {integrity: sha512-hjPFI8oE/2iQPVe4gbrJ73Pp+Xfub2+WI2LlXDbsaJBwT5wuMh35WNWVYYTpnz895shtwfyutMFLFywpQAFdLg==}
- engines: {node: '>= 6'}
-
resolution: {integrity: sha512-hn4cQfU6GOT/7cFHXBqeBg2TbrMBgdD0kcjLhvSQYYwm3s4B6cjvBfb7nBALJLAXqmU5xajSa7X2NnUud/VCdw==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
@@ -19318,8 +19311,6 @@ snapshots:
-