swc/crates/swc_ecma_transforms_compat/tests
magic-akari bb6dde7943
fix(es/compat): Handle useDefineForClassFields: false (#7055)
**BREAKING CHANGE:**

IMPORTANT NOTE: Users of decorators are recommended to configure `"useDefineForClassFields": false` to ensure that your code is properly transpiled.


**Related issue:**
 - Closes https://github.com/swc-project/swc/issues/6985.
2023-03-12 12:56:10 +09:00
..
arrow test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
async-to-generator test(es/compat): Add a test for a fixed issue (#5672) 2022-08-30 11:09:58 +00:00
block-scoping fix(es/compat): Prepend generated _loop to the correct scope (#6604) 2022-12-09 01:48:29 +00:00
class_fields_use_set/basic fix(es/compat): Handle useDefineForClassFields: false (#7055) 2023-03-12 12:56:10 +09:00
classes fix(es/compat): Fix this in computed class method names (#6364) 2022-11-06 00:20:21 +00:00
for-of test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
new-target test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
opt-chain test(es/compat): Add a test for a fixed issue (#6887) 2023-01-31 15:01:57 +00:00
parameters/issue-6790/1 test(es/compat): Add a test to verify parameters passs (#6792) 2023-01-12 15:54:36 +09:00
private-in-object perf(es/hygiene): Make hygiene faster (#4952) 2022-06-15 14:36:57 +00:00
static-blocks feat(es/compat): Simplify static blocks in classes (#7056) 2023-03-11 00:30:49 +00:00
class_fields_use_set.rs fix(es/compat): Handle useDefineForClassFields: false (#7055) 2023-03-12 12:56:10 +09:00
es2015_arrow.rs test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
es2015_block_scoping.rs fix(es/compat): Fix span hygiene of function naming pass (#6345) 2022-11-14 06:03:09 +00:00
es2015_classes.rs test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
es2015_computed_props.rs feat(es/ast): Add raw to Str (#4071) 2022-03-22 07:54:08 +00:00
es2015_destructuring.rs fix(es/compat): Improve destructuring pass (#6412) 2022-11-13 23:52:34 +00:00
es2015_duplicated_keys.rs refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
es2015_for_of.rs test(ts/compat): Migrate inline tests to fixture testing (#6475) 2022-11-28 04:54:38 +00:00
es2015_generator.rs feat(es/generator): Use new generator implementation (#5627) 2022-08-25 16:10:47 +00:00
es2015_new_target.rs feat(es/compat): Simplify static blocks in classes (#7056) 2023-03-11 00:30:49 +00:00
es2015_object_super.rs feat(es/resolver): Use different syntax context for unresolved refs (#4436) 2022-04-26 07:38:50 +00:00
es2015_parameters.rs test(es/compat): Add a test to verify parameters passs (#6792) 2023-01-12 15:54:36 +09:00
es2015_spread.rs feat(es/utils): Use more unique names for aliases (#6399) 2022-11-11 01:57:49 +00:00
es2015_template_literals.rs feat(es/ast): Add raw to Str (#4071) 2022-03-22 07:54:08 +00:00
es2017_async_to_generator.rs feat(es/utils): Use more unique names for aliases (#6399) 2022-11-11 01:57:49 +00:00
es2018_object_rest_spread.rs feat(es/minifier): Make name mangler understand block scoping (#6670) 2023-01-06 03:14:10 +00:00
es2020_nullish_coalescing.rs feat(es/utils): Use more unique names for aliases (#6399) 2022-11-11 01:57:49 +00:00
es2020_optional_chaining.rs fix(es/compat): Make optional chaining pass less permissive (#6885) 2023-01-31 06:24:23 +00:00
es2021_logcal_assignments.rs fix(es/compat): Memorize computed props in logical assignment (#4525) 2022-05-05 02:25:37 +00:00
es2022_class_properties.rs feat(es/utils): Use more unique names for aliases (#6399) 2022-11-11 01:57:49 +00:00
es2022_private_in_object.rs feat(es/compat): Simplify static blocks in classes (#7056) 2023-03-11 00:30:49 +00:00
es2022_static_blocks.rs feat(es/compat): Simplify static blocks in classes (#7056) 2023-03-11 00:30:49 +00:00