@@ -4,7 +4,7 @@ import { fileURLToPath } from 'node:url';
44import process from 'node:process' ;
55import arrify from 'arrify' ;
66import { compact , uniq } from 'lodash-es' ;
7- import { type Options as GlobbyOptions , globbySync } from 'globby ' ;
7+ import { type GlobOptions as GlobbyOptions , globSync } from 'tinyglobby ' ;
88import slash from 'slash' ;
99import createdLogger from 'debug' ;
1010import { execaOutput } from './util/util.js' ;
@@ -76,7 +76,7 @@ export function moduleLookupSync(
7676 continue ;
7777 }
7878
79- const files = globbySync ( options . filePatterns , {
79+ const files = globSync ( options . filePatterns , {
8080 cwd : packagePath ,
8181 absolute : true ,
8282 ...options . globbyOptions ,
@@ -122,7 +122,7 @@ export function findPackagesIn(searchPaths: string[], packagePatterns: string[],
122122 // restricted folders.
123123 try {
124124 modules = modules . concat (
125- globbySync ( packagePatterns , {
125+ globSync ( packagePatterns , {
126126 cwd : root ,
127127 onlyDirectories : true ,
128128 expandDirectories : false ,
@@ -135,7 +135,7 @@ export function findPackagesIn(searchPaths: string[], packagePatterns: string[],
135135 // To limit recursive lookups into non-namespace folders within globby,
136136 // fetch all namespaces in root, then search each namespace separately
137137 // for generator modules
138- const scopes = globbySync ( [ '@*' ] , {
138+ const scopes = globSync ( [ '@*' ] , {
139139 cwd : root ,
140140 onlyDirectories : true ,
141141 expandDirectories : false ,
@@ -146,7 +146,7 @@ export function findPackagesIn(searchPaths: string[], packagePatterns: string[],
146146
147147 for ( const scope of scopes ) {
148148 modules = modules . concat (
149- globbySync ( packagePatterns , {
149+ globSync ( packagePatterns , {
150150 cwd : scope ,
151151 onlyDirectories : true ,
152152 expandDirectories : false ,
0 commit comments