From 7fc32f85f6e048bdfcd961808279bc2def7caccc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 1 Oct 2023 21:14:13 +0000 Subject: [PATCH] Update dependency eslint-plugin-jest to v24.7.0 (#169) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-jest](https://togithub.com/jest-community/eslint-plugin-jest) | [`24.3.5` -> `24.7.0`](https://renovatebot.com/diffs/npm/eslint-plugin-jest/24.3.5/24.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-jest/24.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-jest/24.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-jest/24.3.5/24.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-jest/24.3.5/24.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
jest-community/eslint-plugin-jest (eslint-plugin-jest) ### [`v24.7.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2470-2021-10-10) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.6.0...v24.7.0) ##### Features - create `require-hook` rule ([#​929](https://togithub.com/jest-community/eslint-plugin-jest/issues/929)) ([6204b31](https://togithub.com/jest-community/eslint-plugin-jest/commit/6204b311e849b51a0e4705015575139f590ae7a4)) - deprecate `prefer-to-be-null` rule ([4db9161](https://togithub.com/jest-community/eslint-plugin-jest/commit/4db91612e988e84ac2facbfe466331b22eeccec9)) - deprecate `prefer-to-be-undefined` rule ([fa08f09](https://togithub.com/jest-community/eslint-plugin-jest/commit/fa08f0944e89915fb215bbeff970f12459121cb8)) ### [`v24.6.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2460-2021-10-09) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.5.2...v24.6.0) ##### Features - **valid-expect-in-promise:** re-implement rule ([#​916](https://togithub.com/jest-community/eslint-plugin-jest/issues/916)) ([7a49c58](https://togithub.com/jest-community/eslint-plugin-jest/commit/7a49c5831e3d85a60c11e385203b8f83d98ad580)) #### [24.5.2](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.5.1...v24.5.2) (2021-10-04) ##### Bug Fixes - **lowercase-name:** consider skip and only prefixes for ignores ([#​923](https://togithub.com/jest-community/eslint-plugin-jest/issues/923)) ([8716c24](https://togithub.com/jest-community/eslint-plugin-jest/commit/8716c24678ea7dc7c9f692b573d1ea19a67efd84)) #### [24.5.1](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.5.0...v24.5.1) (2021-10-04) ##### Bug Fixes - **prefer-to-be:** don't consider RegExp literals as `toBe`-able ([#​922](https://togithub.com/jest-community/eslint-plugin-jest/issues/922)) ([99b6d42](https://togithub.com/jest-community/eslint-plugin-jest/commit/99b6d429e697d60645b4bc64ee4ae34d7016118c)) ### [`v24.5.2`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2452-2021-10-04) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.5.1...v24.5.2) ##### Bug Fixes - **lowercase-name:** consider skip and only prefixes for ignores ([#​923](https://togithub.com/jest-community/eslint-plugin-jest/issues/923)) ([8716c24](https://togithub.com/jest-community/eslint-plugin-jest/commit/8716c24678ea7dc7c9f692b573d1ea19a67efd84)) ### [`v24.5.1`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2451-2021-10-04) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.5.0...v24.5.1) ##### Bug Fixes - **prefer-to-be:** don't consider RegExp literals as `toBe`-able ([#​922](https://togithub.com/jest-community/eslint-plugin-jest/issues/922)) ([99b6d42](https://togithub.com/jest-community/eslint-plugin-jest/commit/99b6d429e697d60645b4bc64ee4ae34d7016118c)) ### [`v24.5.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2450-2021-09-29) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.4.3...v24.5.0) ##### Bug Fixes - **no-deprecated-functions:** remove `process.cwd` from resolve paths ([#​889](https://togithub.com/jest-community/eslint-plugin-jest/issues/889)) ([6940488](https://togithub.com/jest-community/eslint-plugin-jest/commit/6940488d7b5a47577e2823e6d4385b511c5becf4)) - **no-identical-title:** always consider `.each` titles unique ([#​910](https://togithub.com/jest-community/eslint-plugin-jest/issues/910)) ([a41a40e](https://togithub.com/jest-community/eslint-plugin-jest/commit/a41a40eafaf1db444ba940cccd2014cb0dc41be9)) ##### Features - create `prefer-expect-resolves` rule ([#​822](https://togithub.com/jest-community/eslint-plugin-jest/issues/822)) ([2556020](https://togithub.com/jest-community/eslint-plugin-jest/commit/2556020a777f9daaf1d362a04e3f990415e82db8)) - create `prefer-to-be` rule ([#​864](https://togithub.com/jest-community/eslint-plugin-jest/issues/864)) ([3a64aea](https://togithub.com/jest-community/eslint-plugin-jest/commit/3a64aea5bdc55465f1ef34f1426ae626d6c8a230)) - **require-top-level-describe:** support enforcing max num of describes ([#​912](https://togithub.com/jest-community/eslint-plugin-jest/issues/912)) ([14a2d13](https://togithub.com/jest-community/eslint-plugin-jest/commit/14a2d1391c9f6f52509316542f45df35853c9b79)) - **valid-title:** allow custom matcher messages ([#​913](https://togithub.com/jest-community/eslint-plugin-jest/issues/913)) ([ffc9392](https://togithub.com/jest-community/eslint-plugin-jest/commit/ffc93921348b0d4a394125f665d2bb09148ea37e)) #### [24.4.3](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.4.2...v24.4.3) (2021-09-28) ##### Bug Fixes - **valid-expect-in-promise:** support `finally` ([#​914](https://togithub.com/jest-community/eslint-plugin-jest/issues/914)) ([9c89855](https://togithub.com/jest-community/eslint-plugin-jest/commit/9c89855d23534272230afe6d9e665b8e11ef3075)) - **valid-expect-in-promise:** support additional test functions ([#​915](https://togithub.com/jest-community/eslint-plugin-jest/issues/915)) ([4798005](https://togithub.com/jest-community/eslint-plugin-jest/commit/47980058d8d1ff86ee69a376c4edd182d462d594)) #### [24.4.2](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.4.1...v24.4.2) (2021-09-17) ##### Bug Fixes - use correct property `hasSuggestions` rather than `hasSuggestion` ([#​899](https://togithub.com/jest-community/eslint-plugin-jest/issues/899)) ([dfd2368](https://togithub.com/jest-community/eslint-plugin-jest/commit/dfd2368d1cb1789b6a95a11be24c36868bb8a819)) #### [24.4.1](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.4.0...v24.4.1) (2021-09-17) ##### Bug Fixes - mark rules that suggest fixes with `hasSuggestion` for ESLint v8 ([#​898](https://togithub.com/jest-community/eslint-plugin-jest/issues/898)) ([ec0a21b](https://togithub.com/jest-community/eslint-plugin-jest/commit/ec0a21b0d98d043a9949138e495814e0935d5e31)) ### [`v24.4.3`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2443-2021-09-28) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.4.2...v24.4.3) ##### Bug Fixes - **valid-expect-in-promise:** support `finally` ([#​914](https://togithub.com/jest-community/eslint-plugin-jest/issues/914)) ([9c89855](https://togithub.com/jest-community/eslint-plugin-jest/commit/9c89855d23534272230afe6d9e665b8e11ef3075)) - **valid-expect-in-promise:** support additional test functions ([#​915](https://togithub.com/jest-community/eslint-plugin-jest/issues/915)) ([4798005](https://togithub.com/jest-community/eslint-plugin-jest/commit/47980058d8d1ff86ee69a376c4edd182d462d594)) ### [`v24.4.2`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2442-2021-09-17) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.4.1...v24.4.2) ##### Bug Fixes - use correct property `hasSuggestions` rather than `hasSuggestion` ([#​899](https://togithub.com/jest-community/eslint-plugin-jest/issues/899)) ([dfd2368](https://togithub.com/jest-community/eslint-plugin-jest/commit/dfd2368d1cb1789b6a95a11be24c36868bb8a819)) ### [`v24.4.1`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2441-2021-09-17) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.4.0...v24.4.1) ##### Bug Fixes - mark rules that suggest fixes with `hasSuggestion` for ESLint v8 ([#​898](https://togithub.com/jest-community/eslint-plugin-jest/issues/898)) ([ec0a21b](https://togithub.com/jest-community/eslint-plugin-jest/commit/ec0a21b0d98d043a9949138e495814e0935d5e31)) ### [`v24.4.0`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2440-2021-07-21) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.7...v24.4.0) ##### Features - create `max-nested-describe` rule ([#​845](https://togithub.com/jest-community/eslint-plugin-jest/issues/845)) ([8067405](https://togithub.com/jest-community/eslint-plugin-jest/commit/8067405deb609cc1800bce596e929c1840d290ab)) #### [24.3.7](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.6...v24.3.7) (2021-07-21) ##### Bug Fixes - **valid-describe:** report on concise-body arrow functions ([#​863](https://togithub.com/jest-community/eslint-plugin-jest/issues/863)) ([71c5299](https://togithub.com/jest-community/eslint-plugin-jest/commit/71c5299b14cac6d85ba8f8bd939461503a60468f)) #### [24.3.6](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.5...v24.3.6) (2021-04-26) ##### Bug Fixes - **no-conditional-expect:** check for expects in `catch`s on promises ([#​819](https://togithub.com/jest-community/eslint-plugin-jest/issues/819)) ([1fee973](https://togithub.com/jest-community/eslint-plugin-jest/commit/1fee973429a74c60b14eead6a335623b4349b5f2)) - **valid-expect:** support async `expect` in ternary statements ([#​833](https://togithub.com/jest-community/eslint-plugin-jest/issues/833)) ([7b7a396](https://togithub.com/jest-community/eslint-plugin-jest/commit/7b7a396e12c46d3087b467227887ed64854480c0)) - improve handling of `.each` calls and with tagged literals ([#​814](https://togithub.com/jest-community/eslint-plugin-jest/issues/814)) ([040c605](https://togithub.com/jest-community/eslint-plugin-jest/commit/040c605cf7929a00980b3fa58331cd78ac6274f6)) #### [24.3.5](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.4...v24.3.5) (2021-04-10) ##### Bug Fixes - **valid-describe:** support using `each` with modifiers ([#​820](https://togithub.com/jest-community/eslint-plugin-jest/issues/820)) ([cbdbcef](https://togithub.com/jest-community/eslint-plugin-jest/commit/cbdbcef47984eb01509493bd5b2423f518a2663d)) #### [24.3.4](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.3...v24.3.4) (2021-04-05) ##### Bug Fixes - support all variations of `describe`, `it`, & `test` ([#​792](https://togithub.com/jest-community/eslint-plugin-jest/issues/792)) ([0968b55](https://togithub.com/jest-community/eslint-plugin-jest/commit/0968b557dd9cdb5cfcaf8a0d84e8a456825e6b25)) #### [24.3.3](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.2...v24.3.3) (2021-04-02) ##### Bug Fixes - **no-duplicate-hooks:** support `describe.each` ([#​797](https://togithub.com/jest-community/eslint-plugin-jest/issues/797)) ([243cb4f](https://togithub.com/jest-community/eslint-plugin-jest/commit/243cb4f970e40aa195a3bffa0528dbdbfef7c4f5)), closes [#​642](https://togithub.com/jest-community/eslint-plugin-jest/issues/642) - **prefer-expect-assertions:** support `.each` ([#​798](https://togithub.com/jest-community/eslint-plugin-jest/issues/798)) ([f758243](https://togithub.com/jest-community/eslint-plugin-jest/commit/f75824359f2242f53997c59c238d83a59badeea3)), closes [#​676](https://togithub.com/jest-community/eslint-plugin-jest/issues/676) #### [24.3.2](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.1...v24.3.2) (2021-03-16) ##### Bug Fixes - **consistent-test-it:** properly handle `describe.each` ([#​796](https://togithub.com/jest-community/eslint-plugin-jest/issues/796)) ([035bd30](https://togithub.com/jest-community/eslint-plugin-jest/commit/035bd30af43f1215e65bf1b26c2ef2e6d174d3c8)), closes [#​795](https://togithub.com/jest-community/eslint-plugin-jest/issues/795) #### [24.3.1](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.0...v24.3.1) (2021-03-13) ##### Bug Fixes - **no-focused-tests:** report on `skip` instead of `concurrent` ([#​791](https://togithub.com/jest-community/eslint-plugin-jest/issues/791)) ([2b65b49](https://togithub.com/jest-community/eslint-plugin-jest/commit/2b65b491cea2c956e4ba314a809915b9ec62933b)) ### [`v24.3.7`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2437-2021-07-21) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.6...v24.3.7) ##### Bug Fixes - **valid-describe:** report on concise-body arrow functions ([#​863](https://togithub.com/jest-community/eslint-plugin-jest/issues/863)) ([71c5299](https://togithub.com/jest-community/eslint-plugin-jest/commit/71c5299b14cac6d85ba8f8bd939461503a60468f)) ### [`v24.3.6`](https://togithub.com/jest-community/eslint-plugin-jest/blob/HEAD/CHANGELOG.md#2436-2021-04-26) [Compare Source](https://togithub.com/jest-community/eslint-plugin-jest/compare/v24.3.5...v24.3.6) ##### Bug Fixes - **no-conditional-expect:** check for expects in `catch`s on promises ([#​819](https://togithub.com/jest-community/eslint-plugin-jest/issues/819)) ([1fee973](https://togithub.com/jest-community/eslint-plugin-jest/commit/1fee973429a74c60b14eead6a335623b4349b5f2)) - **valid-expect:** support async `expect` in ternary statements ([#​833](https://togithub.com/jest-community/eslint-plugin-jest/issues/833)) ([7b7a396](https://togithub.com/jest-community/eslint-plugin-jest/commit/7b7a396e12c46d3087b467227887ed64854480c0)) - improve handling of `.each` calls and with tagged literals ([#​814](https://togithub.com/jest-community/eslint-plugin-jest/issues/814)) ([040c605](https://togithub.com/jest-community/eslint-plugin-jest/commit/040c605cf7929a00980b3fa58331cd78ac6274f6))
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs). --- package.json | 2 +- pnpm-lock.yaml | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index c744169a97..6dac53d186 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "eslint-config-next": "workspace:*", "eslint-plugin-eslint-plugin": "4.4.1", "eslint-plugin-import": "2.28.1", - "eslint-plugin-jest": "24.3.5", + "eslint-plugin-jest": "24.7.0", "eslint-plugin-jsdoc": "39.6.4", "eslint-plugin-react": "7.23.2", "eslint-plugin-react-hooks": "4.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6bb4f99bcf..2ac6190b3e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -237,8 +237,8 @@ importers: specifier: 2.28.1 version: 2.28.1(@typescript-eslint/parser@6.1.0)(eslint@7.32.0) eslint-plugin-jest: - specifier: 24.3.5 - version: 24.3.5(@typescript-eslint/eslint-plugin@6.1.0)(eslint@7.32.0)(typescript@5.1.3) + specifier: 24.7.0 + version: 24.7.0(@typescript-eslint/eslint-plugin@6.1.0)(eslint@7.32.0)(typescript@5.1.3) eslint-plugin-jsdoc: specifier: 39.6.4 version: 39.6.4(eslint@7.32.0) @@ -11690,7 +11690,7 @@ packages: resolution: {integrity: sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==} engines: {node: '>=10'} dependencies: - globby: 11.1.0 + globby: 11.0.1 graceful-fs: 4.2.11 is-glob: 4.0.3 is-path-cwd: 2.2.0 @@ -12601,8 +12601,8 @@ packages: - supports-color dev: true - /eslint-plugin-jest@24.3.5(@typescript-eslint/eslint-plugin@6.1.0)(eslint@7.32.0)(typescript@5.1.3): - resolution: {integrity: sha512-XG4rtxYDuJykuqhsOqokYIR84/C8pRihRtEpVskYLbIIKGwPNW2ySxdctuVzETZE+MbF/e7wmsnbNVpzM0rDug==} + /eslint-plugin-jest@24.7.0(@typescript-eslint/eslint-plugin@6.1.0)(eslint@7.32.0)(typescript@5.1.3): + resolution: {integrity: sha512-wUxdF2bAZiYSKBclsUMrYHH6WxiBreNjyDxbRv345TIvPeoCEgPNEn3Sa+ZrSqsf1Dl9SqqSREXMHExlMMu1DA==} engines: {node: '>=10'} peerDependencies: '@typescript-eslint/eslint-plugin': '>= 4' @@ -14278,7 +14278,6 @@ packages: ignore: 5.2.0 merge2: 1.4.1 slash: 3.0.0 - dev: false /globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} @@ -15031,7 +15030,6 @@ packages: /ignore@5.2.0: resolution: {integrity: sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==} engines: {node: '>= 4'} - dev: false /ignore@5.2.4: resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==}