-
-
Notifications
You must be signed in to change notification settings - Fork 14
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededlet's do it
Description
Description
Since util.types.isNativeError()
is deprecated in Node.js v24.2.0, we should provide a codemod to replace it.
- The codemod should remove import if it's only thing imported or remove the member if not anymore used.
- The codemod should modify any call expression of this api.
Examples
Before:
import { types } from 'node:util';
if (types.isNativeError(err)) {
// handle the error
}
After:
if (Error.isError(err)) {
// handle the error
}
REFS
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededlet's do it
Type
Projects
Status
🏗 In progress