npm / template-oss

a template package for npm CLI team development
Other
26 stars 19 forks source link

check-engines needs to ignore odd numbered nodejs versions. #461

Open wraithgar opened 4 months ago

wraithgar commented 4 months ago

odd numbered node.js versions are already not "supported" and are a problem when other packages adjust their engines entries to start omitting them.

node.js versions are not 100% semver, the odd numbered versions are immediately "dropped" when the next even number is released.

This is not a trivial change, but we should find a way to check the parts of an engines declaration that don't overlap are odd numbers (for node) and ignore that.