From 204beb4d27f3ebbe36fd2284e42a6a0d46f18ede Mon Sep 17 00:00:00 2001 From: le king fu Date: Wed, 4 Nov 2026 20:20:26 -0500 Subject: [PATCH] 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 --- tests/smoke.test.cjs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/smoke.test.cjs b/tests/smoke.test.cjs index 2d90154..4442442 100644 --- a/tests/smoke.test.cjs +++ b/tests/smoke.test.cjs @@ -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');