diff --git a/CHANGELOG.md b/CHANGELOG.md index bcb9983e5134..efe9d37e8cc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Chore & Maintenance - `[*]` [**BREAKING**] Drop support for Node 6 ([#8455](https://github.com/facebook/jest/pull/8455)) +- `[*]` [**BREAKING**] Upgrade to Micromatch v4 - `[docs]` Fix broken link pointing to legacy JS file in "Snapshot Testing". - `[jest-leak-detector]` [**BREAKING**] Use `weak-napi` instead of `weak` package ([#8686](https://github.com/facebook/jest/pull/8686)) diff --git a/package.json b/package.json index 0c7f692bc3f4..9bff104d6ca1 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "karma-webpack": "4.0.0-rc.5", "left-pad": "^1.1.1", "lerna": "3.15.0", - "micromatch": "^3.1.10", + "micromatch": "^4.0.2", "mkdirp": "^0.5.1", "mocha": "^6.0.2", "mock-fs": "^4.4.1", diff --git a/packages/jest-config/package.json b/packages/jest-config/package.json index cc0e89847a7a..b6ce70c9e922 100644 --- a/packages/jest-config/package.json +++ b/packages/jest-config/package.json @@ -24,7 +24,7 @@ "jest-resolve": "^24.9.0", "jest-util": "^24.9.0", "jest-validate": "^24.9.0", - "micromatch": "^3.1.10", + "micromatch": "^4.0.2", "pretty-format": "^24.9.0", "realpath-native": "^1.1.0" }, diff --git a/packages/jest-core/package.json b/packages/jest-core/package.json index ccd64e4211de..2326465cf78c 100644 --- a/packages/jest-core/package.json +++ b/packages/jest-core/package.json @@ -27,7 +27,7 @@ "jest-util": "^24.9.0", "jest-validate": "^24.9.0", "jest-watcher": "^24.9.0", - "micromatch": "^3.1.10", + "micromatch": "^4.0.2", "p-each-series": "^1.0.0", "realpath-native": "^1.1.0", "rimraf": "^2.5.4", diff --git a/packages/jest-haste-map/package.json b/packages/jest-haste-map/package.json index a0cdef2e1103..a2a28d77e683 100644 --- a/packages/jest-haste-map/package.json +++ b/packages/jest-haste-map/package.json @@ -11,14 +11,14 @@ "types": "build/index.d.ts", "dependencies": { "@jest/types": "^24.9.0", - "anymatch": "^2.0.0", + "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", "graceful-fs": "^4.1.15", "invariant": "^2.2.4", "jest-serializer": "^24.9.0", "jest-util": "^24.9.0", "jest-worker": "^24.9.0", - "micromatch": "^3.1.10", + "micromatch": "^4.0.2", "sane": "^4.0.3", "walker": "^1.0.7" }, diff --git a/packages/jest-message-util/package.json b/packages/jest-message-util/package.json index 2ed953661829..b3f9c25ba3d1 100644 --- a/packages/jest-message-util/package.json +++ b/packages/jest-message-util/package.json @@ -18,7 +18,7 @@ "@jest/types": "^24.9.0", "@types/stack-utils": "^1.0.1", "chalk": "^2.0.1", - "micromatch": "^3.1.10", + "micromatch": "^4.0.2", "slash": "^2.0.0", "stack-utils": "^1.0.1" }, diff --git a/packages/jest-transform/package.json b/packages/jest-transform/package.json index 1d9707b52dd0..7ee7cbebce6f 100644 --- a/packages/jest-transform/package.json +++ b/packages/jest-transform/package.json @@ -19,7 +19,7 @@ "jest-haste-map": "^24.9.0", "jest-regex-util": "^24.9.0", "jest-util": "^24.9.0", - "micromatch": "^3.1.10", + "micromatch": "^4.0.2", "pirates": "^4.0.1", "realpath-native": "^1.1.0", "slash": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 2b27549380aa..7149608314b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3010,7 +3010,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -anymatch@^3.0.1: +anymatch@^3.0.1, anymatch@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.0.3.tgz#2fb624fe0e84bccab00afee3d0006ed310f22f09" integrity sha512-c6IvoeBECQlMVuYUjSwimnhmztImpErfxJzWZhIQinIvQWoGOnB0dLIgifbPHQt5heS6mNlaZG16f06H3C8t1g== @@ -3724,7 +3724,7 @@ braces@^2.3.1, braces@^2.3.2: split-string "^3.0.2" to-regex "^3.0.1" -braces@^3.0.2: +braces@^3.0.1, braces@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== @@ -9615,6 +9615,14 @@ micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8: snapdragon "^0.8.1" to-regex "^3.0.2" +micromatch@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259" + integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== + dependencies: + braces "^3.0.1" + picomatch "^2.0.5" + miller-rabin@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" @@ -10860,7 +10868,7 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -picomatch@^2.0.4: +picomatch@^2.0.4, picomatch@^2.0.5: version "2.0.7" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6" integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==