- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 357
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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: isaacs/node-lru-cache
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: isaacs/node-lru-cache
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.0.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 5 files changed
- 1 contributor
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0c63b0d - Browse repository at this point
Copy the full SHA 0c63b0dView commit details
Commits on Aug 10, 2023
-
Call dispose() when fetch overwrites a value
This corrects an oversight in the disposal flow on set overwrites. We don't call dispose when creating the BackgroundFetch, because of course, the thing hasn't been replaced yet. And we don't call dispose when _replacing_ a BackgroundFetch, because that isn't a value, it's just a potential value, so we abort the fetch and forget about it (which is a no-op if the set() in question is the resolution of that BackgroundFetch). The missing piece is that we *do* have to dispose() the `__staleWhileFetching` value on that BackgroundFetch promise, if there is one, when overwriting a BackgroundFetch. Fix: #309
Configuration menu - View commit details
-
Copy full SHA for fcb797e - Browse repository at this point
Copy the full SHA fcb797eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 870a66d - Browse repository at this point
Copy the full SHA 870a66dView commit details
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.