From 5bc55e3b275fb7269a63f4f9471ad0dcbc7b0dee Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 11 Jul 2025 05:03:11 +0000 Subject: [PATCH] fix: package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-EJS-2803307 - https://snyk.io/vuln/SNYK-JS-MONGOOSE-8446504 - https://snyk.io/vuln/SNYK-JS-MONGOOSE-8623536 - https://snyk.io/vuln/SNYK-JS-IP-7148531 - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 - https://snyk.io/vuln/SNYK-JS-EJS-6689533 - https://snyk.io/vuln/SNYK-JS-EJS-1049328 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9c82cfc4..5445bb46 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "await-stream-ready": "^1.0.1", "bcryptjs": "^2.4.3", "data2xml": "^1.2.5", - "egg": "^2.2.1", + "egg": "^3.16.0", "egg-alinode": "^2.0.1", - "egg-mongoose": "^2.1.1", + "egg-mongoose": "^4.0.0", "egg-passport": "^2.0.1", "egg-passport-github": "^1.0.0", "egg-passport-local": "^1.2.1", @@ -17,7 +17,7 @@ "egg-router-plus": "^1.2.0", "egg-scripts": "^2.5.0", "egg-validate": "^1.0.0", - "egg-view-ejs": "^2.0.0", + "egg-view-ejs": "^3.0.0", "loader": "^2.1.1", "loader-builder": "^2.6.0", "loader-koa": "^2.0.1",