From 19c9ea6e3551e8ed3d6dfa17b27f9f6693218045 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 28 Nov 2023 23:42:43 +0000 Subject: [PATCH] fix: packages/gatsby/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908 - https://snyk.io/vuln/SNYK-JS-AXIOS-6032459 - https://snyk.io/vuln/SNYK-JS-GLOBPARENT-1016905 - https://snyk.io/vuln/SNYK-JS-POSTCSS-5926692 - https://snyk.io/vuln/SNYK-JS-TRIM-1017038 - https://snyk.io/vuln/SNYK-JS-UNSETVALUE-2400660 --- packages/gatsby/package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index eb607f9f3328b..e5bd7eee8a8a2 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -31,7 +31,7 @@ "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", - "babel-plugin-add-module-exports": "^0.3.3", + "babel-plugin-add-module-exports": "^1.0.2", "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-lodash": "3.3.4", "babel-plugin-remove-graphql-queries": "^2.9.20", @@ -51,7 +51,7 @@ "copyfiles": "^2.3.0", "core-js": "^3.6.5", "cors": "^2.8.5", - "css-loader": "^1.0.1", + "css-loader": "^2.0.0", "date-fns": "^2.14.0", "debug": "^3.2.6", "del": "^5.1.0", @@ -76,7 +76,7 @@ "find-cache-dir": "^3.3.1", "fs-exists-cached": "1.0.0", "fs-extra": "^8.1.0", - "gatsby-cli": "^2.12.111", + "gatsby-cli": "^4.5.0", "gatsby-core-utils": "^1.3.23", "gatsby-graphiql-explorer": "^0.4.15", "gatsby-legacy-polyfills": "^0.0.5", @@ -114,7 +114,7 @@ "normalize-path": "^3.0.0", "null-loader": "^3.0.0", "opentracing": "^0.14.4", - "optimize-css-assets-webpack-plugin": "^5.0.3", + "optimize-css-assets-webpack-plugin": "^6.0.0", "p-defer": "^3.0.0", "parseurl": "^1.3.3", "physical-cpu-count": "^2.0.0", @@ -125,7 +125,7 @@ "prop-types": "^15.7.2", "query-string": "^6.13.1", "raw-loader": "^0.5.1", - "react-dev-utils": "^4.2.3", + "react-dev-utils": "^6.0.0", "react-error-overlay": "^6.0.7", "react-hot-loader": "^4.12.21", "react-refresh": "^0.8.3", @@ -149,9 +149,9 @@ "util.promisify": "^1.0.1", "uuid": "3.4.0", "v8-compile-cache": "^1.1.2", - "webpack": "^4.44.1", + "webpack": "^5.0.0", "webpack-dev-middleware": "^3.7.2", - "webpack-dev-server": "^3.11.0", + "webpack-dev-server": "^4.0.0", "webpack-hot-middleware": "^2.25.0", "webpack-merge": "^4.2.2", "webpack-stats-plugin": "^0.3.2",