@babel/generator
Advanced tools
Comparing version 7.4.4 to 7.5.0
@@ -495,3 +495,3 @@ "use strict"; | ||
iterator: () => { | ||
if (props.length !== 1) { | ||
if (props.length !== 1 || node.inexact) { | ||
this.token(","); | ||
@@ -505,2 +505,13 @@ this.space(); | ||
if (node.inexact) { | ||
this.indent(); | ||
this.token("..."); | ||
if (props.length) { | ||
this.newline(); | ||
} | ||
this.dedent(); | ||
} | ||
if (node.exact) { | ||
@@ -507,0 +518,0 @@ this.token("|}"); |
{ | ||
"name": "@babel/generator", | ||
"version": "7.4.4", | ||
"version": "7.5.0", | ||
"description": "Turns an AST into code.", | ||
@@ -17,3 +17,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
"dependencies": { | ||
"@babel/types": "^7.4.4", | ||
"@babel/types": "^7.5.0", | ||
"jsesc": "^2.5.1", | ||
@@ -26,5 +26,5 @@ "lodash": "^4.17.11", | ||
"@babel/helper-fixtures": "^7.4.4", | ||
"@babel/parser": "^7.4.4" | ||
"@babel/parser": "^7.5.0" | ||
}, | ||
"gitHead": "2c88694388831b1e5b88e4bbed6781eb2be1edba" | ||
"gitHead": "49da9a07c81156e997e60146eb001ea77b7044c4" | ||
} |
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
110450
3752
Updated@babel/types@^7.5.0