mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
91d78000ea
swc_ecma_minifier: - Merge `drop_console` into pure optimizer. - Implement `drop_console`. (Closes #2321)
384 lines
14 KiB
Plaintext
384 lines
14 KiB
Plaintext
asm/asm_mixed/input.js
|
|
async/async_function_declaration/input.js
|
|
async/async_function_expression/input.js
|
|
classes/pure_prop_assignment_for_classes/input.js
|
|
collapse_vars/assignment/input.js
|
|
collapse_vars/cascade_call/input.js
|
|
collapse_vars/cascade_conditional/input.js
|
|
collapse_vars/cascade_statement/input.js
|
|
collapse_vars/cascade_switch/input.js
|
|
collapse_vars/collapse_vars_arguments/input.js
|
|
collapse_vars/collapse_vars_assignment/input.js
|
|
collapse_vars/collapse_vars_constants/input.js
|
|
collapse_vars/collapse_vars_do_while/input.js
|
|
collapse_vars/collapse_vars_do_while_drop_assign/input.js
|
|
collapse_vars/collapse_vars_eval_and_with/input.js
|
|
collapse_vars/collapse_vars_if/input.js
|
|
collapse_vars/collapse_vars_lvalues/input.js
|
|
collapse_vars/collapse_vars_lvalues_drop_assign/input.js
|
|
collapse_vars/collapse_vars_misc1/input.js
|
|
collapse_vars/collapse_vars_object/input.js
|
|
collapse_vars/collapse_vars_repeated/input.js
|
|
collapse_vars/collapse_vars_short_circuit/input.js
|
|
collapse_vars/collapse_vars_short_circuited_conditions/input.js
|
|
collapse_vars/collapse_vars_side_effects_1/input.js
|
|
collapse_vars/collapse_vars_side_effects_2/input.js
|
|
collapse_vars/collapse_vars_switch/input.js
|
|
collapse_vars/collapse_vars_unary/input.js
|
|
collapse_vars/double_def_1/input.js
|
|
collapse_vars/double_def_2/input.js
|
|
collapse_vars/issue_1537_destructuring_1/input.js
|
|
collapse_vars/issue_1605_2/input.js
|
|
collapse_vars/issue_1631_1/input.js
|
|
collapse_vars/issue_1631_2/input.js
|
|
collapse_vars/issue_1631_3/input.js
|
|
collapse_vars/issue_1858/input.js
|
|
collapse_vars/issue_2250_1/input.js
|
|
collapse_vars/issue_2250_2/input.js
|
|
collapse_vars/issue_2364_5/input.js
|
|
collapse_vars/issue_2436_1/input.js
|
|
collapse_vars/issue_2436_10/input.js
|
|
collapse_vars/issue_2436_11/input.js
|
|
collapse_vars/issue_2436_4/input.js
|
|
collapse_vars/issue_2436_6/input.js
|
|
collapse_vars/issue_2436_7/input.js
|
|
collapse_vars/issue_2436_8/input.js
|
|
collapse_vars/issue_2436_9/input.js
|
|
collapse_vars/issue_2437/input.js
|
|
collapse_vars/issue_2497/input.js
|
|
collapse_vars/issue_2878/input.js
|
|
collapse_vars/issue_2931/input.js
|
|
collapse_vars/issue_2954_2/input.js
|
|
collapse_vars/issue_2954_3/input.js
|
|
collapse_vars/issue_315/input.js
|
|
collapse_vars/noinline_annotation/input.js
|
|
collapse_vars/pure_getters_chain/input.js
|
|
collapse_vars/recursive_function_replacement/input.js
|
|
collapse_vars/ref_scope/input.js
|
|
collapse_vars/replace_all_var_scope/input.js
|
|
collapse_vars/switch_case_1/input.js
|
|
collapse_vars/toplevel_single_reference/input.js
|
|
collapse_vars/undeclared/input.js
|
|
collapse_vars/unused_orig/input.js
|
|
comparing/keep_comparisons/input.js
|
|
comparing/keep_comparisons_with_unsafe_comps/input.js
|
|
conditionals/cond_9/input.js
|
|
conditionals/equality_conditionals_false/input.js
|
|
conditionals/ifs_5/input.js
|
|
conditionals/issue_2535_1/input.js
|
|
dead_code/dead_code_const_annotation/input.js
|
|
dead_code/dead_code_const_annotation_complex_scope/input.js
|
|
dead_code/dead_code_const_declaration/input.js
|
|
dead_code/dead_code_constant_boolean_should_warn_more/input.js
|
|
dead_code/dead_code_constant_boolean_should_warn_more_strict/input.js
|
|
dead_code/issue_2233_1/input.js
|
|
dead_code/issue_2233_2/input.js
|
|
dead_code/issue_2233_3/input.js
|
|
dead_code/issue_2749/input.js
|
|
dead_code/issue_2860_2/input.js
|
|
dead_code/issue_718/input.js
|
|
dead_code/unsafe_builtin/input.js
|
|
destructuring/destructure_empty_array_3/input.js
|
|
destructuring/destructuring_dont_evaluate_with_undefined_as_default_assignment/input.js
|
|
destructuring/empty_object_destructuring_misc/input.js
|
|
destructuring/export_unreferenced_declarations_2/input.js
|
|
destructuring/issue_t111_1/input.js
|
|
destructuring/issue_t111_2a/input.js
|
|
destructuring/issue_t111_2b/input.js
|
|
destructuring/issue_t111_2c/input.js
|
|
destructuring/issue_t111_3/input.js
|
|
drop_unused/drop_toplevel_keep_assign/input.js
|
|
drop_unused/global_var/input.js
|
|
drop_unused/issue_1583/input.js
|
|
drop_unused/issue_1715_1/input.js
|
|
drop_unused/issue_1715_2/input.js
|
|
drop_unused/issue_1715_3/input.js
|
|
drop_unused/issue_1830_1/input.js
|
|
drop_unused/issue_1830_2/input.js
|
|
drop_unused/issue_1838/input.js
|
|
drop_unused/issue_2063/input.js
|
|
drop_unused/issue_2105_1/input.js
|
|
drop_unused/issue_2105_2/input.js
|
|
drop_unused/issue_2163/input.js
|
|
drop_unused/issue_2226_1/input.js
|
|
drop_unused/issue_2288/input.js
|
|
drop_unused/issue_2418_1/input.js
|
|
drop_unused/issue_2418_2/input.js
|
|
drop_unused/issue_2418_3/input.js
|
|
drop_unused/issue_2418_4/input.js
|
|
drop_unused/issue_2418_5/input.js
|
|
drop_unused/issue_2768/input.js
|
|
drop_unused/issue_3192/input.js
|
|
drop_unused/keep_assign/input.js
|
|
drop_unused/reassign_const/input.js
|
|
drop_unused/unused_circular_references_1/input.js
|
|
drop_unused/unused_circular_references_2/input.js
|
|
drop_unused/unused_circular_references_3/input.js
|
|
drop_unused/unused_funarg_1/input.js
|
|
drop_unused/unused_funarg_2/input.js
|
|
drop_unused/var_catch_toplevel/input.js
|
|
drop_unused/variable_refs_outside_unused_class/input.js
|
|
evaluate/delete_expr_1/input.js
|
|
evaluate/delete_expr_2/input.js
|
|
evaluate/issue_2535_1/input.js
|
|
expansions/avoid_spread_getset_object/input.js
|
|
expansions/avoid_spread_hole/input.js
|
|
export/export_default_named_async_function/input.js
|
|
export/export_default_named_generator/input.js
|
|
export/module_mangle_export_default_class/input.js
|
|
export/module_mangle_export_default_function/input.js
|
|
functions/avoid_generating_duplicate_functions_compared_together_3/input.js
|
|
functions/inline_true/input.js
|
|
functions/inner_ref/input.js
|
|
functions/issue_2084/input.js
|
|
functions/issue_2114_1/input.js
|
|
functions/issue_2114_2/input.js
|
|
functions/issue_2601_1/input.js
|
|
functions/issue_2601_2/input.js
|
|
functions/issue_2604_1/input.js
|
|
functions/issue_2604_2/input.js
|
|
functions/issue_2620_1/input.js
|
|
functions/issue_2620_2/input.js
|
|
functions/issue_2620_3/input.js
|
|
functions/issue_2620_4/input.js
|
|
functions/issue_3016_3/input.js
|
|
functions/issue_3018/input.js
|
|
functions/issue_3076/input.js
|
|
functions/issue_3166/input.js
|
|
functions/loop_init_arg/input.js
|
|
functions/unsafe_apply_2/input.js
|
|
functions/unsafe_call_2/input.js
|
|
global_defs/issue_3217/input.js
|
|
harmony/array_literal_with_spread_4a/input.js
|
|
harmony/array_literal_with_spread_4b/input.js
|
|
harmony/class_extends/input.js
|
|
harmony/class_name_can_be_preserved_with_reserved/input.js
|
|
harmony/classes_extending_classes_out_of_pure_iifes/input.js
|
|
harmony/default_assign/input.js
|
|
harmony/expansion/input.js
|
|
harmony/fat_arrow_as_param/input.js
|
|
harmony/import_statement_mangling/input.js
|
|
harmony/inline_arrow_using_arguments/input.js
|
|
harmony/issue_1613/input.js
|
|
harmony/issue_1753/input.js
|
|
harmony/issue_1753_disable/input.js
|
|
harmony/module_enabled/input.js
|
|
harmony/module_enables_strict_mode/input.js
|
|
harmony/module_mangle_scope/input.js
|
|
harmony/object_rest_spread/input.js
|
|
harmony/object_spread_of_sequence/input.js
|
|
harmony/regression_cannot_use_of/input.js
|
|
hoist_props/issue_851_hoist_to_conflicting_name/input.js
|
|
identity/inline_identity_dont_lose_this_when_arg/input.js
|
|
identity/inline_identity_higher_order/input.js
|
|
identity/inline_identity_inline_function/input.js
|
|
identity/inline_identity_lose_this/input.js
|
|
if_return/if_return_4/input.js
|
|
if_return/if_return_same_value/input.js
|
|
if_return/if_var_return/input.js
|
|
if_return/issue_2747/input.js
|
|
if_return/issue_512/input.js
|
|
inline/do_not_repeat_when_variable_larger_than_inlined_node/input.js
|
|
inline/dont_inline_funcs_into_default_param/input.js
|
|
inline/dont_inline_funcs_into_default_param_2/input.js
|
|
inline/inline_annotation/input.js
|
|
inline/inline_into_scope_conflict/input.js
|
|
inline/inline_within_extends_1/input.js
|
|
issue_1034/non_hoisted_function_after_return/input.js
|
|
issue_1034/non_hoisted_function_after_return_2a/input.js
|
|
issue_1034/non_hoisted_function_after_return_2b/input.js
|
|
issue_1052/deeply_nested/input.js
|
|
issue_1052/defun_else_if_return/input.js
|
|
issue_1052/defun_hoist_funs/input.js
|
|
issue_1052/defun_if_return/input.js
|
|
issue_1052/multiple_functions/input.js
|
|
issue_1052/not_hoisted_when_already_nested/input.js
|
|
issue_1052/single_function/input.js
|
|
issue_1202/mangle_keep_fnames_false/input.js
|
|
issue_1202/mangle_keep_fnames_true/input.js
|
|
issue_1261/pure_function_calls/input.js
|
|
issue_1261/pure_function_calls_toplevel/input.js
|
|
issue_1431/level_one/input.js
|
|
issue_1431/level_three/input.js
|
|
issue_1431/level_two/input.js
|
|
issue_1431/level_zero/input.js
|
|
issue_1443/keep_fnames/input.js
|
|
issue_1443/unsafe_undefined/input.js
|
|
issue_1446/undefined_redefined_mangle/input.js
|
|
issue_1569/inner_reference/input.js
|
|
issue_1673/side_effects_else/input.js
|
|
issue_1733/function_catch_catch/input.js
|
|
issue_1750/case_1/input.js
|
|
issue_1750/case_2/input.js
|
|
issue_1833/iife_do/input.js
|
|
issue_1833/label_while/input.js
|
|
issue_2001/export_class_2/input.js
|
|
issue_2001/export_default_class_2/input.js
|
|
issue_2001/export_default_func_2/input.js
|
|
issue_2001/export_func_2/input.js
|
|
issue_203/compress_new_function/input.js
|
|
issue_203/compress_new_function_with_destruct/input.js
|
|
issue_203/compress_new_function_with_destruct_arrows/input.js
|
|
issue_22/return_with_no_value_in_if_body/input.js
|
|
issue_269/issue_269_1/input.js
|
|
issue_269/regexp/input.js
|
|
issue_269/strings_concat/input.js
|
|
issue_2719/warn/input.js
|
|
issue_281/collapse_vars_constants/input.js
|
|
issue_281/inner_var_for_in_1/input.js
|
|
issue_281/issue_1288_side_effects/input.js
|
|
issue_281/issue_1758/input.js
|
|
issue_281/ref_scope/input.js
|
|
issue_2871/comparison_with_undefined/input.js
|
|
issue_368/collapse/input.js
|
|
issue_417/test_unexpected_crash/input.js
|
|
issue_417/test_unexpected_crash_2/input.js
|
|
issue_44/issue_44_valid_ast_1/input.js
|
|
issue_44/issue_44_valid_ast_2/input.js
|
|
issue_597/issue_1724/input.js
|
|
issue_637/wrongly_optimized/input.js
|
|
issue_640/cond_5/input.js
|
|
issue_640/conditional/input.js
|
|
issue_640/dead_code_const_annotation_regex/input.js
|
|
issue_640/drop_console_2/input.js
|
|
issue_640/iife/input.js
|
|
issue_640/limit_1/input.js
|
|
issue_640/negate_iife_1/input.js
|
|
issue_640/negate_iife_3/input.js
|
|
issue_640/wrongly_optimized/input.js
|
|
issue_751/negate_booleans_1/input.js
|
|
issue_913/keep_var_for_in/input.js
|
|
issue_973/this_binding_collapse_vars/input.js
|
|
issue_973/this_binding_conditionals/input.js
|
|
issue_976/eval_mangle/input.js
|
|
issue_976/eval_unused/input.js
|
|
issue_979/issue979_reported/input.js
|
|
issue_979/issue979_test_negated_is_best/input.js
|
|
issue_t120/issue_t120_1/input.js
|
|
issue_t120/issue_t120_2/input.js
|
|
issue_t120/issue_t120_3/input.js
|
|
issue_t120/pr_152_regression/input.js
|
|
labels/labels_1/input.js
|
|
labels/labels_2/input.js
|
|
labels/labels_7/input.js
|
|
labels/labels_9/input.js
|
|
logical_assignment/assign_in_conditional_part/input.js
|
|
logical_assignment/assignment_in_left_part_2/input.js
|
|
loops/drop_if_break_3/input.js
|
|
loops/drop_if_break_4/input.js
|
|
loops/drop_if_else_break_1/input.js
|
|
loops/drop_if_else_break_2/input.js
|
|
loops/drop_if_else_break_3/input.js
|
|
loops/drop_if_else_break_4/input.js
|
|
negate_iife/issue_1254_negate_iife_nested/input.js
|
|
negate_iife/issue_1288/input.js
|
|
negate_iife/issue_1288_side_effects/input.js
|
|
nullish/conditional_to_nullish_coalescing/input.js
|
|
nullish/conditional_to_nullish_coalescing_2/input.js
|
|
numbers/evaluate_1/input.js
|
|
numbers/evaluate_2/input.js
|
|
numbers/evaluate_3/input.js
|
|
numbers/evaluate_4/input.js
|
|
numbers/hex_numbers_in_parentheses_for_prototype_functions/input.js
|
|
object/concise_methods_and_mangle_props/input.js
|
|
object/dont_join_repeat_object_keys/input.js
|
|
object/getter_setter_mangler/input.js
|
|
parameters/default_arguments/input.js
|
|
parameters/destructuring_arguments_3/input.js
|
|
properties/const_prop_assign_pure/input.js
|
|
properties/const_prop_assign_strict/input.js
|
|
properties/dot_properties/input.js
|
|
properties/evaluate_array_length/input.js
|
|
properties/issue_2208_1/input.js
|
|
properties/issue_2208_3/input.js
|
|
properties/issue_2208_6/input.js
|
|
properties/issue_2208_8/input.js
|
|
properties/issue_2256/input.js
|
|
properties/issue_3188_1/input.js
|
|
properties/issue_3188_3/input.js
|
|
properties/join_object_assignments_Infinity/input.js
|
|
properties/mangle_debug/input.js
|
|
properties/mangle_debug_suffix/input.js
|
|
properties/mangle_debug_suffix_keep_quoted/input.js
|
|
properties/mangle_debug_true/input.js
|
|
properties/mangle_properties/input.js
|
|
properties/mangle_undeclared_properties/input.js
|
|
properties/mangle_unquoted_properties/input.js
|
|
properties/methods_keep_quoted_false/input.js
|
|
properties/methods_keep_quoted_from_dead_code/input.js
|
|
properties/methods_keep_quoted_true/input.js
|
|
properties/native_prototype/input.js
|
|
properties/new_this/input.js
|
|
properties/skip_undeclared_properties_by_default/input.js
|
|
properties/unsafe_methods_regex/input.js
|
|
pure_funcs/arithmetic/input.js
|
|
pure_funcs/array/input.js
|
|
pure_funcs/babel/input.js
|
|
pure_funcs/boolean_and/input.js
|
|
pure_funcs/boolean_or/input.js
|
|
pure_funcs/conditional/input.js
|
|
pure_funcs/func/input.js
|
|
pure_funcs/issue_2629_1/input.js
|
|
pure_funcs/issue_2629_2/input.js
|
|
pure_funcs/issue_2629_3/input.js
|
|
pure_funcs/issue_2629_4/input.js
|
|
pure_funcs/issue_2629_5/input.js
|
|
pure_funcs/issue_2638/input.js
|
|
pure_funcs/issue_2705_1/input.js
|
|
pure_funcs/issue_2705_2/input.js
|
|
pure_funcs/issue_2705_3/input.js
|
|
pure_funcs/issue_2705_4/input.js
|
|
pure_funcs/issue_2705_5/input.js
|
|
pure_funcs/issue_2705_6/input.js
|
|
pure_funcs/issue_3065_1/input.js
|
|
pure_funcs/issue_3065_2/input.js
|
|
pure_funcs/issue_3065_2b/input.js
|
|
pure_funcs/issue_526_1/input.js
|
|
pure_funcs/relational/input.js
|
|
pure_funcs/side_effects/input.js
|
|
pure_funcs/unary/input.js
|
|
pure_funcs/unused/input.js
|
|
pure_getters/collapse_vars_1_true/input.js
|
|
pure_getters/collapse_vars_2_true/input.js
|
|
pure_getters/issue_2265_1/input.js
|
|
pure_getters/issue_2265_3/input.js
|
|
pure_getters/issue_2313_6/input.js
|
|
pure_getters/set_immutable_3/input.js
|
|
pure_getters/set_immutable_5/input.js
|
|
pure_getters/strict/input.js
|
|
pure_getters/strict_reduce_vars/input.js
|
|
pure_getters/unsafe/input.js
|
|
pure_getters/unsafe_reduce_vars/input.js
|
|
pure_globals/globals_whose_access_is_pure/input.js
|
|
pure_globals/window_access_is_impure/input.js
|
|
reduce_vars/array_forin_1/input.js
|
|
reduce_vars/conditional_chain_certain_part/input.js
|
|
reduce_vars/defun_inline_1/input.js
|
|
reduce_vars/defun_inline_2/input.js
|
|
reduce_vars/defun_reference/input.js
|
|
reduce_vars/defun_var_1/input.js
|
|
reduce_vars/defun_var_2/input.js
|
|
reduce_vars/escaped_prop_1/input.js
|
|
reduce_vars/escaped_prop_2/input.js
|
|
reduce_vars/issue_1595_3/input.js
|
|
reduce_vars/issue_294/input.js
|
|
reduce_vars/issue_308/input.js
|
|
reduce_vars/issue_432_1/input.js
|
|
reduce_vars/issue_432_2/input.js
|
|
reduce_vars/issue_639/input.js
|
|
reduce_vars/obj_var_2/input.js
|
|
reduce_vars/variables_collision_in_immediately_invoked_func/input.js
|
|
regexp/unsafe_slashes/input.js
|
|
return_undefined/return_undefined/input.js
|
|
sequences/cascade_assignment_in_return/input.js
|
|
sequences/for_sequences/input.js
|
|
sequences/hoist_decl/input.js
|
|
sequences/issue_1758/input.js
|
|
sequences/lift_sequences_2/input.js
|
|
sequences/side_effects_cascade_3/input.js
|
|
switch/issue_1680_2/input.js
|
|
template_string/special_chars_in_string/input.js
|
|
transform/if_return/input.js
|
|
transform/while_if_break/input.js
|
|
yield/issue_2689/input.js
|