Skip to content

Releases: danvk/source-map-explorer

v2.2.1

02 Jan 12:31
Compare
Choose a tag to compare

πŸ› Bug fixes

  • #153 Remove npm-check-updates from dependencies

v2.2.0

30 Dec 19:21
Compare
Choose a tag to compare

πŸš€ 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

v2.1.2

03 Dec 16:27
Compare
Choose a tag to compare

πŸ› 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

14 Nov 05:19
Compare
Choose a tag to compare

πŸ› 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

22 Sep 17:15
Compare
Choose a tag to compare

πŸš€ Enhancements

  • Improve files' sizes calculation speed. Thanks to @also and @Anish2 for the contribution!

πŸ”§ Internal

  • Update dependencies

v2.0.1

19 Jun 20:09
Compare
Choose a tag to compare

πŸ› Bug fixes

CLI

  • Switch back to using temp.path instead of temp.openSync (#120). It may fix #119

v2.0.0

02 Jun 15:00
Compare
Choose a tag to compare

πŸš€ Enhancements

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 changed
  • source-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 into explore
  • explore is now asynchronous (because of source-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

  • #98 Leverage snapshot testing
  • #99 Integrate TypeScript
  • #100 Update source-map dependency
  • #108 Replace docopt by yargs

v2.0.0-beta.0

06 May 16:41
Compare
Choose a tag to compare
v2.0.0-beta.0 Pre-release
Pre-release

πŸš€ Enhancements

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 changed
  • source-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 into explore
  • explore is now asynchronous (because of source-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

  • #98 Leverage snapshot testing
  • #99 Integrate TypeScript
  • #100 Update source-map dependency
  • #108 Replace docopt by yargs

v1.8.0

16 Mar 13:48
Compare
Choose a tag to compare
  • Remove unnecessary files from the npm package
  • Allow piping into html for multiple bundles. Thanks to @dinony.
    • New Node API exploreBundlesAndWriteHtml has been added

Multiple bundles

14 Feb 18:46
Compare
Choose a tag to compare
  • Support for exploring multiple bundles (source-map-explorer '*.js'). Thanks @nikolay-borzov!
  • Significant internal refactoring