Skip to content

Commit b672488

Browse files
committed
chore(deps): switch to tinyglobby
1 parent 7227e1a commit b672488

3 files changed

Lines changed: 12 additions & 35 deletions

File tree

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,21 @@
6161
"@yeoman/conflicter": "^2.4.0",
6262
"@yeoman/namespace": "^1.0.1",
6363
"@yeoman/transform": "^2.1.0",
64-
"@yeoman/types": "^1.6.0",
64+
"@yeoman/types": "^1.1.1",
6565
"arrify": "^3.0.0",
6666
"chalk": "^5.4.1",
6767
"commander": "^13.1.0",
6868
"debug": "^4.4.0",
6969
"execa": "^9.5.3",
7070
"fly-import": "^0.4.1",
71-
"globby": "^14.1.0",
7271
"grouped-queue": "^2.0.0",
7372
"locate-path": "^7.2.0",
7473
"lodash-es": "^4.17.21",
75-
"mem-fs": "^4.1.2",
74+
"mem-fs": "^4.0.0",
7675
"mem-fs-editor": "^11.1.4",
7776
"semver": "^7.7.2",
7877
"slash": "^5.1.0",
78+
"tinyglobby": "^0.2.14",
7979
"untildify": "^5.0.0",
8080
"which-package-manager": "^1.0.1"
8181
},

src/module-lookup.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { fileURLToPath } from 'node:url';
44
import process from 'node:process';
55
import arrify from 'arrify';
66
import { compact, uniq } from 'lodash-es';
7-
import { type Options as GlobbyOptions, globbySync } from 'globby';
7+
import { type GlobOptions as GlobbyOptions, globSync } from 'tinyglobby';
88
import slash from 'slash';
99
import createdLogger from 'debug';
1010
import { 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

Comments
 (0)