Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
5
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.47 to 7.0.0-beta.48

14

lib/index.js

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

_helperWrapFunction = function _helperWrapFunction() {
_helperWrapFunction = function () {
return data;

@@ -22,3 +22,3 @@ };

_helperAnnotateAsPure = function _helperAnnotateAsPure() {
_helperAnnotateAsPure = function () {
return data;

@@ -33,3 +33,3 @@ };

t = function t() {
t = function () {
return data;

@@ -86,3 +86,5 @@ };

const parentPath = path.parentPath;
const {
parentPath
} = path;

@@ -92,3 +94,5 @@ if (parentPath.isMemberExpression() && t().isIdentifier(parentPath.node.property, {

})) {
const bindCall = parentPath.parentPath;
const {
parentPath: bindCall
} = parentPath;
return bindCall.isCallExpression() && bindCall.node.arguments.length === 1 && t().isThisExpression(bindCall.node.arguments[0]) && bindCall.parentPath.isCallExpression({

@@ -95,0 +99,0 @@ callee: bindCall.node

{
"name": "@babel/helper-remap-async-to-generator",
"version": "7.0.0-beta.47",
"version": "7.0.0-beta.48",
"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.47",
"@babel/helper-wrap-function": "7.0.0-beta.47",
"@babel/template": "7.0.0-beta.47",
"@babel/traverse": "7.0.0-beta.47",
"@babel/types": "7.0.0-beta.47"
"@babel/helper-annotate-as-pure": "7.0.0-beta.48",
"@babel/helper-wrap-function": "7.0.0-beta.48",
"@babel/template": "7.0.0-beta.48",
"@babel/traverse": "7.0.0-beta.48",
"@babel/types": "7.0.0-beta.48"
}
}
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