Skip to content

Update engines field #198

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

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Conversation

lishaduck
Copy link
Contributor

@lishaduck lishaduck commented Jul 8, 2024

This is our actual bare minimum Node.js version right now.
I'd forgotten to exclude versions without Node.js 16 backports (i.e., Node.js 15).

Extracted from #190.

package.json Outdated
@@ -114,7 +114,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=14.18"
"node": ">=16 || 14 >= 14.18"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is 14 >= 14.18 a valid constraint? If so, what does it mean?

Copy link
Contributor Author

@lishaduck lishaduck Jul 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. It means that you need at least node 16, or a version of 14 greater than or equal to 18.
It excludes node 15.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That space is wrong though. I'll go fix that.

Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 4.03 kB sindresorhus
npm/[email protected] None +2 29.6 kB sindresorhus

View full report↗︎

This is our actual bare minium node right now.
@lishaduck

This comment was marked as resolved.

@jfmengels
Copy link
Owner

Right, we don't want to support Node.js 15 if possible.
Thank you!

@jfmengels jfmengels merged commit 4c5434c into jfmengels:main Jul 8, 2024
3 checks passed
@lishaduck
Copy link
Contributor Author

Right, we don't want to support Node.js 15 if possible. Thank you!

We don't? I thought I'd just dropped it accidentally without dropping it in engines :man_shrugging_nonchalantly:
Well, you're welcome either way!

@lishaduck lishaduck deleted the correct-engines branch July 8, 2024 22:53
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