🚀 Enhancements
- #145 Implement code coverage heat map. Pass coverage JSON file via
--coverage
CLI argument orcoverage
API option to apply coverage heat map to the visualization. Thanks to @joshribakoff for the contribution! - #150 Visualize the line endings in the treemap. HTML visualization now can have
[EOLs]
virtual file with end-of-line characters bytes. Thanks to @paulirish for the contribution!
💥 Breaking changes
- Explore result file size now is an object (
'foo.js': { size: 63 }
)
🐛 Bug fixes
- Fix bytes calculation - get bytes length from source ranges' string rather than columns count. One column can have byte length 4 bytes (e.g. 🍰)
🔧 Internal
- Replace
FileSizeMap
withFileData
so that additional data can be stored along with mapping size - When calculating file sizes first get mapping ranges with sources, then merge consecutive ranges and then calculate bytes