Skip to content

Commit 2c4ef0a

Browse files
deps: update minimatch to 10.2.5
PR-URL: nodejs/node#62594 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 3f8f674 commit 2c4ef0a

34 files changed

+901
-467
lines changed

deps/minimatch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ objects.
1515
> you provide to this library in production systems.
1616
1717
_Any_ library in JavaScript that deals with matching string
18-
patterns using regular expressions will be subject to
18+
patterns using regular expressions will be subject to
1919
[ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS)
2020
if the pattern is generated using untrusted input.
2121

deps/minimatch/dist/commonjs/ast.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MinimatchOptions, MMRegExp } from './index.js';
1+
import type { MinimatchOptions, MMRegExp } from './index.js';
22
export type ExtglobType = '!' | '?' | '+' | '*' | '@';
33
export declare class AST {
44
#private;
@@ -9,7 +9,7 @@ export declare class AST {
99
get hasMagic(): boolean | undefined;
1010
toString(): string;
1111
push(...parts: (string | AST)[]): void;
12-
toJSON(): any[];
12+
toJSON(): unknown[];
1313
isStart(): boolean;
1414
isEnd(): boolean;
1515
copyIn(part: AST | string): void;

deps/minimatch/dist/commonjs/ast.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/minimatch/dist/commonjs/ast.js

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/minimatch/dist/commonjs/ast.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/minimatch/dist/commonjs/escape.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { MinimatchOptions } from './index.js';
1+
import type { MinimatchOptions } from './index.js';
22
/**
33
* Escape all magic characters in a glob pattern.
44
*

deps/minimatch/dist/commonjs/escape.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/minimatch/dist/commonjs/escape.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/minimatch/dist/commonjs/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export declare class Minimatch {
150150
regexp: false | null | MMRegExp;
151151
constructor(pattern: string, options?: MinimatchOptions);
152152
hasMagic(): boolean;
153-
debug(..._: any[]): void;
153+
debug(..._: unknown[]): void;
154154
make(): void;
155155
preprocess(globParts: string[][]): string[][];
156156
adjascentGlobstarOptimize(globParts: string[][]): string[][];

deps/minimatch/dist/commonjs/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)