Skip to content

Latest commit

 

History

History
190 lines (160 loc) · 9.67 KB

CHANGELOG.md

File metadata and controls

190 lines (160 loc) · 9.67 KB

Babili v0.0.8: Changelog for 2016-10-31

  • babili: 0.0.7 => 0.0.8
  • babel-preset-babili: 0.0.5 => 0.0.8
  • babel-helper-to-multiple-sequence-expressions: 0.0.1 => 0.0.2
  • babel-plugin-minify-dead-code-elimination: 0.0.4 => 0.1.0
  • babel-plugin-minify-mangle-names: 0.0.3 => 0.0.4
  • babel-plugin-minify-numeric-literals: 0.0.1 (new)
  • babel-plugin-minify-simplify: 0.0.3 => 0.0.4
  • babel-plugin-minify-type-constructors: 0.0.1 => 0.0.2
  • babel-plugin-transform-regexp-constructors: 0.0.1 (new)

🚀 New Feature

  • babel-plugin-minify-numeric-literals, babel-preset-babili
    [10000, 0x000001, 0o23420, 0b10011100010000]
    // =>
    [1e4, 1, 1e4, 1e4]
  • babel-plugin-transform-regexp-constructors
    • #196 Implemented transform-regexp-constructors plugin. (@shinew)
    var x = new RegExp('\\w+\\s')
    // =>
    var x = /\w+\s/
  • babel-plugin-minify-dead-code-elimination
    function foo(unused) { return 1 }
    // =>
    function foo() { return 1 }
    // To prevent this for code depending on foo.length, use keepFnArgs: true
    {
      plugins: [ ["minify-dead-code-elimination", { keepFnArgs: true }] ]
    }

🐛 Bug Fix

  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-simplify
    • #220 Require blocks around single block-scope declaration. (@boopathi)
    • #202 Fix for merging of vars to successive for loop. (@boopathi)
  • babel-helper-to-multiple-sequence-expressions, babel-plugin-minify-simplify
    • #216 Fix undefined in multiple sequence expressions (close #208). (@boopathi)
  • babel-plugin-minify-type-constructors
    • #215 Fix bug where invalid array length throws (close #206). (@boopathi)
  • babel-plugin-minify-mangle-names

🏠 Internal

  • Other
  • babel-plugin-minify-dead-code-elimination
  • babel-plugin-minify-mangle-names
    • #224 Add test for labels shadow in mangle (close #185). (@boopathi)
  • babel-preset-babili
    • #211 Adds babel-plugin-transform-regexp-constructors to preset.. (@shinew)
  • babel-plugin-transform-regexp-constructors, babel-preset-babili
    • #199 Integrated babel-plugin-transform-regexp-constructors into preset.. (@shinew)

Commiters: 5

Changelog for 2016-10-07

  • babel-plugin-minify-dead-code-elimination@0.0.4
  • babel-plugin-minify-guarded-expressions@0.0.3
  • babel-preset-babili@0.0.5
  • babili@0.0.7

Bug Fix

  • babel-plugin-minify-guarded-expressions
  • #179 Fix guarded expressions being utilized elsewhere. Fixes #171,#174,#176 (@boopathi)

Deps

  • babel-plugin-dead-code-elimination
  • #180 Use modularized lodash. (@boopathi)

Changelog for 2016-09-30

  • babel-plugin-minify-dead-code-elimination@0.0.3
  • babel-preset-babili@0.0.4
  • babili@0.0.6

Bug Fix

  • babili

Should fix windows support for the cli.

  • babel-plugin-minify-dead-code-elimination
    • #155 Fix DCE for ArrayPatterns and ObjectPatterns (#155) (@boopathi)
// bail out when destructuring with a variable
const me = lyfe => {
  const [swag] = lyfe;
  return swag;
};
// var hoisting but not let/const
function foo() {
  a = 1;
  return a;
  var a;
}

Changelog for 2016-09-20

  • babel-plugin-minify-dead-code-elimination@0.0.2
  • babel-plugin-minify-guarded-expressions@0.0.2
  • babel-plugin-minify-mangle-names@0.0.3
  • babel-plugin-minify-simplify@0.0.3
  • babel-plugin-transform-merge-sibling-variables@0.0.2
  • babel-preset-babili@0.0.3
  • babili@0.0.5

Bug Fix

  • babel-plugin-minify-guarded-expressions
  • babel-plugin-transform-merge-sibling-variables
  • babel-plugin-minify-mangle-names
  • babel-plugin-minify-dead-code-elimination
    • ba50db - Ensure parent node has declarations

Docs

  • Other

Internal

  • babel-plugin-minify-simplify
    • #143 Satisfy the "space-infix-ops" eslint rule. (@gigabo)
  • babel-plugin-minify-mangle-names

Changelog for 2016-08-31

Bug Fix

  • babel-preset-babili
    • #135 update older packages. (@hzoo)
    • #125 Revert "Throw upgrade error when babel version is less than 6.14.0". (@kangax)
    • #116 Throw upgrade error when babel version is less than 6.14.0. (@boopathi)
  • babili
  • babel-plugin-minify-mangle-names, babel-preset-babili
    • #123 Add fix for other types of nodes in referencePaths. (@boopathi)
  • babel-plugin-minify-simplify
    • #119 Fix bug - Conditionals transformation for impure paths. (@boopathi)

Docs

  • Other
  • babel-plugin-minify-dead-code-elimination, babel-plugin-minify-mangle-names
  • babel-plugin-minify-flip-comparisons
    • #110 minify-flip-comparisons: Explain why this optimization makes sense. (@mathiasbynens)

Chore

Internal

  • babel-plugin-minify-mangle-names