Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-async-to-generator

Package Overview
Dependencies
Maintainers
5
Versions
41
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.0.0-beta.0 to 7.0.0-beta.1

6

lib/index.js

@@ -11,8 +11,2 @@ "use strict";

if (!path.node.async || path.node.generator) return;
var programScope = path.scope.getProgramParent();
if (programScope.hasBinding("Promise", true)) {
programScope.rename("Promise");
}
(0, _babelHelperRemapAsyncToGenerator2.default)(path, state.file, {

@@ -19,0 +13,0 @@ wrapAsync: state.addHelper("asyncToGenerator")

6

package.json
{
"name": "babel-plugin-transform-async-to-generator",
"version": "7.0.0-beta.0",
"version": "7.0.0-beta.1",
"description": "Turn async functions into ES2015 generators",

@@ -12,8 +12,8 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-async-to-generator",

"dependencies": {
"babel-helper-remap-async-to-generator": "7.0.0-beta.0",
"babel-helper-remap-async-to-generator": "7.0.0-beta.1",
"babel-plugin-syntax-async-functions": "7.0.0-beta.0"
},
"devDependencies": {
"babel-helper-plugin-test-runner": "7.0.0-beta.0"
"babel-helper-plugin-test-runner": "7.0.0-beta.1"
}
}
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