Both packages declare types for runtimes they no longer target:
| Package |
random-beacon |
ecdsa |
Note |
@types/node |
^16.10.5 |
^17.0.10 |
The toolchain is moving to Node 24 |
@types/mocha |
^9.0.0 |
— |
mocha 11 is current, and Hardhat 3 requires it (#4209) |
@types/chai |
^4.2.22 |
— |
chai 5 is required by Hardhat 3 (#4209) |
Low risk, not zero: @types/node majors regularly tighten Buffer, stream and process signatures. The CI typecheck gate from #4207 will catch whatever moves.
One gotcha after #4208: both tsconfig.json files now set types explicitly, because TypeScript 6 stopped auto-including every @types package. Anything added here that contributes globals must be named in that list or it silently does nothing.
Both packages declare types for runtimes they no longer target:
@types/node@types/mocha@types/chaiLow risk, not zero:
@types/nodemajors regularly tightenBuffer, stream andprocesssignatures. The CI typecheck gate from #4207 will catch whatever moves.One gotcha after #4208: both
tsconfig.jsonfiles now settypesexplicitly, because TypeScript 6 stopped auto-including every@typespackage. Anything added here that contributes globals must be named in that list or it silently does nothing.