Skip to content

Releases: 7rulnik/source-map-js

v1.2.0

19 Mar 16:22
9b69fab
Compare
Choose a tag to compare

Allow to pass options to SourceMapGenerator using SourceMapGenerator.fromSourceMap as second argument

var generator = sourceMap.SourceMapGenerator.fromSourceMap(new SourceMapConsumer(), {
  ignoreInvalidMapping: true,
});
  • Add generator options to fromSourceMap (#22) @ai

v1.1.0

17 Mar 19:34
f0a16e5
Compare
Choose a tag to compare

Add ignoreInvalidMapping option to SourceMapGenerator. If enabled, source-map-js will not throw an error on the incorrect previous source map. Instead, it will print warnings and ignore broken mappings.

var generator = new sourceMap.SourceMapGenerator({
  file: "my-generated-javascript-file.js",
  sourceRoot: "http://example.com/app/js/",
  ignoreInvalidMapping: true,
});
  • Do not throw an error since broken prev map is popular issue #20 (#20) @ai
  • Add ignoreInvalidMapping option (#21) @7rulnik

v1.0.3

17 Mar 18:33
2ab15d9
Compare
Choose a tag to compare
  • Use sourceContents when non-null, even if it's an empty string (#17) @bshepherdson

v1.0.2

17 Mar 18:33
04907d5
Compare
Choose a tag to compare

1.0.1

08 Nov 19:46
47654d2
Compare
Choose a tag to compare
  • Remove cleanComments optimization (#10) @ai

1.0.0

04 Nov 20:54
895d9cc
Compare
Choose a tag to compare

Breaking Changes

Bundled files like source-map-js/dist/* doesn't exist anymore. Use source-map-js/lib/*.

PRs