Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engines block to specify min requirements #337

Merged
merged 1 commit into from
Sep 23, 2021
Merged

engines block to specify min requirements #337

merged 1 commit into from
Sep 23, 2021

Conversation

tillig
Copy link
Contributor

@tillig tillig commented Sep 22, 2021

Per the 5.0.0 release notes, support for Node less than 12 has been dropped. With an engines block, npm can issue an error to tell folks on Node 10 (or other lower/unsupported version) that the package is no longer compatible. This can save time for things like #334 where it's not obvious why issues are occurring.

Per [the 5.0.0 release notes](https://github.com/tschaub/mock-fs/releases/tag/v5.0.0), support for Node less than 12 has been dropped. With an `engines` block, `npm` can issue an error to tell folks on Node 10 (or other lower/unsupported version) that the package is no longer compatible. This can save time for things like #334 where it's not obvious why issues are occurring.
@3cp
Copy link
Collaborator

3cp commented Sep 22, 2021

LGTM @tschaub

@tschaub tschaub merged commit 31d9017 into tschaub:main Sep 23, 2021
@tschaub
Copy link
Owner

tschaub commented Sep 23, 2021

Thanks, @tillig

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants