From 9525d199d994b4dea76f3caacaf28221e1ccbd77 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 26 Dec 2022 01:05:26 +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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 204f82960ebae..1c8e0d2697789 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -20,7 +20,7 @@ "autoprefixer": "^8.6.5", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^8.2.2", - "babel-loader": "8.0.0-beta.4", + "babel-loader": "8.2.4", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dynamic-import-node": "^1.2.0", "babel-plugin-remove-graphql-queries": "^2.5.1", @@ -36,7 +36,7 @@ "convert-hrtime": "^2.0.0", "copyfiles": "^1.2.0", "core-js": "^2.5.0", - "css-loader": "^1.0.0", + "css-loader": "^4.0.0", "debug": "^3.1.0", "del": "^3.0.0", "detect-port": "^1.2.1", @@ -45,7 +45,7 @@ "dotenv": "^4.0.0", "eslint": "^4.19.1", "eslint-config-react-app": "3.0.0-next.66cc7a90", - "eslint-loader": "^2.0.0", + "eslint-loader": "^4.0.0", "eslint-plugin-flowtype": "^2.46.1", "eslint-plugin-graphql": "^2.0.0", "eslint-plugin-import": "^2.9.0", @@ -54,7 +54,7 @@ "express": "^4.16.3", "express-graphql": "^0.6.12", "fast-levenshtein": "~2.0.4", - "file-loader": "^1.1.11", + "file-loader": "^6.0.0", "flat": "^4.0.0", "friendly-errors-webpack-plugin": "^1.6.1", "fs-extra": "^5.0.0", @@ -81,7 +81,7 @@ "md5": "^2.2.1", "md5-file": "^3.1.1", "mime": "^2.2.0", - "mini-css-extract-plugin": "^0.4.0", + "mini-css-extract-plugin": "^1.0.0", "mitt": "^1.1.2", "mkdirp": "^0.5.1", "moment": "^2.21.0", @@ -94,7 +94,7 @@ "parse-filepath": "^1.0.1", "physical-cpu-count": "^2.0.0", "postcss-flexbugs-fixes": "^3.0.0", - "postcss-loader": "^2.1.3", + "postcss-loader": "^4.0.0", "raw-loader": "^0.5.1", "react-dev-utils": "^4.2.1", "react-error-overlay": "^3.0.0", @@ -109,13 +109,13 @@ "slash": "^1.0.0", "socket.io": "^2.0.3", "string-similarity": "^1.2.0", - "style-loader": "^0.21.0", + "style-loader": "^1.1.4", "terser-webpack-plugin": "^1.0.2", "type-of": "^2.0.1", - "url-loader": "^1.0.1", + "url-loader": "^4.0.0", "uuid": "^3.1.0", "v8-compile-cache": "^1.1.0", - "webpack": "^4.12.0", + "webpack": "^5.0.0", "webpack-dev-middleware": "^3.0.1", "webpack-dev-server": "^3.1.1", "webpack-hot-middleware": "^2.21.0",