YUI Compressor
YUI Compressor is an open source tool that supports the compression of both JavaScript and CSS files. The JavaScript compression removes comments and white-spaces as well as obfuscates local variables using the smallest possible variable name. CSS compression is done using a regular-expression-based CSS minifier. The next release of the YUI Compressor will be version 2.4.3. This release will be a bug fix release. The list of tickets that summarizes the release content planned for YUI Compressor 2.4.3 is available in the View Tickets page of this project.Next Release in Development: 2.4.3
Reporting Defects / Making Enhancement Requests
YUILibrary.com is the proper location for reporting defects found in the YUI Compressor code as well as for logging enhancement requests for consideration for future updates.
You can review existing tickets filed for YUI Compressor by clicking the View Tickets link at the top of this page. Please review the YUI guidelines for filing defects and making enhancement requests before adding new tickets to the YUI Compressor project using the New Ticket link above.
*Only logged in users can submit bugs and feature requests.
Latest Commits for YUI Compressor
| SHA1 | Developer | Date | Message |
|---|---|---|---|
| c8f3348cb | 08/13/10 | removed the other undeclared identifier warning | |
| c3b3a551b | 08/10/10 | Revert "Add a new --globals option to pre-declare global variables; e.g., "YUI"" | |
| d27f3adbf | 08/10/10 | Add a new --globals option to pre-declare global variables; e.g., "YUI" | |
| e7ea458ae | 05/19/10 | preserve ! in special strings, preserve child >/**/ selector hack, updated tests | |
| d0464c4dd | 05/18/10 | . | |
| 0a08b3b40 | 05/18/10 | Preserved /*! comments no longer have the bang stripped [bug #2528008]. | |
| 336986be7 | 05/15/10 | updated 2.4.4 changelog | |
| 2aae9ee68 | 05/15/10 | lowercase colors, more tests | |
| 81e1d7f07 | 05/15/10 | shorter alpha opacity filter, more tests, case-insensitive background-position replace | |
| 77b9f9dfb | 05/15/10 | added test for bug #2527998 | |
| 335ff37d7 | 05/15/10 | new test for exception with $ replacement bug | |
| a6cfd3ff1 | 05/15/10 | escape replacement string | |
| b73265b5f | 05/11/10 | Applied a patch that adds support for wildcard input and output file | |
| 87d7e4b3c | 05/11/10 | up to date with the JS version (strings and comments preservation jazz) | |
| e7ac76c96 | 05/11/10 | removed unused vars | |
| ce3998b3a | 03/25/10 | Fix for quoted strings in comments, thanks to Mark Norman Francis for the catch. Added a new test. JSLint tweaks. | |
| 1e10c3504 | 03/17/10 | Using UTF-8 as the default encoding rather than System.getProperty("file.encoding") [fixes #2528014]. | |
| 6e67ea01b | 03/17/10 | useage info is sent to stderr instead of stdout. [fixes #2095077]. | |
| d84c5da00 | 03/12/10 | added test for rgba() colors | |
| 3a3b110fb | 03/10/10 | Updated the zero-collapsing parts expect either ; or } | |
| 8a6d59eef | 02/27/10 | Moved strings preservation before comments stripping, tests uupdated | |
| 7bfc41698 | 02/25/10 | New and updated tests | |
| f93c26731 | 02/25/10 | Also run the tests using rhino and the JS port of cssmin | |
| ae0ca01f5 | 02/25/10 | initial checkin, tests for the JS port of CSSmin | |
| d425e8143 | 02/25/10 | Up to date with the JS port - preserving strings, special comments, safer cleanup of empty definitions, pseudo elements, BMH, etc |
Product Information
Current Version: 2.4.2Release Date: 06/10/2009
Developer Information
Development Version: 2.4.3Tentative Release Date: Not Planned
Recent Forum Posts
- Added Graphics Interface for YUI Compressor 3.1.2
Dai Fei on 08/27/10 - Re: Yui compressor dont change the variables for words
Adam Moore on 08/26/10 - Yui compressor dont change the variables for words
Romualdo on 08/26/10 - Re: compressor errors
Adam Moore on 08/12/10 - compressor errors
Geoffrey Malafsky on 08/12/10 - Re: --type 'stdin'
popara on 08/3/10 - Re: --type 'stdin'
Amrish Kapoor on 08/3/10 - --type 'stdin'
popara on 08/3/10 - Re: how to remove comment using YUI compressor?
Adam Moore on 07/27/10 - how to remove comment using YUI compressor?
gna on 07/27/10

