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

regenerator-transform

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regenerator-transform - npm Package Compare versions

Comparing version 0.14.0 to 0.14.1

LICENSE

7

lib/visit.js

@@ -141,3 +141,8 @@ /**

outerBody.push(t.returnStatement(wrapCall));
node.body = t.blockStatement(outerBody);
node.body = t.blockStatement(outerBody); // We injected a few new variable declarations (for every hoisted var),
// so we need to add them to the scope.
path.get("body.body").forEach(function (p) {
return p.scope.registerDeclaration(p);
});
var oldDirectives = bodyBlockPath.node.directives;

@@ -144,0 +149,0 @@

8

package.json

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

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

@@ -36,6 +36,6 @@ "keywords": [

"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.1.6",
"@babel/preset-env": "^7.1.6"
"@babel/cli": "7.5.5",
"@babel/core": "7.5.5",
"@babel/preset-env": "7.5.5"
}
}

@@ -159,2 +159,5 @@ /**

node.body = t.blockStatement(outerBody);
// We injected a few new variable declarations (for every hoisted var),
// so we need to add them to the scope.
path.get("body.body").forEach(p => p.scope.registerDeclaration(p));

@@ -161,0 +164,0 @@ const oldDirectives = bodyBlockPath.node.directives;

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