Socket
Socket
Sign inDemoInstall

buble

Package Overview
Dependencies
14
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    buble

The blazing fast, batteries-included ES2015 compiler


Version published
Maintainers
3
Install size
6.90 MB
Created

Changelog

Source

0.19.0 (2018-02-10)

Enhancements

  • Add support information for new environments
  • Add (pass-thru) support for async generators and for-async-of
  • Add support for dynamic import (#102)
  • Add support for JSX fragments (#62)
  • Add unpkg build and transpile browser build for older environments (#93)
  • Reuse tagged template quasis (#67)
  • Transpile trailing commas in new expressions (#63)
  • Add support for destructuring in for-in and for-of loop heads
  • Add support for destructuring in catch clause params
  • Add support for rest properties in assignments

Fixes

  • Don't remove commas in comments after the last argument (#89)
  • Support transformations involving aliasing of variables in block scopes (#60)
  • Evaluate expression only once with inline default pattern elements
  • Fix nested object and array patterns, rest properties and default values in for loop heads
  • Only put own properties in rest properties
  • Improve declaration of helper variables
  • Allow modification of mutable variables that shadow a const before declaration (#59)
  • Correctly detect modification of immutable variables through destructuring assignments
  • In object methods, support destructuring declarations initialized with a variable having the same name as the method (#86)
  • Fix properties with string literal keys after computed properties (#91)
  • Fix methods after computed properties (#101)
  • Fix short-hand generator methods
  • Fix template literals in array after spread element (#105)
  • Fix arrow functions in array after spread element (#100)
  • Fix arrow functions in new expression after spread element (#100)
  • Restore decoding HTML entities in JSX (#104)
  • Correct various entries in support matrix

Readme

Source

Bublé

The blazing fast, batteries-included ES2015 compiler

Quickstart

Via the command line...

npm install -g buble
buble input.js > output.js

...or via the JavaScript API:

var buble = require( 'buble' );
var result = buble.transform( source ); // { code: ..., map: ... }

License

MIT

Keywords

FAQs

Last updated on 09 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc