Socket
Socket
Sign inDemoInstall

babel-helper-function-name

Package Overview
Dependencies
Maintainers
6
Versions
47
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 6.4.0 to 6.5.0-1

6

lib/index.js

@@ -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;

10

package.json
{
"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"
}
}
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