Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
6
Versions
81
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.12.13 to 7.13.0

4

lib/index.js

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

function _default(path, helpers) {
function _default(path, helpers, noNewArrows) {
path.traverse(awaitVisitor, {

@@ -48,3 +48,3 @@ wrapAwait: helpers.wrapAwait

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

@@ -51,0 +51,0 @@

{
"name": "@babel/helper-remap-async-to-generator",
"version": "7.12.13",
"version": "7.13.0",
"description": "Helper function to remap async functions to generators",

@@ -18,8 +18,8 @@ "repository": {

"@babel/helper-annotate-as-pure": "^7.12.13",
"@babel/helper-wrap-function": "^7.12.13",
"@babel/types": "^7.12.13"
"@babel/helper-wrap-function": "^7.13.0",
"@babel/types": "^7.13.0"
},
"devDependencies": {
"@babel/traverse": "7.12.13"
"@babel/traverse": "7.13.0"
}
}
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