Skip to content

feat: handle timers deprecation #241

@AugustinMauroy

Description

@AugustinMauroy

This single codemod addresses multiple deprecations in the node:timers module, migrating from internal, deprecated APIs to public, standard timer functions. It targets the following deprecated methods: timers.enroll(), timers.unenroll(), timers.active(), and timers._unrefActive().

The goal is to replace these internal functions with their modern equivalents, such as setTimeout(), clearTimeout(), and timer.unref(), ensuring code remains functional and free of deprecated APIs.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    dep:EoLMigration handles deprecation introduced in an EoL version of nodedep:v24Migration handles deprecation introduced in node v24good first issueGood for newcomershelp wantedExtra attention is neededlet's do it

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions