From 1172f9549aff82affc9f3780822bb306091d7a61 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 8 Jul 2022 01:46:24 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MOMENT-2944238 --- package-lock.json | 18 +++++++++--------- package.json | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0dae97d..abec5d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openkb", - "version": "1.0.23", + "version": "1.0.24", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "openkb", - "version": "1.0.23", + "version": "1.0.24", "license": "MIT", "dependencies": { "async": "^2.6.3", @@ -34,7 +34,7 @@ "markdown-it": "^12.3.2", "mime-types": "^2.1.26", "mkdirp": "^0.5.1", - "moment": "^2.24.0", + "moment": "^2.29.4", "mongodb": "^3.5.2", "morgan": "^1.9.1", "multer": "^1.4.2", @@ -2684,9 +2684,9 @@ } }, "node_modules/moment": { - "version": "2.29.3", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz", - "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==", + "version": "2.29.4", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", + "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", "engines": { "node": "*" } @@ -6063,9 +6063,9 @@ } }, "moment": { - "version": "2.29.3", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.3.tgz", - "integrity": "sha512-c6YRvhEo//6T2Jz/vVtYzqBzwvPT95JBQ+smCytzf7c50oMZRsR/a4w88aD34I+/QVSfnoAnSBFPJHItlOMJVw==" + "version": "2.29.4", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", + "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==" }, "mongodb": { "version": "3.7.3", diff --git a/package.json b/package.json index 16d90a3..0adfd6f 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "markdown-it": "^12.3.2", "mime-types": "^2.1.26", "mkdirp": "^0.5.1", - "moment": "^2.24.0", + "moment": "^2.29.4", "mongodb": "^3.5.2", "morgan": "^1.9.1", "multer": "^1.4.2",