Releases: danvk/source-map-explorer
Releases Β· danvk/source-map-explorer
v2.2.1
v2.2.0
π 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
v2.1.2
π Bug fixes
- #143 Broken bundle selection on Windows environments
- #133 sourceMappingURL comment included in unmapped size. Add
sourceMappingURL
as a separate virtual file[sourceMappingURL]
. - #122 source-map-explorer complains a module with single chunk. Report
OneSourceSourceMap
warning only when exploring a single bundle. - #142 Generated report has area named 'null'. Give
null
source a name[no source]
.
π§ Internal
- Update dependencies
v2.1.1
π Bug fixes
- #131 Use bytes (1024) to format file size
- #139 Put TypeScript declarations to
dist
root - #136 Handle source map referencing EOL character (e.g. when source map generated by TypeScript (microsoft/TypeScript#34695)
π§ Internal
- Update dependencies
- Add node 12 and 13 to Travis CI and remove node 11
v2.1.0
v2.0.1
v2.0.0
π Enhancements
- Add CLI and Node.js API wiki pages
CLI
- #84, #106 Running with
*.js
and'*.js'
(quoted) should behave the same --json
and--tsv
output data for multiple bundles- TSV, JSON or HTML output can be saved to a file if filename specified after
--tsv
,--json
and--html
options
API
explore
can explore multiple bundles
π₯ Breaking changes
- Drop Node.js 8 support
CLI
--json
output format has changedsource-map-explorer bundle.min.js bundle.random-words.js.map
no longer works - source map filename must follow pattern[js filename].map
--noroot
renamed to--no-root
API
exploreBundlesAndWriteHtml
is removed. Functionality merged intoexplore
explore
is now asynchronous (because ofsource-map
)explore
signature and return object has changed to support multiple bundles
π Bug fixes
- #36
--replace
should replace all instances, not just first - Fix broken HTML page when bundle specified as Windows absolute path
π§ Internal
v2.0.0-beta.0
π Enhancements
- Add CLI and Node.js API wiki pages
CLI
- #84, #106 Running with
*.js
and'*.js'
(quoted) should behave the same --json
and--tsv
output data for multiple bundles- New output option
--file
- saves HTML to specified file
API
explore
can explore multiple bundles
π₯ Breaking changes
- Drop Node.js 8 support
CLI
--json
output format has changedsource-map-explorer bundle.min.js bundle.random-words.js.map
no longer works - source map filename must follow pattern[js filename].map
--noroot
renamed to--no-root
API
exploreBundlesAndWriteHtml
is removed. Functionality merged intoexplore
explore
is now asynchronous (because ofsource-map
)explore
signature and return object has changed to support multiple bundles
π Bug fixes
- #36
--replace
should replace all instances, not just first - Fix broken HTML page when bundle specified as Windows absolute path
π§ Internal
v1.8.0
Multiple bundles
- Support for exploring multiple bundles (
source-map-explorer '*.js'
). Thanks @nikolay-borzov! - Significant internal refactoring