From df12f26da3b288ca64677385485ab2bfefd3973e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:40:32 +0200 Subject: [PATCH] chore(deps): update dependency eslint-plugin-testing-library to v6 (#33) 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-testing-library](https://togithub.com/testing-library/eslint-plugin-testing-library) | [`^5.11.1` -> `^6.0.2`](https://renovatebot.com/diffs/npm/eslint-plugin-testing-library/5.11.1/6.0.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-testing-library/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-testing-library/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-testing-library/5.11.1/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-testing-library/5.11.1/6.0.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
testing-library/eslint-plugin-testing-library (eslint-plugin-testing-library) ### [`v6.0.2`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.0.2) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.0.1...v6.0.2) ##### Bug Fixes - **await-async-events:** sync userEvent.setup() should not be reported ([#​817](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/817)) ([c0b6e6f](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/c0b6e6f11fc4c536ad45c98cb058daef82b58258)), closes [#​800](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/800) ### [`v6.0.1`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.0.1) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v6.0.0...v6.0.1) ##### Bug Fixes - **no-await-sync-events:** stop reporting `user-event` by default ([#​803](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/803)) ([88246fc](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/88246fca7919b06a00d0564913779db33de4de19)) ### [`v6.0.0`](https://togithub.com/testing-library/eslint-plugin-testing-library/releases/tag/v6.0.0) [Compare Source](https://togithub.com/testing-library/eslint-plugin-testing-library/compare/v5.11.1...v6.0.0) You can follow the [migration guide to v6](https://togithub.com/testing-library/eslint-plugin-testing-library/blob/main/docs/migration-guides/v6.md). ##### BREAKING CHANGES - **await-async-query:** `await-async-query` is now called `await-async-queries` - **no-await-sync-events:** `no-await-sync-events` is now enabled by default in the DOM, Angular & React configs - **no-await-sync-query:** `no-await-sync-query` is now called `no-await-sync-queries` - **no-debugging-utils:** `no-debugging-utils` now enables all debug methods in all configs by default - **no-node-access:** `no-node-access` is now enabled by default in the DOM config - **await-fire-event:** `await-fire-event` is now called `await-async-event` - **no-global-regexp-flag-in-query:** `no-global-regexp-flag-in-query` is now enabled by default in all configs - **no-manual-cleanup:** `no-manual-cleanup` is now enabled by default in the React & Vue configs - **no-render-in-setup:** `no-render-in-setup` is now called `no-render-in-lifecycle` - **prefer-wait-for:** `prefer-wait-for` is now removed ##### Bug Fixes - **await-async-event:** pluralize to await-async-events ([#​670](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/670)) ([7238f76](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/7238f76c44d026798c8ad7c41700a717a065aef6)) - **await-async-events:** improve fixer ([#​675](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/675)) ([9d5554c](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/9d5554cb6bd44f3dbb9e370d67b684b54010c704)) ##### Features - **await-async-event:** add basic fixer ([#​656](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/656)) ([b4b5394](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/b4b5394b18979e7fde175d36e0cbe9cec5fb2f85)) - **await-async-query:** rename to `await-async-queries` ([#​665](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/665)) ([c1803df](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/c1803df5e35188ed5fcaeaf45ebcea379fa36838)) - **await-fire-event:** rename to `await-async-event` + add support for `user-event` ([#​652](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/652)) ([b4ce9bb](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/b4ce9bb2ddec61f1790aa422412b3557f2baaf90)) - **no-await-sync-events:** add to DOM, Angular & React configs by default ([#​667](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/667)) ([afce5ea](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/afce5ea7888db3070711c39baf470e46a01f99a7)) - **no-await-sync-query:** rename to `no-await-sync-queries` ([#​666](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/666)) ([7ed3da8](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/7ed3da8ef5b454baea76f8f14465644311366270)) - **no-debugging-utils:** enable all debug methods in all configs by default ([#​663](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/663)) ([e394ce0](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/e394ce0962616e79d45b9abed8afead7e00f5d13)) - **no-debugging-utils:** warn instead of error in all configs ([#​662](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/662)) ([8063f8f](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/8063f8f6a8e1ed0304c6eefc3b00493997952cd1)) - **no-global-regexp-flag-in-query:** add to all configs by default ([#​660](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/660)) ([c76a7bf](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/c76a7bfa153d8f206bd88cd3928e3f8bd107be18)) - **no-manual-cleanup:** add to React & Vue configs by default ([#​659](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/659)) ([8f6ebf5](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/8f6ebf567b0e3bd136db3f917ef1ac6def5f14cb)) - **no-node-access:** add to DOM config by default ([#​661](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/661)) ([8dfe155](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/8dfe155f5658c14004c80ddef274171e1d2950b1)) - **no-render-in-setup:** rename to `no-render-in-lifecycle` ([#​649](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/649)) ([9acba43](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/9acba430da3729bf3e4c781d1b9d2f3ff3ed6962)) - **prefer-wait-for:** remove rule ([#​648](https://togithub.com/testing-library/eslint-plugin-testing-library/issues/648)) ([20f23ad](https://togithub.com/testing-library/eslint-plugin-testing-library/commit/20f23ad0810654ab046e7056560653c72274d50a))
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), 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/remcolakens/next-boilerplate). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index ebf424d..824ca68 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "eslint-config-next": "^13.5.3", "eslint-config-prettier": "^8.10.0", "eslint-plugin-prettier": "4.2.1", - "eslint-plugin-testing-library": "^5.11.1", + "eslint-plugin-testing-library": "^6.0.2", "husky": "^8.0.3", "inquirer": "8.2.6", "jest": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ffb8dc7..b80cb2f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -104,8 +104,8 @@ devDependencies: specifier: 4.2.1 version: 4.2.1(eslint-config-prettier@8.10.0)(eslint@8.50.0)(prettier@2.8.8) eslint-plugin-testing-library: - specifier: ^5.11.1 - version: 5.11.1(eslint@8.50.0)(typescript@5.2.2) + specifier: ^6.0.2 + version: 6.0.2(eslint@8.50.0)(typescript@5.2.2) husky: specifier: ^8.0.3 version: 8.0.3 @@ -2981,10 +2981,6 @@ packages: parse5: 7.1.2 dev: true - /@types/json-schema@7.0.11: - resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} - dev: true - /@types/json-schema@7.0.13: resolution: {integrity: sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==} dev: true @@ -3042,10 +3038,6 @@ packages: /@types/scheduler@0.16.3: resolution: {integrity: sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==} - /@types/semver@7.3.13: - resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} - dev: true - /@types/semver@7.5.3: resolution: {integrity: sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==} dev: true @@ -3219,8 +3211,8 @@ packages: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.50.0) - '@types/json-schema': 7.0.11 - '@types/semver': 7.3.13 + '@types/json-schema': 7.0.13 + '@types/semver': 7.5.3 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) @@ -4948,8 +4940,8 @@ packages: string.prototype.matchall: 4.0.8 dev: true - /eslint-plugin-testing-library@5.11.1(eslint@8.50.0)(typescript@5.2.2): - resolution: {integrity: sha512-5eX9e1Kc2PqVRed3taaLnAAqPZGEX75C+M/rXzUAI3wIg/ZxzUm1OVAwfe/O+vE+6YXOLetSe9g5GKD2ecXipw==} + /eslint-plugin-testing-library@6.0.2(eslint@8.50.0)(typescript@5.2.2): + resolution: {integrity: sha512-3BV6FWtLbpKFb4Y1obSdt8PC9xSqz6T+7EHB/6pSCXqVjKPoS67ck903feKMKQphd5VhrX+N51yHuVaPa7elsw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'} peerDependencies: eslint: ^7.5.0 || ^8.0.0