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

Update README.md

github.com/terser/html-minifier-terser - 602b8c0756a9bf53d1cf3152a017ff41183ee793 authored almost 11 years ago by Juriy Zaytsev <[email protected]>
Conditional/call optimization

foo ? bar(x) : bar(y) ==> bar(foo ? x : y)

github.com/terser/terser - b521b4b926f7a385ed14ec07bc4b5dad9ebcd93b authored almost 11 years ago by Mihai Bazon <[email protected]>
Mark `yield` as reserved word. Close #375.

github.com/terser/terser - aa9de76370ee83883f19a6d410ad8207d0fe1769 authored about 11 years ago by Mihai Bazon <[email protected]>
Optimize seq,void 0. Close #377.

(x, void 0) => void x
(x, undefined) => void x

github.com/terser/terser - 5a083a938d8d6eca5c43a5edd1921906299df18f authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #104 from almirfilho/gh-pages

Add missing HTML inline tags for collapsing whitespace

github.com/terser/html-minifier-terser - 078c1d04101a02f1f417f601fad539eb27341045 authored about 11 years ago by Juriy Zaytsev <[email protected]>
Adds missing HTML inline tags for collapsing whitespace

github.com/terser/html-minifier-terser - 282e0e22f23b08eef2f8cd7a8c293524f6400146 authored about 11 years ago by Almir Filho <[email protected]>
Better fix for comments in AST_Exit

Close #374

github.com/terser/terser - 7a30d826b89197f7a74001af83676c39277b0eab authored about 11 years ago by Mihai Bazon <[email protected]>
Take out all comments from an AST_Exit's value

Fix #372

github.com/terser/terser - be55a09edf7526cd325e3c954e0ae778a1f625b0 authored about 11 years ago by Mihai Bazon <[email protected]>
v2.4.8

github.com/terser/terser - 15a148ff6d5a1ec56e2e11bed7ec271da552c475 authored about 11 years ago by Mihai Bazon <[email protected]>
Add option to adjust the src/target line in the source map

github.com/terser/terser - 428e19fed25dc910187080cc41e6afc254def0d5 authored about 11 years ago by Mihai Bazon <[email protected]>
minor

github.com/terser/terser - f65e55dff40334bda8eed4f77b88a1c90af27d7c authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #371 from colorhook/master

bugfix #242

github.com/terser/terser - b634018618069653f08dad79026dd621ec7d90a0 authored about 11 years ago by Mihai Bazon <[email protected]>
bugfix #242

github.com/terser/terser - fa3300f31474af5c566da96ff8db78a2eafa49e3 authored about 11 years ago by colorhook <[email protected]>
semicolons

github.com/terser/terser - bd0886a2c0b6205d1e7a3c03ef44c093c3317ca7 authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #245 from ForbesLindesay/patch-1

Make `DefaultsError` a real `Error` object

github.com/terser/terser - 248f304f02528f1e63c11707f3159e456baac139 authored about 11 years ago by Mihai Bazon <[email protected]>
Add `drop_console` option to the compressor

github.com/terser/terser - dc5f70eab5cf89f1046482e97267030b3bbf2b66 authored about 11 years ago by Mihai Bazon <[email protected]>
minor

github.com/terser/terser - df8c5623af1afff5fffc6af49ceda5da16f95d54 authored about 11 years ago by Mihai Bazon <[email protected]>
v2.4.7

github.com/terser/terser - a790c09c91d6b334bbe961558a064f33416eb752 authored about 11 years ago by Mihai Bazon <[email protected]>
AST_Catch shouldn't really inherit from AST_Scope. Fix #363

I hereby acknowledge that figure_out_scope has become a mess.

github.com/terser/terser - 8f35a363d90e6521e916a8d70f3302d4adc51ae6 authored about 11 years ago by Mihai Bazon <[email protected]>
Properly scope `catch` identifier when --screw-ie8

Fix #344

github.com/terser/terser - d2190c2bf340d807a0c8595dbc2f849aa3bcc443 authored about 11 years ago by Mihai Bazon <[email protected]>
v2.4.6, because npm is foobar

github.com/terser/terser - ea1064257206cfa8d55ee6aad05536f940cc38a4 authored about 11 years ago by Mihai Bazon <[email protected]>
v2.4.5

github.com/terser/terser - 547561a568aed8fd2840fae48219a7843893d12d authored about 11 years ago by Mihai Bazon <[email protected]>
Add --noerr to turn off argument name checking

for now only used for keys passed to `-c` or `-b`.

github.com/terser/terser - c16d538ce7879af6077be3baf4ada87477c4354b authored about 11 years ago by Mihai Bazon <[email protected]>
v2.4.4

github.com/terser/terser - 73d082df2e22e44257b333961f20b2a5a81a934c authored about 11 years ago by Mihai Bazon <[email protected]>
Fix faulty compression

`String(x + 5)` is not always the same as `x + "5"`. Overlooked that. :-(

Close #350

github.com/terser/terser - 50b8d7272c3b0c7a222e5d6e433c9736f920434c authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #93 from stieler-it/patch-1

Preserve quotes if attribute ends with a trailing slash

github.com/terser/html-minifier-terser - 4a05431ae60e8a3e80af3d20475739eccc5846d0 authored about 11 years ago by Juriy Zaytsev <[email protected]>
Added a comment to make the reason behind the expression more verbose

github.com/terser/html-minifier-terser - e199a02c34d8098fac775d11980c8bb423a222c5 authored about 11 years ago by stieler-it <[email protected]>
Added a test that fails if attribute quotes are stripped with a trailing slash

github.com/terser/html-minifier-terser - 88b36921870b3d5e9422659f27c529dd0b9db04c authored about 11 years ago by stieler-it <[email protected]>
Only descend twice after drop_unused if it's the same node type.

Fix #345

github.com/terser/terser - 7d11b96f48f7f03727fa664d540484f214cadca2 authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #96 from sparanoid/feature/time-tag

Add space around time tag

github.com/terser/html-minifier-terser - 73f98294cf38b0729fc97f622b77f79ed456a060 authored about 11 years ago by Juriy Zaytsev <[email protected]>
Add space around time tag

github.com/terser/html-minifier-terser - ac2243772d13240a80f7126618e5ef347958edeb authored about 11 years ago by Tunghsiao Liu <[email protected]>
Better fix for #343

We can in fact lift sequences, but only if the operation is assignment and
the left-hand side ha...

github.com/terser/terser - eab99a1c3d229f7e73b91b5a28e5ebf53a24671b authored about 11 years ago by Mihai Bazon <[email protected]>
v2.4.3

github.com/terser/terser - 19e2fb134d1c6d0fdf74b0d008d772c0283afb6e authored about 11 years ago by Mihai Bazon <[email protected]>
Do not lift sequence from right-hand side of binary operation. Fix #343

github.com/terser/terser - f4919e3a251b4a3beaba66f2a143f795f358409e authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #94 from rolftimmermans/newline-collapse

Newlines should be collapsed to single space.

github.com/terser/html-minifier-terser - 0d094bc1518a44ae6b268b3595ac535e4f4be7c3 authored about 11 years ago by Juriy Zaytsev <[email protected]>
Newlines should be collapsed to single space.

github.com/terser/html-minifier-terser - 741f6628a27e46c4d1ac8deb7e8b8b3d368e4965 authored about 11 years ago by Rolf Timmermans <[email protected]>
v2.4.2

github.com/terser/terser - bb700daa4c48e4fa7ef2258354df8789fbc8e849 authored about 11 years ago by Mihai Bazon <[email protected]>
Update front page again

github.com/terser/html-minifier-terser - 6375b4bf513df9e517918bc99738a880cfb3e44a authored about 11 years ago by kangax <[email protected]>
Update front page

github.com/terser/html-minifier-terser - 16393792c44c037b4f880e6d1a96965bf207b20a authored about 11 years ago by kangax <[email protected]>
[README] Fix #278

github.com/terser/terser - 263577d5eb2fc4f58ce7fe0c92007031fbc7f526 authored about 11 years ago by Mihai Bazon <[email protected]>
Workaround for Safari bug

Close #313

github.com/terser/terser - 63287c0e681154698a2aeb73380ea9b40260c6b0 authored about 11 years ago by Mihai Bazon <[email protected]>
Fix parsing setters/getters (allow keywords for name).

The "key" property was always "set" or "get", which didn't make much sense.
Now it'll be the act...

github.com/terser/terser - c5ed2292bf2b78fcfb6913ef8819bb53f9e80132 authored about 11 years ago by Mihai Bazon <[email protected]>
Fix regression after e4c530240650535d1cb46569dfb013193471af05

`x * (y * z)` ==> `x * y * z` -- the better place to do this is in the
compressor rather than co...

github.com/terser/terser - b70670b69fbc3badd6186d6a6671754976bd36cb authored about 11 years ago by Mihai Bazon <[email protected]>
indentation

github.com/terser/terser - 9dd97605bc724c78b7f73177ae8ceaee92cc01d2 authored about 11 years ago by Mihai Bazon <[email protected]>
Fix output for `x = 2 * (a % b / b * c)`

(issue #337)

github.com/terser/terser - e4c530240650535d1cb46569dfb013193471af05 authored about 11 years ago by Mihai Bazon <[email protected]>
minor

github.com/terser/terser - bea3d90771e98c44a6c20578aabd9ebc81edb6ed authored about 11 years ago by Mihai Bazon <[email protected]>
Disallow reversal where lhs has higher or equal precedence

Fixes #267

github.com/terser/terser - 785c6064cc4d28f3453e88fba3e085c4e2eaf553 authored about 11 years ago by Richard van Velzen <[email protected]>
Fix typo

github.com/terser/terser - b214d3786fdb569b9ba5b885f0653927960d450f authored about 11 years ago by Mihai Bazon <[email protected]>
Fix reading arguments

i.e. read `-c unsafe,unsafe-comps` as `-c unsafe=true,unsafe_comps=true`

github.com/terser/terser - 7cf79c302b61ebd07c33aabee929dfb8666cba56 authored about 11 years ago by Mihai Bazon <[email protected]>
Avoid shadowing name of function expression with function argument

Close #179, #326, #327

github.com/terser/terser - a14c6b6574b47ba9fe4e238eea1f1286097d3c5d authored about 11 years ago by Mihai Bazon <[email protected]>
Add "preamble" output option

Close #335

github.com/terser/terser - f1b7094a57cc3fbbe37a2c653f255190b9359c0d authored about 11 years ago by Mihai Bazon <[email protected]>
Fix codegen for when comments_before is undefined.

Fix #333

github.com/terser/terser - 0358e376f04b5f67616d57ccfd0fafbe1b9a6979 authored about 11 years ago by Mihai Bazon <[email protected]>
Merge branch 'master' of github.com:mishoo/UglifyJS2

github.com/terser/terser - b47f7b76b9f0ff5e34d744439f327897a592f675 authored about 11 years ago by Mihai Bazon <[email protected]>
Display number of failed tests and corresponding files

github.com/terser/terser - 582cc55cffc198f3401f90a0b32e2fcbe89afee1 authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #330 from markjaquith/master

Unit test to detect issue in 8d14efe for #126 that causes aggressive parenthesis removal, functi...

github.com/terser/terser - 8979579e55025a72caf580788b48831cd7d623de authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #331 from rvanvelzen/rhs-strings-fix

Fix RHS concat (raised in #330)

github.com/terser/terser - 0d6e08c54148e4f119971069488224441609c204 authored about 11 years ago by Mihai Bazon <[email protected]>
Fix RHS concat (raised in #330)

When attempting to concat the left-side of the rhs, make sure the rhs is
a string.

github.com/terser/terser - e2daee9a655160e4eeea6dee4ceddfe0049ebacf authored about 11 years ago by Richard van Velzen <[email protected]>
Add a unit test for issue-126

Add a unit test to test to test for aggressive parenthesis removal that causes functional changes.

github.com/terser/terser - 9cd118ca3d3e9882e4ecb14b153aa05cb070b453 authored about 11 years ago by Mark Jaquith <[email protected]>
Merge pull request #325 from rvanvelzen/fix-269

Fix #269

github.com/terser/terser - cfd5c6155c4774b4def6711c5159d9080148a7ae authored about 11 years ago by Mihai Bazon <[email protected]>
Fix #269

Shorten most primitives where possible. Also optimize some edge cases.

github.com/terser/terser - 1a5a4bd63185e38eb550a9b0ca85890002d5243a authored about 11 years ago by Richard van Velzen <[email protected]>
Merge pull request #323 from rvanvelzen/undefined-drop-vars-fix

Fix #280

github.com/terser/terser - 63e1a8e1fd17958557f41a55ea08d678b7995f9b authored about 11 years ago by Mihai Bazon <[email protected]>
Fix #280

The `init` of the `ForStatement` is not a `BlockStatement` before it was
descended. The descend ...

github.com/terser/terser - 7055af822147bcf36421ce02fd3447e7f916ce2e authored about 11 years ago by Richard van Velzen <[email protected]>
Merge pull request #322 from rvanvelzen/test-exit-code-1

Add an exit code to the test suite

github.com/terser/terser - aafe2e1db385f4e087b0c6140ead490ef5ccae72 authored about 11 years ago by Mihai Bazon <[email protected]>
Add an exit code to the test suite

By adding the exit code 1 (or any other non-zero exit code) `npm test`
will know the tests didn'...

github.com/terser/terser - 118105db43b0d0b45a96b943f63efd1c06486802 authored about 11 years ago by Richard van Velzen <[email protected]>
Revert #3a81f60 for now

(with it some tests break and it can generate invalid output, see issue #44)

github.com/terser/terser - 63d04fff69de5e4c63f1a2476e57555805cbf401 authored about 11 years ago by Mihai Bazon <[email protected]>
v2.4.1

github.com/terser/terser - 8c9cc920fb433ba41e816a61735a92e9e8f9a4d3 authored about 11 years ago by Mihai Bazon <[email protected]>
Preserve quotes if attribute ends with a trailing slash

minified URLs in parameters, like <a href="http://www.example.com/"> need to keept their quotes ...

github.com/terser/html-minifier-terser - ea27fd1d03328d70705a5b3f9c2d5e5f84898812 authored about 11 years ago by stieler-it <[email protected]>
`arguments` outside of a function is an ordinary variable.

Fix #501

github.com/terser/terser - d09f0adae3605b8bf5d90a934037f71ae0c27780 authored about 11 years ago by Mihai Bazon <[email protected]>
wrap up

github.com/terser/terser - 3fa9265ce43b1273f737b5606d0bb5d4643ef436 authored about 11 years ago by Mihai Bazon <[email protected]>
Don't drop_unused before compression.

Fix #280, #282

github.com/terser/terser - 3a81f60982a7f20ef9bd75b851759793ffe1d270 authored about 11 years ago by Mihai Bazon <[email protected]>
Rename clean_getters to pure_getters; add pure_funcs.

github.com/terser/terser - f2348dd98baeb7dc3e0542465ede897c15d7cbc9 authored about 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #308 from meteor/fix-unicode-keys

Only allow identifier start characters at the beginning of identifiers.

github.com/terser/terser - 253c7c23258e9c783459f683a385bb518f18403a authored about 11 years ago by Mihai Bazon <[email protected]>
Only allow identifier start characters at the beginning of identifiers.

Without this fix, the following source:

x = {"\u200c": 42};

would incorrectly be converted ...

github.com/terser/terser - bb0a762d12d2ecd058b9d7b57f16b4c289378d9c authored about 11 years ago by David Glasser <[email protected]>
add `clean_getters` compressor option (default `false`)

allows one to specify if `foo.bar` is considered to have side effects.

github.com/terser/terser - 8cc86fee6016bc2d540a348f5eb4a174f006a02b authored about 11 years ago by Mihai Bazon <[email protected]>
minor optimization

unlikely to help in hand-written code:

(something() ? foo : bar) == foo ==> something()

github.com/terser/terser - 88fb83aa813d38e21abeab2b5e4f74f02ef582c1 authored about 11 years ago by Mihai Bazon <[email protected]>
Fix error in the output minifying `Function("return this")()`

github.com/terser/terser - 95b4507c02b57ad15a50e4db7343bac250ed4460 authored about 11 years ago by Mihai Bazon <[email protected]>
More attempts to determine when addition is associative

Somebody hit me with bug reports on this. :)

Refs #300

github.com/terser/terser - afdaeba37d2d7541529addaefe85ed09515863af authored over 11 years ago by Mihai Bazon <[email protected]>
Actually let's move away those monsters from the evaluate function

ev() should do a single thing — evaluate constant expressions. if that's
not possible, just ret...

github.com/terser/terser - 037199bfe2e60ceca0b39fca20f833b02d6c85db authored over 11 years ago by Mihai Bazon <[email protected]>
More dirty handling of [ ... ].join() in unsafe mode

Close #300

github.com/terser/terser - 583fac0a0f4f5ae9b71a051730b4834a190f6387 authored over 11 years ago by Mihai Bazon <[email protected]>
Evaluate [...].join() if possible: minor bugfix

Follow-up to 78e98d2.

github.com/terser/terser - e8158279ff08af915c634eeec4cfabda1ff4022e authored over 11 years ago by Dan Wolff <[email protected]>
When `unsafe` is set, evaluate [...].join() if possible

Close #298

github.com/terser/terser - 78e98d2611f5698797785adbd12faf2ba46ec783 authored over 11 years ago by Mihai Bazon <[email protected]>
Concatenate strings also on the right-hand side of an expression that cannot be evaluated. Fix #126

E.g. converts:
a+'Hello'+'World'
to
a+'HelloWorld'

github.com/terser/terser - 8d14efe818d9a33821a6acc26b612aaf1fd6e967 authored over 11 years ago by Dan Wolff <[email protected]>
Avoid printing <!-- in the output (HTML5 comment)

github.com/terser/terser - 83ba338bd0e59267080c37bd235e1b0a601edf36 authored over 11 years ago by Mihai Bazon <[email protected]>
Support HTML5 comment syntax (enabled by default!)

See http://javascript.spec.whatwg.org/#comment-syntax
https://github.com/mishoo/UglifyJS/iss...

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

github.com/terser/terser - cb9d16fbe4b9af135209e7f01cf1d40bf388c3d7 authored over 11 years ago by Mihai Bazon <[email protected]>
Bump version to 0.5.4

github.com/terser/html-minifier-terser - a7e68a6f87c327fd0aed2d1261503539d64c9a46 authored over 11 years ago by kangax <[email protected]>
Merge pull request #82 from mhulse/patch-3

New feature: Ignoring tags.

github.com/terser/html-minifier-terser - 7f4f709da1b4a7747e9d1fe2a55035401cc24f79 authored over 11 years ago by Juriy Zaytsev <[email protected]>
Ignored tags: Final tweaks before sending PR.

See: kangax/html-minifier#10

github.com/terser/html-minifier-terser - d2a8202277f05c0d0bd15f6f1ed576745952938b authored over 11 years ago by Micky Hulse <[email protected]>
Fix names.

github.com/terser/terser - 5d8da864c55ad6f56a7ea82dd702339df04e2d3d authored over 11 years ago by Mihai Bazon <[email protected]>
Disallow `continue` referring to a non-IterationStatement. Fix #287

Simplifies handling of labels (their definition/references can be easily
figured out at parse ti...

github.com/terser/terser - 85b527ba3d609e87b5b5f758b429ef371dc3e459 authored over 11 years ago by Mihai Bazon <[email protected]>
Better fix for #286

github.com/terser/terser - 1c6efdae34f308a8cd22c41f48adf96dd428f4ee authored over 11 years ago by Mihai Bazon <[email protected]>
Fix parsing `a.case /= 1`

Close #286

github.com/terser/terser - b0ca896d988bdafe5f28aa13dd14e4d6e4703108 authored over 11 years ago by Mihai Bazon <[email protected]>
Fix parsing regexp after unary-prefix operator

++/x/.y

Fix #284

github.com/terser/terser - 78a217b94c7648c88c46e0f5e9c15c747bef35dd authored over 11 years ago by Mihai Bazon <[email protected]>
Better reporting of parse errors

github.com/terser/terser - a89d23331802cabb690ac817a5a7c93144a4f9c9 authored over 11 years ago by Mihai Bazon <[email protected]>
v2.4.0

github.com/terser/terser - c28e1a023764993a3c9fd65ece2070ccc661237e authored over 11 years ago by Mihai Bazon <[email protected]>
Remove --ie-proof from the readme.

Fix #276

github.com/terser/terser - 1a95007ec103d8799b9f544948f81fa8c3c9dcb1 authored over 11 years ago by Mihai Bazon <[email protected]>
Cleaning up a few things like ...

… removal of an unused variable.

github.com/terser/html-minifier-terser - b4ecab25d04ba9e9d5b027368e980f646387e10e authored over 11 years ago by Micky Hulse <[email protected]>
Simplified regex ...

For finding start and end "ignored" tags.

github.com/terser/html-minifier-terser - d36a358d368747b9e86a6ee6ff37dbb55f2500e8 authored over 11 years ago by Micky Hulse <[email protected]>