You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library is using an outdated version of lru-memoizer, which in turn has a dependency on lru-cache. The lru-cache version it is using is pretty outdated and is no longer compatible with new versions, as a result applications depending on packages that use different versions break when bundling them.
Describe the ideal solution
Ideally lru-memoizer would update its dependency on lru-cache to the latests version, but I opened this issue two weeks ago jfromaniello/lru-memoizer#32 and I'm not sure if thats going to happen.
lru-memoizer has been updated to version 3.0 which uses the latests lru-cache version, therefore it could be updated. Option maxAge has changed to ttl.
Alternatives and current workarounds
Since the breaking change is that the default export was removed, it can be added back:
Checklist
Describe the problem you'd like to have solved
This library is using an outdated version of lru-memoizer, which in turn has a dependency on lru-cache. The lru-cache version it is using is pretty outdated and is no longer compatible with new versions, as a result applications depending on packages that use different versions break when bundling them.
Describe the ideal solution
Ideally lru-memoizer would update its dependency on lru-cache to the latests version, but I opened this issue two weeks ago jfromaniello/lru-memoizer#32 and I'm not sure if thats going to happen.lru-memoizer has been updated to version 3.0 which uses the latests lru-cache version, therefore it could be updated. Option
maxAge
has changed tottl
.Alternatives and current workarounds
Since the breaking change is that the default export was removed, it can be added back:
Additional context
No response
The text was updated successfully, but these errors were encountered: