diff --git a/package.json b/package.json index d29e4732..02e49cd0 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "test:watch": "yarn test:unit --watch" }, "dependencies": { - "@koa/cors": "3.1.0", + "@koa/cors": "5.0.0", "@koa/router": "9.4.0", "@socialgouv/kali-data": "2.578.0", "@socialgouv/legi-data": "2.274.0", diff --git a/yarn.lock b/yarn.lock index 67ea11bb..5579ab3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1111,10 +1111,10 @@ resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== -"@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"