An open API service for software projects hosted on Open Collective.

github.com/babel/minify

:scissors: An ES6+ aware minifier based on the Babel toolchain (beta)
https://github.com/babel/minify

Fix linter

3b1c5392670528e56e739a2796d7833c05cc4ae4 authored over 8 years ago
Add support for Babili options (doesn't work coz we need to publish it) and automatic success check (pretty primitive for now but we'll see)

d04495c2190e1ef7555fdf9241f36f167c5a6dd7 authored over 8 years ago
Add draft-js

155a5c13110ada54408cea068b9f18d244ed6b45 authored over 8 years ago
Add remaining modules

adcf860f05f37c8a54a53959f1e3bc95763d407b authored over 8 years ago
Add submodules

e3f8feb96d33066b70d9d378bd2e5dfcd7c8f885 authored over 8 years ago
Fix linter

83b3ec2ff409e6e5bcef204d35ef1a3f842b0ba0 authored over 8 years ago
Add html-minifier

9becabc86dc133d6eb0b30e9a49bba26b856710f authored over 8 years ago
Reorganize harness so that tests can run consecutively

ea3c9c9c1d3c420906f6e150c1078a1a6e7fc2b6 authored over 8 years ago
Add submodules

9de196fa8b58e824084691c3235e4fec114cd556 authored over 8 years ago
Remove jsesc (#490)

* Make jsesc isScriptContext optional

+ Adds option isScriptContext to constant folding plugi...

2af84b62a5decccc873f4ef00fbd3124b5101dcb authored over 8 years ago
chore(deps): Upgrade babel-core version

b9531811a1bb94394c7a0b58a1763b4a2fcdb17a authored over 8 years ago
Use Yarn (#488)

* Add yarn.lock

* Use yarn on travis

b42a9d8df136a2c18fea44c9dc09b450f0282cfa authored over 8 years ago
Create benchmark_cache dir if it doesn't exist (#489)

c341ff0cd5954084029d63fcbdd34af85055a9e9 authored over 8 years ago
chore(deps): Upgrade dev deps

f2e57e1882363a8e95cbd99175afc201bb8ea288 authored over 8 years ago
handle default statements with fallthrough properly [fix #423] (#482)

* handle default statements with fallthrough properly [fix #423]

* add multiple fallthrough t...

88ad84004fefee24e10e04255236d7432744f092 authored over 8 years ago
fix builtins plugins from leaking vars (#472)

* fix builtins plugins from leaking vars

* use getFunctionParent instead of traversal

* ru...

6dabe1e92246462f26f163959aef81b70355bb4a authored over 8 years ago
Update Contributing.md [skip ci] (#480)

* Update Contributing.md [skip ci]

* Fix wording [skip ci]

* Remove $ [skip ci]

2379fc187c340a90f9531c7ce08f4135cb1e1e4f authored over 8 years ago
🚀 Prettier (#478)

* Add Prettier

* Apply prettier

* Change printwidth to 80

* Apply printwidth 80

b014c3f46aaec5446f914599140c8f259ac35267 authored over 8 years ago
chore(deps): Upgrade deps

0b58697890c1f12e99b301ae48d154cf1da09ce7 authored over 8 years ago
Enable code coverage (#474)

* Enable code coverage

* Fix `ci` command

* Fix codecov

* Update package.json

ecb1a92bfd1e1f029ea2f9f03ff907f289408fdb authored over 8 years ago
Update Benchmarks

84ba7e2f87b13c952ce60290cc0cf94b365e11bb authored over 8 years ago
Fix Benchmark scripts (#470)

* Fix Benchmark scripts

* Add Printer

15de3d2394508c1c13cb058bd1489a3e3471a3ca authored over 8 years ago
Add @vigneshshanmugam to Team [skip ci]

6668cfa6faba5fe3ea4e745662acb4b3ba3cbb1e authored over 8 years ago
Update CONTRIBUTING.md [skip ci] (#475)

42852f25815c82dbc5adf003269a7efd4ca65497 authored over 8 years ago
Deopt number like properties (fix #464) (#466)

c545d0a6b858e64aca5b46af85847985352ba6e2 authored over 8 years ago
Use absolute paths in CONTRIBUTING.md (#462)

[skip ci]

ebb9f2942df33daaecd066bc41bd54ae5493bfb9 authored over 8 years ago
version badge [skip ci]

12be8c39471280caf488f3fecd1b5103ccbd65c1 authored over 8 years ago
Gulp Babili issue (#454)

* fix gulp babili options for comments

* add test case

* fix lint issue

* better test case

269a8f92bbdaa45f73263a886002f4a1e6564c15 authored over 8 years ago
chore(changelog): Add Changelog for 0.0.12 [skip ci] (#453)

9663c12b37f73bf08ea06c2265c081216bc0934c authored over 8 years ago
chore(lerna): update config

d41e67e8cbb6bc0597922770627b6eb721d447f3 authored over 8 years ago
Gulp babili (#318)

* Add gulp-babili

* 0.0.1 first version

* Separate babili opts from gulp-plugin opts

* ...

bd6887a64016c88385ab9badab9010581891b32d authored over 8 years ago
chore(deps): Upgrade deps

066316616c700514a9434b86e5c3dc7fc5deba6a authored over 8 years ago
Minor optimization for handling blacklisted names (#446)

6d13e6b259729feda8618e6d47e590e4a29e9b0b authored over 8 years ago
Remove minify-empty-function (#444)

* Remove minify-empty-function

* Update README

ca9c3fe721b0bbdf195411f16a29f08124283d2c authored over 8 years ago
chore(deps): Upgrade Dependencies - jest options and fix lint

f7db87d2ba6c38a0c0c15455da13e2368cf6ff31 authored over 8 years ago
Deopt do..while stmts with break (#433)

* Deopt do..while stmts with break - (fix #419)

* Add continue statement

19d740cfb292164274f9bc048099b8e1bc2adaf4 authored over 8 years ago
if_return - deopt when ref loses scope (#408)

* if_return - deopt when ref loses scope - fix #399

* Add a temporary fix for binding not fou...

4ef735e451347eed49920632154f77c2363d7d24 authored over 8 years ago
chore(package): add description to babili package (#441)

this info is exposed on yarnpkg.com, npmjs.com and others. If it's not filled in, the first part...

2f627bbc527d9d47827997a3ad1feb133c2879d7 authored over 8 years ago
Remove redundant `=== true` from conditional (#438)

c315cfddc5087301f3a299c05a754c9fda09b5a2 authored over 8 years ago
Add Debugging guidelines [skip ci] (#437)

* Add Debugging guidelines [skip ci]

* syntax errors [skip ci]

* Update guidelines [skip c...

b51b2c4079128e1a00e7ce9f1abaabf4868e7b83 authored over 8 years ago
Fix remove console.* statements (#421)

* Fix remove console.* statements

* ES5ify arrows

* Add call and apply

* Remove early e...

1407fb7c7714aadb5c1aa19ea93cce32b6e9c69a authored over 8 years ago
Mark evalScopes for DCE (Fix #366)

As DCE is a separate pass and we recalculate path and scope by clearing
the path and scope cache...

9ebc3e15ba6873130144080922f125b5916b6991 authored over 8 years ago
Fix minify-builtins memberExpression name

31abdc28c2d5a860e74d2f56c0d89678702bc617 authored over 8 years ago
Implement minify-builtins plugin (#410)

* Implement transform-built-ins plugin

* fix tests and add to preset

* optimize away expre...

7f66b97b08988f96ffe4d6d38c9b51fc66876434 authored over 8 years ago
Handle ClassDeclaration binding (#383)

* Handle ClassDeclaration binding bug in babel

+ (Fixes #365)

This is happening because Cl...

e836e60d5604cc2b36bb98b6b4be3e6fade57c09 authored over 8 years ago
Fix mangler binding rename issue with duplicate names (#414)

8b86de083cc6f24d14f45f05d5f0e2992379f051 authored over 8 years ago
Changelog for 0.0.11 [skip ci] (#409)

* Changelog for 0.0.11 [skip ci]

* Update Changelog [skip ci]

* Update Changelog [skip ci]

498ca07d6c9e760f8f5d8e8118729553fe44d631 authored over 8 years ago
Publish

- [email protected]
- [email protected]
- babel-pl...

f4ba1ac739c7f18dd6a5bc8990255c6aa0f3d946 authored over 8 years ago
lift the declarations without mutating the node[fix #402] (#403)

* lift the declarations without mutating the node[fix #402]

* add test case for capturing reg...

121193681ea33cd56c89e2fd61e300c0ec0d52db authored over 8 years ago
Readme: plugin options cannot be set in babili cmd (#401)

d7324f73bec8f2730d485b3893617ea96ab903a0 authored over 8 years ago
Accept Array as a blacklist in Mangle (#400)

be41c2dad8cd9b52f672240807df2988deb7bc81 authored over 8 years ago
Upgrade dependencies

ac5eccc933f2b31988a1ccd3858c347f64feaee2 authored over 8 years ago
Mark renamed paths in mangler (#390)

The issue was renaming an already renamed path. Maybe something quircky about bindings of destru...

39b74deba46d116725e27ccdad0143a54e673fb6 authored over 8 years ago
Inline hoisted, post-return declarations properly (#391)

* Inline hoisted, post-return declarations properly. Fixes #192

* Add another test

* Chang...

9c016a37b799d03448ae230313b5769063c123e2 authored over 8 years ago
Fix blacklist check for mangler

1f261d6770a7f84e0e08f7be643ad97449e85d33 authored over 8 years ago
Fix Preset Options README [skip ci]

96521a1ffa29480dca90c0c02f4e23cd84159101 authored over 8 years ago
Do not remove undefined if it's a local var

f83b06c4c5799404cc50c5df6706ec9c5ed48416 authored over 8 years ago
DCE: Deopt impure statements in If.test (#386)

* DCE: Deopt impure statements in If.test

+ (Fix #385)
+ Add isPure check to IfStatement vis...

ba723296df070565586e787a092015ed813415d1 authored over 8 years ago
Escape "</script" when inlining strings (#384)

* Escape "</script" when inlining strings

* Fix lint

* Use jsesc

17eba03fd51d26159d48318415ded201755091cb authored over 8 years ago
Remove undef from seqExpr - (Fix #373) (#388)

7f60941367d07600051b540c02c0875911736dec authored over 8 years ago
Add mark eval scopes helper and deopt DCE fn unused params (#371)

* Add mark eval scopes

* Fix readme bug as a result of copy-pasting

* Add more tests

* ...

2b98b98073dd4087dc03302662c69e7c13d43d80 authored over 8 years ago
Clear traverse cache and recrawl for mangler (#381)

6656c186f799121dc149a14b9031469257e19261 authored over 8 years ago
Babili v0.0.10 changelog [skip ci] (#379)

* Babili v0.0.10 changelog [skip ci]

* rm extraneous [skip ci]

* Update CHANGELOG [skip ci...

d01ac10fa752d37d703b770f14d7a8eb26c83c62 authored over 8 years ago
Resolve plugin properly

1d7b1132308a3c6f98d7a8915a4096da4f4319ea authored over 8 years ago
Add a note about a fix

c45af4a6fde11aaff2ef5d6d0c0dbbeec3a334c4 authored over 8 years ago
Add Identifier traversal + getTypeAnnotations as a way of fixing type annotations for identifiers. Closes #323

7e568bf1be2cb2ea4bbf8f15349f73ad8569ed03 authored over 8 years ago
Update README [skip ci]

9db6c26a244872d9a311a6e92da2244d4a14363a authored over 8 years ago
Check binding exists

8169f8eed986601faa4efb33fad4f08a517ce041 authored over 8 years ago
Update benchmarks and Babel version requirement

9e81a13d4cfcad85f7fe14b4e40c9438d7a7e319 authored over 8 years ago
Bump minify-replace to update README on npm

acb4e2125df3d616fba51d7c393b213d6d2fad4c authored over 8 years ago
Upgrade deps (#356)

* Upgrade deps

* Update peer deps for preset-env

* add babel-eslint

* Upgrade again

...

f7d2467489db3d997bddb789077919538b8f4852 authored over 8 years ago
Merge branch 'master' into mangle-toplevel

8cd07ca6e90debe37caeb6b45608ddb9eb89f78b authored over 8 years ago
Update dependencies

8da8da2342713db65a01e2180364461cc1dcefba authored over 8 years ago
devDeps: eslint-config-babel v5.0.0 (#376)

e5ec51539cf4f7b7870af91e1ccd98a1010274fa authored over 8 years ago
Improve examples in README.md (#355)

minify-dce doesn't transform `foo(0 && bar());` to `foo(0);` -- that minification is handled by ...

df0d9d9bc6aedef03aa2e8ac6ce29b11905650a4 authored over 8 years ago
Merge branch 'master' into mangle-toplevel

87c92c2355cc87107ce7d9ca8300efe9247949bc authored over 8 years ago
Add options to readme

9591c732f7088d14c5682f0bc42ece71f0db8b39 authored over 8 years ago
Add options for type constructors plugin (#113)

475f6c3ff8d843f75e16676c67d0af1be993fc41 authored over 8 years ago
add install, removing #redundancy [skip ci] (#348)

a9c1d10cec36e1ab7c3f89bfb4fd0d2bb7288cf8 authored over 8 years ago
update [skip ci]

9c3c6fbb7200ea57e2bd485e1834d818c673d6ae authored over 8 years ago
don't simplify assignment when it is not an equal operator (#340)

40538f6207d2adb747b3afeb6808743ae3dfbc5f authored over 8 years ago
Add fb package and an option to bench local file (#335)

* Add fb package and an option to bench local file

* Move files to a dir; add year to license...

babb70c0f6d246487f7cf2ef6d2727069914fcf2 authored over 8 years ago
[skip ci] splite code block

f1d2dc37050be0c6e7753c619f97d3d3cf09b50c authored over 8 years ago
[skip ci] split code block (#329)

4e7e94dc11ef5d61a1b1b2c11bad6d744bea9775 authored over 8 years ago
remove comments by default in babel-preset-babili (#325)

* remove comments by default in babel-preset-babili

* tests

ab98c724f74529d672f6c231c07151690cf43747 authored over 8 years ago
npm downloads badge [skip ci] (#327)

4db5dff1538224d4f4b3c99c9224ec6bb5522bb9 authored over 8 years ago
Tweak simpify README [skip ci] (#320)

a44ad9e099ebd2e238571632f7a1e92e4b211178 authored over 8 years ago
add keepClassName as separate options (fix #298) (#311)

* add keepClassName as separate options (fix #298)

* remove options test

* add keepClassNa...

b8bac37d02c471e2c0f7a845b8afce572870092c authored over 8 years ago
fix: remove dollar from sh snippets (#319)

a0922fc439003a6039a5e3a20cde982f21f7cf93 authored over 8 years ago
resolve babili-preset relative to babili-cli (#315)

a7afbc7aba75604b201fd0c4cc5fc51122acc591 authored over 8 years ago
dont lift declarations when not intialized (fix #309) (#314)

b76482fb051a91b64b4fa952d0d0e9b0b33f6981 authored over 8 years ago
Implemented plugin-transform-consecutive-attribute-defs-plugin.

This plugin inlines consecutive attribute definitions.

Updated variable name.

Resolved indirec...

bcb486c3125d451e51fbae3e1fbdd7da499cc1ce authored over 8 years ago
lift var declarations to initializer (fix #290)

fix a empty loop scenario

add more tests and fixes

handle for statments without block

lift bo...

4c9a11cbb0b6c3a4e6757ef9d0d3413433826f7a authored over 8 years ago
Add runs option

deff8c653b50a8a09c4ceaff301c67a7c6f2cc4e authored over 8 years ago
Improve benchmarks accuracy (#148)

* Improve benchmarks accuracy

* Fix test

* Remove plugins from package.json

* Revert pa...

ffca8e66f8d8292f145ed73943a440450d8648ee authored over 8 years ago
Merge pull request #304 from SimonSelg/master

Escape unicode newline in regex optimization

f2178c886e97e8faabd1c3d648a05ef55e286926 authored over 8 years ago
Escape unicode newline in regex optimization

5aaef24cd72096039f452d27ea63992f3c76ecfe authored over 8 years ago
Merge pull request #303 from babel/dce-start-fresh-0

Fix dce - recompute path & scope before pass

1249defc8684a8ac2e820aad425c8416aa935072 authored over 8 years ago