Socket
Socket
Sign inDemoInstall

source-map-js

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

1.2.0

Diff

Changelog

Source

1.2.0

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
7rulnik
published 1.1.0 •

Changelog

Source

1.1.0

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) @ai
  • Add ignoreInvalidMapping option (#21) @7rulnik
7rulnik
published 1.0.3 •

Changelog

Source

1.0.3

  • Use sourceContents when non-null, even if it's an empty string (#17) @bshepherdson
7rulnik
published 1.0.2 •

Changelog

Source

1.0.2

7rulnik
published 1.0.1 •

Changelog

Source

1.0.1

  • Remove cleanComments optimization (#10) @ai
7rulnik
published 1.0.0 •

Changelog

Source

1.0.0


It doesn't related to this fork:

7rulnik
published 0.6.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc