Comparing version 0.11.19 to 0.11.20
@@ -329,6 +329,8 @@ var assert = require("assert"); | ||
case "ArrowFunctionExpression": | ||
if(parent.type === 'CallExpression' && | ||
name === 'callee') { | ||
if(n.CallExpression.check(parent) && name === 'callee') { | ||
return true; | ||
}; | ||
} | ||
if(n.MemberExpression.check(parent) && name === 'object') { | ||
return true; | ||
} | ||
@@ -335,0 +337,0 @@ return isBinary(parent); |
@@ -67,3 +67,3 @@ var assert = require("assert"); | ||
if (file.type === "Program") { | ||
var file = b.file(program); | ||
var file = b.file(program, options.sourceFileName || null); | ||
file.loc = { | ||
@@ -70,0 +70,0 @@ lines: lines, |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "0.11.19", | ||
"version": "0.11.20", | ||
"homepage": "http://github.com/benjamn/recast", | ||
@@ -18,0 +18,0 @@ "repository": { |
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
164745
4261