buble
Advanced tools
Comparing version 0.8.0 to 0.8.1
# buble changelog | ||
## 0.8.1 | ||
* Fix `export default class A extends B` (broken in 0.8.0) ([!22](https://gitlab.com/Rich-Harris/buble/merge_requests/22)) | ||
## 0.8.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "buble", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "The blazing fast, batteries-included ES2015 compiler", | ||
@@ -5,0 +5,0 @@ "main": "dist/buble.umd.js", |
@@ -14,7 +14,6 @@ import Node from '../Node.js'; | ||
if ( this.declaration.type === 'ClassDeclaration' ) { | ||
code.insertLeft( this.end, `\n\n${this.getIndentation()}` ); | ||
code.move( this.start, this.declaration.start, this.end ); | ||
code.insertRight( this.end, `${this.declaration.id.name};` ); | ||
code.remove( this.start, this.declaration.start ); | ||
code.insertRight( this.end, `\n\n${this.getIndentation()}export default ${this.declaration.id.name};` ); | ||
} | ||
} | ||
} |
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
1235163
11200