isaacs / node-lru-cache

A fast cache that automatically deletes the least recently used items
http://isaacs.github.io/node-lru-cache/
ISC License
5.35k stars 353 forks source link

Why has Node.js changed since version 10.x without a major version update? #341

Closed czewail closed 4 months ago

czewail commented 4 months ago

https://github.com/isaacs/node-lru-cache/blob/e01135c4270941ac54d00a6b96eefdca31f3a6f6/package.json#L71

This directly caused my application to be unable to install.

im use nodejs v16.17.0

headless-kjh commented 4 months ago

The same issue is occurring. It appears to be a syntax error. ">=14.21 || >=16.20 || >=18.20 || >=20 || >=22" Version 18.20 does not exist. A correction is needed

ryanlonstein commented 4 months ago

Had the same issue, but looks like they released a new patch version to fix it!

lucas200631 commented 4 months ago

My project uses version v10.2.0, why version 10.4.2 & 10.4.1 change node limit ,appacting our node limit?

wraithgar commented 4 months ago

Even the current setting { node: '14 || 16 || 18 || 20 || >=22' } is a semver-incompatible change with what was in 10.3.0 { node: '14 || >=16.14' }

This is gonna be quite a headache for the npm cli packages that have things like >=18.0.0 declared for their upper-bounds in engines.