webpack / webpack-sources

Source code handling classes for webpack
MIT License
261 stars 71 forks source link

avoid strings in CachedSource `map()` cache #77

Closed sokra closed 4 years ago

sokra commented 4 years ago

avoid strings in CachedSource map() cache and fix bug

codecov[bot] commented 4 years ago

Codecov Report

Merging #77 into master will increase coverage by 1.19%. The diff coverage is 97.56%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   86.34%   87.54%   +1.19%     
==========================================
  Files          12       12              
  Lines         864      891      +27     
  Branches      205      214       +9     
==========================================
+ Hits          746      780      +34     
+ Misses        118      111       -7
Impacted Files Coverage Δ
lib/CachedSource.js 87.87% <97.56%> (+14.26%) :arrow_up:

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 6ca4706...732a97b. Read the comment docs.