Socket
Socket
Sign inDemoInstall

istanbul-lib-instrument

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

istanbul-lib-instrument - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

8

lib/instrumenter-core.js

@@ -474,5 +474,7 @@ /*

mapMatch = SOURCE_MAP_RE.exec(comment.value);
cb = this.opts.sourceMapUrlCallback;
if (cb && typeof cb === 'function') {
cb(filename, mapMatch[1]);
if (mapMatch) {
cb = this.opts.sourceMapUrlCallback;
if (cb && typeof cb === 'function') {
cb(filename, mapMatch[1]);
}
}

@@ -479,0 +481,0 @@ }

{
"name": "istanbul-lib-instrument",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Core istanbul API for JS code coverage",

@@ -5,0 +5,0 @@ "author": "Krishnan Anantheswaran <kananthmail-github@yahoo.com>",

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