oxc/crates/oxc_ecmascript/src
camchenry da199c7476 fix(ecmascript): allow getting PropName for object methods (#6967)
Working on some lint rules and noticed that PropName didn't seem to be working as intended. According to the spec, we should definitely allow get/set/methods to have prop names:

https://tc39.es/ecma262/#sec-static-semantics-propname

<img width="694" alt="image" src="https://github.com/user-attachments/assets/60fdfeec-2320-4cd9-a786-901728e459b2">

However, we still need to retain this logic for checking `__proto__` because it has special rules.
2024-10-28 09:34:27 +00:00
..
constant_evaluation feat(minifier): late peeophole optimization (#6882) 2024-10-25 16:12:29 +00:00
side_effects refactor(rust): remove the annoying clippy::wildcard_imports (#6860) 2024-10-24 13:57:19 +00:00
bound_names.rs chore(oxc): rename crate oxc_syntax_operations to oxc_ecmascript (#6469) 2024-10-12 08:34:42 +00:00
is_simple_parameter_list.rs chore(oxc): rename crate oxc_syntax_operations to oxc_ecmascript (#6469) 2024-10-12 08:34:42 +00:00
lib.rs feat(minifier): implement folding substring string fns (#6869) 2024-10-25 01:29:56 +00:00
private_bound_identifiers.rs chore(oxc): rename crate oxc_syntax_operations to oxc_ecmascript (#6469) 2024-10-12 08:34:42 +00:00
prop_name.rs fix(ecmascript): allow getting PropName for object methods (#6967) 2024-10-28 09:34:27 +00:00
string_char_at.rs feat(minifier): implement folding charAt string fns (#6436) 2024-10-13 06:41:05 +00:00
string_char_code_at.rs feat(minifier): implement folding charCodeAt string fns (#6475) 2024-10-24 14:37:50 +00:00
string_index_of.rs refactor(minifier): move string methods to oxc_ecmascript (#6472) 2024-10-12 09:40:43 +00:00
string_last_index_of.rs refactor(minifier): move string methods to oxc_ecmascript (#6472) 2024-10-12 09:40:43 +00:00
string_substring.rs feat(minifier): implement folding substring string fns (#6869) 2024-10-25 01:29:56 +00:00
string_to_big_int.rs feat(ecmascript): add ToBigInt and StringToBigInt (#6508) 2024-10-13 11:26:07 +00:00
string_to_number.rs fix(minifier): fix remaining runtime bugs (#6855) 2024-10-24 12:22:18 +00:00
to_big_int.rs feat(minifier): late peeophole optimization (#6882) 2024-10-25 16:12:29 +00:00
to_boolean.rs feat(ecmascript): add ConstantEvaluation (#6549) 2024-10-14 07:53:44 +00:00
to_int_32.rs refactor(ecmascript): move ToInt32 from oxc_syntax to oxc_ecmascript (#6471) 2024-10-12 09:29:46 +00:00
to_number.rs refactor(rust): remove the annoying clippy::wildcard_imports (#6860) 2024-10-24 13:57:19 +00:00
to_string.rs refactor(rust): remove the annoying clippy::wildcard_imports (#6860) 2024-10-24 13:57:19 +00:00