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

fix(lru): use map.delete() directly #713

Merged
merged 2 commits into from
May 9, 2024
Merged

fix(lru): use map.delete() directly #713

merged 2 commits into from
May 9, 2024

Commits on May 8, 2024

  1. chore(lru): use map.delete() directly

    The default implementation already returns boolean if the object has been deleted.
    
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/delete#return_value
    negezor committed May 8, 2024
    Configuration menu
    Copy the full SHA
    12efe82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9afd9e6 View commit details
    Browse the repository at this point in the history