Skip to content

Commit

Permalink
[Breaking] update minimatch
Browse files Browse the repository at this point in the history
This may cause unexpected behavior changes.
  • Loading branch information
ljharb committed Oct 21, 2024
1 parent a3c0ffa commit 0f7bbcf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/util/mayContainChildComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/util/mayHaveAccessibleLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0f7bbcf

Please sign in to comment.