From 7d230410f134c6d0540a410c0d6806adae4e9a47 Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Sun, 12 Sep 2021 09:49:42 +0200 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities (#27) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-1579269 --- package-lock.json | 28 ++++++++++++++-------------- package.json | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index d34dec8..2dbf724 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "@sendgrid/mail": "^7.4.4", "app-root-path": "^3.0.0", "autoprefixer": "^10.3.4", - "axios": "^0.21.2", + "axios": "^0.21.3", "cookie-parser": "^1.4.5", "express": "^4.17.1", "express-rate-limit": "^5.2.6", @@ -19,7 +19,7 @@ "helmet": "^4.6.0", "http-errors": "^1.8.0", "morgan": "^1.10.0", - "nodemailer": "^6.6.1", + "nodemailer": "^6.6.0", "npm-watch": "^0.11.0", "postcss-cli": "^8.3.1", "pug": "^3.0.2", @@ -449,9 +449,9 @@ } }, "node_modules/axios": { - "version": "0.21.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.2.tgz", - "integrity": "sha512-87otirqUw3e8CzHTMO+/9kh/FSgXt/eVDvipijwDtEuwbkySWZ9SBm6VEubmJ/kLKEoLQV/POhxXFb66bfekfg==", + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.3.tgz", + "integrity": "sha512-JtoZ3Ndke/+Iwt5n+BgSli/3idTvpt5OjKyoCmz4LX5+lPiY5l7C1colYezhlxThjNa/NhngCUWZSZFypIFuaA==", "dependencies": { "follow-redirects": "^1.14.0" } @@ -2276,9 +2276,9 @@ "integrity": "sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==" }, "node_modules/nodemailer": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.6.1.tgz", - "integrity": "sha512-1xzFN3gqv+/qJ6YRyxBxfTYstLNt0FCtZaFRvf4Sg9wxNGWbwFmGXVpfSi6ThGK6aRxAo+KjHtYSW8NvCsNSAg==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.6.0.tgz", + "integrity": "sha512-ikSMDU1nZqpo2WUPE0wTTw/NGGImTkwpJKDIFPZT+YvvR9Sj+ze5wzu95JHkBMglQLoG2ITxU21WukCC/XsFkg==", "engines": { "node": ">=6.0.0" } @@ -4172,9 +4172,9 @@ } }, "axios": { - "version": "0.21.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.2.tgz", - "integrity": "sha512-87otirqUw3e8CzHTMO+/9kh/FSgXt/eVDvipijwDtEuwbkySWZ9SBm6VEubmJ/kLKEoLQV/POhxXFb66bfekfg==", + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.3.tgz", + "integrity": "sha512-JtoZ3Ndke/+Iwt5n+BgSli/3idTvpt5OjKyoCmz4LX5+lPiY5l7C1colYezhlxThjNa/NhngCUWZSZFypIFuaA==", "requires": { "follow-redirects": "^1.14.0" } @@ -5594,9 +5594,9 @@ "integrity": "sha512-Qe5OUajvqrqDSy6wrWFmMwfJ0jVgwiw4T3KqmbTcZ62qW0gQkheXYhcFM1+lOVcGUoRxcEcfyvFMAnDgaF1VWw==" }, "nodemailer": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.6.1.tgz", - "integrity": "sha512-1xzFN3gqv+/qJ6YRyxBxfTYstLNt0FCtZaFRvf4Sg9wxNGWbwFmGXVpfSi6ThGK6aRxAo+KjHtYSW8NvCsNSAg==" + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.6.0.tgz", + "integrity": "sha512-ikSMDU1nZqpo2WUPE0wTTw/NGGImTkwpJKDIFPZT+YvvR9Sj+ze5wzu95JHkBMglQLoG2ITxU21WukCC/XsFkg==" }, "nodemon": { "version": "2.0.12", diff --git a/package.json b/package.json index f0f78fa..f0b931b 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "dependencies": { "@sendgrid/mail": "^7.4.4", "app-root-path": "^3.0.0", - "axios": "^0.21.2", + "axios": "^0.21.3", "cookie-parser": "^1.4.5", "express": "^4.17.1", "express-rate-limit": "^5.2.6", @@ -27,7 +27,7 @@ "helmet": "^4.6.0", "http-errors": "^1.8.0", "morgan": "^1.10.0", - "nodemailer": "^6.6.1", + "nodemailer": "^6.6.0", "pug": "^3.0.2", "tailwind-hamburgers": "^1.1.1", "winston": "^3.3.3",