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
766fafda8baefe6d150df27dfad7e99857c08557 authored over 8 years ago
e8b23c779816442a1d4e06453f06ab5a187ac98e authored over 8 years ago
842ac27efbc8f81b3bc4140a396957d6cde89d9c authored over 8 years ago
9edbe93df5633bd13b1c001d066887e011ce767c authored over 8 years ago
af37ecafe1c24e9fb06a371357d10a04446ff71e authored over 8 years ago
41a9329409ca0f1273b6ccdcc9770713f44ec55a authored over 8 years ago
* Fixes #1147: template strings not obeying -b ascii_only true
* Allow evaluation of template ex...
- Fixes #1205
- Fix provided by @kzc
Fixes: #1202
eb63fece2f48be2be5ee1090d7bb94889a12fd80 authored over 8 years ago2d8af8947e3bf2daa51bdc199c504122563375d1 authored over 8 years ago
* Make sure comments are skipped correctly with surrogates
* Fix regression in multiline comment...
2650182f47883aaaeddd731fffa0c4940d94cc36 authored over 8 years ago
572b97b0bb48285497ffbffed9420468e1700956 authored over 8 years ago
0db7caf13b0cf4bf71ca00ff157718d17cb1c57f authored over 8 years ago
Fixes #1090
d9bc6f303c7649811dedd1b5646c83df89c24588 authored over 8 years ago6fd9b338ddb7ccf34237a82cc13b0b7cbfb287bc authored over 8 years ago
698705a820708ab2203869e1523b041030ad77cb authored over 8 years ago
d8d4e71b9ee022aeadc56821e086c641702009ee authored over 8 years ago
debc525fa117438d4971df3790f9f476fed65858 authored over 8 years ago
b7ef7840f3f0ab2bec09bec4d4b8a8bb8d50dc78 authored over 8 years ago
and a sequences value of 1 is considered to be `true` - which
will be set to the default value o...
Has little or no impact on minification size in the majority of
cases but can speed up rollup bu...
* Support \u{xxxx} syntax
* Add support for surrogate pairs
* Allow identifiers to have unico...
54a783ba84892346213f61ccf524c3a48a7cb6e9 authored over 8 years ago
Additionals:
* Update list reserved keywords
85924bb32e1c27f555aad1651f4575b45bcbadb1 authored over 8 years ago
* Escaped newlines should also produce SyntaxError
* Fix multiline comment parsing and add tests...
catch identifier is mangled correctly for ES5 standards-compliant JS engines by default.
Uncond...
02c638209ee22816b1324ff0c0f47b27db1336af authored over 8 years ago030611b729af46d2239bd09c95f88e708660f254 authored over 8 years ago
Fixes: #1156 #1161
Also add test to exercise Uglify after spidermonkey export/import of itself.
335b72df03fb6593d4bac8ddcde7d1b128eb3c4e authored over 8 years ago
This should simplify and improve implementation, make it easier to
implement template strings, a...
07785d0003e0c1669f60e348decac85b07502cdb authored over 8 years ago
9676167aac715d2dd10918e2beb13b1a4a372616 authored over 8 years ago
6eaeb19a4a5ecbb890fc025591bb24d466d3efe0 authored over 8 years ago
Fix conditional expressions of form (x ? -1 : -1)
1840a0b2827efdad64dcabcf44883a34e5ca06cc authored over 8 years agoFixes #1154, #1153
ace8aaa0f4ad6ecae77e760473353f07b384880e authored over 8 years ago0c003c92a85bd845dec8a10ee567c46b696c1403 authored over 8 years ago
2246c793180e962f4477d82c0ebc166a57f318ee authored over 8 years ago
* Do not mangle when no mangle is required
* Improve use_asm reset while printing code
* Add missing quote properties to AST_ObjectKeyVal
* Avoid test results being interpret as dir...
Potential fix for #1148
aa82027a1721ee7233e92ab1b9f9ced43a8f17cf authored over 8 years ago55c592dd43bc72a2be6cdfbcce05d2645eed0656 authored over 8 years ago
Added documentation for the `except` option to the `mangle` option in the API reference.
fc1abd1c1152de0a297705d124e65d186181de10 authored over 8 years ago
The option added in fbbaa42ee55a7f753f7cab9b1a905ccf73cf26d5 wasn't
being respected inside objec...
6c99816855b650c6804a67f4891c339a3e8970f4 authored over 8 years ago
* Move some yield/generic tests from compress/harmony.js to
compress/yield.js
* Adjust error...
* Don't interpret strings with escaped content as directive
* Don't interpret strings after em...
6b03b800b3d77506f75ed3c789dc0d40ea140149 authored over 8 years ago
f9cab7ad61e16853ed342f88d8469d8cdc3f2bd5 authored over 8 years ago
Fixed-by: @kzc
d7971ba0e439eb042fd880762bc7fa77ce1f3e73 authored over 8 years ago5c4cfaa0a75317582c979f9b50c1e562fbcfa40d authored over 8 years ago
bb9c9707aa6b4c625ad985798aea879080411ce1 authored over 8 years ago
0a3d780327d65b45ca69281af4af093c6c1b99dc authored over 8 years ago
6c8e001feeeb957279814aa58be44d1ece8bdb6e authored over 8 years ago
9c53c7ada739ece69a9330811e5413a7da74a19b authored over 8 years ago
f99b7b630daf85f85393d4508e2676456f2a3c4b authored over 8 years ago
Fix provided by @kzc
ea31da24559b095a18f7615cfd3c992ecaf495a3 authored over 8 years ago
Adds a directive tracker for the parser/tokenizer to
allow parsing depending on directive context.
YieldExpressions can only be defined as:
* `yield`
* `yield` [no nlb] AssignmentExpression
* ...
fa2934478161397bab1a42c2f877d977ee282c37 authored over 8 years ago
- Partially reverting 91cdb93e57 and eaf3911c31 and reimplement
- Add generators support for obj...
31d5825a86a6bcee91187b4a3962e0cd0f3b0d93 authored over 8 years ago
8287ef67810f2332459fa157b26e556f55b36b98 authored over 8 years ago
In uglify-js@1, both parser and tokenizer methods were exported
This allows to use tokenizer(...
5cb5305cf3a4dc075461630d5edd81cbfd04b9fc authored over 8 years ago00ad57e393be6593c9a405c8b1277582361bd321 authored over 8 years ago
Fixes #1100
09d5707a8a368d6498f39a8b9fd07226a1159d76 authored over 8 years ago8ad8d7b7177454fb9d430d4da31b01825ca4eff8 authored over 8 years ago
0357e5923fe28b499a34e6255483377e12e77893 authored over 8 years ago
Fixes #1089
1e390269d47e2a555f511556590d826938d572f9 authored over 8 years agobc49dfd27a800cfa2070464c236a1d56ed30bfca authored over 8 years ago
Fix for #1085. The major case was already there, but more expressions can result in -0.
27eedbc302dea6a2af558bbf6bc8865fd2410837 authored over 8 years agof63803e3e3753253721a4d7abbbe2ff46f11eecc authored almost 9 years ago
as suggested by @rvanvelzen.
Added a test for IIFEs in nested contexts.
5f464b41e2ba95f4d81da262a260488d326eb633 authored almost 9 years agoFixes #1079
63be1f3a4d5d10ba923dd40ffd55f4e5b7d41372 authored almost 9 years agobcc1318d4b7275feee02f782700d6b6e4a68b54f authored almost 9 years ago
e36e07fa77859bcd461234856c06c95cee0cfffe authored almost 9 years ago
a0e03c9df47c411a40bceef02af2ce3dd1a329cc authored almost 9 years ago
6641dcafb60091f0f944fcd5269ca67cb66ada2a authored almost 9 years ago
Fixes #1055
d2945744f2dd569f4390d3bf3065e8a4e71fbf47 authored almost 9 years ago35bc71662574d6bd537d0460d14e738ae4d3bb19 authored almost 9 years ago
Fixes #1050
f39fd3d58384d9bafbd18d3c1ec927940eeba458 authored almost 9 years agoHoist functions when reversing if (x) return; ... vs. if (!x) ...
65887d9a56d8f3eb1e75cd924b4fd2c9065d0e11 authored almost 9 years agoAvoid syntax error in yield assignments
d1b4f61f93b03bde93509206656bcd95f31e9220 authored almost 9 years agoe9224ab4441ddb352566a52b84f1384bf5b8a8d8 authored almost 9 years ago
4d9a0856870fc8feb07771fe2e27d93c8613e857 authored almost 9 years ago
5b893c8ec35c7e0a0e612889d0fe64b5f084f79c authored almost 9 years ago
Fixes #1052
4fe630431c37ffb81466959e9ea9797d6d2de21a authored almost 9 years agoc55dd5ed74888d533cf8402c6ba3612916ba2885 authored almost 9 years ago
Broadly the same as function expressions - these actually are statements but
we're limited by th...
68cc14f84678bf7777f777b668d6c006e65250d3 authored almost 9 years ago
f94497d1d6c37ebd72a9c2d83fc74980e1b82d17 authored almost 9 years ago
Fixes #993
e4fa4b109a0db5691d91b3dfba0eac41ac21c0ef authored almost 9 years agoFix #1041
4b4528ee0552edb7ba1d24dad89e29880065e1c0 authored almost 9 years agoSee #1043
eaf3911c3141a9b735e6e33c7147461d60c833c1 authored almost 9 years agoUses #716's implementation and adds tests.
Fixes #716.
91cdb93e579d22bc0a43baa766a7928d127b314c authored almost 9 years agoWithout this reset, char counts bleed to next tests. One test had a bad expect clause.
187a0caf9d2b283387b57b71dea6aa133b266638 authored almost 9 years agoFix #1038
b5a7a231f7e9f09cc00e92c970d304d6071f7ac1 authored almost 9 years agoFixes #1034
Also added `expect_warnings` functionality to test framework.
3907a5e3b2c40904f2cb333ede23d6d59bb48c13 authored almost 9 years agoSimplify member(name, array) implementation.
b434b75b3676f5e3f42bf3817ac7dc1ab898b3d2 authored almost 9 years agoc70d176f359c5640d3eb64a639958bec5fe45f7e authored almost 9 years ago