Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ExplodingCabbage/node-lru-cache
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: isaacs/node-lru-cache
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 25 files changed
  • 1 contributor

Commits on Sep 3, 2025

  1. Configuration menu
    Copy the full SHA
    673aa5b View commit details
    Browse the repository at this point in the history
  2. add 'perf' option

    This enables the consumer to override Date/performance object usage once
    at the point of LRU object creation.
    
    This is an affordance to make the TTL behavior easier to test in some
    scenarios, without sacrificing security or performance. It should most
    likely not be used in production!
    
    Re: isaacs#345
    
    PR-URL: isaacs#386
    Credit: @isaacs
    Close: isaacs#386
    Reviewed-by: @isaacs
    isaacs committed Sep 3, 2025
    Configuration menu
    Copy the full SHA
    ab5e1b0 View commit details
    Browse the repository at this point in the history
  3. 11.2.0

    isaacs committed Sep 3, 2025
    Configuration menu
    Copy the full SHA
    7169bec View commit details
    Browse the repository at this point in the history
  4. esbuild should be dev dep

    isaacs committed Sep 3, 2025
    Configuration menu
    Copy the full SHA
    8ff832f View commit details
    Browse the repository at this point in the history
  5. 11.2.1

    isaacs committed Sep 3, 2025
    Configuration menu
    Copy the full SHA
    fa211ba View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2025

  1. Allow ignored-abort fetches to update cache

    Very niche edge case, but happens when a fetch implementation is
    aborted, but the underlying fetch implementation was not aborted, and no
    value existed in the cache already.
    
    In this case, it *should* update the stored cached value, but was not,
    because the pending fetch was not stored.
    
    Fix: isaacs#388
    isaacs committed Sep 23, 2025
    Configuration menu
    Copy the full SHA
    8a102c6 View commit details
    Browse the repository at this point in the history
  2. 11.2.2

    isaacs committed Sep 23, 2025
    Configuration menu
    Copy the full SHA
    375406d View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2025

  1. Configuration menu
    Copy the full SHA
    e5df0bb View commit details
    Browse the repository at this point in the history
  2. BlueOak-1.0.0

    isaacs committed Oct 25, 2025
    Configuration menu
    Copy the full SHA
    b7b7c4e View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2025

  1. clean up Timer objects when using ttlAutopurge

    This prevents a possible runaway resource utilization issue when using
    ttlAutopurge.
    
    If a single key is written to repetedly, then many NodeJS.Timer objects
    will be created (or equivalent in the browser), and they are not
    unscheduled when no longer needed. This results in many checks for
    staleness happening unnecessarily, and so on.
    
    Now, when a key is overwritten, set with no TTL, or any other behavior
    that will mean that autopurge is no longer necessary, the timer is
    cleared and deleted.
    isaacs committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    49b3fbe View commit details
    Browse the repository at this point in the history
  2. 11.2.3

    isaacs committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    05d673b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f29fceb View commit details
    Browse the repository at this point in the history
  4. consistent prettier setting

    isaacs committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    4c6930e View commit details
    Browse the repository at this point in the history
  5. 11.2.4

    isaacs committed Nov 30, 2025
    Configuration menu
    Copy the full SHA
    e4ea6c8 View commit details
    Browse the repository at this point in the history
Loading