swc/ecmascript/minifier/tests/terser/compress/destructuring
강동윤 ef6a745599
feat(es/minifier): Implement more rules (#1735)
swc_ecma_minifier:
 - Implement `evaluate` partially.
 - Store 'expected output' from terser along with our result.

swc_ecma_transforms_base:
 - `fixer`: Don't wrap `+ (a % b)`.

swc_ecma_transforms_optimization:
 - `expr_simplifier`: Preserve this in calls.
2021-05-25 16:39:07 +09:00
..
anon_func_with_destructuring_args feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
arrow_func_with_destructuring_args feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructure_empty_array_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructure_empty_array_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructure_empty_array_3 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_arrays feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_arrays_holes feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_assign_of_computed_key feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_assign_of_numeric_key feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_constdef_in_loops feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_decl_of_computed_key feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_decl_of_numeric_key feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_dont_evaluate_with_undefined_as_default_assignment feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_expressions feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_letdef_in_loops feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_objects feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_objects_trailing_elision feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_remove_unused_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_remove_unused_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_vardef_in_loops feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
destructuring_with_undefined_as_default_assignment feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
empty_object_destructuring_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
empty_object_destructuring_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
empty_object_destructuring_3 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
empty_object_destructuring_4 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
empty_object_destructuring_misc feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
export_function_containing_destructuring_decl feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
export_unreferenced_declarations_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
export_unreferenced_declarations_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_1886 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2044_ecma_5 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2044_ecma_5_beautify feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2044_ecma_6 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2044_ecma_6_beautify feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_2140 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_3205_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_3205_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_3205_3 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_3205_4 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_3205_5 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_t111_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_t111_2a feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_t111_2b feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_t111_2c feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_t111_3 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
issue_t111_4 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
mangle_destructuring_assign_toplevel_false feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
mangle_destructuring_assign_toplevel_true feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
mangle_destructuring_decl feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
mangle_destructuring_decl_array feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
mangle_destructuring_decl_collapse_vars feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
nested_destructuring_objects feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
object_destructuring_may_need_parentheses feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
reduce_vars feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_arrow_param feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_assign_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_assign_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_class_method_param feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_decl_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_decl_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_decl_3 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_decl_4 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_decl_5 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_decl_6 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_declaration_complex_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_declaration_complex_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_function_param feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_getter_side_effect_1 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_getter_side_effect_2 feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_multipass feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00
unused_destructuring_object_method_param feat(es/minifier): Implement more rules (#1735) 2021-05-25 16:39:07 +09:00