diff --git a/package.json b/package.json index 19590a1c..269d8007 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "hasown": "^2.0.2", "jsx-ast-utils": "^3.3.5", "language-tags": "^1.0.9", - "minimatch": "^3.1.2", + "minimatch": "^10.0.1", "safe-regex-test": "^1.0.3" }, "peerDependencies": { diff --git a/src/util/mayContainChildComponent.js b/src/util/mayContainChildComponent.js index 43a03ef0..5e1035ed 100644 --- a/src/util/mayContainChildComponent.js +++ b/src/util/mayContainChildComponent.js @@ -9,7 +9,7 @@ import type { JSXOpeningElement, Node } from 'ast-types-flow'; import { elementType as rawElementType } from 'jsx-ast-utils'; -import minimatch from 'minimatch'; +import { minimatch } from 'minimatch'; export default function mayContainChildComponent( root: Node, diff --git a/src/util/mayHaveAccessibleLabel.js b/src/util/mayHaveAccessibleLabel.js index 1777f8d7..2f83a814 100644 --- a/src/util/mayHaveAccessibleLabel.js +++ b/src/util/mayHaveAccessibleLabel.js @@ -10,7 +10,7 @@ import { getPropValue, propName, elementType as rawElementType } from 'jsx-ast-utils'; import type { JSXOpeningElement, Node } from 'ast-types-flow'; -import minimatch from 'minimatch'; +import { minimatch } from 'minimatch'; function tryTrim(value: any) { return typeof value === 'string' ? value.trim() : value;