swc/ecmascript/minifier/tests/terser/compress
Donny/강동윤 98cc79a2be
fix(es/minifer): Fix bugs (#2397)
swc_ecma_codegen:
 - Fix sourcemap of `export` tokens.
 - Fix codegen of numeric operands in left of a binary expression.
 - Fix codegen of unary operations.

swc_ecma_minifier:
 - Visit `AssignPatProp.valie`.
 - Move `inline_prevented` to analyzer.
 - Add `Ctx.dont_invoke_iife`.
 - `iife`: Check for `arugments`

swc:
 - `inline_sources_content`: true by default for `minify()`.
2021-10-11 07:44:42 +00:00
..
arguments feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
array-constructor feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
arrays feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
arrow feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
ascii feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
asm feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
assignment feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
async feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
big_int feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
block-scope fix(es/minifier): Don't drop used variables (#2272) 2021-09-21 16:45:28 +09:00
blocks feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
class-properties feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
classes feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
collapse_vars feat(es/minifier): Implement more rules (#2058) 2021-08-15 13:09:21 +00:00
comments feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
comparing feat(es/minifier): Implement more rules (#1766) 2021-06-29 16:11:22 +09:00
concat-strings feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
conditionals feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
const feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
dead-code fix(es/transforms/base): Optimize hygiene (#2193) 2021-09-01 13:11:55 +00:00
debugger feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
defaults feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
destructuring fix(es/transforms/base): Optimize hygiene (#2193) 2021-09-01 13:11:55 +00:00
directives feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
drop-console feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
drop-unused feat(es/minifier): Implement more rules (#2183) 2021-09-08 09:45:39 +00:00
evaluate fix(es/transforms/base): Optimize hygiene (#2193) 2021-09-01 13:11:55 +00:00
expansions feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
export feat(es/parser): Always enable features in ES spec (#2029) 2021-08-08 22:53:41 +09:00
expression feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
functions fix(es/transforms/optimization): Migrate to VisitMut (#1880) 2021-07-02 12:20:24 +09:00
global_defs feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
harmony fix(es/transforms/base): Optimize hygiene (#2193) 2021-09-01 13:11:55 +00:00
hoist feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
hoist_props feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
hoist_vars feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
html_comments feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
identity fix(es/minifer): Fix handling of callable expressions (#2379) 2021-10-10 03:47:11 +00:00
ie8 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
if_return feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
inline feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
issue-12 fix(es/transforms/base): Optimize hygiene (#2193) 2021-09-01 13:11:55 +00:00
issue-22/return_with_no_value_in_if_body feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-44 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-59/keep_continue feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-126/concatenate_rhs_strings feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-143 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-203 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-208 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-229/template_strings feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-267/issue_267 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-269 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-281 feat(es/minifier): Make minifier parallel (#2009) 2021-08-07 08:27:52 +00:00
issue-368/collapse feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-417 feat(es/minifier): Implement minifier partially (#1302) 2021-05-20 13:51:30 +09:00
issue-427 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-597 fix(es/transforms/base): Optimize hygiene (#2193) 2021-09-01 13:11:55 +00:00
issue-611/issue_611 feat(es/minifer): Improve minifier (#2229) 2021-09-16 04:23:33 +00:00
issue-637/wrongly_optimized feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-640 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-747 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-751 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-782 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-892/dont_mangle_arguments feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-913/keep_var_for_in feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-926/template_strings feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-973 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-976 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-979 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1001/parenthesis_strings_in_parenthesis feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1034 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1041 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1043/issue_1043 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1044/issue_1044 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1052 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1105 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1202 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1212 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1261 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1275/string_plus_optimization feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1321 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1431 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1443 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1446 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1447 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1466 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1569/inner_reference feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1588 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1609 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1639 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1656/f7 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1673 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1704 fix(es/transforms/base): Fix hygiene pass (#2266) 2021-09-21 12:21:49 +00:00
issue-1733 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1750 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1770 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1787/unary_prefix fix(es/transforms/base): Wrap binary operands of unary expressions. (#1793) 2021-06-05 12:58:50 +00:00
issue-1833 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-1943 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-2001 feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
issue-2652 feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
issue-2719/warn feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-2871/comparison_with_undefined feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-2989 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-t50 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-t120 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue-t292 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
join-vars feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
keep_names feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
keep_quoted_strict/keep_quoted_strict feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
labels feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
logical-assignment feat(es/minifer): Improve minifier (#2229) 2021-09-16 04:23:33 +00:00
loops feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
max_line_len feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
negate-iife feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
new feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
node_version/eval_let_6 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
nullish feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
numbers fix(es/transforms/base): Wrap binary operands of unary expressions. (#1793) 2021-06-05 12:58:50 +00:00
object fix(es/transforms/base): Fix hygiene (#2282) 2021-09-22 06:56:04 +00:00
parameters feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
parse_errors feat(es/minifier): Implement minifier partially (#1302) 2021-05-20 13:51:30 +09:00
properties feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
pure_funcs feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
pure_getters feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
pure_globals feat(es/minifier): Implement minifier partially (#1302) 2021-05-20 13:51:30 +09:00
reduce_vars fix(es/minifer): Fix bugs (#2397) 2021-10-11 07:44:42 +00:00
regexp feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
rename fix(es/transforms/base): Fix hygiene pass (#2266) 2021-09-21 12:21:49 +00:00
return_undefined feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
sandbox/console_log feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
sequences fix(es/codegen): Fix sourcemap (#2142) 2021-08-25 08:23:55 +00:00
string-literal feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
super/super_can_be_parsed feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
switch feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00
syntax-errors feat(es/minifier): Implement minifier partially (#1302) 2021-05-20 13:51:30 +09:00
template-string feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
transform feat(es/minifier): Implement rules and classify tests (#1750) 2021-05-28 19:44:03 +09:00
try-catch fix(es/minifier): Fix bugs and implement more rules (#2032) 2021-08-08 14:19:04 +00:00
typeof feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unicode feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unsafe_symbols feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
wrap_iife feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
yield feat(es/minifier): Implement more rules (#1871) 2021-07-30 10:11:27 +09:00