Fix “regression” of unsupported, implementation behavior that half the world happens to have come to depend on. See #235.
Fix regression involving function hoisting in SpiderMonkey. See #233.
files. See issue #212.
Node 0.8 is no longer supported.
Use webpack instead of dryice for bundling.
Big speedups serializing source maps. See pull request #203.
Fix a bug with
SourceMapConsumer.prototype.sourceContentFor and sources that
explicitly start with the source root. See issue #199.
Fix an issue where using a
SourceMapGenerator after having created a
SourceMapConsumer from it via
SourceMapConsumer.fromSourceMap failed. See
Fix an issue with where
SourceMapGenerator would mistakenly consider
different mappings as duplicates of each other and avoid generating them. See
A very large number of performance improvements, particularly when parsing source maps. Collectively about 75% of time shaved off of the source map parsing benchmark!
Fix a bug in
SourceMapConsumer.prototype.allGeneratedPositionsFor and fuzzy
searching in the presence of a column option. See issue #177.
Fix a bug with joining a source and its source root when the source is above the root. See issue #182.
SourceMapConsumer.prototype.hasContentsOfAllSources method to
determine when all sources’ contents are inlined into the source map. See
.npmignore file so that the benchmarks aren’t pulled down by
dependent projects. Issue #169.
Add an optional
column argument to
SourceMapConsumer.prototype.allGeneratedPositionsFor and better handle lines
with no mappings. Issues #172 and #173.
The default direction for fuzzy searching was changed back to its original direction. See #164.
There is now a
bias option you can supply to
SourceMapConsumer to control
the fuzzy searching direction. See #167.
About an 8% speed up in parsing source maps. See #159.
Added a benchmark for parsing and generating source maps.
Change the default direction that searching for positions fuzzes when there is not an exact match. See #154.
Support for environments using json2.js for JSON serialization. See #156.
SourceNode. See issue #148 for some discussion and issues #150, #151, and #152 for implementations.
SourceNodes from different versions of the source-map library couldn’t be used in conjunction with each other. See issue #142.
Fix a bug with getting the source content of relative sources with a “./” prefix. See issue #145 and Bug 1090768.
SourceMapConsumer.prototype.computeColumnSpans method to compute the
column span of each mapping.
SourceMapConsumer.prototype.allGeneratedPositionsFor method to find
all generated positions associated with a given original source and line.
namesmapping property to be an empty string. Issue #121.
A third optional parameter was added to
to specify a path that relative sources in the second parameter should be
relative to. Issue #105.
If no file property is given to a
SourceMapGenerator, then the resulting
source map will no longer have a
null file property. The property will
simply not exist. Issue #104.
Fixed a bug where consecutive newlines were ignored in
SourceNode work with windows style (“\r\n”) newlines. Issue #103.
Fix bug involving source contents and the
SourceMapGenerator.prototype.applySourceMap. Issue #100.
Fix some edge cases surrounding path joining and URL resolution.
Add a third parameter for relative path to
Fix issues with mappings and EOLs.
Fixed a bug where SourceMapConsumer couldn’t handle negative relative columns (issue 92).
Fixed test runner to actually report number of failed tests as its process exit code.
Fixed a typo when reporting bad mappings (issue 87).
Delay parsing the mappings in SourceMapConsumer until queried for a source location.
Support Sass source maps (which at the time of writing deviate from the spec in small ways) in SourceMapConsumer.
Do not join source root with a source, when the source is a data URI.
Extend the test runner to allow running single specific test files at a time.
Performance improvements in
Source map browser builds will now work inside Workers.
Better error messages when attempting to add an invalid mapping to a
sourcesarrays of source maps (usually from TypeScript) we are parsing. Fixes github issue 72.
fileproperty is missing in SourceMapConsumer, we don’t use it anyway.
file://URIs. See https://bugzilla.mozilla.org/show_bug.cgi?id=885597
Added missing documentation.
Fixed the generating of empty mappings in SourceNode.