mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 07:03:50 +03:00
3122e944a8
**Description:**
- The option `hoist_props` now does what it's supposed to do.
- Dropping of unused properties now does not drop properties too aggressively.
- The initializer of a dropped variable declaration is now properly visited.
- Indexing with string literals is not marked as a dynamic index anymore. This is required to handle codes like c3f67ceb1e/crates/swc_ecma_minifier/tests/terser/compress/hoist_props/name_collision_1/input.js (L1-L7)
.
136 lines
5.2 KiB
Plaintext
136 lines
5.2 KiB
Plaintext
array_constructor/array_constructor_unsafe/input.js
|
|
conditionals/hoist_decl/input.js
|
|
dead_code/unsafe_builtin/input.js
|
|
evaluate/unsafe_charAt/input.js
|
|
evaluate/unsafe_charAt_bad_index/input.js
|
|
evaluate/unsafe_charAt_noop/input.js
|
|
evaluate/unsafe_float_key/input.js
|
|
evaluate/unsafe_float_key_complex/input.js
|
|
evaluate/unsafe_integer_key/input.js
|
|
evaluate/unsafe_integer_key_complex/input.js
|
|
evaluate/unsafe_object/input.js
|
|
evaluate/unsafe_object_accessor/input.js
|
|
evaluate/unsafe_object_complex/input.js
|
|
evaluate/unsafe_object_nested/input.js
|
|
evaluate/unsafe_object_repeated/input.js
|
|
functions/issue_3016_2_ie8/input.js
|
|
functions/issue_3016_3_ie8/input.js
|
|
functions/unsafe_apply_1/input.js
|
|
functions/unsafe_apply_2/input.js
|
|
functions/unsafe_apply_expansion_1/input.js
|
|
functions/unsafe_apply_expansion_2/input.js
|
|
functions/unsafe_call_1/input.js
|
|
functions/unsafe_call_2/input.js
|
|
functions/unsafe_call_3/input.js
|
|
functions/unsafe_call_expansion_1/input.js
|
|
functions/unsafe_call_expansion_2/input.js
|
|
hoist_props/hoist_class/input.js
|
|
hoist_props/hoist_class_with_new/input.js
|
|
hoist_props/issue_3046/input.js
|
|
hoist_props/undefined_key/input.js
|
|
ie8/do_screw_try_catch_undefined/input.js
|
|
ie8/dont_screw_try_catch/input.js
|
|
ie8/dont_screw_try_catch_undefined/input.js
|
|
ie8/issue_1586_1/input.js
|
|
ie8/issue_2120_1/input.js
|
|
ie8/reduce_vars/input.js
|
|
issue_1443/unsafe_undefined/input.js
|
|
issue_1446/typeof_eq_undefined_ie8/input.js
|
|
issue_1588/unsafe_undefined/input.js
|
|
issue_1733/function_iife_catch_ie8/input.js
|
|
properties/const_prop_assign_pure/input.js
|
|
properties/const_prop_assign_strict/input.js
|
|
properties/dont_mangle_computed_property_1/input.js
|
|
properties/dont_mangle_computed_property_2/input.js
|
|
properties/dot_properties/input.js
|
|
properties/issue_2208_1/input.js
|
|
properties/issue_2208_3/input.js
|
|
properties/issue_2208_4/input.js
|
|
properties/issue_2208_5/input.js
|
|
properties/issue_2208_6/input.js
|
|
properties/issue_2208_7/input.js
|
|
properties/issue_2208_8/input.js
|
|
properties/issue_2208_9/input.js
|
|
properties/issue_2256/input.js
|
|
properties/issue_2513/input.js
|
|
properties/issue_2816/input.js
|
|
properties/issue_2816_ecma6/input.js
|
|
properties/issue_3188_1/input.js
|
|
properties/issue_3188_3/input.js
|
|
properties/issue_869_2/input.js
|
|
properties/issue_t64/input.js
|
|
properties/join_object_assignments_1/input.js
|
|
properties/join_object_assignments_2/input.js
|
|
properties/join_object_assignments_Infinity/input.js
|
|
properties/join_object_assignments_NaN_2/input.js
|
|
properties/join_object_assignments_for/input.js
|
|
properties/join_object_assignments_forin/input.js
|
|
properties/join_object_assignments_if/input.js
|
|
properties/join_object_assignments_negative/input.js
|
|
properties/join_object_assignments_null_1/input.js
|
|
properties/join_object_assignments_regex/input.js
|
|
properties/join_object_assignments_return_1/input.js
|
|
properties/join_object_assignments_return_2/input.js
|
|
properties/join_object_assignments_return_3/input.js
|
|
properties/join_object_assignments_undefined_2/input.js
|
|
properties/join_object_assignments_void_0/input.js
|
|
properties/literal_duplicate_key_side_effects/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/prop_side_effects_1/input.js
|
|
properties/prop_side_effects_2/input.js
|
|
properties/skip_undeclared_properties_by_default/input.js
|
|
properties/sub_properties/input.js
|
|
properties/unsafe_methods_regex/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_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_526_1/input.js
|
|
pure_funcs/unary/input.js
|
|
pure_getters/collapse_vars_1_true/input.js
|
|
pure_getters/collapse_vars_2_true/input.js
|
|
pure_getters/impure_getter_2/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/issue_2838/input.js
|
|
pure_getters/issue_2938_3/input.js
|
|
pure_getters/issue_2938_4/input.js
|
|
pure_getters/set_immutable_6/input.js
|
|
pure_getters/set_mutable_1/input.js
|
|
pure_getters/set_mutable_2/input.js
|
|
pure_getters/strict_reduce_vars/input.js
|
|
pure_getters/unsafe/input.js
|
|
pure_getters/unsafe_reduce_vars/input.js
|
|
reduce_vars/unsafe_evaluate/input.js
|
|
reduce_vars/unsafe_evaluate_array_2/input.js
|
|
reduce_vars/unsafe_evaluate_array_4/input.js
|
|
reduce_vars/unsafe_evaluate_modified/input.js
|
|
reduce_vars/unsafe_evaluate_object_2/input.js
|
|
reduce_vars/unsafe_evaluate_side_effect_free_1/input.js
|
|
reduce_vars/unsafe_evaluate_side_effect_free_2/input.js
|
|
regexp/unsafe_slashes/input.js
|
|
rename/function_iife_catch_ie8/input.js
|
|
sequences/hoist_decl/input.js
|