Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
55
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.16.8 to 7.18.6

11

lib/index.js

@@ -12,2 +12,6 @@ "use strict";

var _helperEnvironmentVisitor = require("@babel/helper-environment-visitor");
var _core = require("@babel/core");
var _t = require("@babel/types");

@@ -22,4 +26,5 @@

} = _t;
const awaitVisitor = {
Function(path) {
const awaitVisitor = _core.traverse.visitors.merge([{
ArrowFunctionExpression(path) {
path.skip();

@@ -35,3 +40,3 @@ },

};
}, _helperEnvironmentVisitor.default]);

@@ -38,0 +43,0 @@ function _default(path, helpers, noNewArrows, ignoreFunctionLength) {

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

@@ -17,13 +17,18 @@ "repository": {

"dependencies": {
"@babel/helper-annotate-as-pure": "^7.16.7",
"@babel/helper-wrap-function": "^7.16.8",
"@babel/types": "^7.16.8"
"@babel/helper-annotate-as-pure": "^7.18.6",
"@babel/helper-environment-visitor": "^7.18.6",
"@babel/helper-wrap-function": "^7.18.6",
"@babel/types": "^7.18.6"
},
"devDependencies": {
"@babel/traverse": "^7.16.8"
"@babel/traverse": "^7.18.6"
},
"peerDependencies": {
"@babel/core": "^7.0.0"
},
"engines": {
"node": ">=6.9.0"
},
"author": "The Babel Team (https://babel.dev/team)"
"author": "The Babel Team (https://babel.dev/team)",
"type": "commonjs"
}
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