Skip to content

Refactor: Replace outdated and unmaintained dependencies #2285

@yslpn

Description

@yslpn

Problem Description

The project utilizes several dependencies that are no longer actively maintained, with some not having been updated in 2-7 years.

Proposed Solution

Replace the following packages with modern, actively supported alternatives:

  1. cli-table Latest version: 0.3.11 published 3 years ago
  2. convert-source-map Latest version: 2.0.0 published 2 years ago
  3. normalize-path Latest version: 3.0.0 published 7 years ago
  4. pofile Latest version: 1.1.4 published 2 years ago
  5. source-map Latest version: 0.7.4 published 3 years ago
  6. plurals-cldr Latest version: 2.0.1 published 3 years ago
  7. node-gettext Latest version: 3.0.0 published 5 years ago

Some of them, like pofile #2235 #2098, contain bugs that no one fixes. Some others contain potential vulnerabilities.

Replace or simply remove them one by one.

Alternatives Considered

Source Maps: @jridgewell/trace-mapping is the direct successor recommended by the author of the original source-map package, making it the most logical and safest choice.

Path Normalization: A dedicated package like slash could be used, but leveraging the built-in path module in Node.js is preferable as it eliminates an unnecessary dependency entirely.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions