Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
55
Maintainers
4
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.22.17 to 7.22.20

2

lib/index.js

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

const isProperty = path.isObjectMethod() || path.isClassMethod() || path.parentPath.isObjectProperty() || path.parentPath.isClassProperty();
if (!isProperty && !isIIFE && path.isCallExpression()) {
if (!isProperty && !isIIFE && path.isExpression()) {
(0, _helperAnnotateAsPure.default)(path);

@@ -41,0 +41,0 @@ }

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

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

"@babel/helper-annotate-as-pure": "^7.22.5",
"@babel/helper-environment-visitor": "^7.22.5",
"@babel/helper-wrap-function": "^7.22.17"
"@babel/helper-environment-visitor": "^7.22.20",
"@babel/helper-wrap-function": "^7.22.20"
},
"devDependencies": {
"@babel/core": "^7.22.17",
"@babel/traverse": "^7.22.17"
"@babel/core": "^7.22.20",
"@babel/traverse": "^7.22.20"
},

@@ -26,0 +26,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc