Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-helper-call-delegate

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-helper-call-delegate - npm Package Compare versions

Comparing version 7.0.0-alpha.15 to 7.0.0-alpha.16

14

lib/index.js

@@ -8,12 +8,10 @@ "use strict";

var node = path.node;
var container = t.functionExpression(null, [], node.body, node.generator, node.async);
var callee = container;
var args = [];
(0, _babelHelperHoistVariables2.default)(path, function (id) {
return scope.push({ id: id });
return scope.push({
id: id
});
});
var state = {

@@ -23,3 +21,2 @@ foundThis: false,

};
path.traverse(visitor, state);

@@ -43,3 +40,2 @@

if (node.generator) call = t.yieldExpression(call, true);
return t.returnStatement(call);

@@ -66,3 +62,5 @@ };

if (path.isReferencedIdentifier({ name: "arguments" })) {
if (path.isReferencedIdentifier({
name: "arguments"
})) {
state.foundArguments = true;

@@ -69,0 +67,0 @@ }

{
"name": "babel-helper-call-delegate",
"version": "7.0.0-alpha.15",
"version": "7.0.0-alpha.16",
"description": "Helper function to call delegate",

@@ -9,6 +9,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-call-delegate",

"dependencies": {
"babel-helper-hoist-variables": "7.0.0-alpha.15",
"babel-traverse": "7.0.0-alpha.15",
"babel-types": "7.0.0-alpha.15"
"babel-helper-hoist-variables": "7.0.0-alpha.16",
"babel-traverse": "7.0.0-alpha.16",
"babel-types": "7.0.0-alpha.16"
}
}
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