swc/packages/helpers/esm
Alessandro Chitolina 9c029ef095
feat(es/compat): Implement decorator metadata proposal (#8097)
**Description:**

This PR implements the [decorator
metadata](https://github.com/tc39/proposal-decorator-metadata) proposal,
that is now at Stage 3.

As the decorator metadata proposal is a small extension of the decorator
proposal and is not possible to compile the metadata without transpiling
decorators, I opted to implement it into the existing decorator
transformer (and helper)

**Related issue:**

 - Closes #7957
2023-10-16 20:38:53 +00:00
..
_apply_decorated_descriptor.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_apply_decs_2203_r.js feat(es/compat): Implement decorator metadata proposal (#8097) 2023-10-16 20:38:53 +00:00
_array_like_to_array.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_array_with_holes.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_array_without_holes.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_assert_this_initialized.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_async_generator_delegate.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_async_generator.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_async_iterator.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_async_to_generator.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_await_async_generator.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_await_value.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_check_private_redeclaration.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_apply_descriptor_destructure.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_apply_descriptor_get.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_apply_descriptor_set.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_apply_descriptor_update.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_call_check.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_check_private_static_access.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_check_private_static_field_descriptor.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_extract_field_descriptor.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_name_tdz_error.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_field_destructure.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_field_get.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_field_init.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_field_loose_base.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_field_loose_key.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_field_set.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_field_update.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_method_get.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_method_init.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_private_method_set.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_static_private_field_destructure.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_static_private_field_spec_get.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_static_private_field_spec_set.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_static_private_field_update.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_class_static_private_method_get.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_construct.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_create_class.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_create_for_of_iterator_helper_loose.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_create_super.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_decorate.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_defaults.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_define_enumerable_properties.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_define_property.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_dispose.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_export_star.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_extends.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_get_prototype_of.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_get.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_inherits_loose.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_inherits.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_initializer_define_property.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_initializer_warning_helper.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_instanceof.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_interop_require_default.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_interop_require_wildcard.js fix(es/helpers): Override mistake in _interop_require_wildcard (#8076) 2023-10-07 14:20:39 +00:00
_is_native_function.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_is_native_reflect_construct.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_iterable_to_array_limit_loose.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_iterable_to_array_limit.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_iterable_to_array.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_jsx.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_new_arrow_check.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_non_iterable_rest.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_non_iterable_spread.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_object_destructuring_empty.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_object_spread_props.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_object_spread.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_object_without_properties_loose.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_object_without_properties.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_possible_constructor_return.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_read_only_error.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_set_prototype_of.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_set.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_skip_first_generator_next.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_sliced_to_array_loose.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_sliced_to_array.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_super_prop_base.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_tagged_template_literal_loose.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_tagged_template_literal.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_throw.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_to_array.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_to_consumable_array.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_to_primitive.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_to_property_key.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_ts_decorate.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_ts_generator.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_ts_metadata.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_ts_param.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_ts_values.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_type_of.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_unsupported_iterable_to_array.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_update.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_using.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_wrap_async_generator.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_wrap_native_super.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
_write_only_error.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00
index.js refactor(es/helpers): Move packages for monorepo (#7833) 2023-08-18 04:25:37 +00:00