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

shift-codegen

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shift-codegen - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

14

dist/minimal-codegen.js

@@ -485,14 +485,4 @@ "use strict";

var leftP = left;
switch (node.left.type) {
case "VariableDeclaration":
leftP = noIn(markContainsIn(left));
break;
case "AssignmentTargetIdentifier":
if (node.left.name === "let") {
leftP = paren(left);
}
break;
}
return (0, _objectAssign2.default)(seq(t("for"), paren(seq(leftP, t("in"), right)), body), { endsWithMissingElse: body.endsWithMissingElse });
left = node.left.type === "VariableDeclaration" ? noIn(markContainsIn(left)) : left;
return (0, _objectAssign2.default)(seq(t("for"), paren(seq(left.startsWithLet ? paren(left) : left, t("in"), right)), body), { endsWithMissingElse: body.endsWithMissingElse });
}

@@ -499,0 +489,0 @@ }, {

2

package.json
{
"name": "shift-codegen",
"version": "5.0.3",
"version": "5.0.4",
"description": "code generator for Shift format ASTs",

@@ -5,0 +5,0 @@ "author": "Shape Security Labs",

Sorry, the diff of this file is too big to display

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