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

Update unicode letter

9a3a848cc8af8f567ce4eff01d632d1646ac30cc authored almost 10 years ago by Anthony Van de Gejuchte <[email protected]>
Optimize conditionals where the consequent and alternative are both booleans and not equivalent

a1a4c2ada70760851c63a7e3ff51ee7f786d3e8f authored almost 10 years ago by Tal Ater <[email protected]>
Merge pull request #612 from rvanvelzen/issue-611

Replace the correct node when replacing in `void` sequences

189dbf02b6f0c1abc0c10f092d72f7ffcc58a48f authored almost 10 years ago by Mihai Bazon <[email protected]>
Replace the correct node when replacing in `void` sequences

Close #611.

42ecd42ac00881f7d540cb08969ce7e2721e30d5 authored almost 10 years ago by Richard van Velzen <[email protected]>
Merge pull request #482 from arty-name/inline-ng-inject

added @ngInject support for inline functions

a10f6a96d724319f9bb582dab42392b4ef05a0e0 authored almost 10 years ago by Mihai Bazon <[email protected]>
Merge pull request #606 from rvanvelzen/document-double-dash

Document `--` for usage in CLI class

0d232a142288c26376e434c36d6374c615b3ee62 authored about 10 years ago by Mihai Bazon <[email protected]>
Document `--` for usage in CLI class

Close #518

285bffd2c6597420c4d3e937fea731a9041b385f authored about 10 years ago by Richard van Velzen <[email protected]>
Fix make_node_from_constant for Regexp-s

Close #588

61c233a08ed3768f19f05579888b327eee7286ec authored about 10 years ago by Mihai Bazon <[email protected]>
aborts(AST_If) returns the `if` node

Previously it returned the abort node from the alternative branch. This is
not much use as it c...

d2d716483aa69927541a0a29f3c1ee3c7bba30b4 authored about 10 years ago by Mihai Bazon <[email protected]>
Location fix for Mozilla AST start token.

f16033aafdd7f88da6b53c58f86b8effd1fb2a3d authored about 10 years ago by Ingvar Stepanyan <[email protected]>
Track ending lines/columns; fix end locations in Mozilla AST.

ae5366a31de7d65964400ffc7b2f05132e2538b6 authored about 10 years ago by Ingvar Stepanyan <[email protected]>
AST_Do nodes: walk body before condition

6b23cbc8522bdc6d28e1abb44eb2d1d6eb6b697a authored about 10 years ago by Mihai Bazon <[email protected]>
Pass mangle options to `figure_out_scope` and `compute_char_frequence`

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]>
Fix handling \r\n

Close #437

13219cebcb11f95fdaa77af653e96ac42e7e6dcc authored about 10 years ago by Mihai Bazon <[email protected]>
Declare boolean type for --keep-fnames

93a6e5780e51c44d79778636f2794a63267a8c6f authored about 10 years ago by Mihai Bazon <[email protected]>
Merge branch 'keep-function-expression-names' of https://github.com/rvanvelzen/UglifyJS2

fe55e0d93df173b4ef9a7035c3b3883acd0fa3e5 authored about 10 years ago by Mihai Bazon <[email protected]>
Support keep_fnames in compressor, and --keep-fnames. #552

Passing `--keep-fnames` will enable it both for compressor/mangler, so that
function names will ...

e1f0747e4cca7b77a0189dacbff9fa4800a2835c authored about 10 years ago by Mihai Bazon <[email protected]>
Add an option to prevent function names from being mangled

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]>
using the original sourcemap as the base

* Creates a new SourceMapGenerator based on a SourceMapConsumer:
https://github.com/mozilla/so...

ad18689d926d25c7a25b95c630c2ad05b7b5f5b5 authored about 10 years ago by Caridy Patino <[email protected]>
Resolve the relative path to lib files last

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]>
Add a "keep_fnames" option to the compressor to retain function expression names

See #552. This is useful for stack traces.

0d48af3f36e99252a42b2f40d8fc6d361aa5a7b1 authored about 10 years ago by Richard van Velzen <[email protected]>
passes in references to process and Buffer to silence ReferenceErrors

4613644cce9f64cef4115cbfff660b41d51a9b9d authored about 10 years ago by achingbrain <[email protected]>
Fix backslashes in source-map paths on Windows

718e4756134053bbcf62e9686f698fa3cb5a7e03 authored about 10 years ago by Derek Wickern <[email protected]>
Update README.md

otions => options

aa5dd1535245b3785704b2ac7075c2eb51ff42da authored about 10 years ago by Austin Brown <[email protected]>
Use svg instead of png to get better image quality

5bff65c1321994f6e84aa726d68451a086cab937 authored about 10 years ago by Peter Dave Hello <[email protected]>
Fix #556

`\uFEFF` (ZERO WIDTH NO-BREAK SPACE) is removed when parsing, but was
un-escaped for the output ...

24bc09b79bf9ca3a09eef4f536e7637568f7097a authored about 10 years ago by Richard van Velzen <[email protected]>
Merge pull request #570 from rvanvelzen/fix-569

Fix #569

37c17d55410ced4283fe173110efb99f33885c54 authored about 10 years ago by Richard van Velzen <[email protected]>
Merge pull request #584 from clyfish/fix-base54

fix base54

120948fa48278f3769acd4e57b7456ea5419a5f2 authored about 10 years ago by Richard van Velzen <[email protected]>
Merge pull request #592 from micschro/patch-1

Fix max_line_len not working for JSON files

66e6f0c3cb53c311655eb42d025a416c8bbef61a authored about 10 years ago by Richard van Velzen <[email protected]>
Merge pull request #600 from KenPowers/master

Use yargs instead of optimist.

f7447efa8ccfe73ba3792dc531505e56e6ced583 authored about 10 years ago by Richard van Velzen <[email protected]>
Fix #569

When no arguments are given to `new Function()`, it should be treated as
a regular anonymous fun...

f4d36a58c28cd6dd598a5e92c6ab56605b8c17e4 authored about 10 years ago by Richard van Velzen <[email protected]>
Use yargs instead of optimist.

6d1c3e1aec62021c475c51f21fd553b83147218c authored about 10 years ago by Kenneth Powers <[email protected]>
Merge pull request #599 from rvanvelzen/fix-597

Fix #597

73cc0505f5d41fe4b24d5693e547de9478737187 authored about 10 years ago by Mihai Bazon <[email protected]>
Fix #597

NaN and Infinity were replaced in the output generation, instead of
during compression. This cou...

c75f5a1fd85368edb3456637c544dee0cad1011e authored about 10 years ago by Richard van Velzen <[email protected]>
Fix max_line_len not working for JSON files

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]>
v2.4.16

5538ec7bd8a64c7fcc45895308a8463e4ca4d00a authored about 10 years ago by Mihai Bazon <[email protected]>
Merge pull request #546 from jacobk/patch-1

Use uglify source map token names if missing

f101d6429b067517838d44facb3559dac5aa8cc5 authored about 10 years ago by Mihai Bazon <[email protected]>
fix base54

fe06fc85d3324b13518c8d44977dcd5ac19f9bbf authored about 10 years ago by Cheng Liangyu <[email protected]>
Add option to allow return outside of functions.

Close #288

f36a1eaa8b5203ab7e4616108c33a0b68668a8db authored about 10 years ago by Mihai Bazon <[email protected]>
Document `keep_fargs`. Close #557

a64bdda9ae42ff39543fcfe16d70c4e064780e92 authored over 10 years ago by Mihai Bazon <[email protected]>
Referencing a global is assumed to have side effects.

Close #550

01d19b4b52abef47f8501e8719f0f17b11fc0d70 authored over 10 years ago by Mihai Bazon <[email protected]>
Merge pull request #549 from Arnavion/unreferenced-catch-symbol

Don't warn for an unreferenced exception symbol in a catch block.

f0c1a01bc260b8fb82e340e872a25b39eabf7200 authored over 10 years ago by Mihai Bazon <[email protected]>
Don't warn for an unreferenced exception symbol in a catch block.

7be680d3f8fe0b17d01c8e4aea5a95dcb97b43c8 authored over 10 years ago by Arnavion <[email protected]>
Merge pull request #541 from TalAter/conditional-improvements

Conditional assignment of equivalent constants compressed ( x=y?1:1 --> x=1 )

57dab1e1db7ed542ce9ace7caa3141130edffe12 authored over 10 years ago by Mihai Bazon <[email protected]>
Use uglify source map token names if missing

21b3c890a1dab21156f358bf388a2f9f507d1711 authored over 10 years ago by Jacob Kristhammar <[email protected]>
Compress conditions that have side effects using sequences

fb0ec720a4bbd3e136284c4b01a88025fbde004e authored over 10 years ago by Tal Ater <[email protected]>
Added a test for else if

7971ed33d13d33ad2b1ebf1ddcc57c466b819514 authored over 10 years ago by Tal Ater <[email protected]>
Compress conditional assignments where all possible outcomes are equivalant and condition has no side effects

885835a655b4c1b3a0a9cb0f78edaa6ac446a0e7 authored over 10 years ago by Tal Ater <[email protected]>
Turn foo.new into foo["new"] when not --screw-ie8. Fix #534

4c64554808e0805b86893704dc87df9ec449961a authored over 10 years ago by Mihai Bazon <[email protected]>
Prevent error for Function(""). Close #538

548beeb6b1fee91404a0c41bf9661604995cc59c authored over 10 years ago by Mihai Bazon <[email protected]>
Merge pull request #529 from RReverser/master

Added example for usage with SpiderMonkey AST

e3066f957710f266484ce7f5e8dfb581f7a698cc authored over 10 years ago by Mihai Bazon <[email protected]>
Added example for usage with SpiderMonkey AST.

e391367488c8f7bfc5890e1fa51f4ad6e6f28a5f authored over 10 years ago by Ingvar Stepanyan <[email protected]>
Merge branch 'master' of https://github.com/RReverser/UglifyJS2

18ddf2f7b5a09e4e4da15cba4bed0e83e0d40cce authored over 10 years ago by Mihai Bazon <[email protected]>
Install newest NPM on oldest Node.js.

f8ee5a07856833305dc62c695a7d10f397316189 authored over 10 years ago by Ingvar Stepanyan <[email protected]>
Added generative testing for AST conversions.

b467a3c877c8a953bf945d892a5c1bdb9573336c authored over 10 years ago by Ingvar Stepanyan <[email protected]>
Merge branch 'patch-1' of https://github.com/gdw2/UglifyJS2

f2d48e9019a70792a9af087f34c9afd7ac6e924a authored over 10 years ago by Mihai Bazon <[email protected]>
SpiderMonkey `Identifier` nodes should contain mangled names.

5e314bf3e934c9e54bd7145af04b36a1e36e5988 authored over 10 years ago by Ingvar Stepanyan <[email protected]>
Small fixes for AST conversion.

05ba26c7c8b96bddeb7b97ef42b5c03283b8e72e authored over 10 years ago by Ingvar Stepanyan <[email protected]>
Fixes and improvements for UglifyJS->SM AST conversion.

* Explicitly forbidden multiple catch clauses as SM-specific feature.
* Simplified describing of...

87b72364a466e2dc065f88bbd0bd88c94b9e6519 authored over 10 years ago by Ingvar Stepanyan <[email protected]>
Improved UglifyJS<->SpiderMonkey AST conversions.

* Added directives recognition in SM AST.
* Moved semi-standard SM `Property` type to separate h...

0e3ff1f970b173dddc4f624a8935925ea4cfca3e authored over 10 years ago by Ingvar Stepanyan <[email protected]>
Added license

ec3e74d7f48f2ccb4086cde60390dc58f5ddf8a2 authored over 10 years ago by gdw2 <[email protected]>
Fix parens for AST_Undefined

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]>
v2.4.15

83e0939088a26ad8c28bd2c1719f92bdcf17d045 authored over 10 years ago by Mihai Bazon <[email protected]>
Lock source-map to 0.1.34

9798d96e3751d0815ec613e9bf4b7fb5e2fde041 authored over 10 years ago by Mihai Bazon <[email protected]>
added newline at the end of the file

6006dd933d30b5480002e23b5ae77e0c76059233 authored over 10 years ago by Artemy Tregubenko <[email protected]>
Check for the case an AST_For's init is an EmptyStatement

(lame fix for #503)

ac2caf10889516d9350f1ef8ad402cdea80a7deb authored over 10 years ago by Mihai Bazon <[email protected]>
Evaluate "foo".length ==> 3

8511e80f489b4b7e3de8122009d492123a314ca8 authored over 10 years ago by Dan Wolff <[email protected]>
Merge pull request #499 from shinnn/master

Update .travis.yml to pass the test on Travis CI

91bc3f1f92b0d4e75ff40364458121e3df961cd0 authored over 10 years ago by Mihai Bazon <[email protected]>
Do not run a test for Node v0.4

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]>
v2.4.14

e3342a3cf63b84c93cb288ba568a3fe260d08247 authored over 10 years ago by Mihai Bazon <[email protected]>
added @ngInject support for inline functions

524a8a42a4c8d136a8f33739f8fea58ce78dd92c authored over 10 years ago by Artemy Tregubenko <[email protected]>
Actually, even better. #475

- also handle x = + ++y, x = - --y;
- don't use parens, a space suffices.

7bf59b5bcd4fb477ce7ea60aaa29ea89b865a955 authored over 10 years ago by Mihai Bazon <[email protected]>
Better fix for #475

025f3e9596e336ed4367d8621c920a236d6e4c17 authored over 10 years ago by Mihai Bazon <[email protected]>
Fix parens in +(+x). Close #475

8258edd8a54cd5ed5d15a3a674f2cc716b304aeb authored over 10 years ago by Mihai Bazon <[email protected]>
Merge branch 'master' of github.com:mishoo/UglifyJS2

8669ca219b8e271c5b822f89f46d16067f0802cd authored over 10 years ago by Mihai Bazon <[email protected]>
Merge pull request #445 from ConradIrwin/try-statement

Handle TryStatements trees from acorn >=0.2.0

71652690b6151596d704b290a1fe33e50e193b29 authored over 10 years ago by Mihai Bazon <[email protected]>
Update tests.

37693d2812ee2e5555dbdf1712e7e3f85d64d870 authored over 10 years ago by Mihai Bazon <[email protected]>
Always quote property names that contain non-ASCII characters.

Fix #328

8fbe20001215887275b3cf053be675ebdbf331a9 authored over 10 years ago by Mihai Bazon <[email protected]>
Merge pull request #470 from ebednarz/master

Fix sourceMapIncludeSources exception in Node API

1a34a13e3393a9afd6a032b5c2bf3e29cbdfe153 authored over 10 years ago by Mihai Bazon <[email protected]>
add sourceMappingUrl to output in node module

If options.outSourceMap is specified the sourceMappingURL comment
should be appended to the outp...

ef772b0049828fef64e81ba49f564d45d880b27a authored over 10 years ago by OiNutter <[email protected]>
Fix sourceMapIncludeSources exception in Node API

https://github.com/mishoo/UglifyJS2/issues/459

6fcabbde08cdac7890fedcc29b0342208998a871 authored over 10 years ago by ebednarz <[email protected]>
Merge pull request #454 from Arnavion/allow-colons-in-wrap_enclose

Allow colons in the pairs passed to AST_Toplevel.wrap_enclose

14f290f8abf796bb0a772532e1f6c584744e0e16 authored almost 11 years ago by Mihai Bazon <[email protected]>
Allow colons in the pairs passed to AST_Toplevel.wrap_enclose

e2e09d57548de10892d0595e9fb2a9978aa57726 authored almost 11 years ago by Arnavion <[email protected]>
v2.4.13

448a8d3845e16cd4c03fb2a0cf26b1d55307a635 authored almost 11 years ago by Mihai Bazon <[email protected]>
Handle TryStatements trees from acorn >=0.2.0

514936beb875b27d5df8b16b59a71b7424a427e1 authored almost 11 years ago by Conrad Irwin <[email protected]>
Merge pull request #439 from Arnavion/null-source-in-sourcemap

Handle the case when SourceMapConsumer.originalPositionFor returns null source.

f5c09d0bbf0bce5435b2fce3e4e1261970596a29 authored almost 11 years ago by Mihai Bazon <[email protected]>
Handle the case when SourceMapConsumer.originalPositionFor returns null source.

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]>
Mangle name of exception when --screw-ie8. Fix #430.

The effect of not mangling it was visible only with --screw-ie8 (otherwise
the names would be ma...

bf30dc30383520015bd265e528325c64e5ebe4ce authored almost 11 years ago by Mihai Bazon <[email protected]>
Add option `keep_fargs`.

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]>
Merge pull request #424 from mattbasta/simplify_conditionals

Simplify nested conditionals if possible

1a4440080dd2632eb47ee446058fa01ad76c6e9b authored almost 11 years ago by Mihai Bazon <[email protected]>
Simplify nested conditionals if possible

ac0086a74521ffce97b6e8bde0bee54feb0c5ec9 authored almost 11 years ago by Matt Basta <[email protected]>
Merge pull request #422 from mourner/patch-1

Fix readme typo (when -> with)

2494daaf687c9a07d16f37c74213b95f02341649 authored almost 11 years ago by Mihai Bazon <[email protected]>
fix readme typo (when -> with)

9b404f9de67d16e3c887ce072ce3a07d324e525f authored almost 11 years ago by Vladimir Agafonkin <[email protected]>
Fix if_return dropping the alternative. Close #413

5344b7dab897fe266db9524a99529d6b64e9386e authored almost 11 years ago by Mihai Bazon <[email protected]>
Update source-map

0007a53b9ce30c6195364fa7c41ba3bfe593f7c2 authored almost 11 years ago by Mihai Bazon <[email protected]>
Merge branch 'sourcesContent' of https://github.com/arty-name/UglifyJS2 into arty-name-sourcesContent

1dd05f44eb2e7fd56ee7344ece8619619609a7b1 authored almost 11 years ago by Mihai Bazon <[email protected]>
v2.4.12

bf7b122ab2e5a7cb2f6c3f7fa798628345260c7c authored almost 11 years ago by Mihai Bazon <[email protected]>
Merge branch 'master' of github.com:mishoo/UglifyJS2

e29048b54a13a9382b46256f4a0b29a7002d4986 authored almost 11 years ago by Mihai Bazon <[email protected]>
Merge pull request #408 from danielstutzman/escape-null-in-regex

Don't unescape \x00 in regexes (it breaks IE8)

2eeb640eca927e40fd7204b8a66d23f45204eddd authored almost 11 years ago by Mihai Bazon <[email protected]>
Move unescaping regexps under a codegen option (`unescape_regexps`)

ceb200fe81b42e0abd2242018530d6d952eb058d authored almost 11 years ago by Mihai Bazon <[email protected]>