@babel/helper-function-name
Advanced tools
Comparing version 7.0.0-beta.31 to 7.0.0-beta.32
@@ -80,3 +80,3 @@ "use strict"; | ||
function _default(_ref) { | ||
function _default(_ref, localBinding) { | ||
var node = _ref.node, | ||
@@ -86,2 +86,7 @@ parent = _ref.parent, | ||
id = _ref.id; | ||
if (localBinding === void 0) { | ||
localBinding = false; | ||
} | ||
if (node.id) return; | ||
@@ -96,3 +101,3 @@ | ||
if (t.isIdentifier(id)) { | ||
if (t.isIdentifier(id) && !localBinding) { | ||
var binding = scope.parent.getBinding(id.name); | ||
@@ -99,0 +104,0 @@ |
{ | ||
"name": "@babel/helper-function-name", | ||
"version": "7.0.0-beta.31", | ||
"version": "7.0.0-beta.32", | ||
"description": "Helper function to change the property 'name' of every function", | ||
@@ -9,7 +9,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-function-name", | ||
"dependencies": { | ||
"@babel/helper-get-function-arity": "7.0.0-beta.31", | ||
"@babel/template": "7.0.0-beta.31", | ||
"@babel/traverse": "7.0.0-beta.31", | ||
"@babel/types": "7.0.0-beta.31" | ||
"@babel/helper-get-function-arity": "7.0.0-beta.32", | ||
"@babel/template": "7.0.0-beta.32", | ||
"@babel/types": "7.0.0-beta.32" | ||
} | ||
} |
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
4706
3
105
+ Added@babel/code-frame@7.0.0-beta.32(transitive)
+ Added@babel/helper-get-function-arity@7.0.0-beta.32(transitive)
+ Added@babel/template@7.0.0-beta.32(transitive)
+ Added@babel/types@7.0.0-beta.32(transitive)
+ Addedbabylon@7.0.0-beta.32(transitive)
- Removed@babel/traverse@7.0.0-beta.31
- Removed@babel/code-frame@7.0.0-beta.31(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.31(transitive)
- Removed@babel/template@7.0.0-beta.31(transitive)
- Removed@babel/traverse@7.0.0-beta.31(transitive)
- Removed@babel/types@7.0.0-beta.31(transitive)
- Removedbabylon@7.0.0-beta.31(transitive)
- Removeddebug@3.2.7(transitive)
- Removedglobals@10.4.0(transitive)
- Removedinvariant@2.2.4(transitive)
- Removedloose-envify@1.4.0(transitive)
- Removedms@2.1.3(transitive)
Updated@babel/types@7.0.0-beta.32