Repository navigation
Open
Labels
dep:24.xMigrate a deprecation for node 24.x
Description
To furnish a codemod that handles migrations between node v22 to v24, we have some task to do.
EoL DEP
Theses thing is considered deprecation as described in this document: https://nodejs.org/docs/latest/api/deprecations.html#deprecated-apis
-
DEP0176–fs.F_OK,fs.R_O,fs.W_OK,fs.X_OK–fs-access-mode-constants -
DEP0081–fs.truncate()with file descriptor –fs-truncate-fd-deprecation
DEP0045/DEP0046/DEP0047/DEP0048/DEP0049/DEP0050/DEP0051/DEP0052/DEP0053/DEP0054/DEP0055/DEP0056/DEP0057/DEP0058–util.is*helpers –util-is -
DEP0059–util.log()–util-log-to-console-log -
DEP0108–zlib.bytesRead–zlib-bytesread-to-byteswritten -
DEP0194– HTTP/2 priority signaling feat(DEP0194): migrate http2 priority signalling #246 -
DEP0185– Instantiatingnode:replclasses withoutnew-repl-classes-with-new -
DEP0165–--trace-atomics-wait -
DEP0100–process.assert()-process-assert-to-node-assert -
DEP0178–dirent.path-dirent-path-to-parent-path -
DEP0121–net._setSimultaneousAccepts() -
DEP0066–OutgoingMessage.prototype._headers/_headerNamesfeat(DEP0066):OutgoingMessageheaders #281 -
DEP0127–timers._unrefActive()feat(timers deprecation): introduce #255 -
DEP0126–timers.active()feat(timers deprecation): introduce #255 -
DEP0095–timers.enroll()feat(timers deprecation): introduce #255 -
DEP0096–timers.unenroll()feat(timers deprecation): introduce #255 -
DEP0064–tls.createSecurePair() -
DEP0043–tls.SecurePairfeat(DEP0043): introduce tls-securepair-to-tlssocket #286 -
DEP0122–tls.Server.prototype.setOptions()
Breaking Changes
IDK 🤷 for now
- all args thing
this list only show MVP for now, more to come later
Missing codemods
Some part didn't have codemod, and if you need to migrate it take a look a the liked issue there are before/after code snippets that may help you to manually migrate your code
Reacted by Jacob Smith, Aviv Keller, Karl Horky, Bruno Rodrigues and surajtaghash
Reacted by Karl Horky, Bruno Rodrigues and surajtaghash
Metadata
Metadata
Assignees
Labels
dep:24.xMigrate a deprecation for node 24.x
Activity
richardlau commentedon Oct 29, 2025
FWIW SlowBuffer is only Runtime deprecated in Node.js 24.x (it was accidentally End-of-Life in 24.0.0 without going through Runtime deprecation and reverted to runtime deprecation in 24.0.1).
AugustinMauroy commentedon Oct 29, 2025
YEAH it's reduce our todo list ...
richardlau commentedon Oct 29, 2025
For completeness, the End-of-Life for SlowBuffer happened in Node.js 25.0.0 so it did eventually happen, just not in Node.js 24.
AugustinMauroy commentedon Jul 19, 2026
#512