diff --git a/dist/node-utils.js b/dist/node-utils.js index 96a483d44c9ca066a5128dc40abcffdb8a3aee4b..64e0ef14d96638f11622fb7b763934378547f850 100644 --- a/dist/node-utils.js +++ b/dist/node-utils.js @@ -325,12 +325,8 @@ function glob(pattern, root, options = {}) { if (childPath[childPath.length - 1] === "node_modules" && !shouldIncludeNodeModules) { return false; } - return mini.set.some((row) => mini.matchOne( - childPath, - row, - /* partial */ - true - )); + // minimatch 11 removed matchOne; match(path, partial) checks every set row the same way. + return mini.match(childPath.join("/"), /* partial */ true); }, matchDirectories: options.includeDirectories, followSymlinks: options.followSymlinks