@babel/plugin-transform-async-to-generator
Advanced tools
Comparing version 7.16.8 to 7.17.12
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4290
49