shift-codegen
Advanced tools
Comparing version 7.0.0 to 7.0.1
@@ -546,3 +546,9 @@ 'use strict'; | ||
return (0, _objectAssign2.default)(seq(t('for'), paren(seq(init ? noIn(markContainsIn(init)) : empty(), semi(), test || empty(), semi(), update || empty())), body), { | ||
if (init) { | ||
if (init.startsWithLetSquareBracket) { | ||
init = paren(init); | ||
} | ||
init = noIn(markContainsIn(init)); | ||
} | ||
return (0, _objectAssign2.default)(seq(t('for'), paren(seq(init ? init : empty(), semi(), test || empty(), semi(), update || empty())), body), { | ||
endsWithMissingElse: body.endsWithMissingElse | ||
@@ -549,0 +555,0 @@ }); |
{ | ||
"name": "shift-codegen", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "code generator for Shift format ASTs", | ||
@@ -5,0 +5,0 @@ "author": "Shape Security", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184375
3380