Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Handle deprecation warning #584

Merged

Conversation

mistermoe
Copy link
Contributor

the lru-cache lib has deprecated the reset method in favor of clear. Using reset produces the following warning:

[LRU_CACHE_METHOD_reset] DeprecationWarning: The reset method is deprecated. Please use cache.clear() instead.

mistermoe added 3 commits July 6, 2022 13:15
`[LRU_CACHE_METHOD_reset] DeprecationWarning: The reset method is deprecated. Please use cache.clear() instead.`
@mistermoe
Copy link
Contributor Author

@fergiemcdowall got one more for ya.

@fergiemcdowall
Copy link
Owner

Nice fix @mistermoe - thanks👍🙂

@fergiemcdowall fergiemcdowall merged commit 1523a31 into fergiemcdowall:master Jul 7, 2022
@fergiemcdowall
Copy link
Owner

Will publish to npm ASAP

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants