webpack / webpack-sources

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

upgrade source-map version #117

Closed sokra closed 3 years ago

sokra commented 3 years ago

modernize some logic avoid SourceMapConsumer in favor of own implementation

TODO: benchmarking

codecov[bot] commented 3 years ago

Codecov Report

Merging #117 (205bb12) into main (be3c5f7) will decrease coverage by 0.10%. The diff coverage is 89.15%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
- Coverage   88.59%   88.49%   -0.11%     
==========================================
  Files          13       16       +3     
  Lines        1035     1165     +130     
  Branches      261      289      +28     
==========================================
+ Hits          917     1031     +114     
- Misses        107      119      +12     
- Partials       11       15       +4     
Flag Coverage Δ
integration 88.49% <89.15%> (-0.11%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lib/ConcatSource.js 82.22% <66.66%> (+0.13%) :arrow_up:
lib/helpers.js 75.75% <66.66%> (+0.75%) :arrow_up:
lib/helpers/getSource.js 75.00% <75.00%> (ø)
lib/helpers/sourceMapToSourceNode.js 85.00% <85.00%> (ø)
lib/helpers/readMappings.js 91.66% <91.66%> (ø)
lib/helpers/applySourceMap.js 97.82% <97.36%> (ø)
lib/CachedSource.js 92.92% <100.00%> (+0.03%) :arrow_up:
lib/SourceMapSource.js 89.92% <100.00%> (ø)
... and 1 more

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 be3c5f7...205bb12. Read the comment docs.