Commit 3fdc5c9
fix: replace npm
On Linux CI (Bun 1.3.10), npm `glob` and `minimatch` top-level imports
in `src/util/glob.ts` silently fail, making all `Glob` namespace
functions `undefined`. This causes 52 cascading test failures across
9 test files that depend on `Glob.match`, `Glob.scan`, or
`Glob.scanSync`.
Replace the npm package usage with Bun's built-in `Bun.Glob` API,
which provides equivalent `scan`, `scanSync`, and `match` methods
and is always available in the Bun runtime.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>glob/minimatch with Bun.Glob for CI resilience1 parent 16c38bb commit 3fdc5c9
1 file changed
Lines changed: 23 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
| |||
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
18 | | - | |
19 | | - | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
24 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
25 | 36 | | |
26 | 37 | | |
27 | 38 | | |
28 | | - | |
| 39 | + | |
| 40 | + | |
29 | 41 | | |
30 | 42 | | |
31 | 43 | | |
32 | | - | |
| 44 | + | |
| 45 | + | |
33 | 46 | | |
34 | 47 | | |
| 48 | + | |
0 commit comments