Skip to content

Published packages do not declare the supported Node.js engine #171

@TrevorKarjanis

Description

@TrevorKarjanis

Describe the issue
None of the published packages declare the version of Node.js they support with the engines field in package.json. If this is dictated by dependencies like ESLint, it should be declared and would aid when clients upgrade these dependencies or Node.js. Once ESLint 9 is supported, I think this will be easy to resolve.

Not specifying the engines field is technically equivalent to * and means any version. This is not reliable, though. More likely, a package of interest does not support support any version and simply did not declare which versions it does. If a package declares support for specific versions of engines, they can be viewed with the following command.
npm view <package name>[@package version] engines

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions