@babel/helper-optimise-call-expression
Advanced tools
Comparing version 7.21.4-esm.4 to 7.22.5
@@ -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" |
{ | ||
"name": "@babel/helper-optimise-call-expression", | ||
"version": "7.21.4-esm.4", | ||
"version": "7.22.5", | ||
"description": "Helper function to optimise call expression", | ||
@@ -17,7 +17,7 @@ "repository": { | ||
"dependencies": { | ||
"@babel/types": "7.21.4-esm.4" | ||
"@babel/types": "^7.22.5" | ||
}, | ||
"devDependencies": { | ||
"@babel/generator": "7.21.4-esm.4", | ||
"@babel/parser": "7.21.4-esm.4" | ||
"@babel/generator": "^7.22.5", | ||
"@babel/parser": "^7.22.5" | ||
}, | ||
@@ -28,3 +28,3 @@ "engines": { | ||
"author": "The Babel Team (https://babel.dev/team)", | ||
"type": "module" | ||
"type": "commonjs" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6659
31
0
5
No
+ Added@babel/helper-string-parser@7.24.8(transitive)
+ Added@babel/helper-validator-identifier@7.24.7(transitive)
+ Added@babel/types@7.25.6(transitive)
- Removed@babel/helper-string-parser@7.21.4-esm.4(transitive)
- Removed@babel/helper-validator-identifier@7.21.4-esm.4(transitive)
- Removed@babel/types@7.21.4-esm.4(transitive)
Updated@babel/types@^7.22.5