Skip to content

Commit a5f4ff4

Browse files
Bump eslint-plugin-testing-library from 6.2.2 to 7.9.2 (#13838)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Durand <[email protected]>
1 parent 8c04181 commit a5f4ff4

File tree

3 files changed

+103
-8
lines changed

3 files changed

+103
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
"eslint-plugin-promise": "^7.2.1",
284284
"eslint-plugin-react": "^7.37.5",
285285
"eslint-plugin-react-hooks": "^5.2.0",
286-
"eslint-plugin-testing-library": "^6.2.2",
286+
"eslint-plugin-testing-library": "^7.9.2",
287287
"file-loader": "^6.0.0",
288288
"flow-bin": "^0.187.0",
289289
"glob": "^11.0.3",

tests/unit/amo/components/TestRating.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import * as React from 'react';
22
import userEvent from '@testing-library/user-event';
3+
// We use cleanup() in some test cases below because we render more than once.
4+
// eslint-disable-next-line testing-library/no-manual-cleanup
35
import { cleanup, createEvent, fireEvent } from '@testing-library/react';
46

57
import Rating from 'amo/components/Rating';

yarn.lock

Lines changed: 100 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,13 @@
11181118
dependencies:
11191119
eslint-visitor-keys "^3.4.3"
11201120

1121+
"@eslint-community/eslint-utils@^4.7.0":
1122+
version "4.9.0"
1123+
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz#7308df158e064f0dd8b8fdb58aa14fa2a7f913b3"
1124+
integrity sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==
1125+
dependencies:
1126+
eslint-visitor-keys "^3.4.3"
1127+
11211128
"@eslint-community/regexpp@^4.6.1":
11221129
version "4.10.0"
11231130
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63"
@@ -1988,6 +1995,15 @@
19881995
dependencies:
19891996
"@types/yargs-parser" "*"
19901997

1998+
"@typescript-eslint/[email protected]":
1999+
version "8.45.0"
2000+
resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.45.0.tgz#f83dda1bca31dae2fd6821f9131daf1edebfd46c"
2001+
integrity sha512-3pcVHwMG/iA8afdGLMuTibGR7pDsn9RjDev6CCB+naRsSYs2pns5QbinF4Xqw6YC/Sj3lMrm/Im0eMfaa61WUg==
2002+
dependencies:
2003+
"@typescript-eslint/tsconfig-utils" "^8.45.0"
2004+
"@typescript-eslint/types" "^8.45.0"
2005+
debug "^4.3.4"
2006+
19912007
"@typescript-eslint/[email protected]":
19922008
version "5.58.0"
19932009
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.58.0.tgz#5e023a48352afc6a87be6ce3c8e763bc9e2f0bc8"
@@ -1996,11 +2012,29 @@
19962012
"@typescript-eslint/types" "5.58.0"
19972013
"@typescript-eslint/visitor-keys" "5.58.0"
19982014

2015+
"@typescript-eslint/[email protected]", "@typescript-eslint/scope-manager@^8.15.0":
2016+
version "8.45.0"
2017+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.45.0.tgz#59615ba506a9e3479d1efb0d09d6ab52f2a19142"
2018+
integrity sha512-clmm8XSNj/1dGvJeO6VGH7EUSeA0FMs+5au/u3lrA3KfG8iJ4u8ym9/j2tTEoacAffdW1TVUzXO30W1JTJS7dA==
2019+
dependencies:
2020+
"@typescript-eslint/types" "8.45.0"
2021+
"@typescript-eslint/visitor-keys" "8.45.0"
2022+
2023+
"@typescript-eslint/[email protected]", "@typescript-eslint/tsconfig-utils@^8.45.0":
2024+
version "8.45.0"
2025+
resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.45.0.tgz#63d38282790a2566c571bad423e7c1cad1f3d64c"
2026+
integrity sha512-aFdr+c37sc+jqNMGhH+ajxPXwjv9UtFZk79k8pLoJ6p4y0snmYpPA52GuWHgt2ZF4gRRW6odsEj41uZLojDt5w==
2027+
19992028
"@typescript-eslint/[email protected]":
20002029
version "5.58.0"
20012030
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.58.0.tgz#54c490b8522c18986004df7674c644ffe2ed77d8"
20022031
integrity sha512-JYV4eITHPzVQMnHZcYJXl2ZloC7thuUHrcUmxtzvItyKPvQ50kb9QXBkgNAt90OYMqwaodQh2kHutWZl1fc+1g==
20032032

2033+
"@typescript-eslint/[email protected]", "@typescript-eslint/types@^8.45.0":
2034+
version "8.45.0"
2035+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.45.0.tgz#fc01cd2a4690b9713b02f895e82fb43f7d960684"
2036+
integrity sha512-WugXLuOIq67BMgQInIxxnsSyRLFxdkJEJu8r4ngLR56q/4Q5LrbfkFRH27vMTjxEK8Pyz7QfzuZe/G15qQnVRA==
2037+
20042038
"@typescript-eslint/[email protected]":
20052039
version "5.58.0"
20062040
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.58.0.tgz#4966e6ff57eaf6e0fce2586497edc097e2ab3e61"
@@ -2014,7 +2048,23 @@
20142048
semver "^7.3.7"
20152049
tsutils "^3.21.0"
20162050

2017-
"@typescript-eslint/utils@^5.10.0", "@typescript-eslint/utils@^5.58.0":
2051+
"@typescript-eslint/[email protected]":
2052+
version "8.45.0"
2053+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.45.0.tgz#3498500f109a89b104d2770497c707e56dfe062d"
2054+
integrity sha512-GfE1NfVbLam6XQ0LcERKwdTTPlLvHvXXhOeUGC1OXi4eQBoyy1iVsW+uzJ/J9jtCz6/7GCQ9MtrQ0fml/jWCnA==
2055+
dependencies:
2056+
"@typescript-eslint/project-service" "8.45.0"
2057+
"@typescript-eslint/tsconfig-utils" "8.45.0"
2058+
"@typescript-eslint/types" "8.45.0"
2059+
"@typescript-eslint/visitor-keys" "8.45.0"
2060+
debug "^4.3.4"
2061+
fast-glob "^3.3.2"
2062+
is-glob "^4.0.3"
2063+
minimatch "^9.0.4"
2064+
semver "^7.6.0"
2065+
ts-api-utils "^2.1.0"
2066+
2067+
"@typescript-eslint/utils@^5.10.0":
20182068
version "5.58.0"
20192069
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.58.0.tgz#430d7c95f23ec457b05be5520c1700a0dfd559d5"
20202070
integrity sha512-gAmLOTFXMXOC+zP1fsqm3VceKSBQJNzV385Ok3+yzlavNHZoedajjS4UyS21gabJYcobuigQPs/z71A9MdJFqQ==
@@ -2028,6 +2078,16 @@
20282078
eslint-scope "^5.1.1"
20292079
semver "^7.3.7"
20302080

2081+
"@typescript-eslint/utils@^8.15.0":
2082+
version "8.45.0"
2083+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.45.0.tgz#6e68e92d99019fdf56018d0e6664c76a70470c95"
2084+
integrity sha512-bxi1ht+tLYg4+XV2knz/F7RVhU0k6VrSMc9sb8DQ6fyCTrGQLHfo7lDtN0QJjZjKkLA2ThrKuCdHEvLReqtIGg==
2085+
dependencies:
2086+
"@eslint-community/eslint-utils" "^4.7.0"
2087+
"@typescript-eslint/scope-manager" "8.45.0"
2088+
"@typescript-eslint/types" "8.45.0"
2089+
"@typescript-eslint/typescript-estree" "8.45.0"
2090+
20312091
"@typescript-eslint/[email protected]":
20322092
version "5.58.0"
20332093
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.58.0.tgz#eb9de3a61d2331829e6761ce7fd13061781168b4"
@@ -2036,6 +2096,14 @@
20362096
"@typescript-eslint/types" "5.58.0"
20372097
eslint-visitor-keys "^3.3.0"
20382098

2099+
"@typescript-eslint/[email protected]":
2100+
version "8.45.0"
2101+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.45.0.tgz#4e3bcc55da64ac61069ebfe62ca240567ac7d784"
2102+
integrity sha512-qsaFBA3e09MIDAGFUrTk+dzqtfv1XPVz8t8d1f0ybTzrCY7BKiMC5cjrl1O/P7UmHsNyW90EYSkU/ZWpmXelag==
2103+
dependencies:
2104+
"@typescript-eslint/types" "8.45.0"
2105+
eslint-visitor-keys "^4.2.1"
2106+
20392107
"@ungap/structured-clone@^1.2.0":
20402108
version "1.2.0"
20412109
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
@@ -2811,6 +2879,13 @@ brace-expansion@^1.1.7:
28112879
balanced-match "^1.0.0"
28122880
concat-map "0.0.1"
28132881

2882+
brace-expansion@^2.0.1:
2883+
version "2.0.2"
2884+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.2.tgz#54fc53237a613d854c7bd37463aad17df87214e7"
2885+
integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
2886+
dependencies:
2887+
balanced-match "^1.0.0"
2888+
28142889
braces@^3.0.3, braces@~3.0.2:
28152890
version "3.0.3"
28162891
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
@@ -4741,12 +4816,13 @@ eslint-plugin-react@^7.37.5:
47414816
string.prototype.matchall "^4.0.12"
47424817
string.prototype.repeat "^1.0.0"
47434818

4744-
eslint-plugin-testing-library@^6.2.2:
4745-
version "6.2.2"
4746-
resolved "https://registry.yarnpkg.com/eslint-plugin-testing-library/-/eslint-plugin-testing-library-6.2.2.tgz#67e84ff891a2b3a8078ced0afa95ee6f343c00c1"
4747-
integrity sha512-1E94YOTUDnOjSLyvOwmbVDzQi/WkKm3WVrMXu6SmBr6DN95xTGZmI6HJ/eOkSXh/DlheRsxaPsJvZByDBhWLVQ==
4819+
eslint-plugin-testing-library@^7.9.2:
4820+
version "7.9.2"
4821+
resolved "https://registry.yarnpkg.com/eslint-plugin-testing-library/-/eslint-plugin-testing-library-7.9.2.tgz#9a680109295e5d850cd6d8d2cb4c89ca4bfe54ab"
4822+
integrity sha512-69InVKMoNfKhRlokBE8sivGgN9fIpaqk5+INeOamekOtQNxp6YFswGM5lO1kFO6O6zqhYsBxXR9NMffOj4mMkw==
47484823
dependencies:
4749-
"@typescript-eslint/utils" "^5.58.0"
4824+
"@typescript-eslint/scope-manager" "^8.15.0"
4825+
"@typescript-eslint/utils" "^8.15.0"
47504826

47514827
[email protected], eslint-scope@^5.1.1:
47524828
version "5.1.1"
@@ -4774,6 +4850,11 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
47744850
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800"
47754851
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==
47764852

4853+
eslint-visitor-keys@^4.2.1:
4854+
version "4.2.1"
4855+
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz#4cfea60fe7dd0ad8e816e1ed026c1d5251b512c1"
4856+
integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==
4857+
47774858
eslint@^8.57.0:
47784859
version "8.57.0"
47794860
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.57.0.tgz#c786a6fd0e0b68941aaf624596fb987089195668"
@@ -7547,6 +7628,13 @@ minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
75477628
dependencies:
75487629
brace-expansion "^1.1.7"
75497630

7631+
minimatch@^9.0.4:
7632+
version "9.0.5"
7633+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
7634+
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
7635+
dependencies:
7636+
brace-expansion "^2.0.1"
7637+
75507638
75517639
version "4.1.0"
75527640
resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619"
@@ -9729,7 +9817,7 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1:
97299817
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
97309818
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
97319819

9732-
semver@^7.3.4, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.2, semver@^7.7.2:
9820+
semver@^7.3.4, semver@^7.3.7, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.2, semver@^7.7.2:
97339821
version "7.7.2"
97349822
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58"
97359823
integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==
@@ -10706,6 +10794,11 @@ trim-newlines@^4.0.2:
1070610794
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-4.1.1.tgz#28c88deb50ed10c7ba6dc2474421904a00139125"
1070710795
integrity sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==
1070810796

10797+
ts-api-utils@^2.1.0:
10798+
version "2.1.0"
10799+
resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.1.0.tgz#595f7094e46eed364c13fd23e75f9513d29baf91"
10800+
integrity sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==
10801+
1070910802
tsconfig-paths@^3.15.0:
1071010803
version "3.15.0"
1071110804
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4"

0 commit comments

Comments
 (0)