Skip to content

This package has a huge dependency graph, totally unneeded on Node.js 11+ #157

@stof

Description

@stof

The package currently has 4 dependencies that are replacing native JS APIs to support older runtimes. However, all of them are supported in node since a long time:

  • array-includes: native API supported since Node.js 6
  • array.prototype.flat: native API supported since Node.js 11
  • object.assign: native API supported since Node.js 4 (meaning it is 100% unnecessary btw)
  • object.values: native API supported since Node.js 7

Those dependencies have a huge number of transitive dependencies (installing jsx-ast-utils requires 94 additional packages right now): https://npmgraph.js.org/?q=jsx-ast-utils%403.3.5

Making a new version of the package dropping support for node versions that are long unmaintained would allow this package to remove all those dependencies.

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