Socket
Socket
Sign inDemoInstall

@babel/helper-function-name

Package Overview
Dependencies
Maintainers
4
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-function-name - npm Package Compare versions

Comparing version 7.0.0-beta.31 to 7.0.0-beta.32

9

lib/index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc