istanbul-lib-instrument
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
@@ -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>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48912
1124