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

Avoid using inherited hasOwnProperty

Fix #1031

931723737204d0a042604f8051ca3af8aa08a1c7 authored almost 9 years ago
Optimize ternaries with boolean consequent or alternative.

Fixes #511

98434258d0839cb02de8b723df0cafe40c6cf218 authored almost 9 years ago
Speedup `unused` compress option for already minified code

Fixes: #321 #917 #1022

45ddb9caeb200615b9f0ced0ed83fa95f0c51b23 authored almost 9 years ago
added documentation on conditional compilation using API

9bcf702a6e12ab35fda9ca35042ae3dc7c449891 authored almost 9 years ago
First class block scope

- Make let, const, and class symbols be declared in a block scope.
- Piggy back on existing catc...

634f231b78853dd0f02f6857eb9d4a646d571029 authored almost 9 years ago
fix #1021

6702cae9185976cc03b6509858a4c4a3df4fe438 authored almost 9 years ago
Merge pull request #1011 from kzc/dont-produce-let-in-mangle

Do not produce `let` as a variable name in mangle.

f68de86a174530a1e796eabbf872633a01485900 authored almost 9 years ago
Merge pull request #1019 from kzc/escape-ascii-only

Escape all ASCII control characters within strings for ascii_only

c3c7587796e0edf07f834ff75924d811fee0af0d authored almost 9 years ago
Escape all ASCII control characters within strings when using ascii_only.

Fixes #1017.

Tab characters within strings are now output as `\t` in all output modes.

07bb7262d02547cef5ffaca71d49c86640a1df15 authored almost 9 years ago
Attempt to increase timeout for mocha let test.

21befe583ffac6a9c27c8e9d67eae39feb5b528f authored almost 9 years ago
Do not produce `let` as a variable name in mangle.

Would previously occur in large generated functions with 21,000+ variables.
Fixes #986.

a9d4a6291b2f3c2531ff4bdd59ac75edd0a06d60 authored almost 9 years ago
fix #1003 by removing AST_ObjectSymbol and using AST_ObjectKeyVal for the same effect

6d2f77c18023833256d9059c1fbb36b5522b4131 authored almost 9 years ago
Starting out the import statement

0465bd270d95e2fcf71c446438d3b9cfda527190 authored almost 9 years ago
Importing names from places

d35a9e783920fd286cdbb1574e703f199a1415f0 authored almost 9 years ago
importing names in the modules, not just default imports

59e1601fb8fbcf03a2e26ce7eea72afac86ee880 authored almost 9 years ago
Implement the export statement

ce84a706a3eab73589d0723bf8e03f8d4cbd776e authored almost 9 years ago
Mangling externally imported names by using aliasing

86b5248837d3b4f2bfa14da6537e349b3306df26 authored almost 9 years ago
Don't mangle exported symbols

0bc4f6edb4ccfa04b124e244268bd95a01d9f642 authored almost 9 years ago
fix crash: Import statements don't abort

accca2445fcbf87b21702f34e378233dfaf195ca authored almost 9 years ago
Fix: Uglified Number.prototype functions on big numbers

ee6c9fabb7dc00b8bbc9e60859767acc585cd0fa authored almost 9 years ago
Fix eager parsing of arrow functions for non-punc tokens

6780d0906c324102ec655d8e844754223876382a authored almost 9 years ago
#877 Ignore mangle sort option

102d1b9137353086f11fe2fc7abf9095042d4306 authored almost 9 years ago
v2.6.2

294861ba96aaf61591e2158c9e9ffad50f58625d authored almost 9 years ago
boolean_expression ? true : false --> boolean_expression

11b0efdf84dcdae71ac66453f8bf644052a32cc8 authored almost 9 years ago
Take operator || precendence into account for AST_If optimization.

Fixes #979.

5486b68850f8da3fbcdef228a88ff494c33bac4a authored almost 9 years ago
Allow --no-* options to disable their respective parameter

Fixes #974 and #972

bdd8e34f635db60765f1fd5c8b5355e71ee16095 authored almost 9 years ago
preserve ThisBinding for side_effects

654743772514f5204d38bc7e7dba566b9dafedbd authored almost 9 years ago
Don't compress (0, eval)() to eval()

9662228f6a026908aaf6f3e3531b6abd98fa28fc authored almost 9 years ago
Preserve ThisBinding in conditionals & collapse_vars

Fixes #973

31a9b05c9642d8b402611d49ea23a6c2902cf374 authored almost 9 years ago
Merge pull request #948 from kzc/collapse_vars_doc

collapse_vars: document the compress option in README

63b01fe8f9ed9f340884ce3dc1555c2024d81e23 authored about 9 years ago
Revert "using the original sourcemap as the base"

This reverts commit ad18689d926d25c7a25b95c630c2ad05b7b5f5b5.

Reason for revert: introduce issu...

7a4ed9d200c96d1fa2f9fcdfeab6ee76a3bbd696 authored about 9 years ago
fix: don't fail if definition is undefined

Running `uglifyjs --verbose --compress --mangle --screw-ie8 class.js`
with
`class.js`:
```
class...

0b303379c0cdc33a8c14c97ab29148d981b4887e authored about 9 years ago
Allow cli options to be specified in separate definitions

Fix for #963. This allows stuff like `--define a=1 --define b=1` besides only `--define a=1,b=1`

d5c651a5e5667e64f4fe76f4d3669ba5bd375b6d authored about 9 years ago
Fix #931: Create arrow functions in maybe_assign so that they can be used in assignments

d7ec2ecc12ca24e5db94ec0fe634e6a41ff5dfe1 authored about 9 years ago
Create and map `bare-returns` into new `parse` property name

cdba43cfa44c15fe12f87c356dad4caa5a946b5b authored about 9 years ago
Fixes #951 missing export for SymbolDef

a123e232b9e4d2fdc3905016fb56b71c5ab3ffcc authored about 9 years ago
Merge pull request #949 from kzc/collapse_vars_conditions

collapse_vars: fix if/else and ternary operator side effects

601780acc18bf0839025d72bb39a110236513891 authored about 9 years ago
collapse_vars: avoid replacement across AST_Case nodes to be on safe side even though no issues seen.

7c3fee9e31e80fe60d1d776cdf81d9283490ff87 authored about 9 years ago
collapse_vars: fix if/else and ternary operator side effects

929de2b0de0429bb076f73ebcbb19df53e4d1704 authored about 9 years ago
collapse_vars: small change to README

12e6ad326cdbe93698b54745727efb0b5e5c4216 authored about 9 years ago
collapse_vars: document option in README

00c8d1d24149e4172ce9ddd237e4c7620a1346d3 authored about 9 years ago
collapse_vars: fix bug in repeated var defs of same name

af2472d85e25e2bddad0b663b38281aeb61536e9 authored about 9 years ago
Add mangleProperties documentation to README

Add additional documentation to mangleProperties.

3eb9101918e1c8127f960624bd11f3707215b012 authored about 9 years ago
fix bug in collapse_vars for right side of "||" and "&&"

0a38a688f9a327d677d7f8314b5c4dcf4590b798 authored about 9 years ago
Collapse single use var definitions

Fix #721

f4c2ea37bf9231b6f76804e74ee157be916280de authored about 9 years ago
Add start/end in the `arguments` definition

(keeps my https://github.com/mishoo/jsinfo.el working)

915f907186bf4029c830716b9d018e2d09ad4120 authored about 9 years ago
Added a mangle properties option

799509e145e56a9a6ccbaad6d32e1c404e0469eb authored about 9 years ago
Merge pull request #928 from STRML/constPragma

Mark vars with /** @const */ pragma as consts so they can be eliminated.

b5a7197ae592a1ccdb217e74df4973d2a02a3a06 authored about 9 years ago
Tighten up @const regex.

1b703349cf824020c4dc64a58aa6d0dc3b809cea authored about 9 years ago
Simplify by skipping extra tree walk.

4a7179ff9183cd27d036043c0bbcb01d1604d824 authored about 9 years ago
Use TreeWalker for more accurate @const results and update tests

f97da4294a7e9adbd560ecafd94ec697de35affc authored about 9 years ago
Update README for /** @const */

918c17bd88647899be7fa1d9adabfe635cd6102d authored about 9 years ago
Mark vars with /** @const */ pragma as consts so they can be eliminated.

Fixes older browser support for consts and allows more flexibility
in dead code removal.

8b71c6559b0e1773bb3455c68701ff512fc18277 authored about 9 years ago
Allow operator names as getters/setters

Fixes #919

Fix provided by @kzc

26641f3fb20bce9394c3989bea0099dcd209be61 authored about 9 years ago
Add keywords to package.json

Should hopefully bump up on the results of the npm site when searching `uglify`

ebe118dc79aca8b143409f13b336c2a04f028fa4 authored about 9 years ago
Merge branch 'harmony' of github.com:mishoo/UglifyJS2 into harmony

2827fa86991e972d9f6fad080a94979504540c35 authored about 9 years ago
Non-destructuring default parameters

084437bc6dc478c54c2bedad137489b59f78951d authored about 9 years ago
Remove duplicate error message

5e78f20f1c6ea2ff340d8e7a4f022a576d8c297e authored about 9 years ago
Move the idea of a symbol having a default value up the class chain.

7a8cffd631b6b76be3475c17e4a42889108ee114 authored about 9 years ago
Add test for bad template string parsing

c80ec625ec69656a57020d9007d7f53609502fe4 authored about 9 years ago
Destructuring parameters with defaults. `function x({ foo, bar } = {}) { }`

5b553aafe29ccaebe35a6e3af65e190bb77cb856 authored about 9 years ago
Default values inside destructurings

028ff64e9aade190310aefd43fc6010113c42a34 authored about 9 years ago
Fix template string parsing

1f7523206217a0d552bd89d2d418e7b4a08e92a7 authored about 9 years ago
Add some tests for comment-filters through api

Also never bother comment options to filter comment5/shebang comments
as they have their custom ...

70e5b6f15b130eb1366ff81e0a8a7f187e9cf427 authored about 9 years ago
Merge pull request #918 from avdg/fix-arguments-handling

Never mangle arguments and keep them in their scope

57e0fafd5c35552fb1ea63c829a7f6ea7000b6f8 authored about 9 years ago
Make arguments test slightly more strict

8439c8ba9813faaea062b64306cbd0b2a448bb20 authored about 9 years ago
Add scope test for arguments

5c4e470d43438e359fbdb93950e5d37d4df45a69 authored about 9 years ago
Never mangle arguments and keep them in their scope

Fixes #892

Helped-by: kzc

6605d1578351939ee0e39a13bf68cc9c1708c918 authored about 9 years ago
Merge pull request #905 from avdg/unit-tests

Add unit tests

ac8db977b95b447cba577b41285cb0fa9e65ebdd authored about 9 years ago
Add test case for line continuation

88b77ddaa9d6b3d55e537dc21030ac58ddfcb86e authored about 9 years ago
Merge pull request #872 from fabiosantoscode/feature/harmony-defaults

Feature/harmony defaults

1cd9a2df9a282fbe53301c3a1d447e1381bf59c4 authored about 9 years ago
Fix hoisting the var in ForIn

Close #913

fe4e9f9d97dcc6594a8fc49e04630aa619ff1866 authored about 9 years ago
Add mocha tests

8c6af09ae014eb2370349fb7b419ee912abac64f authored about 9 years ago
Fix ch that could contain other newline characters

6f3e35bb3f04303e6b7cc74cfc25bfee3c792a98 authored about 9 years ago
Merge branch 'master' into harmony

7f3dbb6df76465751d83f2cd53103a72cb6a4fc1 authored about 9 years ago
Do not allow newlines in string literals

174404c0f37bf14aff23c41889e6bab1fd87c1d7 authored about 9 years ago
Merge pull request #874 from kzc/fix-conditionals

#873 Fix `conditionals` optimizations with default compress options

60c4030a4d6758e98bb534cdcfe26bebda9ddd2b authored about 9 years ago
Merge pull request #896 from avdg/do-while-semicolon

Semicolon after do...while statement is optional

ac810dc07a6cfb2bd32cf5c8eb2f496bfe0edf3d authored about 9 years ago
Disable loop optimization for parse-only tests

0cabedc52617cef9623627b390703c011ab6c0b6 authored about 9 years ago
Add tests

5cd26c005b3b171f4da8b6732de224089e55ae8a authored about 9 years ago
Semicolon after do...while statement is optional

bd99b004137961b3b604fcd55602835bf6ffc522 authored about 9 years ago
Merge pull request #879 from ReadmeCritic/master

Update README URLs based on HTTP redirects

9e2f9f7910fa1a51a12ce51a1711601ad6587089 authored about 9 years ago
Merge pull request #870 from fabiosantoscode/feature/harmony-class

Harmony: classes

e4d73d8b7c73631d4f358500d9ddef3ddfd9774b authored about 9 years ago
Update README URLs based on HTTP redirects

e87c77ed4144ff52e8f48c1c7ecac09148eca34b authored about 9 years ago
#873 Fix `conditionals` optimizations with default compress options

774bda13cdf8de39de7f236ed95ae3da4fc7d822 authored about 9 years ago
Default values inside destructurings

8220dbbea0d2438931d17b1c8581f644606ad122 authored about 9 years ago
Move the idea of a symbol having a default value up the class chain.

59e999597ee84c889e78fbd9c29ae81c0dc21bdc authored about 9 years ago
Destructuring parameters with defaults. `function x({ foo, bar } = {}) { }`

cbcb3ac44e4fe5a56135aae358c3da6e849502d8 authored about 9 years ago
Non-destructuring default parameters

f07ab4666fdc2358e342c2037f7ad94f97a205d7 authored about 9 years ago
Implement new.target

a800356ad089c81a4bc25a90d58bc0071ebe7a01 authored about 9 years ago
Mangle class names correctly

e076abdbf24bc6acdfe34a11b607613016692e67 authored about 9 years ago
mangle class names

425613b0d2ab8dfa5c3f4cff5d9e1c5a26bbbca6 authored about 9 years ago
Separate class expressions from class declarations and their symbols like defuns

69da8e53e022911b1f1b4b3785e694ce60c11c5c authored about 9 years ago
Make AST_Class inherit AST_Scope instead of AST_Object

This is one of those days I'd love to use multiple inheritance.

An AST_Class has lots of common...

bb6b3a773af0e2682689c738744226cf57d2340c authored about 9 years ago
Add mangle = { ...mangleopts } option to tests.

364d20f8fb8291525057451a491fe2924bd1f072 authored about 9 years ago
v2.6.1

15b5f70338695c435cab05b7ac2de29cad230360 authored over 9 years ago
Limit max iterations for tighten_body

Ref #866

b6968b6bd2a740281e03e804ae68b3f5e63ce5ed authored over 9 years ago
Fix endless loop

Close #866

7f48d5b33cc2a130afead79cd09482cc833d17bb authored over 9 years ago
Merge pull request #864 from plievone/patch-1

Fix docs for keep_fargs

08b80302eb28a1433d79b2e4ee40506eb6f390c7 authored over 9 years ago
Fix docs for keep_fargs

Compression options `keep_fargs` and `unsafe` were decoupled in v.2.5.0 (commit 5fd1245), so doc...

645626ebe8bcf578d4c34911b077360f2481040b authored over 9 years ago