Socket
Socket
Sign inDemoInstall

istanbul-lib-instrument

Package Overview
Dependencies
Maintainers
2
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.1.0-alpha.1 to 1.1.0-alpha.2

9

dist/visitor.js

@@ -217,3 +217,6 @@ 'use strict';

case "FunctionDeclaration":
dloc = n.id.loc;
/* istanbul ignore else: paranoid check */
if (n.id) {
dloc = n.id.loc;
}
break;

@@ -229,3 +232,3 @@ case "FunctionExpression":

start: n.loc.start,
end: n.loc.start
end: { line: n.loc.start.line, column: n.loc.start.column + 1 }
};

@@ -324,3 +327,3 @@ }

var n = path.node;
var b = this.cov.newBranch('default-arg', n);
var b = this.cov.newBranch('default-arg', n.loc);
this.insertBranchCounter(path.get('right'), b);

@@ -327,0 +330,0 @@ }

{
"name": "istanbul-lib-instrument",
"version": "1.1.0-alpha.1",
"version": "1.1.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