Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 8.0.0-alpha.11 to 8.0.0-alpha.12

2

lib/index.d.ts
import * as _babel_core from '@babel/core';
import { PluginPass } from '@babel/core';
declare const _default: (api: _babel_core.PluginAPI, options: {}, dirname: string) => _babel_core.PluginObject<PluginPass<{}>>;
declare const _default: (api: _babel_core.PluginAPI, options: object, dirname: string) => _babel_core.PluginObject<object & PluginPass>;
//# sourceMappingURL=index.d.ts.map
export { _default as default };
import { declare } from '@babel/helper-plugin-utils';
import remapAsyncToGenerator from '@babel/helper-remap-async-to-generator';
import { template, types, traverse } from '@babel/core';
import environmentVisitor from '@babel/helper-environment-visitor';
import { template, types } from '@babel/core';
import { visitors } from '@babel/traverse';

@@ -76,4 +76,4 @@ const buildForAwait = template(`

var index = declare(api => {
api.assertVersion("8.0.0-alpha.11");
const yieldStarVisitor = traverse.visitors.merge([{
api.assertVersion("8.0.0-alpha.12");
const yieldStarVisitor = visitors.environmentVisitor({
ArrowFunctionExpression(path) {

@@ -89,4 +89,4 @@ path.skip();

}
}, environmentVisitor]);
const forAwaitVisitor = traverse.visitors.merge([{
});
const forAwaitVisitor = visitors.environmentVisitor({
ArrowFunctionExpression(path) {

@@ -125,3 +125,3 @@ path.skip();

}
}, environmentVisitor]);
});
const visitor = {

@@ -128,0 +128,0 @@ Function(path, state) {

{
"name": "@babel/plugin-transform-async-generator-functions",
"version": "8.0.0-alpha.11",
"version": "8.0.0-alpha.12",
"description": "Turn async generator functions into ES2015 generators",

@@ -20,12 +20,12 @@ "repository": {

"dependencies": {
"@babel/helper-environment-visitor": "^8.0.0-alpha.11",
"@babel/helper-plugin-utils": "^8.0.0-alpha.11",
"@babel/helper-remap-async-to-generator": "^8.0.0-alpha.11"
"@babel/helper-plugin-utils": "^8.0.0-alpha.12",
"@babel/helper-remap-async-to-generator": "^8.0.0-alpha.12",
"@babel/traverse": "^8.0.0-alpha.12"
},
"peerDependencies": {
"@babel/core": "^8.0.0-alpha.11"
"@babel/core": "^8.0.0-alpha.12"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.11",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.11",
"@babel/core": "^8.0.0-alpha.12",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.12",
"babel-plugin-polyfill-corejs3": "^0.10.4",

@@ -32,0 +32,0 @@ "core-js-pure": "^3.30.2"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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