Socket
Socket
Sign inDemoInstall

@babel/helper-optimise-call-expression

Package Overview
Dependencies
Maintainers
4
Versions
71
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 to 7.21.4-esm.1

10

lib/index.js

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

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

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

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

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

10

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

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

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

@@ -28,3 +28,3 @@ "engines": {

"author": "The Babel Team (https://babel.dev/team)",
"type": "commonjs"
"type": "module"
}

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