Skip to content
/ jest Public
forked from jestjs/jest

Commit 3b0c061

Browse files
authored
chore: update eslint-plugin-unicorn (jestjs#15207)
1 parent 1e67160 commit 3b0c061

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"eslint-plugin-markdown": "^3.0.0",
4242
"eslint-plugin-prettier": "^5.0.0",
4343
"eslint-plugin-promise": "^6.1.1",
44-
"eslint-plugin-unicorn": "^53.0.0",
44+
"eslint-plugin-unicorn": "^54.0.0",
4545
"execa": "^5.0.0",
4646
"find-process": "^1.4.1",
4747
"glob": "^10.3.10",

packages/expect/src/matchers.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,9 @@ const matchers: MatchersObject = {
557557
: printReceived(received)
558558
}` +
559559
(!isNot &&
560-
indexable.findIndex(item =>
560+
indexable.some(item =>
561561
equals(item, expected, [...this.customTesters, iterableEquality]),
562-
) !== -1
562+
)
563563
? `\n\n${SUGGEST_TO_CONTAIN_EQUAL}`
564564
: '')
565565
);

yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -3231,7 +3231,7 @@ __metadata:
32313231
eslint-plugin-markdown: ^3.0.0
32323232
eslint-plugin-prettier: ^5.0.0
32333233
eslint-plugin-promise: ^6.1.1
3234-
eslint-plugin-unicorn: ^53.0.0
3234+
eslint-plugin-unicorn: ^54.0.0
32353235
execa: ^5.0.0
32363236
find-process: ^1.4.1
32373237
glob: ^10.3.10
@@ -9871,9 +9871,9 @@ __metadata:
98719871
languageName: node
98729872
linkType: hard
98739873

9874-
"eslint-plugin-unicorn@npm:^53.0.0":
9875-
version: 53.0.0
9876-
resolution: "eslint-plugin-unicorn@npm:53.0.0"
9874+
"eslint-plugin-unicorn@npm:^54.0.0":
9875+
version: 54.0.0
9876+
resolution: "eslint-plugin-unicorn@npm:54.0.0"
98779877
dependencies:
98789878
"@babel/helper-validator-identifier": ^7.24.5
98799879
"@eslint-community/eslint-utils": ^4.4.0
@@ -9893,7 +9893,7 @@ __metadata:
98939893
strip-indent: ^3.0.0
98949894
peerDependencies:
98959895
eslint: ">=8.56.0"
9896-
checksum: bf3e4046977903c7018745c3ad19c026ef25df116721f10a58dc215285c4d98d8531829e31aa5b4da0ccc03aa352e5a58a865c7879c50da7138ce5fd41a21a3d
9896+
checksum: f071c79e7b7416be4d6e5b1900f20b995b841393baf7c31c56534a4e7b144bf728a07bf107585a8d1e0525010df448d16862aaa38cb9309f798a59bd91efbe4d
98979897
languageName: node
98989898
linkType: hard
98999899

0 commit comments

Comments
 (0)