epicweb-dev / cachified

🤑 wrap virtually everything that can store by key to act as cache with ttl/max-age, stale-while-validate, parallel fetch protection and type-safety support
MIT License
916 stars 26 forks source link

build(deps-dev): bump lru-cache from 7.14.1 to 7.17.0 #37

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps lru-cache from 7.14.1 to 7.17.0.

Changelog

Sourced from lru-cache's changelog.

7.17.0

  • Add signal option for fetch to pass a user-supplied AbortSignal
  • Add ignoreFetchAbort and allowStaleOnFetchAbort options

7.16.0

  • Add allowStaleOnFetchRejection option

7.15.0

  • Provide both ESM and CommonJS exports

7.14.0

  • Add maxEntrySize option to prevent caching items above a given calculated size.

7.13.0

  • Add forceRefresh option to trigger a call to the fetchMethod even if the item is found in cache, and not older than its ttl.

7.12.0

  • Add fetchContext option to provide additional information to the fetchMethod
  • 7.12.1: Fix bug where adding an item with size greater than maxSize would cause bizarre behavior.

7.11.0

  • Add 'noDeleteOnStaleGet' option, to suppress behavior where a get() of a stale item would remove it from the cache.

7.10.0

  • Add noDeleteOnFetchRejection option, to suppress behavior where a failed fetch will delete a previous stale value.
  • Ship types along with the package, rather than relying on out of date types coming from DefinitelyTyped.

7.9.0

  • Better AbortController polyfill, supporting signal.addEventListener('abort') and signal.onabort.
  • (7.9.1) Drop item from cache instead of crashing with an unhandledRejection when the fetchMethod throws an error or

... (truncated)

Commits
  • a568b5d 7.17.0
  • cdf80ca changelog 7.17
  • cca36d5 Add ignoreFetchAbort and allowStaleOnFetchAbort
  • 4218b2c Allow passing an AbortSignal to cache.fetch()
  • f764a81 7.16.2
  • c7e46cd Fail fetch() promises when they are aborted
  • 914ea50 typedef: label number types with informative names
  • e0e0413 7.16.1
  • 6e2a5bf fix: do not expose background fetch promises to iterators
  • d5fea34 more informative tests for #269
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (344314b) 100.00% compared to head (777e531) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #37 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 10 10 Lines 372 372 Branches 118 118 ========================================= Hits 372 372 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hannes+Diercks). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Hannes+Diercks)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

dependabot[bot] commented 1 year ago

Looks like lru-cache is up-to-date now, so this is no longer needed.