From 879ebe41a12bd2d22a32df3d5298b7a66da119e3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 22 Nov 2022 18:26:00 +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-MINIMATCH-3050818 --- package-lock.json | 39 ++++++++++++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 35 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7ffaa0e1..d7697f30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12276,12 +12276,36 @@ } }, "gatsby-plugin-google-analytics": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-2.2.4.tgz", - "integrity": "sha512-PupngEov6tod6AOybZMq4Iaaeo6MmzgwBcWljMWLetO5ugPV5rAkTSLJsaINk8wzImQsIDNMBg2GIaU94g1vJw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-5.1.0.tgz", + "integrity": "sha512-PEr62mGvxaFlHYz19JeUhciunZnx6sdjlHcGsmjZbEK5srazhISoguCMXSgRnVq8coVW6dovFVCC4m2AYfC3dg==", "requires": { - "@babel/runtime": "^7.8.7", - "minimatch": "3.0.4" + "@babel/runtime": "^7.15.4", + "minimatch": "^3.1.2", + "web-vitals": "^1.1.2" + }, + "dependencies": { + "@babel/runtime": { + "version": "7.20.1", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.20.1.tgz", + "integrity": "sha512-mrzLkl6U9YLF8qpqI7TB82PESyEGjm/0Ly91jG575eVxMMlb8fYfOXFZIJ8XfLrJZQbm7dlKry2bJmXBUEkdFg==", + "requires": { + "regenerator-runtime": "^0.13.10" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + } } }, "gatsby-plugin-manifest": { @@ -24045,6 +24069,11 @@ "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-1.1.4.tgz", "integrity": "sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==" }, + "web-vitals": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/web-vitals/-/web-vitals-1.1.2.tgz", + "integrity": "sha512-PFMKIY+bRSXlMxVAQ+m2aw9c/ioUYfDgrYot0YUa+/xa0sakubWhSDyxAKwzymvXVdF4CZI71g06W+mqhzu6ig==" + }, "webpack": { "version": "4.42.1", "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.42.1.tgz", diff --git a/package.json b/package.json index f6e24c6e..f555c0b8 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "gatsby": "^2.20.25", "gatsby-cli": "^2.12.48", "gatsby-image": "^2.3.4", - "gatsby-plugin-google-analytics": "^2.2.4", + "gatsby-plugin-google-analytics": "^5.1.0", "gatsby-plugin-manifest": "^2.3.5", "gatsby-plugin-page-load-delay": "^0.1.2", "gatsby-plugin-react-helmet": "^3.2.4",