Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-async-to-generator

Package Overview
Dependencies
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-async-to-generator - npm Package Compare versions

Comparing version 7.16.8 to 7.17.12

6

lib/index.js

@@ -17,2 +17,4 @@ "use strict";

var _default = (0, _helperPluginUtils.declare)((api, options) => {
var _api$assumption, _api$assumption2;
api.assertVersion(7);

@@ -23,4 +25,4 @@ const {

} = options;
const noNewArrows = api.assumption("noNewArrows");
const ignoreFunctionLength = api.assumption("ignoreFunctionLength");
const noNewArrows = (_api$assumption = api.assumption("noNewArrows")) != null ? _api$assumption : true;
const ignoreFunctionLength = (_api$assumption2 = api.assumption("ignoreFunctionLength")) != null ? _api$assumption2 : false;

@@ -27,0 +29,0 @@ if (method && module) {

{
"name": "@babel/plugin-transform-async-to-generator",
"version": "7.16.8",
"version": "7.17.12",
"description": "Turn async functions into ES2015 generators",

@@ -21,3 +21,3 @@ "repository": {

"@babel/helper-module-imports": "^7.16.7",
"@babel/helper-plugin-utils": "^7.16.7",
"@babel/helper-plugin-utils": "^7.17.12",
"@babel/helper-remap-async-to-generator": "^7.16.8"

@@ -29,3 +29,3 @@ },

"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/core": "^7.17.12",
"@babel/helper-plugin-test-runner": "^7.16.7"

@@ -32,0 +32,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