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

regenerator-6to5

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regenerator-6to5 - npm Package Compare versions

Comparing version 0.8.9-7 to 0.8.9-8

13

lib/visit.js

@@ -71,2 +71,13 @@ /**

var outerBody = [];
var bodyBlock = path.value.body;
bodyBlock.body = bodyBlock.body.filter(function (node) {
if (node && node._blockHoist != null) {
outerBody.push(node);
return false;
} else {
return true;
}
});
var innerFnId = b.identifier(node.id.name + "$");

@@ -79,4 +90,2 @@ var contextId = path.scope.declareTemporary("context$");

var outerBody = [];
if (vars && vars.declarations.length > 0) {

@@ -83,0 +92,0 @@ outerBody.push(vars);

2

package.json

@@ -19,3 +19,3 @@ {

],
"version": "0.8.9-7",
"version": "0.8.9-8",
"homepage": "http://github.com/facebook/regenerator",

@@ -22,0 +22,0 @@ "repository": {

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