diff --git a/package.json b/package.json index 760ff477fef82..200c0996f1604 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@typescript-eslint/parser": "^4.33.0", "babel-jest": "^27.2.1", "chalk": "^4.1.2", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "cross-env": "^7.0.3", "danger": "^10.6.4", "date-fns": "^1.30.1", diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index e088472c49e41..ccbdb3e90813a 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "configstore": "^5.0.1", "del": "^6.0.0", "execa": "^5.1.1", diff --git a/packages/gatsby-page-utils/package.json b/packages/gatsby-page-utils/package.json index f76a629871469..f16ee46db0e0c 100644 --- a/packages/gatsby-page-utils/package.json +++ b/packages/gatsby-page-utils/package.json @@ -28,7 +28,7 @@ "dependencies": { "@babel/runtime": "^7.15.4", "bluebird": "^3.7.2", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "fs-exists-cached": "^1.0.0", "gatsby-core-utils": "^3.22.0-next.0", "glob": "^7.2.3", diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json index fda969c9695be..14accdbc15c05 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json @@ -79,7 +79,7 @@ "babel-jsx-utils": "^1.1.0", "babel-plugin-remove-graphql-queries": "^4.22.0-next.0", "camelcase": "^5.3.1", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "common-tags": "^1.8.2", "fs-extra": "^10.1.0", "gatsby-core-utils": "^3.22.0-next.0", diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json index 44594b1157f74..af3c816f0a170 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json @@ -27,7 +27,7 @@ "@babel/runtime": "^7.15.4", "@babel/traverse": "^7.15.4", "@sindresorhus/slugify": "^1.1.2", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "fs-exists-cached": "^1.0.0", "fs-extra": "^10.1.0", "gatsby-core-utils": "^3.22.0-next.0", diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index a0440965cedba..3064b38a81f67 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "file-type": "^16.5.4", "fs-extra": "^10.1.0", "gatsby-core-utils": "^3.22.0-next.0", diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 4463e4dcbc22a..757f9c6763d3f 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -51,7 +51,7 @@ "browserslist": "^4.17.5", "cache-manager": "^2.11.1", "chalk": "^4.1.2", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "common-tags": "^1.8.0", "compression": "^1.7.4", "cookie": "^0.4.1", diff --git a/yarn.lock b/yarn.lock index 11099822ee60e..1f6f043324eb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7433,7 +7433,7 @@ chokidar-cli@^3.0.0: lodash.throttle "^4.1.1" yargs "^13.3.0" -chokidar@^3.0.0, chokidar@^3.4.0, chokidar@^3.4.2, chokidar@^3.5.2, chokidar@^3.5.3: +chokidar@^3.0.0, chokidar@^3.4.0, chokidar@^3.4.2, chokidar@^3.5.2: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -7448,6 +7448,13 @@ chokidar@^3.0.0, chokidar@^3.4.0, chokidar@^3.4.2, chokidar@^3.5.2, chokidar@^3. optionalDependencies: fsevents "~2.3.2" +chokidar@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.1.tgz#4a6dff66798fb0f72a94f616abbd7e1a19f31d41" + integrity sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA== + dependencies: + readdirp "^4.0.1" + chownr@^1.1.1, chownr@^1.1.2, chownr@^1.1.4: version "1.1.4" resolved "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -8380,12 +8387,7 @@ core-js-compat@^3.16.0, core-js-compat@^3.9.1: browserslist "^4.16.6" semver "7.0.0" -core-js-pure@^3.0.0: - version "3.6.4" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.6.4.tgz#4bf1ba866e25814f149d4e9aaa08c36173506e3a" - integrity sha512-epIhRLkXdgv32xIUFaaAry2wdxZYBi6bgM7cB136dzzXXa+dFyRLTZeLUJxnd8ShrmyVXBub63n2NHo2JAt8Cw== - -core-js-pure@^3.8.1: +core-js-pure@^3.0.0, core-js-pure@^3.8.1: version "3.24.1" resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.24.1.tgz#8839dde5da545521bf282feb7dc6d0b425f39fd3" integrity sha512-r1nJk41QLLPyozHUUPmILCEMtMw24NG4oWK6RbsDdjzQgg9ZvrUsPBj1MnG0wXXp1DCDU6j+wUvEmBSrtRbLXg== @@ -10061,14 +10063,7 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -error-stack-parser@^2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/error-stack-parser/-/error-stack-parser-2.0.6.tgz#5a99a707bd7a4c58a797902d48d82803ede6aad8" - integrity sha512-d51brTeqC+BHlwF0BhPtcYgF5nlzf9ZZ0ZIUQNZpc9ZB9qw5IJ2diTrBY9jlCJkTLITYPjmiX6OWCwH+fuyNgQ== - dependencies: - stackframe "^1.1.1" - -error-stack-parser@^2.1.4: +error-stack-parser@^2.0.6, error-stack-parser@^2.1.4: version "2.1.4" resolved "https://registry.yarnpkg.com/error-stack-parser/-/error-stack-parser-2.1.4.tgz#229cb01cdbfa84440bfa91876285b94680188286" integrity sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ== @@ -20841,6 +20836,11 @@ readdir-scoped-modules@^1.0.0: graceful-fs "^4.1.2" once "^1.3.0" +readdirp@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.0.2.tgz#388fccb8b75665da3abffe2d8f8ed59fe74c230a" + integrity sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA== + readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -23405,11 +23405,6 @@ stack-utils@^2.0.2, stack-utils@^2.0.3: dependencies: escape-string-regexp "^2.0.0" -stackframe@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.1.1.tgz#ffef0a3318b1b60c3b58564989aca5660729ec71" - integrity sha512-0PlYhdKh6AfFxRyK/v+6/k+/mMfyiEBbTM5L94D0ZytQnJ166wuwoTYLHFWGbs2dpA8Rgq763KGWmN1EQEYHRQ== - stackframe@^1.3.4: version "1.3.4" resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310"