- 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: v7.9.1
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: v7.10.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 33 files changed
- 1 contributor
Commits on May 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3ad0061 - Browse repository at this point
Copy the full SHA 3ad0061View commit details -
handle failures from fetchMethod
Remove the failed fetch key from the cache, rather than raising an unhandled rejection error when the promise was not returned. At present, there is no way to suppress this behavior, but it is still preferable to raising an unhandled exception in these cases. Fix: #233
Configuration menu - View commit details
-
Copy full SHA for 8069477 - Browse repository at this point
Copy the full SHA 8069477View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e7912 - Browse repository at this point
Copy the full SHA 32e7912View commit details -
feat: add noDeleteOnFetchRejection
This suppresses the default behavior of deleting the key from the cache in the case of fetchMethod rejections, opting instead to leave the stale value in the cache. Semver-minor feature addition. Re: #233
Configuration menu - View commit details
-
Copy full SHA for 05942bc - Browse repository at this point
Copy the full SHA 05942bcView commit details -
Build types locally, run tests in ts
The lib itself is still JS so it can be hand-tuned, but the tests cover the whole lib, and are in TS, so any errors in the types should be apparent.
Configuration menu - View commit details
-
Copy full SHA for efbb661 - Browse repository at this point
Copy the full SHA efbb661View commit details -
Configuration menu - View commit details
-
Copy full SHA for c551cbf - Browse repository at this point
Copy the full SHA c551cbfView commit details
There are no files selected for viewing