babel-helper-function-name
Advanced tools
Comparing version 6.4.0 to 6.5.0
@@ -141,2 +141,3 @@ "use strict"; | ||
node.id = id; | ||
node.id[t.NOT_LOCAL_BINDING] = true; | ||
return; | ||
@@ -164,2 +165,7 @@ } | ||
// The id shouldn't be considered a local binding to the function because | ||
// we are simply trying to set the function name and not actually create | ||
// a local binding. | ||
id[t.NOT_LOCAL_BINDING] = true; | ||
var state = visit(node, name, scope); | ||
@@ -166,0 +172,0 @@ return wrap(state, node, id, scope) || node; |
{ | ||
"name": "babel-helper-function-name", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-function-name", |
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
6352
141