From 6df37ba8528cabb913395c4b89035e027fa9ec91 Mon Sep 17 00:00:00 2001 From: Jacob Sommer Date: Sun, 21 Jan 2024 00:51:55 -0800 Subject: [PATCH] Fix package/package-lock --- api/package-lock.json | 21 +++++++++++++++++++++ api/package.json | 1 + package-lock.json | 1 + 3 files changed, 23 insertions(+) diff --git a/api/package-lock.json b/api/package-lock.json index b908767b..3821677e 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -13,6 +13,7 @@ "cheerio": "^1.0.0-rc.10", "connect-mongodb-session": "^3.1.1", "cookie-parser": "^1.4.5", + "cors": "^2.8.5", "dotenv-flow": "^3.2.0", "express": "^4.17.1", "express-session": "^1.17.1", @@ -1512,6 +1513,18 @@ "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -2394,6 +2407,14 @@ "resolved": "https://registry.npmjs.org/oauth/-/oauth-0.9.15.tgz", "integrity": "sha1-vR/vr2hslrdUda7VGWQS/2DPucE=" }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/on-finished": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", diff --git a/api/package.json b/api/package.json index 88c10db1..45afd2e5 100644 --- a/api/package.json +++ b/api/package.json @@ -13,6 +13,7 @@ "cheerio": "^1.0.0-rc.10", "connect-mongodb-session": "^3.1.1", "cookie-parser": "^1.4.5", + "cors": "^2.8.5", "dotenv-flow": "^3.2.0", "express": "^4.17.1", "express-session": "^1.17.1", diff --git a/package-lock.json b/package-lock.json index f134fae8..eaeb50fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10414,6 +10414,7 @@ "version": "2.3.4", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "dev": true, "engines": { "node": ">= 14" }