Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

source-map-js

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

source-map-js - npm Package Versions

1.2.1

Diff

Changelog

Source

1.2.1

  • Fix TS2306 “not a module” errors in type definitions (#16) @andersk

  • Ensure null source is respected (#26) @dragomirtitian

  • Improve ts declarations to be null-safe (#27) @dragomirtitian

7rulnik
published 1.2.0 •

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc