Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
6
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-remap-async-to-generator - npm Package Compare versions

Comparing version 7.0.0-beta.38 to 7.0.0-beta.39

4

lib/index.js

@@ -31,3 +31,3 @@ "use strict";

path.replaceWith(t.yieldExpression(wrapAwait ? t.callExpression(wrapAwait, [argument.node]) : argument.node));
path.replaceWith(t.yieldExpression(wrapAwait ? t.callExpression(t.cloneNode(wrapAwait), [argument.node]) : argument.node));
},

@@ -72,3 +72,3 @@ ForOfStatement: function ForOfStatement(path, _ref2) {

path.node.generator = true;
(0, _helperWrapFunction.default)(path, helpers.wrapAsync);
(0, _helperWrapFunction.default)(path, t.cloneNode(helpers.wrapAsync));
var isProperty = path.isObjectMethod() || path.isClassMethod() || path.parentPath.isObjectProperty() || path.parentPath.isClassProperty();

@@ -75,0 +75,0 @@

{
"name": "@babel/helper-remap-async-to-generator",
"version": "7.0.0-beta.38",
"version": "7.0.0-beta.39",
"description": "Helper function to remap async functions to generators",

@@ -9,8 +9,8 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-remap-async-to-generator",

"dependencies": {
"@babel/helper-annotate-as-pure": "7.0.0-beta.38",
"@babel/helper-wrap-function": "7.0.0-beta.38",
"@babel/template": "7.0.0-beta.38",
"@babel/traverse": "7.0.0-beta.38",
"@babel/types": "7.0.0-beta.38"
"@babel/helper-annotate-as-pure": "7.0.0-beta.39",
"@babel/helper-wrap-function": "7.0.0-beta.39",
"@babel/template": "7.0.0-beta.39",
"@babel/traverse": "7.0.0-beta.39",
"@babel/types": "7.0.0-beta.39"
}
}
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