Socket
Socket
Sign inDemoInstall

@contrast/synchronous-source-maps

Package Overview
Dependencies
Maintainers
17
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/synchronous-source-maps

A synchronous version of the mozilla source-map library based on @snek/source-map-support


Version published
Weekly downloads
6.9K
increased by12.13%
Maintainers
17
Weekly downloads
 
Created
Source

synchronous-source-maps

A synchronous version of the mozilla source-map library based on @snek/source-map-support

The Mozilla official source-map library moved to being asynchronous after its 0.60 release in order to support WASM source maps. However, the Node agent requires a sync interface because it uses source maps in the processing of stack traces.

@snek/source-map-support builds what we need, providing a sync interace, but it is wrapped in the source-map-support library when we want the underlying functionality. Moreover, it doesn't support filename translations, and we don't want to be dependent on a fork of the library without a source tree (it was never published to github and has less than 5 weekly downloads).

As such, this fork rips out the functionality from the sync port.

Sources of background info:

FAQs

Package last updated on 14 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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