Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
25
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.0.0-beta.32 to 7.0.0-beta.33

7

lib/index.js

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

var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure"));
var t = _interopRequireWildcard(require("@babel/types"));

@@ -70,2 +72,7 @@

(0, _helperWrapFunction.default)(path, helpers.wrapAsync);
var isProperty = path.isObjectMethod() || path.isClassMethod() || path.parentPath.isObjectProperty() || path.parentPath.isClassProperty();
if (!isProperty) {
(0, _helperAnnotateAsPure.default)(path.isDeclaration() ? path.get("declarations.0.init") : path);
}
}

11

package.json
{
"name": "@babel/helper-remap-async-to-generator",
"version": "7.0.0-beta.32",
"version": "7.0.0-beta.33",
"description": "Helper function to remap async functions to generators",

@@ -9,7 +9,8 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-remap-async-to-generator",

"dependencies": {
"@babel/helper-wrap-function": "7.0.0-beta.32",
"@babel/template": "7.0.0-beta.32",
"@babel/traverse": "7.0.0-beta.32",
"@babel/types": "7.0.0-beta.32"
"@babel/helper-annotate-as-pure": "7.0.0-beta.33",
"@babel/helper-wrap-function": "7.0.0-beta.33",
"@babel/template": "7.0.0-beta.33",
"@babel/traverse": "7.0.0-beta.33",
"@babel/types": "7.0.0-beta.33"
}
}
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