babel-generator
Advanced tools
Comparing version 7.0.0-beta.0 to 7.0.0-beta.1
@@ -63,3 +63,5 @@ "use strict"; | ||
} else { | ||
this.startTerminatorless(true); | ||
this.print(node.argument, node); | ||
this.endTerminatorless(); | ||
this.token(node.operator); | ||
@@ -66,0 +68,0 @@ } |
@@ -207,4 +207,5 @@ "use strict"; | ||
var cha = str[i]; | ||
var chaPost = str[i + 1]; | ||
if (cha === "\n" || cha === "/") { | ||
if (cha === "\n" || cha === "/" && (chaPost === "/" || chaPost === "*")) { | ||
this.token("("); | ||
@@ -211,0 +212,0 @@ this.indent(); |
{ | ||
"name": "babel-generator", | ||
"version": "7.0.0-beta.0", | ||
"version": "7.0.0-beta.1", | ||
"description": "Turns an AST into code.", | ||
@@ -14,4 +14,4 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"dependencies": { | ||
"babel-messages": "7.0.0-beta.0", | ||
"babel-types": "7.0.0-beta.0", | ||
"babel-messages": "7.0.0-beta.1", | ||
"babel-types": "7.0.0-beta.1", | ||
"jsesc": "^2.5.1", | ||
@@ -23,5 +23,5 @@ "lodash": "^4.2.0", | ||
"devDependencies": { | ||
"babel-helper-fixtures": "7.0.0-beta.0", | ||
"babel-helper-fixtures": "7.0.0-beta.1", | ||
"babylon": "^7.0.0-beta.22" | ||
} | ||
} |
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
104875
3341
+ Addedbabel-messages@7.0.0-beta.1(transitive)
+ Addedbabel-types@7.0.0-beta.1(transitive)
- Removedbabel-messages@7.0.0-beta.0(transitive)
- Removedbabel-types@7.0.0-beta.0(transitive)
Updatedbabel-messages@7.0.0-beta.1
Updatedbabel-types@7.0.0-beta.1