Socket
Socket
Sign inDemoInstall

buble

Package Overview
Dependencies
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buble - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

5

CHANGELOG.md
# buble changelog
## 0.6.5
* Fix `super()` call in subclass expression ([#32](https://gitlab.com/Rich-Harris/buble/issues/32))
* Less defensive template string parenthesising ([!9](https://gitlab.com/Rich-Harris/buble/merge_requests/9))
## 0.6.4

@@ -4,0 +9,0 @@

2

package.json
{
"name": "buble",
"version": "0.6.4",
"version": "0.6.5",
"description": "The blazing fast, batteries-included ES2015 compiler",

@@ -5,0 +5,0 @@ "main": "dist/buble.umd.js",

@@ -1,2 +0,1 @@

# Bublé

@@ -17,3 +16,3 @@

Unlike Babel, 100% spec compliance isn't an over-riding goal – for example it won't add runtime checks to ensure that you're not instantiating classes without `new`. (Complete spec compliance is impossible anyway, as some ES2015 features can't be transpiled.) You'll also need to bring your own polyfill (e.g. [es6-shim](https://github.com/es-shims/es6-shim)). You have been warned!
Unlike Babel, 100% spec compliance isn't an over-riding goal – for example it won't add runtime checks to ensure that you're not instantiating classes without `new`. (Complete spec compliance is impossible anyway, as some ES2015 features can't be transpiled.) You'll also need to bring your own polyfill (e.g. [es6-shim](https://github.com/es-shims/es6-shim)). **You have been warned!**

@@ -20,0 +19,0 @@

@@ -11,3 +11,3 @@ import Node from '../Node.js';

const parentClass = this.findNearest( 'ClassBody' ).parent;
this.superClassName = parentClass.superClass && parentClass.superClass.name;
this.superClassName = parentClass.superClass && (parentClass.superClass.name || 'superclass');

@@ -14,0 +14,0 @@ if ( !this.superClassName ) throw new CompileError( this, 'super used in base class' );

@@ -30,3 +30,4 @@ import Node from '../Node.js';

const parenthesise = this.parent.type !== 'AssignmentExpression' &&
const parenthesise = ( this.quasis.length !== 1 || this.expressions.length !== 0 ) &&
this.parent.type !== 'AssignmentExpression' &&
this.parent.type !== 'VariableDeclarator' &&

@@ -33,0 +34,0 @@ ( this.parent.type !== 'BinaryExpression' || this.parent.operator !== '+' );

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc