lisaogren / axios-cache-adapter

Caching adapter for axios. Store request results in a configurable store to prevent unneeded network requests.
MIT License
725 stars 108 forks source link

feat(deps): remove whatwg-url dependency #227

Closed ghost closed 3 years ago

ghost commented 3 years ago

New take at removing whatwg-url dependency to reduce bundle size as started in #188 Also removed lodash from dependencies in package.json (it was already not used anymore in source code)

Current build on master (666KB πŸ€˜πŸ˜… gzip: 181KB) image

New build (132KB 😎 gzip: 39KB) image

codecov[bot] commented 3 years ago

Codecov Report

Merging #227 (ab69de2) into master (39f0bf1) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #227   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          177       177           
=========================================
  Hits           177       177           
Impacted Files Coverage Ξ”
src/cache.js 100.00% <100.00%> (ΓΈ)

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 39f0bf1...ab69de2. Read the comment docs.