From 1325a8466fa7694ed9811d6b477e7cb3a96db0f9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 29 Jul 2022 18:23:45 +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-MINIMIST-2429795 - https://snyk.io/vuln/SNYK-JS-MINIMIST-559764 --- package-lock.json | 25 +++++++++++++++++++------ package.json | 2 +- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 31e095ab4..4dc712c44 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7544,7 +7544,8 @@ "colors": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", - "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=" + "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", + "dev": true }, "combine-lists": { "version": "1.0.1", @@ -8038,13 +8039,25 @@ "integrity": "sha512-4ihQApBGVKR1QZ4oOSGctKFfthtCfiWMTcIIfxe97vKxlvGr9NyXOvYG9vXU9S7yVR7Ua+Rj47hkE7pQIKvQTg==" }, "cordova.plugins.diagnostic": { - "version": "4.0.12", - "resolved": "https://registry.npmjs.org/cordova.plugins.diagnostic/-/cordova.plugins.diagnostic-4.0.12.tgz", - "integrity": "sha512-GOMY92LPibmI8IbqooGhzIw1SJjbdlqtZ4LUaIXzqP+T381B+WDLDUkxcmJc60M8Nryw77lH+jX5izfadixwKQ==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cordova.plugins.diagnostic/-/cordova.plugins.diagnostic-7.0.0.tgz", + "integrity": "sha512-iEcRj2jupedjUElbqd0xdcWRDQc+7aDOtmFlsdRfRbrbe8x7Cax+DwpGEJ1UAn+ddwMem1qC8MGjKuT5svgfMA==", "requires": { - "colors": "^1.1.2", + "colors": "1.4.0", "elementtree": "^0.1.6", - "minimist": "1.2.0" + "minimist": "1.2.6" + }, + "dependencies": { + "colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" + }, + "minimist": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + } } }, "core-js": { diff --git a/package.json b/package.json index 41751943d..6f4b6b334 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "chart.js": "^2.8.0", "cordova-plugin-qrscanner": "3.0.1", "cordova-sqlite-storage": "^2.6.0", - "cordova.plugins.diagnostic": "^4.0.12", + "cordova.plugins.diagnostic": "^7.0.0", "core-js": "^2.5.4", "cryptocompare": "^1.0.0", "dotenv": "^7.0.0",