diff --git a/package.json b/package.json index 9b154d697ffd8..5ee0f41205778 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@types/cache-manager": "^2.10.3", "@types/common-tags": "^1.8.0", "@types/express": "^4.17.3", - "@types/fs-extra": "^8.1.2", + "@types/fs-extra": "^9.0.12", "@types/got": "^9.6.11", "@types/jaeger-client": "^3.18.0", "@types/jest": "^24.9.1", @@ -45,7 +45,7 @@ "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-react": "^7.24.0", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "glob": "^7.1.7", "husky": "3.1.0", "ignore": "^5.1.8", diff --git a/packages/create-gatsby/package.json b/packages/create-gatsby/package.json index 02a09d93a547c..bf88e1ad47bb7 100644 --- a/packages/create-gatsby/package.json +++ b/packages/create-gatsby/package.json @@ -26,7 +26,7 @@ "enquirer": "^2.3.6", "eslint": "^7.32.0", "execa": "^5.1.1", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "gatsby-plugin-utils": "^1.13.0-next.0", "joi": "^17.4.2", "microbundle": "^0.13.3", diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 86f16ae42549f..3852d7d2c6cb3 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -22,7 +22,7 @@ "envinfo": "^7.7.3", "execa": "^5.1.1", "fs-exists-cached": "^1.0.0", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "gatsby-recipes": "^0.24.0-next.0", "gatsby-telemetry": "^2.13.0-next.0", diff --git a/packages/gatsby-core-utils/package.json b/packages/gatsby-core-utils/package.json index 9111219f7e7fc..01d08d94e7fa2 100644 --- a/packages/gatsby-core-utils/package.json +++ b/packages/gatsby-core-utils/package.json @@ -32,7 +32,7 @@ "ci-info": "2.0.0", "configstore": "^5.0.1", "file-type": "^16.5.3", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "node-object-hash": "^2.3.8", "proper-lockfile": "^4.1.2", "tmp": "^0.2.1", diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index ca61a3be31aa3..0db6c7177dbbd 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -16,7 +16,7 @@ "del": "^6.0.0", "execa": "^5.1.1", "find-yarn-workspace-root": "^2.0.0", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "got": "^10.7.0", "is-absolute": "^1.0.0", "lodash": "^4.17.21", diff --git a/packages/gatsby-legacy-polyfills/package.json b/packages/gatsby-legacy-polyfills/package.json index 08cb8cb9ffa43..8ecbda3b0f478 100644 --- a/packages/gatsby-legacy-polyfills/package.json +++ b/packages/gatsby-legacy-polyfills/package.json @@ -36,7 +36,7 @@ "cpy-cli": "^3.1.1", "cross-env": "^7.0.3", "execa": "^5.1.1", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "microbundle": "^0.13.3", "npm-run-all": "^4.1.5", "object-assign": "^4.1.1", diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index 50b579bdb467c..414f50e05f21c 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -10,7 +10,7 @@ "@babel/runtime": "^7.14.8", "@hapi/joi": "^15.1.1", "common-tags": "^1.8.0", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "gatsby-plugin-utils": "^1.13.0-next.0", "lodash.merge": "^4.6.2", "rss": "^1.2.2" diff --git a/packages/gatsby-plugin-gatsby-cloud/package.json b/packages/gatsby-plugin-gatsby-cloud/package.json index 4c60d3b69c35a..457f7adad7c99 100644 --- a/packages/gatsby-plugin-gatsby-cloud/package.json +++ b/packages/gatsby-plugin-gatsby-cloud/package.json @@ -9,7 +9,7 @@ "dependencies": { "@babel/runtime": "^7.14.8", "date-fns": "^2.22.1", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-telemetry": "^2.13.0-next.0", "kebab-hash": "^0.1.2", "lodash": "^4.17.21", diff --git a/packages/gatsby-plugin-graphql-config/package.json b/packages/gatsby-plugin-graphql-config/package.json index 42131d9ae80a8..a35c4911e84a3 100644 --- a/packages/gatsby-plugin-graphql-config/package.json +++ b/packages/gatsby-plugin-graphql-config/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "fs-extra": "^9.1.0" + "fs-extra": "^10.0.0" }, "devDependencies": { "@babel/cli": "^7.14.8", diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json index a402db17832e8..52639487fa666 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json @@ -46,7 +46,7 @@ "@testing-library/react": "^11.2.7", "@types/babel__core": "^7.1.12", "@types/babel__traverse": "^7.11.1", - "@types/fs-extra": "^8.1.2", + "@types/fs-extra": "^9.0.12", "@types/node": "^14.10.2", "@types/prop-types": "^15.7.3", "@types/react": "^16.9.56", @@ -80,7 +80,7 @@ "camelcase": "^5.3.1", "chokidar": "^3.5.1", "common-tags": "^1.8.0", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "objectFitPolyfill": "^2.3.0", "prop-types": "^15.7.2" diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json index ab4adf7674e66..22ff1bf58b40b 100644 --- a/packages/gatsby-plugin-mdx/package.json +++ b/packages/gatsby-plugin-mdx/package.json @@ -34,7 +34,7 @@ "debug": "^4.3.1", "escape-string-regexp": "^1.0.5", "eval": "^0.1.4", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "gray-matter": "^4.0.2", "json5": "^2.1.3", diff --git a/packages/gatsby-plugin-netlify/package.json b/packages/gatsby-plugin-netlify/package.json index 3ab47441711e4..96cdf31b322ca 100644 --- a/packages/gatsby-plugin-netlify/package.json +++ b/packages/gatsby-plugin-netlify/package.json @@ -14,7 +14,7 @@ ], "dependencies": { "@babel/runtime": "^7.14.8", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "kebab-hash": "^0.1.2", "lodash": "^4.17.21", "webpack-assets-manifest": "^5.0.6" diff --git a/packages/gatsby-plugin-preload-fonts/package.json b/packages/gatsby-plugin-preload-fonts/package.json index 6803162816399..b003f4dc80930 100644 --- a/packages/gatsby-plugin-preload-fonts/package.json +++ b/packages/gatsby-plugin-preload-fonts/package.json @@ -13,7 +13,7 @@ "dependencies": { "chalk": "^4.1.2", "date-fns": "^2.21.1", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "graphql-request": "^1.8.2", "progress": "^2.0.3", diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index c77d5eaaa68ae..85c2de7139624 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -11,7 +11,7 @@ "async": "^3.2.0", "bluebird": "^3.7.2", "filenamify": "^4.3.0", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "gatsby-plugin-utils": "^1.13.0-next.0", "gatsby-telemetry": "^2.13.0-next.0", diff --git a/packages/gatsby-recipes/package.json b/packages/gatsby-recipes/package.json index e0b49565aefe8..152a3e470f1da 100644 --- a/packages/gatsby-recipes/package.json +++ b/packages/gatsby-recipes/package.json @@ -29,7 +29,7 @@ "execa": "^5.1.1", "express": "^4.17.1", "express-graphql": "^0.12.0", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "gatsby-telemetry": "^2.13.0-next.0", "glob": "^7.1.6", diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index 112a7592d6076..bf88096ef1ee9 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -9,7 +9,7 @@ "dependencies": { "@babel/runtime": "^7.14.8", "cheerio": "^1.0.0-rc.10", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "is-relative-url": "^3.0.0", "lodash": "^4.17.21", "path-is-inside": "^1.0.2", diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index e1eaa5ace197e..5dd48cb51c21e 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -16,7 +16,7 @@ "chalk": "^4.1.2", "common-tags": "^1.8.0", "contentful": "^8.4.2", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "gatsby-plugin-utils": "^1.13.0-next.0", "gatsby-source-filesystem": "^3.13.0-next.0", diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index 04aa230ce4d80..cb4d419b8255d 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -11,7 +11,7 @@ "better-queue": "^3.8.10", "chokidar": "^3.4.3", "file-type": "^16.0.0", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "got": "^9.6.0", "md5-file": "^5.0.0", diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index cfb5f555dbe4d..837ac2ecf943c 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -27,7 +27,7 @@ "fast-json-stable-stringify": "^2.1.0", "file-type": "^15.0.1", "filesize": "^6.1.0", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "gatsby-image": "^3.10.0", "gatsby-plugin-catch-links": "^3.13.0-next.0", diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json index 6143e27341552..10e86ee5e0e25 100644 --- a/packages/gatsby-telemetry/package.json +++ b/packages/gatsby-telemetry/package.json @@ -14,7 +14,7 @@ "async-retry-ng": "^2.0.1", "boxen": "^4.2.0", "configstore": "^5.0.1", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-core-utils": "^2.13.0-next.0", "git-up": "^4.0.5", "is-docker": "^2.2.1", diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 7c3b550a235d6..f973987f2d616 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -10,7 +10,7 @@ "@babel/runtime": "^7.14.8", "bluebird": "^3.7.2", "common-tags": "^1.8.0", - "fs-extra": "^9.1.0", + "fs-extra": "^10.0.0", "potrace": "^2.1.8", "probe-image-size": "^6.0.0", "semver": "^7.3.5", diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json index c7d9973fa2059..683db59f88571 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@babel/runtime": "^7.14.8", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-plugin-sharp": "^3.13.0-next.0", "md5-file": "^5.0.0", "mini-svg-data-uri": "^1.3.3", diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 02b0b46b7ddb8..039f0ef022709 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -74,7 +74,7 @@ "file-loader": "^6.2.0", "find-cache-dir": "^3.3.1", "fs-exists-cached": "1.0.0", - "fs-extra": "^8.1.0", + "fs-extra": "^10.0.0", "gatsby-cli": "^3.13.0-next.0", "gatsby-core-utils": "^2.13.0-next.0", "gatsby-graphiql-explorer": "^1.13.0-next.0", diff --git a/yarn.lock b/yarn.lock index bc2197d41152e..78eeed1e7a2c1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4530,13 +4530,6 @@ resolved "https://registry.yarnpkg.com/@types/format-util/-/format-util-1.0.1.tgz#6fd9a41194776e2f33e2846ae955da8dbc8af4d1" integrity sha512-uqU+S8ZeHlEslQgMzD6fpYhZlCqMfWR8MqoIMHy4uEy6VIkFqtZC25GKhl9n7fGmL0BZ51xrB5Ak8Wkb9oKw3A== -"@types/fs-extra@^8.1.2": - version "8.1.2" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.1.2.tgz#7125cc2e4bdd9bd2fc83005ffdb1d0ba00cca61f" - integrity sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg== - dependencies: - "@types/node" "*" - "@types/fs-extra@^9.0.12": version "9.0.12" resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.12.tgz#9b8f27973df8a7a3920e8461517ebf8a7d4fdfaf" @@ -12724,6 +12717,15 @@ fs-extra@^1.0.0: jsonfile "^2.1.0" klaw "^1.0.0" +fs-extra@^10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1" + integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + fs-extra@^4.0.2: version "4.0.3" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" @@ -12732,7 +12734,7 @@ fs-extra@^4.0.2: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^9.0.1, fs-extra@^9.1.0: +fs-extra@^9.0.1: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==