Comparing version 0.10.1 to 0.10.2
# buble changelog | ||
## 0.10.2 | ||
* Don't add closing quote to JSX component without attributes ([#58](https://gitlab.com/Rich-Harris/buble/issues/58)) | ||
## 0.10.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "buble", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "The blazing fast, batteries-included ES2015 compiler", | ||
@@ -5,0 +5,0 @@ "main": "dist/buble.umd.js", |
@@ -43,4 +43,7 @@ import Node from '../Node.js'; | ||
code.insertLeft( this.end, this.children.length && code.original[ this.end ] !== '\n' ? ` )` : `)` ); | ||
const hasChildren = this.children.length; | ||
const followedByNewline = code.original[ this.end ] !== '\n'; | ||
code.insertLeft( this.end, hasChildren && followedByNewline ? ` )` : `)` ); | ||
} | ||
} |
@@ -25,3 +25,3 @@ import Node from '../Node.js'; | ||
} else { | ||
code.insertLeft( this.name.end, `', null` ); | ||
code.insertLeft( this.name.end, html ? `', null` : `, null` ); | ||
c = this.name.end; | ||
@@ -28,0 +28,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
1452776
74
13371
0
94