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
f5f8239057f1c9a3a9e25d042a8b02c4141e9855 authored almost 11 years ago by Daniel Stutzman <[email protected]>
6f9d0517841a543807019daf51a88c5e24c24690 authored almost 11 years ago by Mihai Bazon <[email protected]>
931862e97f2b8bc06d2de9b8e7e7e8e04500d063 authored almost 11 years ago by Mihai Bazon <[email protected]>
1d0127de2134f2086e1de51d47782118470397ed authored almost 11 years ago by Mihai Bazon <[email protected]>
Don't unescape byte order marks in regexps
2d8fc616773e30df955de02d99406f114b87490a authored almost 11 years ago by Mihai Bazon <[email protected]>1e31011874b82723c52589adfda3a451f7a9b0e7 authored almost 11 years ago by Ville Lautanala <[email protected]>
75cdbf19aaf03430d56da2ffe201f7403954d422 authored almost 11 years ago by Mihai Bazon <[email protected]>
4339bd5cfa16e6293060ca09b5fb1d37a676df83 authored almost 11 years ago by Mihai Bazon <[email protected]>
1ab2fdaa105b4a3f899e190218d6720982cf501b authored almost 11 years ago by Mihai Bazon <[email protected]>
eda540f6ec36238dd43ee3654c18f5867b65f15e authored almost 11 years ago by Mihai Bazon <[email protected]>
90a330da16e77b8836ea8f02d6733618e6c23374 authored about 11 years ago by Mihai Bazon <[email protected]>
cad1f9cbd112b1117562b942f39a1205e00e2bf0 authored about 11 years ago by Mihai Bazon <[email protected]>
f6203bd5a8063a3af835603ce1959310f14f7f5e authored about 11 years ago by Artemy Tregubenko <[email protected]>
03cf94ebe8b7bc87eccde800705beabf012ff275 authored about 11 years ago by Artemy Tregubenko <[email protected]>
c3087dd179bcef93626ae8227bf8f0ac5baa15a2 authored about 11 years ago by Mihai Bazon <[email protected]>
2c305af478b95ccdb21ac9ed680cc1a0f58fd7d4 authored about 11 years ago by Mihai Bazon <[email protected]>
72e6f64ca896fc77f7d87ec36eaec9dc19771f41 authored about 11 years ago by Mihai Bazon <[email protected]>
b9fac687ff0b2689f7ca7bdc26aa0b3671df72ce authored about 11 years ago by Mihai Bazon <[email protected]>
2c88eb6fbe82d663874ae2ee144d5457cd512127 authored about 11 years ago by Mihai Bazon <[email protected]>
a67e3bfdd3e5ca4f9e121206d0dc4cb4a04f7d65 authored about 11 years ago by Mihai Bazon <[email protected]>
27142df4f55a070f5507b74518ca807e014111ca authored about 11 years ago by Mihai Bazon <[email protected]>
5e4c7f42454f12761a95241a03e6b36a46df2283 authored about 11 years ago by Mihai Bazon <[email protected]>
foo ? bar(x) : bar(y) ==> bar(foo ? x : y)
b521b4b926f7a385ed14ec07bc4b5dad9ebcd93b authored about 11 years ago by Mihai Bazon <[email protected]>aa9de76370ee83883f19a6d410ad8207d0fe1769 authored about 11 years ago by Mihai Bazon <[email protected]>
(x, void 0) => void x
(x, undefined) => void x
Close #374
7a30d826b89197f7a74001af83676c39277b0eab authored about 11 years ago by Mihai Bazon <[email protected]>Fix #372
be55a09edf7526cd325e3c954e0ae778a1f625b0 authored about 11 years ago by Mihai Bazon <[email protected]>15a148ff6d5a1ec56e2e11bed7ec271da552c475 authored about 11 years ago by Mihai Bazon <[email protected]>
428e19fed25dc910187080cc41e6afc254def0d5 authored about 11 years ago by Mihai Bazon <[email protected]>
f65e55dff40334bda8eed4f77b88a1c90af27d7c authored about 11 years ago by Mihai Bazon <[email protected]>
bugfix #242
b634018618069653f08dad79026dd621ec7d90a0 authored about 11 years ago by Mihai Bazon <[email protected]>fa3300f31474af5c566da96ff8db78a2eafa49e3 authored about 11 years ago by colorhook <[email protected]>
bd0886a2c0b6205d1e7a3c03ef44c093c3317ca7 authored about 11 years ago by Mihai Bazon <[email protected]>
Make `DefaultsError` a real `Error` object
248f304f02528f1e63c11707f3159e456baac139 authored about 11 years ago by Mihai Bazon <[email protected]>dc5f70eab5cf89f1046482e97267030b3bbf2b66 authored about 11 years ago by Mihai Bazon <[email protected]>
df8c5623af1afff5fffc6af49ceda5da16f95d54 authored about 11 years ago by Mihai Bazon <[email protected]>
a790c09c91d6b334bbe961558a064f33416eb752 authored about 11 years ago by Mihai Bazon <[email protected]>
I hereby acknowledge that figure_out_scope has become a mess.
8f35a363d90e6521e916a8d70f3302d4adc51ae6 authored about 11 years ago by Mihai Bazon <[email protected]>Fix #344
d2190c2bf340d807a0c8595dbc2f849aa3bcc443 authored about 11 years ago by Mihai Bazon <[email protected]>ea1064257206cfa8d55ee6aad05536f940cc38a4 authored about 11 years ago by Mihai Bazon <[email protected]>
547561a568aed8fd2840fae48219a7843893d12d authored about 11 years ago by Mihai Bazon <[email protected]>
for now only used for keys passed to `-c` or `-b`.
c16d538ce7879af6077be3baf4ada87477c4354b authored about 11 years ago by Mihai Bazon <[email protected]>73d082df2e22e44257b333961f20b2a5a81a934c authored about 11 years ago by Mihai Bazon <[email protected]>
`String(x + 5)` is not always the same as `x + "5"`. Overlooked that. :-(
Close #350
50b8d7272c3b0c7a222e5d6e433c9736f920434c authored about 11 years ago by Mihai Bazon <[email protected]>Fix #345
7d11b96f48f7f03727fa664d540484f214cadca2 authored about 11 years ago by Mihai Bazon <[email protected]>
We can in fact lift sequences, but only if the operation is assignment and
the left-hand side ha...
19e2fb134d1c6d0fdf74b0d008d772c0283afb6e authored about 11 years ago by Mihai Bazon <[email protected]>
f4919e3a251b4a3beaba66f2a143f795f358409e authored about 11 years ago by Mihai Bazon <[email protected]>
bb700daa4c48e4fa7ef2258354df8789fbc8e849 authored about 11 years ago by Mihai Bazon <[email protected]>
263577d5eb2fc4f58ce7fe0c92007031fbc7f526 authored about 11 years ago by Mihai Bazon <[email protected]>
Close #313
63287c0e681154698a2aeb73380ea9b40260c6b0 authored about 11 years ago by Mihai Bazon <[email protected]>
The "key" property was always "set" or "get", which didn't make much sense.
Now it'll be the act...
`x * (y * z)` ==> `x * y * z` -- the better place to do this is in the
compressor rather than co...
9dd97605bc724c78b7f73177ae8ceaee92cc01d2 authored about 11 years ago by Mihai Bazon <[email protected]>
(issue #337)
e4c530240650535d1cb46569dfb013193471af05 authored about 11 years ago by Mihai Bazon <[email protected]>bea3d90771e98c44a6c20578aabd9ebc81edb6ed authored about 11 years ago by Mihai Bazon <[email protected]>
Fixes #267
785c6064cc4d28f3453e88fba3e085c4e2eaf553 authored about 11 years ago by Richard van Velzen <[email protected]>b214d3786fdb569b9ba5b885f0653927960d450f authored about 11 years ago by Mihai Bazon <[email protected]>
i.e. read `-c unsafe,unsafe-comps` as `-c unsafe=true,unsafe_comps=true`
7cf79c302b61ebd07c33aabee929dfb8666cba56 authored about 11 years ago by Mihai Bazon <[email protected]>Close #179, #326, #327
a14c6b6574b47ba9fe4e238eea1f1286097d3c5d authored about 11 years ago by Mihai Bazon <[email protected]>Close #335
f1b7094a57cc3fbbe37a2c653f255190b9359c0d authored about 11 years ago by Mihai Bazon <[email protected]>Fix #333
0358e376f04b5f67616d57ccfd0fafbe1b9a6979 authored about 11 years ago by Mihai Bazon <[email protected]>b47f7b76b9f0ff5e34d744439f327897a592f675 authored about 11 years ago by Mihai Bazon <[email protected]>
582cc55cffc198f3401f90a0b32e2fcbe89afee1 authored about 11 years ago by Mihai Bazon <[email protected]>
Unit test to detect issue in 8d14efe for #126 that causes aggressive parenthesis removal, functi...
8979579e55025a72caf580788b48831cd7d623de authored about 11 years ago by Mihai Bazon <[email protected]>Fix RHS concat (raised in #330)
0d6e08c54148e4f119971069488224441609c204 authored about 11 years ago by Mihai Bazon <[email protected]>
When attempting to concat the left-side of the rhs, make sure the rhs is
a string.
Add a unit test to test to test for aggressive parenthesis removal that causes functional changes.
9cd118ca3d3e9882e4ecb14b153aa05cb070b453 authored about 11 years ago by Mark Jaquith <[email protected]>Fix #269
cfd5c6155c4774b4def6711c5159d9080148a7ae authored about 11 years ago by Mihai Bazon <[email protected]>Shorten most primitives where possible. Also optimize some edge cases.
1a5a4bd63185e38eb550a9b0ca85890002d5243a authored about 11 years ago by Richard van Velzen <[email protected]>Fix #280
63e1a8e1fd17958557f41a55ea08d678b7995f9b authored about 11 years ago by Mihai Bazon <[email protected]>
The `init` of the `ForStatement` is not a `BlockStatement` before it was
descended. The descend ...
Add an exit code to the test suite
aafe2e1db385f4e087b0c6140ead490ef5ccae72 authored about 11 years ago by Mihai Bazon <[email protected]>
By adding the exit code 1 (or any other non-zero exit code) `npm test`
will know the tests didn'...
(with it some tests break and it can generate invalid output, see issue #44)
63d04fff69de5e4c63f1a2476e57555805cbf401 authored about 11 years ago by Mihai Bazon <[email protected]>8c9cc920fb433ba41e816a61735a92e9e8f9a4d3 authored about 11 years ago by Mihai Bazon <[email protected]>
Fix #501
d09f0adae3605b8bf5d90a934037f71ae0c27780 authored about 11 years ago by Mihai Bazon <[email protected]>3fa9265ce43b1273f737b5606d0bb5d4643ef436 authored over 11 years ago by Mihai Bazon <[email protected]>
Fix #280, #282
3a81f60982a7f20ef9bd75b851759793ffe1d270 authored over 11 years ago by Mihai Bazon <[email protected]>f2348dd98baeb7dc3e0542465ede897c15d7cbc9 authored over 11 years ago by Mihai Bazon <[email protected]>
Only allow identifier start characters at the beginning of identifiers.
253c7c23258e9c783459f683a385bb518f18403a authored over 11 years ago by Mihai Bazon <[email protected]>Without this fix, the following source:
x = {"\u200c": 42};
would incorrectly be converted ...
bb0a762d12d2ecd058b9d7b57f16b4c289378d9c authored over 11 years ago by David Glasser <[email protected]>allows one to specify if `foo.bar` is considered to have side effects.
8cc86fee6016bc2d540a348f5eb4a174f006a02b authored over 11 years ago by Mihai Bazon <[email protected]>unlikely to help in hand-written code:
(something() ? foo : bar) == foo ==> something()
88fb83aa813d38e21abeab2b5e4f74f02ef582c1 authored over 11 years ago by Mihai Bazon <[email protected]>95b4507c02b57ad15a50e4db7343bac250ed4460 authored over 11 years ago by Mihai Bazon <[email protected]>
Somebody hit me with bug reports on this. :)
Refs #300
afdaeba37d2d7541529addaefe85ed09515863af authored over 11 years ago by Mihai Bazon <[email protected]>
ev() should do a single thing — evaluate constant expressions. if that's
not possible, just ret...
Close #300
583fac0a0f4f5ae9b71a051730b4834a190f6387 authored over 11 years ago by Mihai Bazon <[email protected]>Follow-up to 78e98d2.
e8158279ff08af915c634eeec4cfabda1ff4022e authored over 11 years ago by Dan Wolff <[email protected]>Close #298
78e98d2611f5698797785adbd12faf2ba46ec783 authored over 11 years ago by Mihai Bazon <[email protected]>
E.g. converts:
a+'Hello'+'World'
to
a+'HelloWorld'
83ba338bd0e59267080c37bd235e1b0a601edf36 authored over 11 years ago by Mihai Bazon <[email protected]>
See http://javascript.spec.whatwg.org/#comment-syntax
https://github.com/mishoo/UglifyJS/iss...
cb9d16fbe4b9af135209e7f01cf1d40bf388c3d7 authored over 11 years ago by Mihai Bazon <[email protected]>
5d8da864c55ad6f56a7ea82dd702339df04e2d3d authored over 11 years ago by Mihai Bazon <[email protected]>
Simplifies handling of labels (their definition/references can be easily
figured out at parse ti...
1c6efdae34f308a8cd22c41f48adf96dd428f4ee authored over 11 years ago by Mihai Bazon <[email protected]>
Close #286
b0ca896d988bdafe5f28aa13dd14e4d6e4703108 authored over 11 years ago by Mihai Bazon <[email protected]>++/x/.y
Fix #284
78a217b94c7648c88c46e0f5e9c15c747bef35dd authored over 11 years ago by Mihai Bazon <[email protected]>a89d23331802cabb690ac817a5a7c93144a4f9c9 authored over 11 years ago by Mihai Bazon <[email protected]>