From 5295fbb576c5dfdf9fd0a480bf3a7b736bb27342 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 18 Dec 2023 17:01:25 +0000 Subject: [PATCH] fix: package.json & yarn.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-KOACORS-6117545 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4d61eb9..4779338 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "dependencies": { "@kasa/koa-logging": "^0.3.0", "@kasa/koa-request-id": "^2.0.1", - "@koa/cors": "^3.1.0", + "@koa/cors": "^5.0.0", "dotenv": "^8.2.0", "elastic-apm-node": "^3.14.0", "got": "^9.6.0", diff --git a/yarn.lock b/yarn.lock index 8b4c5ba..a4190e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -709,10 +709,10 @@ debug "^4.1.1" uuid "^3.3.2" -"@koa/cors@^3.1.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@koa/cors/-/cors-3.1.0.tgz#618bb073438cfdbd3ebd0e648a76e33b84f3a3b2" - integrity sha512-7ulRC1da/rBa6kj6P4g2aJfnET3z8Uf3SWu60cjbtxTA5g8lxRdX/Bd2P92EagGwwAhANeNw8T8if99rJliR6Q== +"@koa/cors@^5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@koa/cors/-/cors-5.0.0.tgz#0029b5f057fa0d0ae0e37dd2c89ece315a0daffd" + integrity sha512-x/iUDjcS90W69PryLDIMgFyV21YLTnG9zOpPXS7Bkt2b8AsY3zZsIpOLBkYr9fBcF3HbkKaER5hOBZLfpLgYNw== dependencies: vary "^1.1.2"