Skip to content
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

Replace lru with lru-cache #5

Open
wants to merge 1 commit into
base: feat-deepsig
Choose a base branch
from

Conversation

mrecachinas
Copy link

@mrecachinas mrecachinas commented May 14, 2021

They have an identical API (for our purposes), but lru-cache is fully browser-ready, whereas lru has some node-specific requirements (i.e., namely the events library). In my update-tooling effort, lru caused esbuild to error, while lru-cache did not. Also, lru was last updated 5 years ago, whereas lru-cache was last updated 10 months ago.

Note: I have verified SDS functionality remained the same.

@mrecachinas mrecachinas requested a review from maihde May 14, 2021 18:05
@mrecachinas
Copy link
Author

Ha, the funny thing is back in May 2020, @gfaiks pinged me with a Babel/ES6 issue that was resolved by switching from lru-cache to lru...

I'm still not seeing the issue, but it's possible I'm using too new of a browser?

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.

1 participant