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

feat: add shouldInvalidateCache option to cache utils #746

Merged
merged 6 commits into from
Jan 16, 2023

Conversation

yassilah
Copy link
Contributor

πŸ”— Linked issue

#745

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

src/runtime/cache.ts Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jan 5, 2023

Codecov Report

Merging #746 (ca1cbc3) into main (b773ebe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #746   +/-   ##
=======================================
  Coverage   67.20%   67.20%           
=======================================
  Files          58       58           
  Lines        5744     5744           
  Branches      609      609           
=======================================
  Hits         3860     3860           
  Misses       1875     1875           
  Partials        9        9           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@vercel
Copy link

vercel bot commented Jan 5, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
unjs-nitro πŸ”„ Building (Inspect) Jan 5, 2023 at 11:27AM (UTC)

@pi0 pi0 changed the title feat: add refresh option to renew cached event handler output feat: add shouldInvalidateCache option to cache utils Jan 16, 2023
@pi0 pi0 merged commit b91db6f into unjs:main Jan 16, 2023
@yassilah yassilah deleted the feat/add-force-refresh-fn branch January 16, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants