istanbul-lib-instrument
Advanced tools
Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6
@@ -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, |
{ | ||
"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" |
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
96372
2189
Updatedescodegen@^1.8.0