Skip to content

Commit d5cfb88

Browse files
committed
refactor: update 'ts-pattern'
1 parent a0bf7ab commit d5cfb88

File tree

15 files changed

+188
-187
lines changed

15 files changed

+188
-187
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
},
5252
"devDependencies": {
5353
"@changesets/cli": "^2.27.10",
54-
"@effect/platform": "^0.71.2",
55-
"@effect/platform-bun": "^0.51.2",
56-
"@effect/platform-node": "^0.66.2",
54+
"@effect/platform": "^0.71.3",
55+
"@effect/platform-bun": "^0.51.3",
56+
"@effect/platform-node": "^0.66.3",
5757
"@effect/schema": "^0.75.5",
5858
"@eslint/config-inspector": "^0.6.0",
5959
"@eslint/js": "^9.17.0",
@@ -71,7 +71,7 @@
7171
"@workspace/configs": "workspace:*",
7272
"@workspace/eslint-plugins": "workspace:*",
7373
"concurrently": "^9.1.0",
74-
"cspell": "^8.16.1",
74+
"cspell": "^8.17.0",
7575
"dprint": "^0.47.6",
7676
"effect": "^3.11.7",
7777
"esbuild": "^0.24.0",
@@ -88,7 +88,7 @@
8888
"sort-package-json": "^2.12.0",
8989
"std-env": "^3.8.0",
9090
"tinyglobby": "^0.2.10",
91-
"ts-pattern": "^5.5.0",
91+
"ts-pattern": "^5.6.0",
9292
"tsup": "^8.3.5",
9393
"tsx": "^4.19.2",
9494
"turbo": "^2.3.3",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@typescript-eslint/utils": "^8.18.0",
5555
"birecord": "^0.1.1",
5656
"short-unique-id": "^5.2.0",
57-
"ts-pattern": "^5.5.0"
57+
"ts-pattern": "^5.6.0"
5858
},
5959
"devDependencies": {
6060
"@workspace/configs": "workspace:*",

packages/plugins/eslint-plugin-react-debug/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@typescript-eslint/types": "^8.18.0",
6262
"@typescript-eslint/utils": "^8.18.0",
6363
"string-ts": "^2.2.0",
64-
"ts-pattern": "^5.5.0"
64+
"ts-pattern": "^5.6.0"
6565
},
6666
"devDependencies": {
6767
"@types/react": "^19.0.1",

packages/plugins/eslint-plugin-react-dom/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@typescript-eslint/types": "^8.18.0",
6161
"@typescript-eslint/utils": "^8.18.0",
6262
"compare-versions": "^6.1.1",
63-
"ts-pattern": "^5.5.0"
63+
"ts-pattern": "^5.6.0"
6464
},
6565
"devDependencies": {
6666
"@types/react": "^19.0.1",

packages/plugins/eslint-plugin-react-hooks-extra/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@typescript-eslint/type-utils": "^8.18.0",
6262
"@typescript-eslint/types": "^8.18.0",
6363
"@typescript-eslint/utils": "^8.18.0",
64-
"ts-pattern": "^5.5.0"
64+
"ts-pattern": "^5.6.0"
6565
},
6666
"devDependencies": {
6767
"@types/react": "^19.0.1",

packages/plugins/eslint-plugin-react-naming-convention/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@typescript-eslint/type-utils": "^8.18.0",
6060
"@typescript-eslint/types": "^8.18.0",
6161
"@typescript-eslint/utils": "^8.18.0",
62-
"ts-pattern": "^5.5.0"
62+
"ts-pattern": "^5.6.0"
6363
},
6464
"devDependencies": {
6565
"@types/react": "^19.0.1",

packages/plugins/eslint-plugin-react-web-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@typescript-eslint/types": "^8.18.0",
6161
"@typescript-eslint/utils": "^8.18.0",
6262
"birecord": "^0.1.1",
63-
"ts-pattern": "^5.5.0"
63+
"ts-pattern": "^5.6.0"
6464
},
6565
"devDependencies": {
6666
"@types/react": "^19.0.1",

packages/plugins/eslint-plugin-react-x/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"@typescript-eslint/utils": "^8.18.0",
6262
"compare-versions": "^6.1.1",
6363
"is-immutable-type": "^5.0.0",
64-
"ts-pattern": "^5.5.0"
64+
"ts-pattern": "^5.6.0"
6565
},
6666
"devDependencies": {
6767
"@types/react": "^19.0.1",

packages/plugins/eslint-plugin-react-x/src/rules/no-array-index-key.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export default createRule<[], MessageID>({
169169
const [_, props] = node.arguments;
170170
if (props?.type !== AST_NODE_TYPES.ObjectExpression) return;
171171
for (const prop of props.properties) {
172-
if (!isMatching({ key: { name: "key" } }, prop)) continue;
172+
if (!isMatching({ key: { name: "key" } })(prop)) continue;
173173
if (!("value" in prop)) continue;
174174
const descriptors = getReportDescriptor(prop.value);
175175
for (const descriptor of descriptors) {

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@typescript-eslint/utils": "^8.18.0",
4747
"local-pkg": "^0.5.1",
4848
"picomatch": "^4.0.2",
49-
"ts-pattern": "^5.5.0"
49+
"ts-pattern": "^5.6.0"
5050
},
5151
"devDependencies": {
5252
"@types/picomatch": "^3.0.1",

0 commit comments

Comments
 (0)