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
a9af2c9e62b62572cf31c8db14ebd0e71ccbeaaa authored almost 12 years ago by Matt Robenolt <[email protected]>
31e99cebe74b90a058a8b988e22d727c33efdf80 authored almost 12 years ago by Mihai Bazon <[email protected]>
a5b209470c2a61c3c735523fc82bd1ce45a51ec1 authored almost 12 years ago by Mihai Bazon <[email protected]>
Add better fromstring docs.
e9a571b2a1a93e1c5e299ca4c8f846e2e1117994 authored almost 12 years ago by Mihai Bazon <[email protected]>Fix #105: property comparison to undefined is not always safe
8bf83f42eae5855b331932748d5cad60ee373e3a authored almost 12 years ago by Mihai Bazon <[email protected]>522566ea80011dc1674ca7f10a5666a24f24ac27 authored almost 12 years ago by Richard Gibson <[email protected]>
Fix #100
Fix #47
1b6bcca7 was a first attempt at this. That commit made Uglify stop replacing
holes with undefine...
faa354f5cad0547704a62a98b4ea32262591f341 authored almost 12 years ago by Mihai Bazon <[email protected]>
Update installation instructions
605f330e6949ca699a8770a9dd7d80bbacc6a175 authored almost 12 years ago by Mihai Bazon <[email protected]>Fix #91
f0909bdc8f747c46b1359bcca72bf785b660be70 authored almost 12 years ago by Mihai Bazon <[email protected]>c13e7e621da70c2374a3afe84e46677a75fe968c authored almost 12 years ago by Forbes Lindesay <[email protected]>
ad071f8017f36c47809cb53c411f8fee14874677 authored almost 12 years ago by Paul Miller <[email protected]>
Compressor options use underscores rather than hyphens
c058d8b9cdb30b4fc14490d5274f53a84b97f78d authored almost 12 years ago by Mihai Bazon <[email protected]>1d8871a092027988e386e4f0cf5a3b1057ade38d authored almost 12 years ago by Jake Archibald <[email protected]>
16953c20648ee3b08cf55733ea1b3a2d1d5a80d2 authored almost 12 years ago by Mihai Bazon <[email protected]>
6b14f7c224852a8b7b7cb837935bc300482d4d46 authored almost 12 years ago by Mihai Bazon <[email protected]>
Close #57
Close #86
Close #33
Add a --version option
47c9895d591f2b83259302416663cd0ed44b26eb authored almost 12 years ago by Mihai Bazon <[email protected]>ba403331c556598138946185042eb3ea917cf676 authored almost 12 years ago by Benoît Zugmeyer <[email protected]>
e82e89d1b05163c896de7ba66663c4a4a98067b9 authored almost 12 years ago by Benoît Zugmeyer <[email protected]>
close #83
83a4ebfedcd920871e583ef61151524b2d57b789 authored almost 12 years ago by Mihai Bazon <[email protected]>[not sure I'm happy about this fix]
Reference mishoo/UglifyJS#478
9916d0e54797679453cafc0ec260fd4116b725a0 authored about 12 years ago by Mihai Bazon <[email protected]>Close #74
31c4a37e37acc1e3ddd44c6c23f61a330e7b1484 authored about 12 years ago by Mihai Bazon <[email protected]>(need to force a semicolon for the empty body of an `if`)
Close #72
08219f0cee9d0be355daa57f873465765d36cd81 authored about 12 years ago by Mihai Bazon <[email protected]>c4993e1e5cb6ea8ca1f37a6bedf403a67bedbcf6 authored about 12 years ago by Mihai Bazon <[email protected]>
6064bea3db0814e0fd3514b68f8fa3d8e9a3367c authored about 12 years ago by Mihai Bazon <[email protected]>
fix #60.
98978fc827635617c763bcfb40ada026da00b852 authored about 12 years ago by Mihai Bazon <[email protected]>16430acc1f677c81b2c715b3576f8079c6e1e2df authored about 12 years ago by Mihai Bazon <[email protected]>
320c110b331be9c6cb20f4db1d63aaaa98eef739 authored about 12 years ago by Mihai Bazon <[email protected]>
It breaks usage like this:
echo '...code...' | uglifyjs
This reverts commit e48802ad291fae...
dbe33bbfc53badf7135d0aa93b7cdac708175629 authored about 12 years ago by Mihai Bazon <[email protected]>b5c3253b493b9e2428d5702169e5687f42fc6213 authored about 12 years ago by Mihai Bazon <[email protected]>
Fix #59
5cc90db7d0c8983b6cae38df9dca540acbc1481b authored about 12 years ago by Mihai Bazon <[email protected]>Fixed reading from STDIN
f427e5efc76d7871d57f1f04b896254b4a872a86 authored about 12 years ago by Mihai Bazon <[email protected]>e48802ad291fae5a16f2d23cbd25a0c433cdbe48 authored about 12 years ago by Visa Kopu <[email protected]>
13c4dfcabdd3e8597db6ecb09e2ac95fbae19195 authored about 12 years ago by Mihai Bazon <[email protected]>
1abde9c8b0aeef0ee5818821c2ca46a78eda2d59 authored about 12 years ago by Mihai Bazon <[email protected]>
4f555e2232459eaa4551ddf4e3f7535a416f1ddd authored about 12 years ago by Mihai Bazon <[email protected]>
642ba2e92c12bd36810ab42106f922de04bb48f4 authored about 12 years ago by Mihai Bazon <[email protected]>
089ac908b794bf1bc06d004bcb32d3d65f19ce64 authored about 12 years ago by Mihai Bazon <[email protected]>
otherwise we change the meaning of eval from global to lexical.
0d3fd2ef30d0a85edb76d6db6e9f6ef034f1cee4 authored about 12 years ago by Mihai Bazon <[email protected]>Usage: uglifyjs2 -b "beautify=0,preserve_line=1" /path/to/js
ref #46
e98119496a3d22f2d7ddc5f686eb8edfe05704ad authored about 12 years ago by Richard van Velzen <[email protected]>bdfcbf496b1b7be16dfd8a55c72bad8e5a33cf82 authored about 12 years ago by Mihai Bazon <[email protected]>
ref. mishoo/UglifyJS#441
dba8da48005956e151a097e85896b161b4224782 authored about 12 years ago by Mihai Bazon <[email protected]>60c0f40250f0f68ac78f8ddab177336040243579 authored about 12 years ago by Mihai Bazon <[email protected]>
e02771a5f2e23f7d75242a70729dbc8216bb4bfb authored about 12 years ago by Mihai Bazon <[email protected]>
ref. #43
f96f796f71a1eb4657f42c23513c59eaf11bf401 authored about 12 years ago by Richard van Velzen <[email protected]>a9fa178f86b36959ea9b86b591e22f4406aa7ce3 authored about 12 years ago by Mihai Bazon <[email protected]>
close #44
53355bdb24dc4ba31112239380209fc0caa7c897 authored about 12 years ago by Mihai Bazon <[email protected]>Convert x.toString() to ""+x instead of x+""
f05c99d89f0ccd18c757adfd6fa7cc93092823b5 authored about 12 years ago by Mihai Bazon <[email protected]>
In some places this can save one byte in whitespace, e.g. after return.
Example:
function f(arg...
b49230ab8d717d91710d8c383c79ded77c78a39e authored about 12 years ago by Dan Wolff <[email protected]>close #40
78856a3dabffb5e22431ee5c14656d3a64076540 authored about 12 years ago by Mihai Bazon <[email protected]>1e5e13ed81fe96d4388ae7d9ff1402a871c436b7 authored about 12 years ago by Mihai Bazon <[email protected]>
64270b97780afa714a5c0f86116f88261c310175 authored about 12 years ago by Mihai Bazon <[email protected]>
close #36, #38
e312c5c2a7d68de3da3bb7e8c9044e3183fe49d6 authored about 12 years ago by Mihai Bazon <[email protected]>for(...; x; ...) if (y) break; → for(...; x&&!y; ...);
similarly for `while` and some combi...
1a5fd3e05294a74900c6265f364f233e3f05eba0 authored about 12 years ago by Mihai Bazon <[email protected]>5a7e54cf724d28eab424acd92f097207ee69afbd authored about 12 years ago by Mihai Bazon <[email protected]>
39f8a6270384415fb45f1a814b8a3be5117c2345 authored about 12 years ago by Mihai Bazon <[email protected]>
we do need parens here: `new (foo.bar().baz)`, but not here: `new foo.bar.baz`
46be3f2bf19564a838179f523262f69dc1a9b5ac authored about 12 years ago by Mihai Bazon <[email protected]>258b46f4dc0d3df2cf20c4fbd4f3dd6314977518 authored about 12 years ago by Mihai Bazon <[email protected]>
80da21dab467e9214d5908fca0a54d1242b3c443 authored about 12 years ago by Mihai Bazon <[email protected]>
bb0e4d7126692b7dfa1d4a71b67f6a87c443d07e authored about 12 years ago by Mihai Bazon <[email protected]>
AST_Accessor will represent the function for a setter or getter. Since they
are not mangleable,...
refs #35
a1ae0c8609ad5ab977dae8afcb96b04594a0cc9a authored about 12 years ago by Mihai Bazon <[email protected]>a90c1aeafe0ab94cb20e0f0f40fda2b740a3bb15 authored about 12 years ago by Mihai Bazon <[email protected]>
fix #35
ff388a8d2d6f7777690e792e8cb497acb108e3e5 authored about 12 years ago by Mihai Bazon <[email protected]>fix #34
5346fb94bb186e08e21b60fb19ea7ec902c03784 authored about 12 years ago by Mihai Bazon <[email protected]>(for more fair comparison to Closure compiler)
a4f6d46118c0d9d1d84a9238d8ef4e57279caac3 authored about 12 years ago by Mihai Bazon <[email protected]>(since the source-map module no longer uses require.js)
refs #9
7f5f4d60b70909d21e0111d2c900ba0f5993b374 authored about 12 years ago by Mihai Bazon <[email protected]>ffccb233e5338fd99cdcda17058ffb0d3415cfcb authored about 12 years ago by Mihai Bazon <[email protected]>
fba0c1aafe5e54a982238bd7e54596852617ef6c authored about 12 years ago by Mihai Bazon <[email protected]>
for `==` or `!=` against a constant, prefer to display the constant first.
should help a bit aft...
close #28
85af942d64e007524d76454baf80011c3ecda2ce authored about 12 years ago by Mihai Bazon <[email protected]>to mitigate the `__proto__` issue
related to #30
8413787efc6dd570b5cc48dec65e5ffe1a32084a authored about 12 years ago by Mihai Bazon <[email protected]>dde57452aa5c42bddb6865404e75d1b721c26c43 authored about 12 years ago by Mihai Bazon <[email protected]>
#kendo
cf409800be18c76efc91a65051bea5f4cb9c44e4 authored about 12 years ago by Mihai Bazon <[email protected]>since it has the potential to break code, let's keep it disabled by default
18270dd9f371f1b5debad2521c4b9f7fce02051f authored about 12 years ago by Mihai Bazon <[email protected]>only try negating the expression if the operator is `!`
#kendo
d4c25c571bfac8e9bf91b2b894837d61370b0c35 authored about 12 years ago by Mihai Bazon <[email protected]>5248b79506d80c7da8b8a50225fe0bb48e607346 authored about 12 years ago by Mihai Bazon <[email protected]>
(opera can't parse it)
close #25
abe0ebbf026bcf1ac280f160de8621071681b2b9 authored about 12 years ago by Mihai Bazon <[email protected]>0852f5595edbceb1b8626c7214fcc6c17bf271e9 authored about 12 years ago by Mihai Bazon <[email protected]>
close #24
cb3cafa14d2b65e8100b777d47a0cbade08ad7ca authored about 12 years ago by Mihai Bazon <[email protected]>202fb937995086561421719b2b26449757e80913 authored about 12 years ago by Mihai Bazon <[email protected]>
7b87d2ef837efa6e8b03f7f778e87e5d264589c0 authored about 12 years ago by Mihai Bazon <[email protected]>
(it was assumed that the first `return` always contains a value)
close #22
70fd2b1f336535188696d9e7b198b8acd31aa558 authored about 12 years ago by Mihai Bazon <[email protected]>30faaf13edca3a4db6867e8faf0f0b68c6ac11e0 authored about 12 years ago by Mihai Bazon <[email protected]>
41be8632d3ec2ac0bae566aab97f40d7d7146142 authored about 12 years ago by Mihai Bazon <[email protected]>
bee01dc1bec7d76a323bc4570cdba869c42ad447 authored about 12 years ago by Mihai Bazon <[email protected]>
ref #9, close #20
12f71e01d02a2f4cc76cb8471036992e0cba9cf1 authored about 12 years ago by Mihai Bazon <[email protected]>Allow to specify sourceRoot in minify
3a72deacab4d2f5fea3399233565c8a62267c783 authored about 12 years ago by Mihai Bazon <[email protected]>
function f(x, y) {
var g = function() { return h() };
var h = function() { r...
11dffe950ed5beb1bbf224a594cf0fae7dc11f9a authored about 12 years ago by Sergej Tatarincev <[email protected]>
code, instead of file names, as first argument).
close #17
6f45928a73009b6b1aee8c1886f08ff5b83e6cb1 authored about 12 years ago by Mihai Bazon <[email protected]>afb7faa6fadee46a6ab46232eddba2121c77549b authored about 12 years ago by Mihai Bazon <[email protected]>
6aa56f92fe07edfc677d390a2e26b37c98da0968 authored about 12 years ago by Mihai Bazon <[email protected]>
4fe4257c69734448fb242dfaab3804f883165df3 authored about 12 years ago by Mihai Bazon <[email protected]>
a5e75c5a2125662b1ed1a93e8b2204bf33bf44f8 authored about 12 years ago by Mihai Bazon <[email protected]>
4482fdd63f0a9fcd8e6f92f2af8076cdb3240af6 authored about 12 years ago by Mihai Bazon <[email protected]>
(unlikely to help for hand-written code)
253bd8559bdc3b681fb665704718bc024f5d316e authored about 12 years ago by Mihai Bazon <[email protected]>6a099fba66eba896755f5a723a9d08034faee615 authored about 12 years ago by Mihai Bazon <[email protected]>