Skip to content

feat: handle os.tmpDir() depreciation #118

@AugustinMauroy

Description

@AugustinMauroy

Description

Since os.tmpDir() is deprecated in Node.js v14.0.0, we should provide a codemod to replace it.

  • The codemod should modify any call expression of this api.

Examples

Before:

import os from 'nodes:os';

const foo = os.tmpDir()

After:

import os from 'nodes:os';

const foo = os.tmpdir()

REFS

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    🏗 In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions