test(deps): say glob 14 bundles its own minimatch (#190)
The nested minimatch 11, path-scurry 3, lru-cache 11 and nonrecursive-glob-match entries are installed but never loaded: glob 14 loads a build that bundles them. Comments only, raised by the review of PR #191. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f7c49810db
commit
204beb4d27
1 changed files with 9 additions and 4 deletions
|
|
@ -839,7 +839,9 @@ check('every installed source-map-js copy is 1.x >= 1.2.2 and round-trips a mapp
|
|||
});
|
||||
|
||||
// The call that broke under the blanket override: each minimatch copy must
|
||||
// still expand braces through its own brace-expansion major.
|
||||
// still expand braces through its own brace-expansion major. The 11.x copies
|
||||
// are the dependencies declared by glob 14 (#190): installed, but never loaded,
|
||||
// since glob 14 loads a build that bundles its own minimatch.
|
||||
check('every installed minimatch copy still matches globs and braces', () => {
|
||||
const copies = installedCopies('minimatch');
|
||||
const majors = [...new Set(copies.map((c) => majorOf(c.version)))].sort();
|
||||
|
|
@ -876,9 +878,12 @@ check('every installed glob copy is 7.x or >= 14.0.2', () => {
|
|||
);
|
||||
});
|
||||
|
||||
// glob 14 matches through minimatch 11, and the Expo tooling ignores folders
|
||||
// with an extglob (@expo/config-plugins ios/Paths, @expo/metro-config
|
||||
// getWatchFolders): each glob 14 copy must still honor it.
|
||||
// glob 14 loads dist/commonjs/index.min.js, which bundles its own minimatch,
|
||||
// path-scurry and lru-cache: the nested minimatch 11, path-scurry 3, lru-cache
|
||||
// 11 and @isaacs/nonrecursive-glob-match entries are installed but never
|
||||
// loaded. The matching therefore lives inside glob itself, and the Expo tooling
|
||||
// ignores folders with an extglob (@expo/config-plugins ios/Paths,
|
||||
// @expo/metro-config getWatchFolders): each glob 14 copy must still honor it.
|
||||
check('every glob 14 copy honors the extglob ignore used by the Expo tooling', () => {
|
||||
const copies = installedCopies('glob').filter((c) => majorOf(c.version) === '14');
|
||||
assert.ok(copies.length > 0, 'no glob 14 copy is installed');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue