Socket
Socket
Sign inDemoInstall

@babel/helper-wrap-function

Package Overview
Dependencies
4
Maintainers
9
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.35 to 7.0.0-beta.36

3

lib/index.js

@@ -66,5 +66,4 @@ "use strict";

if (isDeclaration) {
var basePath = path.parentPath.isExportDeclaration() ? path.parentPath : path;
basePath.insertAfter(container[1]);
path.replaceWith(container[0]);
path.insertAfter(container[1]);
} else {

@@ -71,0 +70,0 @@ var retFunction = container.callee.body.body[1].argument;

{
"name": "@babel/helper-wrap-function",
"version": "7.0.0-beta.35",
"version": "7.0.0-beta.36",
"description": "Helper to wrap functions inside a function call.",

@@ -9,7 +9,7 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-wrap-function",

"dependencies": {
"@babel/helper-function-name": "7.0.0-beta.35",
"@babel/template": "7.0.0-beta.35",
"@babel/traverse": "7.0.0-beta.35",
"@babel/types": "7.0.0-beta.35"
"@babel/helper-function-name": "7.0.0-beta.36",
"@babel/template": "7.0.0-beta.36",
"@babel/traverse": "7.0.0-beta.36",
"@babel/types": "7.0.0-beta.36"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc