yarn source-map-explorer 2.2.0

latest releases: 2.5.3, 2.5.2, 2.5.1...
3 years ago

🚀 Enhancements

  • #145 Implement code coverage heat map. Pass coverage JSON file via --coverage CLI argument or coverage 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 with FileData 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

Don't miss a new source-map-explorer release

NewReleases is sending notifications on new releases.