Skip to content

Commit f7efae4

Browse files
committed
[Breaking] update minimatch
This may cause unexpected behavior changes.
1 parent d486988 commit f7efae4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
"hasown": "^2.0.2",
8686
"jsx-ast-utils": "^3.3.5",
8787
"language-tags": "^1.0.9",
88-
"minimatch": "^3.1.2",
88+
"minimatch": "^10.0.1",
8989
"safe-regex-test": "^1.0.3"
9090
},
9191
"peerDependencies": {

src/util/mayContainChildComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import type { JSXOpeningElement, Node } from 'ast-types-flow';
1111
import { elementType as rawElementType } from 'jsx-ast-utils';
12-
import minimatch from 'minimatch';
12+
import { minimatch } from 'minimatch';
1313

1414
export default function mayContainChildComponent(
1515
root: Node,

src/util/mayHaveAccessibleLabel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import { getPropValue, propName, elementType as rawElementType } from 'jsx-ast-utils';
1212
import type { JSXOpeningElement, Node } from 'ast-types-flow';
13-
import minimatch from 'minimatch';
13+
import { minimatch } from 'minimatch';
1414

1515
function tryTrim(value: any) {
1616
return typeof value === 'string' ? value.trim() : value;

0 commit comments

Comments
 (0)