Socket
Socket
Sign inDemoInstall

@babel/helper-wrap-function

Package Overview
Dependencies
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-wrap-function - npm Package Compare versions

Comparing version 7.20.5 to 7.21.4-esm

lib/package.json

5

lib/index.js

@@ -49,6 +49,4 @@ "use strict";

body.body = [returnStatement(callExpression(callExpression(callId, [container]), []))];
node.async = false;
node.generator = false;
path.get("body.body.0.argument.callee.arguments.0").unwrapFunctionEnvironment();

@@ -118,4 +116,3 @@ }

}
function wrapFunction(path, callId,
noNewArrows = true, ignoreFunctionLength = false) {
function wrapFunction(path, callId, noNewArrows = true, ignoreFunctionLength = false) {
if (path.isMethod()) {

@@ -122,0 +119,0 @@ classOrObjectMethod(path, callId);

10

package.json
{
"name": "@babel/helper-wrap-function",
"version": "7.20.5",
"version": "7.21.4-esm",
"description": "Helper to wrap functions inside a function call.",

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

"dependencies": {
"@babel/helper-function-name": "^7.19.0",
"@babel/template": "^7.18.10",
"@babel/traverse": "^7.20.5",
"@babel/types": "^7.20.5"
"@babel/helper-function-name": "^7.21.4-esm",
"@babel/template": "^7.21.4-esm",
"@babel/traverse": "^7.21.4-esm",
"@babel/types": "^7.21.4-esm"
},

@@ -23,0 +23,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