Commit 2ccc9c0
committed
build(deps): override yargs to ^18 so c8 runs on current Node
Problem: c8 pulls yargs 17.7.2, whose extensionless ./yargs file crashes under the Node 22.20+/24/26 module-loader changes (require is not defined in ES module scope), reddening the `node` CI leg.
Goal: keep the existing c8 coverage setup working on current Node without pulling in the native-coverage tooling change.
Changes:
- add npm overrides forcing yargs to ^18.0.0 (only c8 consumes it)1 parent 516a2b3 commit 2ccc9c0
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
0 commit comments