arthurfiorette / axios-cache-interceptor

📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!
https://axios-cache-interceptor.js.org
MIT License
703 stars 58 forks source link

Correct ESM and CJS support, move to microbundle. #764

Closed arthurfiorette closed 10 months ago

arthurfiorette commented 10 months ago

closes #757 closes #746 closes #759

arthurfiorette commented 10 months ago

image

arthurfiorette commented 10 months ago

Damn it, this gave me so much trouble I'm thinking in writing a article to talk about it...

arthurfiorette commented 10 months ago

Warnings are being thrown in the console because of swc: https://github.com/swc-project/swc-node/issues/743

arthurfiorette commented 10 months ago

Should this be a major version? CDN links kept the same...

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2ddd61e) 99.58% compared to head (92c68c8) 99.29%.

:exclamation: Current head 92c68c8 differs from pull request most recent head 25ebbf9. Consider uploading reports for the commit 25ebbf9 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #764 +/- ## ========================================== - Coverage 99.58% 99.29% -0.30% ========================================== Files 19 19 Lines 2390 2395 +5 Branches 213 211 -2 ========================================== - Hits 2380 2378 -2 - Misses 9 16 +7 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.