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
4
Versions
74
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.21.4-esm.2 to 7.21.4-esm.3

10

lib/index.js

@@ -1,2 +0,8 @@

import * as _t from "@babel/types";
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = optimiseCallExpression;
var _t = require("@babel/types");
const {

@@ -11,3 +17,3 @@ callExpression,

} = _t;
export default function optimiseCallExpression(callee, thisNode, args, optional) {
function optimiseCallExpression(callee, thisNode, args, optional) {
if (args.length === 1 && isSpreadElement(args[0]) && isIdentifier(args[0].argument, {

@@ -14,0 +20,0 @@ name: "arguments"

8

package.json
{
"name": "@babel/helper-optimise-call-expression",
"version": "7.21.4-esm.2",
"version": "7.21.4-esm.3",
"description": "Helper function to optimise call expression",

@@ -17,7 +17,7 @@ "repository": {

"dependencies": {
"@babel/types": "7.21.4-esm.2"
"@babel/types": "7.21.4-esm.3"
},
"devDependencies": {
"@babel/generator": "7.21.4-esm.2",
"@babel/parser": "7.21.4-esm.2"
"@babel/generator": "7.21.4-esm.3",
"@babel/parser": "7.21.4-esm.3"
},

@@ -24,0 +24,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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