Commit 56ecdde
ci(deps): pin @types/node to the oldest supported runtime
Dependabot proposed @types/node 22 -> 26 and CI went green, which is
misleading. engines declares >=22, so types describing Node 26 let tsc
accept APIs that do not exist on Node 22 — code that compiles cleanly here
and throws on a user's machine. The test matrix only catches that when a
test happens to exercise the specific call.
@types/node should track the floor in engines, so its majors are ignored
and move deliberately when that floor moves.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent ba942b4 commit 56ecdde
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
| |||
0 commit comments