Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
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.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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc