@babel/helper-function-name
Advanced tools
Comparing version 7.16.0 to 7.16.7
@@ -144,3 +144,3 @@ "use strict"; | ||
id | ||
}, localBinding = false) { | ||
}, localBinding = false, supportUnicodeId = false) { | ||
if (node.id) return; | ||
@@ -184,2 +184,6 @@ | ||
if (!supportUnicodeId && isFunction(node) && /[\uD800-\uDFFF]/.test(name)) { | ||
return; | ||
} | ||
name = toBindingIdentifierName(name); | ||
@@ -186,0 +190,0 @@ id = identifier(name); |
{ | ||
"name": "@babel/helper-function-name", | ||
"version": "7.16.0", | ||
"version": "7.16.7", | ||
"description": "Helper function to change the property 'name' of every function", | ||
@@ -17,5 +17,5 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-get-function-arity": "^7.16.0", | ||
"@babel/template": "^7.16.0", | ||
"@babel/types": "^7.16.0" | ||
"@babel/helper-get-function-arity": "^7.16.7", | ||
"@babel/template": "^7.16.7", | ||
"@babel/types": "^7.16.7" | ||
}, | ||
@@ -22,0 +22,0 @@ "engines": { |
@@ -12,3 +12,3 @@ # @babel/helper-function-name | ||
```sh | ||
npm install --save-dev @babel/helper-function-name | ||
npm install --save @babel/helper-function-name | ||
``` | ||
@@ -19,3 +19,3 @@ | ||
```sh | ||
yarn add @babel/helper-function-name --dev | ||
yarn add @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
6581
158
Updated@babel/template@^7.16.7
Updated@babel/types@^7.16.7