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.5 to 1.0.0-alpha.6

12

lib/instrumenter-core.js

@@ -69,2 +69,3 @@ /*

LogicalExpression: ['left', 'right'],
MetaProperty: ['meta', 'property'],
MemberExpression: ['object', 'property'],

@@ -215,2 +216,6 @@ MethodDefinition: ['key', 'value'],

if (node.skipSelf) {
return;
}
for (i = 0; i < children.length; i += 1) {

@@ -388,3 +393,4 @@ childType = children[i];

LogicalExpression: this.logicalExpressionBranchInjector,
ObjectExpression: this.maybeAddType
ObjectExpression: this.maybeAddType,
MetaProperty: this.coverMetaProperty
}, this.extractCurrentHint, this, this.opts.walkDebug);

@@ -739,2 +745,6 @@ }

coverMetaProperty: function(node /* , walker */) {
node.skipSelf = true;
},
coverStatement: function (node, walker) {

@@ -741,0 +751,0 @@ var sName,

4

package.json
{
"name": "istanbul-lib-instrument",
"version": "1.0.0-alpha.5",
"version": "1.0.0-alpha.6",
"description": "Core istanbul API for JS code coverage",

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

"dependencies": {
"escodegen": "^1.7.0",
"escodegen": "^1.8.0",
"esprima": "^2.7",

@@ -17,0 +17,0 @@ "istanbul-lib-coverage": "^1.0.0-alpha"

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