babel-helper-function-name
Advanced tools
Comparing version 6.4.0 to 6.5.0-1
@@ -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-1", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-function-name", | ||
"babel-runtime": "^5.0.0", | ||
"babel-types": "^6.4.0", | ||
"babel-traverse": "^6.3.15", | ||
"babel-helper-get-function-arity": "^6.3.13", | ||
"babel-template": "^6.3.13" | ||
"babel-types": "^6.5.0-1", | ||
"babel-traverse": "^6.5.0-1", | ||
"babel-helper-get-function-arity": "^6.5.0-1", | ||
"babel-template": "^6.5.0-1" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
6359
141
2
Updatedbabel-template@^6.5.0-1
Updatedbabel-traverse@^6.5.0-1
Updatedbabel-types@^6.5.0-1