swc/crates/swc_ecma_minifier/tests/terser/compress
Donny/강동윤 7bcaaef4f7
feat(es/minifier): Mangle labels (#5934)
**Description:**

This PR adds code to mangle labels.
2022-09-22 23:24:05 +09:00
..
arguments feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
array_constructor perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
arrays feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
arrow feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
ascii perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
asm perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
assignment perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
async perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
big_int perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
block_scope perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
blocks perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
class_properties feat(es/minifier): Use char frequency data for property manglers (#5932) 2022-09-22 22:14:26 +09:00
classes perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
collapse_vars feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
comments perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
comparing perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
concat_strings feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
conditionals perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
const feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
dead_code feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
debugger perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
defaults perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
destructuring feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
directives perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
drop_console perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
drop_unused feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
evaluate feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
expansions perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
export perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
expression feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
functions feat(es/minifier): Use char frequency data for property manglers (#5932) 2022-09-22 22:14:26 +09:00
global_defs perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
harmony feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
hoist perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
hoist_props feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
hoist_vars perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
html_comments perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
identity perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
ie8 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
if_return perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
inline perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_12 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_22/return_with_no_value_in_if_body perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_44 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_59/keep_continue perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_126/concatenate_rhs_strings perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_143 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_203 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_208 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_229/template_strings perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_267/issue_267 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_269 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_281 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_368/collapse feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_417 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_427 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_597 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_611/issue_611 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_637/wrongly_optimized perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_640 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_747 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_751 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_782 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_892/dont_mangle_arguments perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_913/keep_var_for_in perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_926/template_strings perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_973 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_976 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_979 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1001/parenthesis_strings_in_parenthesis perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1034 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1041 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1043/issue_1043 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_1044/issue_1044 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1052 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1105 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1202 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1212 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1261 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1275/string_plus_optimization perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1321 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1431 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1443 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1446 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1447 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1466 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_1569/inner_reference perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1588 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1609 feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
issue_1639 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1656/f7 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1673 feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
issue_1704 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1733 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1750 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1770 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1787/unary_prefix perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_1833 feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
issue_1943 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_2001 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_2652 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_2719/warn perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_2871/comparison_with_undefined perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_2989 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_t50 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_t120 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
issue_t292 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
join_vars feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
keep_names perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
keep_quoted_strict/keep_quoted_strict perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
labels feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
logical_assignment feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
loops feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
max_line_len perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
negate_iife perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
new feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
node_version/eval_let_6 perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
nullish perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
numbers feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
object feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
parameters perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
parse_errors refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
properties feat(es/minifier): Use char frequency data for property manglers (#5932) 2022-09-22 22:14:26 +09:00
pure_funcs feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
pure_getters feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
pure_globals perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
reduce_vars feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
regexp perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
rename perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
return_undefined perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
sandbox/console_log perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
sequences feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
string_literal perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
super/super_can_be_parsed feat(es/minifier): Align name mangler with terser (#5763) 2022-09-06 21:37:58 +09:00
switch feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
syntax_errors refactor(es/minifier): Make rust-analyzer fast, really (#4746) 2022-05-23 16:16:05 +09:00
template_string perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
transform feat(es/minifier): Mangle labels (#5934) 2022-09-22 23:24:05 +09:00
try_catch perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
typeof feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
unicode perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
unsafe_symbols perf(es/minifier): Optimize analyzer (#5908) 2022-09-20 08:21:39 +00:00
wrap_iife feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00
yield feat(es/minifier): Improve analysis of reassignments (#5931) 2022-09-22 10:22:18 +00:00