From 6a571e5e782470c8c93eb5df27a410d622385a6f Mon Sep 17 00:00:00 2001 From: Mind <1634300602@qq.com> Date: Tue, 7 Oct 2025 23:21:17 -0700 Subject: [PATCH] chore: explicitly declare body-parser dependency for pnpm (#2873) Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2873 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: Mind <1634300602@qq.com> Co-committed-by: Mind <1634300602@qq.com> --- package-lock.json | 2 ++ package.json | 2 ++ 2 files changed, 4 insertions(+) diff --git a/package-lock.json b/package-lock.json index 84daa3906..b7ad3ae00 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.1.0", "license": "GNU", "dependencies": { + "body-parser": "^2.2.0", "chokidar": "^4.0.3", "crc-32": "^1.2.2", "express": "^5", @@ -37,6 +38,7 @@ "node": ">=20.18.1" }, "optionalDependencies": { + "@types/body-parser": "^1.19.6", "@types/express": "^5", "@types/morgan": "^1.9.9", "@types/websocket": "^1.0.10", diff --git a/package.json b/package.json index fadc699fc..3b8c2f1f3 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "license": "GNU", "type": "module", "dependencies": { + "body-parser": "^2.2.0", "chokidar": "^4.0.3", "crc-32": "^1.2.2", "express": "^5", @@ -42,6 +43,7 @@ "ws": "^8.18.2" }, "optionalDependencies": { + "@types/body-parser": "^1.19.6", "@types/express": "^5", "@types/morgan": "^1.9.9", "@types/websocket": "^1.0.10",