From 27142de52c6b1a7d110fac9390de82606c1b4689 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Fri, 21 Oct 2022 19:36:38 +0200 Subject: [PATCH 1/2] chore: update emittery --- package.json | 2 +- packages/jest-runner/package.json | 2 +- packages/jest-watcher/package.json | 2 +- yarn.lock | 159 ++++------------------------- 4 files changed, 25 insertions(+), 140 deletions(-) diff --git a/package.json b/package.json index e85f6a4a1808..a402e0870caf 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "jest-serializer-ansi-escapes": "^2.0.1", "jest-silent-reporter": "^0.5.0", "jest-snapshot": "workspace:^", - "jest-watch-typeahead": "^2.1.1", + "jest-watch-typeahead": "^2.2.0", "jquery": "^3.2.1", "js-yaml": "^4.1.0", "micromatch": "^4.0.4", diff --git a/packages/jest-runner/package.json b/packages/jest-runner/package.json index 12a33f11ffd7..b93460452a9b 100644 --- a/packages/jest-runner/package.json +++ b/packages/jest-runner/package.json @@ -24,7 +24,7 @@ "@jest/types": "workspace:^", "@types/node": "*", "chalk": "^4.0.0", - "emittery": "^0.10.2", + "emittery": "^0.13.1", "graceful-fs": "^4.2.9", "jest-docblock": "workspace:^", "jest-environment-node": "workspace:^", diff --git a/packages/jest-watcher/package.json b/packages/jest-watcher/package.json index 2ce5aba1a734..33cac12dcc65 100644 --- a/packages/jest-watcher/package.json +++ b/packages/jest-watcher/package.json @@ -17,7 +17,7 @@ "@types/node": "*", "ansi-escapes": "^4.2.1", "chalk": "^4.0.0", - "emittery": "^0.10.2", + "emittery": "^0.13.1", "jest-util": "workspace:^", "string-length": "^4.0.1" }, diff --git a/yarn.lock b/yarn.lock index e42c43e1cf47..550db59ca871 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2595,20 +2595,6 @@ __metadata: languageName: node linkType: hard -"@jest/console@npm:^28.1.3": - version: 28.1.3 - resolution: "@jest/console@npm:28.1.3" - dependencies: - "@jest/types": ^28.1.3 - "@types/node": "*" - chalk: ^4.0.0 - jest-message-util: ^28.1.3 - jest-util: ^28.1.3 - slash: ^3.0.0 - checksum: fe50d98d26d02ce2901c76dff4bd5429a33c13affb692c9ebf8a578ca2f38a5dd854363d40d6c394f215150791fd1f692afd8e730a4178dda24107c8dfd9750a - languageName: node - linkType: hard - "@jest/console@workspace:^, @jest/console@workspace:packages/jest-console": version: 0.0.0-use.local resolution: "@jest/console@workspace:packages/jest-console" @@ -2807,7 +2793,7 @@ __metadata: jest-serializer-ansi-escapes: ^2.0.1 jest-silent-reporter: ^0.5.0 jest-snapshot: "workspace:^" - jest-watch-typeahead: ^2.1.1 + jest-watch-typeahead: ^2.2.0 jquery: ^3.2.1 js-yaml: ^4.1.0 micromatch: ^4.0.4 @@ -2884,15 +2870,6 @@ __metadata: languageName: unknown linkType: soft -"@jest/schemas@npm:^28.1.3": - version: 28.1.3 - resolution: "@jest/schemas@npm:28.1.3" - dependencies: - "@sinclair/typebox": ^0.24.1 - checksum: 3cf1d4b66c9c4ffda58b246de1ddcba8e6ad085af63dccdf07922511f13b68c0cc480a7bc620cb4f3099a6f134801c747e1df7bfc7a4ef4dceefbdea3e31e1de - languageName: node - linkType: hard - "@jest/schemas@workspace:^, @jest/schemas@workspace:packages/jest-schemas": version: 0.0.0-use.local resolution: "@jest/schemas@workspace:packages/jest-schemas" @@ -2923,18 +2900,6 @@ __metadata: languageName: unknown linkType: soft -"@jest/test-result@npm:^28.1.3": - version: 28.1.3 - resolution: "@jest/test-result@npm:28.1.3" - dependencies: - "@jest/console": ^28.1.3 - "@jest/types": ^28.1.3 - "@types/istanbul-lib-coverage": ^2.0.0 - collect-v8-coverage: ^1.0.0 - checksum: 957a5dd2fd2e84aabe86698f93c0825e96128ccaa23abf548b159a9b08ac74e4bde7acf4bec48479243dbdb27e4ea1b68c171846d21fb64855c6b55cead9ef27 - languageName: node - linkType: hard - "@jest/test-result@workspace:^, @jest/test-result@workspace:packages/jest-test-result": version: 0.0.0-use.local resolution: "@jest/test-result@workspace:packages/jest-test-result" @@ -3028,20 +2993,6 @@ __metadata: languageName: node linkType: hard -"@jest/types@npm:^28.1.3": - version: 28.1.3 - resolution: "@jest/types@npm:28.1.3" - dependencies: - "@jest/schemas": ^28.1.3 - "@types/istanbul-lib-coverage": ^2.0.0 - "@types/istanbul-reports": ^3.0.0 - "@types/node": "*" - "@types/yargs": ^17.0.8 - chalk: ^4.0.0 - checksum: 1e258d9c063fcf59ebc91e46d5ea5984674ac7ae6cae3e50aa780d22b4405bf2c925f40350bf30013839eb5d4b5e521d956ddf8f3b7c78debef0e75a07f57350 - languageName: node - linkType: hard - "@jest/types@workspace:^, @jest/types@workspace:packages/jest-types": version: 0.0.0-use.local resolution: "@jest/types@workspace:packages/jest-types" @@ -8615,10 +8566,10 @@ __metadata: languageName: node linkType: hard -"emittery@npm:^0.10.2": - version: 0.10.2 - resolution: "emittery@npm:0.10.2" - checksum: ee3e21788b043b90885b18ea756ec3105c1cedc50b29709c92b01e239c7e55345d4bb6d3aef4ddbaf528eef448a40b3bb831bad9ee0fc9c25cbf1367ab1ab5ac +"emittery@npm:^0.13.1": + version: 0.13.1 + resolution: "emittery@npm:0.13.1" + checksum: 2b089ab6306f38feaabf4f6f02792f9ec85fc054fda79f44f6790e61bbf6bc4e1616afb9b232e0c5ec5289a8a452f79bfa6d905a6fd64e94b49981f0934001c6 languageName: node linkType: hard @@ -12467,23 +12418,6 @@ __metadata: languageName: unknown linkType: soft -"jest-message-util@npm:^28.1.3": - version: 28.1.3 - resolution: "jest-message-util@npm:28.1.3" - dependencies: - "@babel/code-frame": ^7.12.13 - "@jest/types": ^28.1.3 - "@types/stack-utils": ^2.0.0 - chalk: ^4.0.0 - graceful-fs: ^4.2.9 - micromatch: ^4.0.4 - pretty-format: ^28.1.3 - slash: ^3.0.0 - stack-utils: ^2.0.3 - checksum: 1f266854166dcc6900d75a88b54a25225a2f3710d463063ff1c99021569045c35c7d58557b25447a17eb3a65ce763b2f9b25550248b468a9d4657db365f39e96 - languageName: node - linkType: hard - "jest-message-util@workspace:^, jest-message-util@workspace:packages/jest-message-util": version: 0.0.0-use.local resolution: "jest-message-util@workspace:packages/jest-message-util" @@ -12535,21 +12469,7 @@ __metadata: languageName: node linkType: hard -"jest-regex-util@npm:^27.0.6": - version: 27.5.1 - resolution: "jest-regex-util@npm:27.5.1" - checksum: d45ca7a9543616a34f7f3079337439cf07566e677a096472baa2810e274b9808b76767c97b0a4029b8a5b82b9d256dee28ef9ad4138b2b9e5933f6fac106c418 - languageName: node - linkType: hard - -"jest-regex-util@npm:^28.0.0": - version: 28.0.2 - resolution: "jest-regex-util@npm:28.0.2" - checksum: 0ea8c5c82ec88bc85e273c0ec82e0c0f35f7a1e2d055070e50f0cc2a2177f848eec55f73e37ae0d045c3db5014c42b2f90ac62c1ab3fdb354d2abd66a9e08add - languageName: node - linkType: hard - -"jest-regex-util@workspace:^, jest-regex-util@workspace:packages/jest-regex-util": +"jest-regex-util@^29.0.0, jest-regex-util@workspace:^, jest-regex-util@workspace:packages/jest-regex-util": version: 0.0.0-use.local resolution: "jest-regex-util@workspace:packages/jest-regex-util" dependencies: @@ -12557,6 +12477,13 @@ __metadata: languageName: unknown linkType: soft +"jest-regex-util@npm:^27.0.6": + version: 27.5.1 + resolution: "jest-regex-util@npm:27.5.1" + checksum: d45ca7a9543616a34f7f3079337439cf07566e677a096472baa2810e274b9808b76767c97b0a4029b8a5b82b9d256dee28ef9ad4138b2b9e5933f6fac106c418 + languageName: node + linkType: hard + "jest-repl@workspace:packages/jest-repl": version: 0.0.0-use.local resolution: "jest-repl@workspace:packages/jest-repl" @@ -12644,7 +12571,7 @@ __metadata: "@types/node": "*" "@types/source-map-support": ^0.5.0 chalk: ^4.0.0 - emittery: ^0.10.2 + emittery: ^0.13.1 graceful-fs: ^4.2.9 jest-docblock: "workspace:^" jest-environment-node: "workspace:^" @@ -12793,20 +12720,6 @@ __metadata: languageName: node linkType: hard -"jest-util@npm:^28.1.3": - version: 28.1.3 - resolution: "jest-util@npm:28.1.3" - dependencies: - "@jest/types": ^28.1.3 - "@types/node": "*" - chalk: ^4.0.0 - ci-info: ^3.2.0 - graceful-fs: ^4.2.9 - picomatch: ^2.2.3 - checksum: fd6459742c941f070223f25e38a2ac0719aad92561591e9fb2a50d602a5d19d754750b79b4074327a42b00055662b95da3b006542ceb8b54309da44d4a62e721 - languageName: node - linkType: hard - "jest-util@workspace:^, jest-util@workspace:packages/jest-util": version: 0.0.0-use.local resolution: "jest-util@workspace:packages/jest-util" @@ -12850,40 +12763,24 @@ __metadata: languageName: unknown linkType: soft -"jest-watch-typeahead@npm:^2.1.1": - version: 2.1.1 - resolution: "jest-watch-typeahead@npm:2.1.1" +"jest-watch-typeahead@npm:^2.2.0": + version: 2.2.0 + resolution: "jest-watch-typeahead@npm:2.2.0" dependencies: ansi-escapes: ^5.0.0 chalk: ^4.0.0 - jest-regex-util: ^28.0.0 - jest-watcher: ^28.0.0 + jest-regex-util: ^29.0.0 + jest-watcher: ^29.0.0 slash: ^4.0.0 string-length: ^5.0.1 strip-ansi: ^7.0.1 peerDependencies: jest: ^27.0.0 || ^28.0.0 || ^29.0.0 - checksum: ba5f619c82b382e93e3439dc262146c4aa71e126deb118418881c2cf6a83872cde115bef004b1d205df48f050c0cd6c88be1fba5d6ddc1d1aa11195a71ea8d07 - languageName: node - linkType: hard - -"jest-watcher@npm:^28.0.0": - version: 28.1.3 - resolution: "jest-watcher@npm:28.1.3" - dependencies: - "@jest/test-result": ^28.1.3 - "@jest/types": ^28.1.3 - "@types/node": "*" - ansi-escapes: ^4.2.1 - chalk: ^4.0.0 - emittery: ^0.10.2 - jest-util: ^28.1.3 - string-length: ^4.0.1 - checksum: 8f6d674a4865e7df251f71544f1b51f06fd36b5a3a61f2ac81aeb81fa2a196be354fba51d0f97911c88f67cd254583b3a22ee124bf2c5b6ee2fadec27356c207 + checksum: 78e387597263283e2e0ed3bc8580591a8af8cae392d548a9ab116c766afe4b636a7c129b3dec07d5db3cbf0936fcd2c474870dce8a711754ea20616f17d97035 languageName: node linkType: hard -"jest-watcher@workspace:^, jest-watcher@workspace:packages/jest-watcher": +"jest-watcher@^29.0.0, jest-watcher@workspace:^, jest-watcher@workspace:packages/jest-watcher": version: 0.0.0-use.local resolution: "jest-watcher@workspace:packages/jest-watcher" dependencies: @@ -12892,7 +12789,7 @@ __metadata: "@types/node": "*" ansi-escapes: ^4.2.1 chalk: ^4.0.0 - emittery: ^0.10.2 + emittery: ^0.13.1 jest-util: "workspace:^" string-length: ^4.0.1 languageName: unknown @@ -16703,18 +16600,6 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^28.1.3": - version: 28.1.3 - resolution: "pretty-format@npm:28.1.3" - dependencies: - "@jest/schemas": ^28.1.3 - ansi-regex: ^5.0.1 - ansi-styles: ^5.0.0 - react-is: ^18.0.0 - checksum: e69f857358a3e03d271252d7524bec758c35e44680287f36c1cb905187fbc82da9981a6eb07edfd8a03bc3cbeebfa6f5234c13a3d5b59f2bbdf9b4c4053e0a7f - languageName: node - linkType: hard - "pretty-format@workspace:^, pretty-format@workspace:packages/pretty-format": version: 0.0.0-use.local resolution: "pretty-format@workspace:packages/pretty-format" From ebb5f11da246ae582bc89e0173363eccd0f8bafd Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sat, 22 Oct 2022 08:48:46 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e903f387072..0db12a656313 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Chore & Maintenance - `[docs]` Update link to Jest 28 upgrade guide in error message ([#13483](https://github.com/facebook/jest/pull/13483)) +- `[jest-runner, jest-watcher]` Update `emittery` ([#13490](https://github.com/facebook/jest/pull/13490)) ### Performance