Socket
Socket
Sign inDemoInstall

buble

Package Overview
Dependencies
4
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.0 to 0.8.1

4

CHANGELOG.md
# 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 @@

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc