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

source-map

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

source-map - npm Package Versions

1
7

0.1.36

Diff

Changelog

Source

0.1.36

  • Allow the names mapping property to be an empty string. Issue #121.
nickfitzgerald
published 0.1.35 •

Changelog

Source

0.1.35

  • A third optional parameter was added to SourceNode.fromStringWithSourceMap 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 SourceNodes. Issue #116.

nickfitzgerald
published 0.1.34 •

Changelog

Source

0.1.34

  • Make SourceNode work with windows style ("\r\n") newlines. Issue #103.

  • Fix bug involving source contents and the SourceMapGenerator.prototype.applySourceMap. Issue #100.

nickfitzgerald
published 0.1.33 •

Changelog

Source

0.1.33

  • Fix some edge cases surrounding path joining and URL resolution.

  • Add a third parameter for relative path to SourceMapGenerator.prototype.applySourceMap.

  • Fix issues with mappings and EOLs.

nickfitzgerald
published 0.1.32 •

Changelog

Source

0.1.32

  • 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).

nickfitzgerald
published 0.1.31 •

Changelog

Source

0.1.31

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

nickfitzgerald
published 0.1.30 •

Changelog

Source

0.1.30

  • 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 SourceNode.prototype.walk and SourceMapConsumer.prototype.eachMapping.

  • Source map browser builds will now work inside Workers.

  • Better error messages when attempting to add an invalid mapping to a SourceMapGenerator.

nickfitzgerald
published 0.1.29 •

Changelog

Source

0.1.29

  • Allow duplicate entries in the names and sources arrays of source maps (usually from TypeScript) we are parsing. Fixes github issue 72.
nickfitzgerald
published 0.1.28 •

Changelog

Source

0.1.28

  • Skip duplicate mappings when creating source maps from SourceNode; github issue 75.
nickfitzgerald
published 0.1.27 •

Changelog

Source

0.1.27

  • Don't throw an error when the file property is missing in SourceMapConsumer, we don't use it anyway.
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