Closed pandemonia closed 3 months ago
@pandemonia - did you have issues with running it as our tests said it was ok.
@jaredwray I hadn't checked that, and to clarify my concern here isn't with the package functionality. The change in minimum node version to 20 (from to lru-cache@11.0.0
) means that this version of cache-manager
cannot be added in package using a node 18 runtime.
ie, these two are incompatible:
To get this version working in my application running on node 18 I will need to pass --ignore-engines
to yarn, which is not a workaround that should be required here.
This is because lru-cache has changed the minimum version of the nodes to >= 20
https://github.com/isaacs/node-lru-cache/commit/7965d883291e90581174d39600a7706f9cce5f95
Version 5.7.X should continue with the lru-cahe in ^10.2.2
@pandemonia @victororozco - this has now been resolved as we reverted back. Please use cache-manager@5.7.3
Describe the bug
lru-cache
has been updated to 11.0.0 with version 5.7.2, but this version drops support for node 18. Looks to me that thelru-cache
version change should be a major version upgrade oncache-manager
as well.How To Reproduce (best to provide workable code or tests!) Attempting to add the package in a node-18 environment fails: