Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-helper-remap-async-to-generator

Package Overview
Dependencies
Maintainers
6
Versions
56
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 6.4.6 to 6.5.0-1

5

lib/index.js

@@ -30,6 +30,2 @@ /* @flow */

var awaitVisitor = {
Function: function Function(path) {
path.skip();
},
ArrowFunctionExpression: function ArrowFunctionExpression(path) {

@@ -92,2 +88,3 @@ if (!path.node.async) {

var declar = t.variableDeclaration("let", [t.variableDeclarator(t.identifier(asyncFnId.name), t.callExpression(container, []))]);
declar._blockHoist = true;

@@ -94,0 +91,0 @@ retFunction.id = asyncFnId;

10

package.json
{
"name": "babel-helper-remap-async-to-generator",
"version": "6.4.6",
"version": "6.5.0-1",
"description": "",

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

"babel-runtime": "^5.0.0",
"babel-template": "^6.3.13",
"babel-types": "^6.4.5",
"babel-traverse": "^6.4.5",
"babel-helper-function-name": "^6.3.13"
"babel-template": "^6.5.0-1",
"babel-types": "^6.5.0-1",
"babel-traverse": "^6.5.0-1",
"babel-helper-function-name": "^6.5.0-1"
}
}
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