source-map
Advanced tools
Changelog
0.8.0-beta.0
package.json#browser
field.dist/
bundle.mappings.wasm
file as an ArrayBuffer
.IndexedSourceMapConsumer
implementation to pass more through
to BasicSourceMapConsumer
.SourceMapConsumer.with
implementation.Changelog
0.7.2
SourceMapConsumer
. Read about it here:
http://fitzgeraldnick.com/2018/02/26/speed-without-wizardry.htmlChangelog
0.7.0
SourceMapConsumer
now uses WebAssembly, and is much faster! Read about
it here:
https://hacks.mozilla.org/2018/01/oxidizing-source-maps-with-rust-and-webassembly/
Breaking change: new SourceMapConsumer
now returns a Promise
object
that resolves to the newly constructed SourceMapConsumer
instance, rather
than returning the new instance immediately.
Breaking change: when you're done using a SourceMapConsumer
instance,
you must call SourceMapConsumer.prototype.destroy
on it. After calling
destroy
, you must not use the instance again.
Breaking change: SourceMapConsumer
used to be able to handle lines,
columns numbers and source and name indices up to 2^53 - 1
(aka
Number.MAX_SAFE_INTEGER
). It can now only handle them up to 2^32 - 1
.
Breaking change: The source-map
library now uses modern ECMAScript-isms:
let
, arrow functions, async
, etc. Use Babel to compile it down to
ECMAScript 5 if you need to support older JavaScript environments.
Breaking change: Drop support for Node < 8. If you want to support older versions of node, please use v0.6 or below.
Changelog
0.5.6