Socket
Socket
Sign inDemoInstall

regenerator-transform

Package Overview
Dependencies
1
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.2 to 0.12.3

2

lib/hoist.js

@@ -88,3 +88,3 @@ "use strict";

var assignment = t.expressionStatement(t.assignmentExpression("=", node.id, t.functionExpression(node.id, node.params, node.body, node.generator, node.expression)));
var assignment = t.expressionStatement(t.assignmentExpression("=", node.id, t.functionExpression(path.scope.generateUidIdentifierBasedOnNode(node), node.params, node.body, node.generator, node.expression)));

@@ -91,0 +91,0 @@ if (path.parentPath.isBlockStatement()) {

@@ -5,3 +5,3 @@ {

"description": "Explode async and generator functions into a state machine.",
"version": "0.12.2",
"version": "0.12.3",
"main": "lib/index.js",

@@ -8,0 +8,0 @@ "keywords": [

@@ -90,3 +90,3 @@ /**

t.functionExpression(
node.id,
path.scope.generateUidIdentifierBasedOnNode(node),
node.params,

@@ -93,0 +93,0 @@ node.body,

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