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

fix: declare support for npm 10 #747

Merged
merged 1 commit into from Apr 5, 2024
Merged

fix: declare support for npm 10 #747

merged 1 commit into from Apr 5, 2024

Conversation

mxdvl
Copy link
Contributor

@mxdvl mxdvl commented Apr 5, 2024

Why ?

Node v20 comes bundled with NPM v10, as per their release page.

Otherwise, consumers get a warning when installing the package:

❯ npm i
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@fastly/js-compute@3.7.0',
npm WARN EBADENGINE   required: { node: '16 - 20', npm: '^8 || ^9' },
npm WARN EBADENGINE   current: { node: 'v20.12.1', npm: '10.5.0' }
npm WARN EBADENGINE }

@JakeChampion JakeChampion changed the title Declare support for NPM 10 in package.json fix: declare support for npm 10 Apr 5, 2024
@JakeChampion JakeChampion merged commit 1365ee9 into fastly:main Apr 5, 2024
8 checks passed
@JakeChampion
Copy link
Contributor

Thank you for this @mxdvl 🙏

@mxdvl mxdvl deleted the patch-1 branch April 5, 2024 15:06
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.

None yet

2 participants