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

babel-helper-optimise-call-expression

Package Overview
Dependencies
Maintainers
6
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-helper-optimise-call-expression - npm Package Compare versions

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

4

lib/index.js

@@ -6,3 +6,5 @@ "use strict";

exports.default = function (callee, thisNode, args) {
if (args.length === 1 && t.isSpreadElement(args[0]) && t.isIdentifier(args[0].argument, { name: "arguments" })) {
if (args.length === 1 && t.isSpreadElement(args[0]) && t.isIdentifier(args[0].argument, {
name: "arguments"
})) {
return t.callExpression(t.memberExpression(callee, t.identifier("apply")), [thisNode, args[0].argument]);

@@ -9,0 +11,0 @@ } else {

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

@@ -9,4 +9,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-optimise-call-expression",

"dependencies": {
"babel-types": "7.0.0-alpha.15"
"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