Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/terser/terser
π JavaScript parser, mangler and compressor toolkit for ES6+
https://github.com/terser/terser
9a3a848cc8af8f567ce4eff01d632d1646ac30cc authored almost 10 years ago by Anthony Van de Gejuchte <[email protected]>
a1a4c2ada70760851c63a7e3ff51ee7f786d3e8f authored almost 10 years ago by Tal Ater <[email protected]>
Replace the correct node when replacing in `void` sequences
189dbf02b6f0c1abc0c10f092d72f7ffcc58a48f authored almost 10 years ago by Mihai Bazon <[email protected]>Close #611.
42ecd42ac00881f7d540cb08969ce7e2721e30d5 authored almost 10 years ago by Richard van Velzen <[email protected]>added @ngInject support for inline functions
a10f6a96d724319f9bb582dab42392b4ef05a0e0 authored almost 10 years ago by Mihai Bazon <[email protected]>Document `--` for usage in CLI class
0d232a142288c26376e434c36d6374c615b3ee62 authored about 10 years ago by Mihai Bazon <[email protected]>Close #518
285bffd2c6597420c4d3e937fea731a9041b385f authored about 10 years ago by Richard van Velzen <[email protected]>Close #588
61c233a08ed3768f19f05579888b327eee7286ec authored about 10 years ago by Mihai Bazon <[email protected]>
Previously it returned the abort node from the alternative branch. This is
not much use as it c...
f16033aafdd7f88da6b53c58f86b8effd1fb2a3d authored about 10 years ago by Ingvar Stepanyan <[email protected]>
ae5366a31de7d65964400ffc7b2f05132e2538b6 authored about 10 years ago by Ingvar Stepanyan <[email protected]>
6b23cbc8522bdc6d28e1abb44eb2d1d6eb6b697a authored about 10 years ago by Mihai Bazon <[email protected]>
Fix #219. Because the options were not set and `toplevel` is `false` by default, some toplevel n...
7f9bc9e863addac4bd17c09beb94a01faaea0aad authored about 10 years ago by Richard van Velzen <[email protected]>Close #437
13219cebcb11f95fdaa77af653e96ac42e7e6dcc authored about 10 years ago by Mihai Bazon <[email protected]>93a6e5780e51c44d79778636f2794a63267a8c6f authored about 10 years ago by Mihai Bazon <[email protected]>
fe55e0d93df173b4ef9a7035c3b3883acd0fa3e5 authored about 10 years ago by Mihai Bazon <[email protected]>
Passing `--keep-fnames` will enable it both for compressor/mangler, so that
function names will ...
See #552. This is mostly useful for having the actual function names in traces.
e37b67d013c4537a36bb3c24f4f99e72efbf6d4b authored about 10 years ago by Richard van Velzen <[email protected]>
* Creates a new SourceMapGenerator based on a SourceMapConsumer:
https://github.com/mozilla/so...
This allows usage of UglifyJS on build systems which have a flat (or non-matching relative) dire...
0f80b1058d233f11b95fef567d1b37dd88c94f09 authored about 10 years ago by truiken <[email protected]>See #552. This is useful for stack traces.
0d48af3f36e99252a42b2f40d8fc6d361aa5a7b1 authored about 10 years ago by Richard van Velzen <[email protected]>4613644cce9f64cef4115cbfff660b41d51a9b9d authored about 10 years ago by achingbrain <[email protected]>
718e4756134053bbcf62e9686f698fa3cb5a7e03 authored about 10 years ago by Derek Wickern <[email protected]>
otions => options
aa5dd1535245b3785704b2ac7075c2eb51ff42da authored about 10 years ago by Austin Brown <[email protected]>5bff65c1321994f6e84aa726d68451a086cab937 authored about 10 years ago by Peter Dave Hello <[email protected]>
`\uFEFF` (ZERO WIDTH NO-BREAK SPACE) is removed when parsing, but was
un-escaped for the output ...
Fix #569
37c17d55410ced4283fe173110efb99f33885c54 authored about 10 years ago by Richard van Velzen <[email protected]>fix base54
120948fa48278f3769acd4e57b7456ea5419a5f2 authored about 10 years ago by Richard van Velzen <[email protected]>Fix max_line_len not working for JSON files
66e6f0c3cb53c311655eb42d025a416c8bbef61a authored about 10 years ago by Richard van Velzen <[email protected]>Use yargs instead of optimist.
f7447efa8ccfe73ba3792dc531505e56e6ced583 authored about 10 years ago by Richard van Velzen <[email protected]>
When no arguments are given to `new Function()`, it should be treated as
a regular anonymous fun...
6d1c3e1aec62021c475c51f21fd553b83147218c authored about 10 years ago by Kenneth Powers <[email protected]>
Fix #597
73cc0505f5d41fe4b24d5693e547de9478737187 authored about 10 years ago by Mihai Bazon <[email protected]>
NaN and Infinity were replaced in the output generation, instead of
during compression. This cou...
As `maybe_newline()` is only called when `might_need_semicolon` is `true`, the `max_line_len` op...
39d8880f2cd17c9b96bf73a3bcd7c27a89cf919e authored about 10 years ago by micschro <[email protected]>5538ec7bd8a64c7fcc45895308a8463e4ca4d00a authored about 10 years ago by Mihai Bazon <[email protected]>
Use uglify source map token names if missing
f101d6429b067517838d44facb3559dac5aa8cc5 authored about 10 years ago by Mihai Bazon <[email protected]>fe06fc85d3324b13518c8d44977dcd5ac19f9bbf authored about 10 years ago by Cheng Liangyu <[email protected]>
Close #288
f36a1eaa8b5203ab7e4616108c33a0b68668a8db authored about 10 years ago by Mihai Bazon <[email protected]>a64bdda9ae42ff39543fcfe16d70c4e064780e92 authored over 10 years ago by Mihai Bazon <[email protected]>
Close #550
01d19b4b52abef47f8501e8719f0f17b11fc0d70 authored over 10 years ago by Mihai Bazon <[email protected]>Don't warn for an unreferenced exception symbol in a catch block.
f0c1a01bc260b8fb82e340e872a25b39eabf7200 authored over 10 years ago by Mihai Bazon <[email protected]>7be680d3f8fe0b17d01c8e4aea5a95dcb97b43c8 authored over 10 years ago by Arnavion <[email protected]>
Conditional assignment of equivalent constants compressed ( x=y?1:1 --> x=1 )
57dab1e1db7ed542ce9ace7caa3141130edffe12 authored over 10 years ago by Mihai Bazon <[email protected]>21b3c890a1dab21156f358bf388a2f9f507d1711 authored over 10 years ago by Jacob Kristhammar <[email protected]>
fb0ec720a4bbd3e136284c4b01a88025fbde004e authored over 10 years ago by Tal Ater <[email protected]>
7971ed33d13d33ad2b1ebf1ddcc57c466b819514 authored over 10 years ago by Tal Ater <[email protected]>
885835a655b4c1b3a0a9cb0f78edaa6ac446a0e7 authored over 10 years ago by Tal Ater <[email protected]>
4c64554808e0805b86893704dc87df9ec449961a authored over 10 years ago by Mihai Bazon <[email protected]>
548beeb6b1fee91404a0c41bf9661604995cc59c authored over 10 years ago by Mihai Bazon <[email protected]>
Added example for usage with SpiderMonkey AST
e3066f957710f266484ce7f5e8dfb581f7a698cc authored over 10 years ago by Mihai Bazon <[email protected]>e391367488c8f7bfc5890e1fa51f4ad6e6f28a5f authored over 10 years ago by Ingvar Stepanyan <[email protected]>
18ddf2f7b5a09e4e4da15cba4bed0e83e0d40cce authored over 10 years ago by Mihai Bazon <[email protected]>
f8ee5a07856833305dc62c695a7d10f397316189 authored over 10 years ago by Ingvar Stepanyan <[email protected]>
b467a3c877c8a953bf945d892a5c1bdb9573336c authored over 10 years ago by Ingvar Stepanyan <[email protected]>
f2d48e9019a70792a9af087f34c9afd7ac6e924a authored over 10 years ago by Mihai Bazon <[email protected]>
5e314bf3e934c9e54bd7145af04b36a1e36e5988 authored over 10 years ago by Ingvar Stepanyan <[email protected]>
05ba26c7c8b96bddeb7b97ef42b5c03283b8e72e authored over 10 years ago by Ingvar Stepanyan <[email protected]>
* Explicitly forbidden multiple catch clauses as SM-specific feature.
* Simplified describing of...
* Added directives recognition in SM AST.
* Moved semi-standard SM `Property` type to separate h...
ec3e74d7f48f2ccb4086cde60390dc58f5ddf8a2 authored over 10 years ago by gdw2 <[email protected]>
Do the same as for AST_Unary, since we output undefined as `void 0`.
Reported at https://github...
62bda71c853e844f0477873397ae7ae211bc7dc8 authored over 10 years ago by Mihai Bazon <[email protected]>83e0939088a26ad8c28bd2c1719f92bdcf17d045 authored over 10 years ago by Mihai Bazon <[email protected]>
9798d96e3751d0815ec613e9bf4b7fb5e2fde041 authored over 10 years ago by Mihai Bazon <[email protected]>
6006dd933d30b5480002e23b5ae77e0c76059233 authored over 10 years ago by Artemy Tregubenko <[email protected]>
(lame fix for #503)
ac2caf10889516d9350f1ef8ad402cdea80a7deb authored over 10 years ago by Mihai Bazon <[email protected]>8511e80f489b4b7e3de8122009d492123a314ca8 authored over 10 years ago by Dan Wolff <[email protected]>
Update .travis.yml to pass the test on Travis CI
91bc3f1f92b0d4e75ff40364458121e3df961cd0 authored over 10 years ago by Mihai Bazon <[email protected]>Travis CI doesnβt support Node v0.4.
http://docs.travis-ci.com/user/languages/javascript-with-n...
8463b48f90e4281ce96cb8d4e3e00db8c4333da3 authored over 10 years ago by Shinnosuke Watanabe <[email protected]>e3342a3cf63b84c93cb288ba568a3fe260d08247 authored over 10 years ago by Mihai Bazon <[email protected]>
524a8a42a4c8d136a8f33739f8fea58ce78dd92c authored over 10 years ago by Artemy Tregubenko <[email protected]>
- also handle x = + ++y, x = - --y;
- don't use parens, a space suffices.
025f3e9596e336ed4367d8621c920a236d6e4c17 authored over 10 years ago by Mihai Bazon <[email protected]>
8258edd8a54cd5ed5d15a3a674f2cc716b304aeb authored over 10 years ago by Mihai Bazon <[email protected]>
8669ca219b8e271c5b822f89f46d16067f0802cd authored over 10 years ago by Mihai Bazon <[email protected]>
Handle TryStatements trees from acorn >=0.2.0
71652690b6151596d704b290a1fe33e50e193b29 authored over 10 years ago by Mihai Bazon <[email protected]>37693d2812ee2e5555dbdf1712e7e3f85d64d870 authored over 10 years ago by Mihai Bazon <[email protected]>
Fix #328
8fbe20001215887275b3cf053be675ebdbf331a9 authored over 10 years ago by Mihai Bazon <[email protected]>Fix sourceMapIncludeSources exception in Node API
1a34a13e3393a9afd6a032b5c2bf3e29cbdfe153 authored over 10 years ago by Mihai Bazon <[email protected]>
If options.outSourceMap is specified the sourceMappingURL comment
should be appended to the outp...
https://github.com/mishoo/UglifyJS2/issues/459
6fcabbde08cdac7890fedcc29b0342208998a871 authored over 10 years ago by ebednarz <[email protected]>Allow colons in the pairs passed to AST_Toplevel.wrap_enclose
14f290f8abf796bb0a772532e1f6c584744e0e16 authored almost 11 years ago by Mihai Bazon <[email protected]>e2e09d57548de10892d0595e9fb2a9978aa57726 authored almost 11 years ago by Arnavion <[email protected]>
448a8d3845e16cd4c03fb2a0cf26b1d55307a635 authored almost 11 years ago by Mihai Bazon <[email protected]>
514936beb875b27d5df8b16b59a71b7424a427e1 authored almost 11 years ago by Conrad Irwin <[email protected]>
Handle the case when SourceMapConsumer.originalPositionFor returns null source.
f5c09d0bbf0bce5435b2fce3e4e1261970596a29 authored almost 11 years ago by Mihai Bazon <[email protected]>This happens when SourceMapConsumer does not have a valid position to map the input line and col...
014f655c5f9f0a32994ee556e40acbe8349943fe authored almost 11 years ago by Arnavion <[email protected]>
The effect of not mangling it was visible only with --screw-ie8 (otherwise
the names would be ma...
By default it's `false`. Pass `true` if you need to keep unused function
arguments.
Close #188.
ef2ef07cbd945c7a6456adedc413858145a9ed10 authored almost 11 years ago by Mihai Bazon <[email protected]>Simplify nested conditionals if possible
1a4440080dd2632eb47ee446058fa01ad76c6e9b authored almost 11 years ago by Mihai Bazon <[email protected]>ac0086a74521ffce97b6e8bde0bee54feb0c5ec9 authored almost 11 years ago by Matt Basta <[email protected]>
Fix readme typo (when -> with)
2494daaf687c9a07d16f37c74213b95f02341649 authored almost 11 years ago by Mihai Bazon <[email protected]>9b404f9de67d16e3c887ce072ce3a07d324e525f authored almost 11 years ago by Vladimir Agafonkin <[email protected]>
5344b7dab897fe266db9524a99529d6b64e9386e authored almost 11 years ago by Mihai Bazon <[email protected]>
0007a53b9ce30c6195364fa7c41ba3bfe593f7c2 authored almost 11 years ago by Mihai Bazon <[email protected]>
1dd05f44eb2e7fd56ee7344ece8619619609a7b1 authored almost 11 years ago by Mihai Bazon <[email protected]>
bf7b122ab2e5a7cb2f6c3f7fa798628345260c7c authored almost 11 years ago by Mihai Bazon <[email protected]>
e29048b54a13a9382b46256f4a0b29a7002d4986 authored almost 11 years ago by Mihai Bazon <[email protected]>
Don't unescape \x00 in regexes (it breaks IE8)
2eeb640eca927e40fd7204b8a66d23f45204eddd authored almost 11 years ago by Mihai Bazon <[email protected]>ceb200fe81b42e0abd2242018530d6d952eb058d authored almost 11 years ago by Mihai Bazon <[email protected]>