Socket
Socket
Sign inDemoInstall

@babel/helper-remap-async-to-generator

Package Overview
Dependencies
34
Maintainers
6
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.16.0 to 7.16.4

6

lib/index.js

@@ -30,8 +30,2 @@ "use strict";

const argument = path.get("argument");
if (path.parentPath.isYieldExpression()) {
path.replaceWith(argument.node);
return;
}
path.replaceWith(yieldExpression(wrapAwait ? callExpression(cloneNode(wrapAwait), [argument.node]) : argument.node));

@@ -38,0 +32,0 @@ }

4

package.json
{
"name": "@babel/helper-remap-async-to-generator",
"version": "7.16.0",
"version": "7.16.4",
"description": "Helper function to remap async functions to generators",

@@ -22,3 +22,3 @@ "repository": {

"devDependencies": {
"@babel/traverse": "^7.16.0"
"@babel/traverse": "^7.16.3"
},

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

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