nodejs / nodejs/userland-migrations
spec(`v22-to-v24`): what we have to do
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 85
- Forks
- 55
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 9
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 https://github.com/nodejs/userland-migrations/pull/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/_headerNames#281 -
DEP0127–timers._unrefActive()https://github.com/nodejs/userland-migrations/pull/255 -
DEP0126–timers.active()https://github.com/nodejs/userland-migrations/pull/255 -
DEP0095–timers.enroll()https://github.com/nodejs/userland-migrations/pull/255 -
DEP0096–timers.unenroll()https://github.com/nodejs/userland-migrations/pull/255 -
DEP0064–tls.createSecurePair() -
DEP0043–tls.SecurePair#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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the unchecked deprecations DEP0165, DEP0121, DEP0043, and DEP0122, then read their linked Node.js deprecation documentation and compare the completed codemod entries above. Done means implementing the missing migration codemods and updating this checklist with their references and any required migration details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100