From 70188c6bb72f6f4bf6fe18c78f89fe4518118f22 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 25 Dec 2022 22:24:46 +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-JSON5-3182856 --- packages/gatsby/package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index eb607f9f3328b..2b05428fd4db3 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -51,7 +51,7 @@ "copyfiles": "^2.3.0", "core-js": "^3.6.5", "cors": "^2.8.5", - "css-loader": "^1.0.1", + "css-loader": "^4.0.0", "date-fns": "^2.14.0", "debug": "^3.2.6", "del": "^5.1.0", @@ -60,7 +60,7 @@ "dotenv": "^8.2.0", "eslint": "^6.8.0", "eslint-config-react-app": "^5.2.1", - "eslint-loader": "^2.2.1", + "eslint-loader": "^4.0.0", "eslint-plugin-flowtype": "^3.13.0", "eslint-plugin-graphql": "^4.0.0", "eslint-plugin-import": "^2.22.0", @@ -72,7 +72,7 @@ "express": "^4.17.1", "express-graphql": "^0.9.0", "fastest-levenshtein": "^1.0.12", - "file-loader": "^1.1.11", + "file-loader": "^6.0.0", "find-cache-dir": "^3.3.1", "fs-exists-cached": "1.0.0", "fs-extra": "^8.1.0", @@ -106,13 +106,13 @@ "meant": "^1.0.1", "micromatch": "^4.0.2", "mime": "^2.4.6", - "mini-css-extract-plugin": "^0.11.2", + "mini-css-extract-plugin": "^1.0.0", "mitt": "^1.2.0", "mkdirp": "^0.5.1", "moment": "^2.27.0", "name-all-modules-plugin": "^1.0.1", "normalize-path": "^3.0.0", - "null-loader": "^3.0.0", + "null-loader": "^4.0.0", "opentracing": "^0.14.4", "optimize-css-assets-webpack-plugin": "^5.0.3", "p-defer": "^3.0.0", @@ -120,7 +120,7 @@ "physical-cpu-count": "^2.0.0", "pnp-webpack-plugin": "^1.6.4", "postcss-flexbugs-fixes": "^4.2.1", - "postcss-loader": "^3.0.0", + "postcss-loader": "^4.0.0", "prompts": "^2.3.2", "prop-types": "^15.7.2", "query-string": "^6.13.1", @@ -140,16 +140,16 @@ "st": "^2.0.0", "stack-trace": "^0.0.10", "string-similarity": "^1.2.2", - "style-loader": "^0.23.1", + "style-loader": "^1.1.4", "terser-webpack-plugin": "^2.3.8", "tmp": "^0.2.1", "true-case-path": "^2.2.1", "type-of": "^2.0.1", - "url-loader": "^1.1.2", + "url-loader": "^4.0.0", "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-hot-middleware": "^2.25.0", @@ -157,7 +157,7 @@ "webpack-stats-plugin": "^0.3.2", "webpack-virtual-modules": "^0.2.2", "xstate": "^4.11.0", - "yaml-loader": "^0.6.0" + "yaml-loader": "^0.7.0" }, "devDependencies": { "@babel/cli": "^7.11.6",