Commit e250817
ci: ignore mocha semver-major updates
Mocha 12 declares engines "^20.19.0 || >=22.12.0" and its CLI entrypoint
uses import attributes (`with { type: "json" }`), so it cannot run on
Node 16 or 18 at all — the syntax is a parse error there.
Both versions are still first-class entries in the CI test matrix
([16.x, 18.x, 20.x, 22.x, 24.x]), and the compiler targets
@tsconfig/node16, so the package advertises support for them. Taking the
major fails those legs outright; dropping them from the matrix instead
would leave the package claiming support for runtimes it never exercises.
This mirrors the existing @types/node rule, which holds the same support
floor for the same reason. Raising that floor is a deliberate decision,
not something a routine dependency bump should force.
Note this must be a config rule rather than an `@dependabot ignore`
comment: those suppress exactly one major each, so they accumulate and a
fresh PR arrives with every subsequent release — precisely the problem
#240 cleaned up for @types/node.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 94f31b2 commit e250817
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
0 commit comments