Ecosyste.ms: OpenCollective

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

Terser

The fast and efficient minifier for modern JavaScript
Collective - Host: opensource - https://opencollective.com/terser - Website: https://terser.org - Code: https://github.com/terser

declared `--stats` as boolean

github.com/terser/terser - 0afafe64fcbaf720889b8906a91dafb6dc409cdd authored over 12 years ago by Mihai Bazon <[email protected]>
fix for variable names like `toString`

github.com/terser/terser - c7b484b64fdce8ed922f18376b7edf3cb40112f1 authored over 12 years ago by Mihai Bazon <[email protected]>
support for hoisting declarations

and finally it seems we beat v1 in terms of compression

github.com/terser/terser - 0503513dcc9e4dc9f01ffc894245076de9f48cb0 authored over 12 years ago by Mihai Bazon <[email protected]>
cleaned up usage of AST_BlockStatement

The following nodes were instances of AST_BlockStatement: AST_Scope,
AST_SwitchBlock, AST_Switch...

github.com/terser/terser - 8633b0073f016fddd655ae5e1f1726287a24828d authored over 12 years ago by Mihai Bazon <[email protected]>
checkpoint

github.com/terser/terser - 1b5183dd5ee7d2b147f5862c9abf8f45f50fc82f authored over 12 years ago by Mihai Bazon <[email protected]>
more fiddling with boolean expressions, etc.

optimize away while(false), and transform while(true) ==> for(;;).

UNSAFE:

some expressions ar...

github.com/terser/terser - 376667a8188083e4e64ef56bf10f38e4f831447f authored over 12 years ago by Mihai Bazon <[email protected]>
if present, the `else` in an `if` should always be forced statement

github.com/terser/terser - 3459c40cf9d17c6c791a86d387bba85e965c37b6 authored over 12 years ago by Mihai Bazon <[email protected]>
boolean and if/exit optimizations

github.com/terser/terser - 86cfb5be86603b472085920a82905b22c9d06fea authored over 12 years ago by Mihai Bazon <[email protected]>
minor

github.com/terser/terser - e5f1cec6aa5998a681ad3c890a07d62d0cbb8d06 authored over 12 years ago by Mihai Bazon <[email protected]>
more optimizations for ifs/conditionals

(XXX: should add tests before anything else)

github.com/terser/terser - 37eecc16a419361672c0c055e0246ee7deb439b7 authored over 12 years ago by Mihai Bazon <[email protected]>
resolve constant expressions

github.com/terser/terser - f03138daa805c01293a2b60f96231989906aca59 authored over 12 years ago by Mihai Bazon <[email protected]>
jumps, try and definitions are statements too

github.com/terser/terser - f70226461732321780a04f5c5dd02ed753ede0cf authored over 12 years ago by Mihai Bazon <[email protected]>
an AST_If is too a StatementWithBody

github.com/terser/terser - 6d0db4ce14fd67681bdda1d1861517763eff4c6e authored over 12 years ago by Mihai Bazon <[email protected]>
a LabeledStatement should be in fact a StatementWithBody

This fixes output for:

if (foo) {
moo: if (bar) {
break moo;
}
...

github.com/terser/terser - d7c1dc6c0578b55eefc3bc94556146dce6e1a8cb authored over 12 years ago by Mihai Bazon <[email protected]>
declare boolean options

github.com/terser/terser - d6efa8b28dc0a937bc154bf5f2e5d5450be5c1d5 authored over 12 years ago by Mihai Bazon <[email protected]>
switch branches must be declared `required` so that the compressor doesn't

replace nodes with a single statement.

looks stable for now, though mess begins to sink in. nee...

github.com/terser/terser - 66c869c8f6d4392efb56a15c6663a1f93b74da88 authored over 12 years ago by Mihai Bazon <[email protected]>
Reverting "minor perf. improvements"

Revert "minor perf. improvements"

This reverts commit 24bfd55a22afd791d4a97694641831cfbd27fb14.
...

github.com/terser/terser - 1bf5928b5485db5646515919672e005738d6df81 authored over 12 years ago by Mihai Bazon <[email protected]>
add -b

github.com/terser/terser - 596af60587a9badd43846aede9936e68868e61b2 authored over 12 years ago by Mihai Bazon <[email protected]>
add source mappings for more node types; started CLI utility

github.com/terser/terser - f2f370cee3708c0d9431594f81e192099fc6900c authored over 12 years ago by Mihai Bazon <[email protected]>
minor perf. improvements

github.com/terser/terser - 24bfd55a22afd791d4a97694641831cfbd27fb14 authored over 12 years ago by Mihai Bazon <[email protected]>
started support for generating source maps (WIP)

plugged in @fitzgen's source-map library

github.com/terser/terser - 52bcca288fe560670584b24cb170f09c250514e6 authored over 12 years ago by Mihai Bazon <[email protected]>
don't mangle names of setters/getters

github.com/terser/terser - 48440dc250d0a8b72a8064fa97760fe9962f7511 authored over 12 years ago by Mihai Bazon <[email protected]>
update with link to discussion about Esprima vs. UglifyJS speed

github.com/terser/terser - 6569e66bf87e5b170ac01f52b32e66639d09b899 authored over 12 years ago by Mihai Bazon <[email protected]>
docstring for AST_StatementWithBody

github.com/terser/terser - 86cff2029f15b0883622957a5a98d9c27956914e authored over 12 years ago by Mihai Bazon <[email protected]>
fix output for arrays containing undefined values

[1,,2,] ==> [1,,2] instead of [1,undefined,2]

github.com/terser/terser - 1b6bcca7170c8f08f255448533c211cdb1010f34 authored over 12 years ago by Mihai Bazon <[email protected]>
fix code generator for this case:

if (foo) {
with (bar)
if (baz)
x();
} else y();

(the compressor removes the bracket...

github.com/terser/terser - 7fcb6bcb1270d1688512e25704125edb5b35b3c5 authored over 12 years ago by Mihai Bazon <[email protected]>
added README

github.com/terser/terser - ce8e8d57c0d346dba9527b7a11b03364ce9ad1bb authored over 12 years ago by Mihai Bazon <[email protected]>
minor

github.com/terser/terser - bf70205b15ae11135c8e4e7bd99cecff28df73ba authored over 12 years ago by Mihai Bazon <[email protected]>
update (c) years

github.com/terser/terser - 58a3b5e93f2b8390bc5e091c03ceb3feae5c4e39 authored over 12 years ago by Mihai Bazon <[email protected]>
minor

github.com/terser/terser - 8dfa9fe7e58c742b7835523daa423b12ada2718c authored over 12 years ago by Mihai Bazon <[email protected]>
fix compressing `a,b; return c;` into `return a,b,c;`

github.com/terser/terser - 4437e7af1931f995686511938ad80f704ef5925e authored over 12 years ago by Mihai Bazon <[email protected]>
added print_to_string helper method

github.com/terser/terser - a8e49f15361cce98fdecb20535df4b4f0de553ca authored over 12 years ago by Mihai Bazon <[email protected]>
fix current_col and force a newline every 32K (support options.max_line_len)

github.com/terser/terser - 8d233c38d485020bdb9d86865cf50a8199fbfc27 authored over 12 years ago by Mihai Bazon <[email protected]>
added license

github.com/terser/terser - 95b18e54a4632cc06a4fb36fbf631c6b1d852892 authored over 12 years ago by Mihai Bazon <[email protected]>
wrote more of the compressor and added some tests

github.com/terser/terser - 159a6f048cfabc6bdee0bb1274eeb0d6ab75b79a authored over 12 years ago by Mihai Bazon <[email protected]>
fix output for certain edge cases

the statements if, for, do, while and with might have an AST_EmptyStatement
as body; if that's t...

github.com/terser/terser - f53e139d3cfc9b2eab0239496181a9485728e066 authored over 12 years ago by Mihai Bazon <[email protected]>
declare some properties in the node constructor so that they're copied in clone

github.com/terser/terser - fb8c9e3a48501c0a49ec30ba0a60cad7053adc3f authored over 12 years ago by Mihai Bazon <[email protected]>
hint that brackets may be required in AST_BlockStatement

github.com/terser/terser - 1b839eb35bfb7cb28c59ee80bd88e395f33711ca authored over 12 years ago by Mihai Bazon <[email protected]>
cleaned up some mess and started the actual compressor

github.com/terser/terser - ffe58a9961ced012b40c16b93f9fe2370293431b authored over 12 years ago by Mihai Bazon <[email protected]>
some reorganization

(moved pretty much everything that relates to scope in scope.js, added a
module for NodeJS that ...

github.com/terser/terser - 7ae1c600a24e2f43feb839c5fd1625f6261751b5 authored over 12 years ago by Mihai Bazon <[email protected]>
handle labels properly

(they can't be handled the same way as variables in a scope)

github.com/terser/terser - 92bd53b513c6cf030d96ed627efc50dd1875ba85 authored over 12 years ago by Mihai Bazon <[email protected]>
warn about unreferenced symbols

github.com/terser/terser - 159333f4c51e70a758160975a190646ff55bf66b authored over 12 years ago by Mihai Bazon <[email protected]>
more fixes:

- added walker for AST_ObjectProperty
- handle redefinitions properly (only mangle one symbol, m...

github.com/terser/terser - 99456c6156f8a05734a82be97348ace72aa1ee2a authored over 12 years ago by Mihai Bazon <[email protected]>
added mangler and other stuff

github.com/terser/terser - 458e251d7ed6e9ac97849237264caa40a40c76b3 authored over 12 years ago by Mihai Bazon <[email protected]>
doc (WIP)

github.com/terser/terser - 1fe0ff9fff86b5d5fba3f4d1499479d2f23511df authored over 12 years ago by Mihai Bazon <[email protected]>
simple visitor API and code to figure out scope and references

github.com/terser/terser - 6c35135ace95bb90c33cadeb8c16a43415eef454 authored over 12 years ago by Mihai Bazon <[email protected]>
some fixes (need testing) in AST_If codegen

github.com/terser/terser - 4488758d485b0b624d4858f764bdf08b10365d3b authored over 12 years ago by Mihai Bazon <[email protected]>
minor whitespace issues

github.com/terser/terser - cd8ae5f712fa64ac2d6dff0c5028d8bc70d331ed authored over 12 years ago by Mihai Bazon <[email protected]>
big speed improvement (observable when beautify = false)

who would have thought that str.charAt(str.length - 1) is not a constant,
instant operation? se...

github.com/terser/terser - ef87c9fd8fafa006146d45ba2a870237a127c9d4 authored over 12 years ago by Mihai Bazon <[email protected]>
don't output both space and semicolon when beautify=false

github.com/terser/terser - 901f77047e581c79132f93451f057629788d0e9f authored over 12 years ago by Mihai Bazon <[email protected]>
added some comments about the rules governing parens

github.com/terser/terser - 07cbc8d3afee368ed143f62302d1b1a51e0f09bc authored over 12 years ago by Mihai Bazon <[email protected]>
fix one more glitch

github.com/terser/terser - 4fb6021b0bd68fff881adfe2781e991f9fd2416f authored over 12 years ago by Mihai Bazon <[email protected]>
code generator finally seems to work properly

github.com/terser/terser - 13f7b119bb7e2184dcd623e167f507b31e73725a authored over 12 years ago by Mihai Bazon <[email protected]>
lots'o'fixes in the output routines; still a looong way to go.

github.com/terser/terser - c7c163b82e72ef8fcd5b899ffd3e003adfaf80ee authored over 12 years ago by Mihai Bazon <[email protected]>
codegen and dropped the useless walker

github.com/terser/terser - 7f273c3b89352c6fda528dfee17776cffcfe1fb4 authored over 12 years ago by Mihai Bazon <[email protected]>
added small node test script

github.com/terser/terser - 22bb5e8306687fb6324f094d208b564c9e874f77 authored over 12 years ago by Mihai Bazon <[email protected]>
Fixes some gotchas.

DynarchLIB (660K) now passes parsing in 440ms (about 30% slower than the
parser in UglifyJS v1).

github.com/terser/terser - 46e7507b44c93cb1d9e141e583dc58600bbc037f authored over 12 years ago by Mihai Bazon <[email protected]>
init repo

github.com/terser/terser - 562b12f021c8b26f5cb52fb322f6465dac4aadc9 authored over 12 years ago by Mihai Bazon <[email protected]>
Merge pull request #30 from stereobooster/gh-pages

Update qunit.

github.com/terser/html-minifier-terser - 7032d3d3d97aabf0a2c96c8155ed077b455aca31 authored over 12 years ago by Juriy Zaytsev <[email protected]>
use this instead of window

github.com/terser/html-minifier-terser - fc7addd7c7952c351e63f204957c508a18d4482a authored over 12 years ago by slavic <[email protected]>
Merge pull request #29 from stereobooster/gh-pages

Improvements to CommonJS support.

github.com/terser/html-minifier-terser - 949c2d0d39482986e95e3764c08559b530790cb3 authored over 12 years ago by Juriy Zaytsev <[email protected]>
move tests to external files, so they can be launched on the server-side

github.com/terser/html-minifier-terser - ae89c0475d6c4ba0864178cb30ac1649af6d91af authored over 12 years ago by stereobooster <[email protected]>
exports does not contain console object

github.com/terser/html-minifier-terser - ceec07119cb97923244acf16faa5b5ad6d67c5b8 authored over 12 years ago by slavic <[email protected]>
Update package.json

github.com/terser/html-minifier-terser - f4c5566da16008dd1857d68a9c16f11df4471051 authored almost 13 years ago by kangax <[email protected]>
Bumping version again for npm.

github.com/terser/html-minifier-terser - f4425e23b2368969147d00e61b28be11c8eba113 authored almost 13 years ago by kangax <[email protected]>
Merge pull request #27 from crcn/gh-pages

Add support for custom canTrimWhitespace & canCollapseWhitespace options.

github.com/terser/html-minifier-terser - 107d24674b72abbb60093d9e7c7d98758fce6e43 authored almost 13 years ago by Juriy Zaytsev <[email protected]>
ability to customize canCollapseWhitespace & canTrimWhitespace

github.com/terser/html-minifier-terser - 2ffeec0dc9ed87dd3aa12d598884e8184e30c44a authored almost 13 years ago by Craig Condon <[email protected]>
Bumping version for npm.

github.com/terser/html-minifier-terser - 53d833d71e53e3e81163a4571dab72baafc23803 authored over 13 years ago by kangax <[email protected]>
Update README to mention npm-based installation.

github.com/terser/html-minifier-terser - eae7f6bf826bfc8810090871ebc4cac3224ecc38 authored over 13 years ago by kangax <[email protected]>
Fix version and description in package.json, update urls to point to original repo.

github.com/terser/html-minifier-terser - 27cac390064144548a5d1dc293460ea1c2e4fb4a authored over 13 years ago by kangax <[email protected]>
Modified to work with node and potentially npm.

github.com/terser/html-minifier-terser - cf25eaa25f8307a129625136d95879c41d76cd20 authored over 13 years ago by Hugo Wetterberg <[email protected]>
Fixed issue #13 - Whitespace is munged in elements that are descendants of <pre>

github.com/terser/html-minifier-terser - d9b302d115b696d3bab39b336c7e3e5d31470bc2 authored almost 14 years ago by Gilmore Davidson <[email protected]>
Add option to remove type="text/css" attributes from <style> and <link> elements. Thanks @mathias for suggestion.

github.com/terser/html-minifier-terser - f3fc9d188d31493cb828f521e617e415f673b68c authored about 14 years ago by kangax <[email protected]>
Move todo items to github issues.

github.com/terser/html-minifier-terser - 78a28dc2170e572730f9ea93aeb9b706a5155e43 authored over 14 years ago by Juriy Zaytsev <[email protected]>
Make lint report repeating <br> elements and "&nbsp;" sequences. Rephrase report messages and number them. Bump version to 0.42.

github.com/terser/html-minifier-terser - 8c739357e90ebeb9e4b227605448dc939fe580b2 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add new option — "removeScriptTypeAttribute", which removes `type="text/javascript"` from script elements (à la HTML5). This optimization is currently marked as unsafe. Bump version to 0.41.

github.com/terser/html-minifier-terser - 945a4d8984ac9e464d62d529c17b7a2389017e92 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add link to test suite in readme.

github.com/terser/html-minifier-terser - 7f32c80aa11fedf1e5d0e2766ac79e10280e0d11 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add bug with <pre><code>...</code></pre> reported by V1.

github.com/terser/html-minifier-terser - 88f393edebaa8218e45a1c0e528fbca93badb982 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Strip trailing ";" from event attributes (onclick, onmouseover, etc.).

github.com/terser/html-minifier-terser - e753a32b92c1acd27c40f1bcb459dba4f53b03f6 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add simple V8 perf. test (minifying amazon home page).

github.com/terser/html-minifier-terser - 6c7e4ebeceecebe948bd6b67469de712aff5253e authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Strip trailing ";" from style attributes (this allows to strip quotes from values like "display:none;").

github.com/terser/html-minifier-terser - 60addbb1bdf83eb851d8c4ec7cb65722ddc7cabd authored almost 15 years ago by Juriy Zaytsev <[email protected]>
area's shape="rect" is a default attribute (strip it as part of "removeRedundantAttribute" option).

github.com/terser/html-minifier-terser - bc9add73a138f0aacfc8fb3b846a8c3973a0dc6f authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Make it possible to quickly select "all", "none" or "safe" options.

github.com/terser/html-minifier-terser - 9b673b85f97519ae5cab5d7832cf2bd8c7823b0a authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace in Number-type attributes (e.g. rows, cols in TEXTAREA; tabindex in A, BUTTON, etc.).

Make sure URI and Number -type attributes are matched on proper elements (e.g. <head profile="......

github.com/terser/html-minifier-terser - a1429cce4aa905f9c5234308e956937316704167 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace in style attributes.

github.com/terser/html-minifier-terser - 6b7c1a70d75af1a43d7f7a353f08bc13feb90f19 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Trim whitespace in attribute values. For now, only in those with %URI; type: href, src, action, etc.

github.com/terser/html-minifier-terser - 0d4371205a28849b7792a4c545aa3f66a71f0d8e authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Minifier now removes insignificant whitespace in conditional comments.

github.com/terser/html-minifier-terser - 70e672448a7df62fcfef8516dc6dd52d161fcfa1 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Start testing HTMLLint. Add detection of href="javascript:void(0)" during linting.

github.com/terser/html-minifier-terser - b8460c1854b4a22160b41f3770bd9c3b28920c94 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add detection of `href="javascript:void 0"` to todo.

github.com/terser/html-minifier-terser - a800861b3014b8f92013b50a592d7678c44d519d authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add test with optgroups to "removing optional tags in <option>".

github.com/terser/html-minifier-terser - 9bf0c75f7adff7d07533bbe67c888df77f253e91 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add README.md;

Add </option> to tags allowed for deletion (thanks Jakub Vrána).

github.com/terser/html-minifier-terser - 388d307cdd1059684e5cccf32574cf9c340cb1ac authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Delete JS comment delimeters before HTML comment delimeters in scripts.

github.com/terser/html-minifier-terser - 004de6d537b22ba976bd4f8b69268aed460530df authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix comments in scripts (forgot that "<!--" strips everything till new line; thanks @zoompf for reminder).

github.com/terser/html-minifier-terser - cb18dce10e09453ebe52a44fa4835a5c2a4e70f1 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix a bug with space-less attributes. Move scripts to the bottom.

github.com/terser/html-minifier-terser - 7703e9ca121a6c28dd2400f525a5d2dd0e2f5f80 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Add TR to the list of optional end tags.

github.com/terser/html-minifier-terser - 515f57cc47b861ffedf5846b96efa4896db8f581 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Slight optimization to `trimWhitespace`. Fix bug with `removeEmptyElements` cutting off tags in some cases.

github.com/terser/html-minifier-terser - 21aa0ecd6779115e1546faa4e7aba54d495c6359 authored almost 15 years ago by Juriy Zaytsev <[email protected]>
Fix grammatical error.

github.com/terser/html-minifier-terser - f4d7fb10af1b1e5ea79d69a7c34f1d011e031326 authored almost 15 years ago by Juriy Zaytsev <[email protected]>