Socket
Socket
Sign inDemoInstall

source-map

Package Overview
Dependencies
0
Maintainers
19
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous124567Next

0.4.0

Diff

Changelog

Source

0.4.0

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

nickfitzgerald
published 0.3.0 •

Changelog

Source

0.3.0

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

nickfitzgerald
published 0.2.0 •

Changelog

Source

0.2.0

  • Support for consuming "indexed" source maps which do not have any remote sections. See pull request #127. This introduces a minor backwards incompatibility if you are monkey patching SourceMapConsumer.prototype methods.
nickfitzgerald
published 0.1.43 •

Changelog

Source

0.1.43

  • Performance improvements for SourceMapGenerator and SourceNode. See issue #148 for some discussion and issues #150, #151, and #152 for implementations.
nickfitzgerald
published 0.1.42 •

Changelog

Source

0.1.42

  • Fix an issue where SourceNodes from different versions of the source-map library couldn't be used in conjunction with each other. See issue #142.
nickfitzgerald
published 0.1.41 •

Changelog

Source

0.1.41

  • Fix a bug with getting the source content of relative sources with a "./" prefix. See issue #145 and Bug 1090768.

  • Add the SourceMapConsumer.prototype.computeColumnSpans method to compute the column span of each mapping.

  • Add the SourceMapConsumer.prototype.allGeneratedPositionsFor method to find all generated positions associated with a given original source and line.

nickfitzgerald
published 0.1.40 •

Changelog

Source

0.1.40

  • Performance improvements for parsing source maps in SourceMapConsumer.
nickfitzgerald
published 0.1.39 •

Changelog

Source

0.1.39

  • Fix a bug where setting a source's contents to null before any source content had been set before threw a TypeError. See issue #131.
nickfitzgerald
published 0.1.38 •

Changelog

Source

0.1.38

  • Fix a bug where finding relative paths from an empty path were creating absolute paths. See issue #129.
nickfitzgerald
published 0.1.37 •

Changelog

Source

0.1.37

  • Fix a bug where if the source root was an empty string, relative source paths would turn into absolute source paths. Issue #124.
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