oxc/crates
overlookmotel e23f7e6bc1 refactor(transformer/common): VarDeclarations insert either var or let statements (#7043)
Add ability for `VarDeclarations` to insert `let` declarations as well as `var` declarations. This is required for class properties transform.

Implementation note: `var` and `let` declarators are stored in 2 separate `ArenaVec`s. This allows using those `ArenaVec<Declarator<'a>>`s directly in the AST, rather storing all `Declarator`s in a single `Vec` and having to loop through it when inserting the `var` / `let` statements to split it into 2 `ArenaVec`s of `var` / `let` declarators. I'm not completely sure this is better than using a single `Vec` for both, but I think *probably* it is.
2024-11-01 04:08:59 +00:00
..
oxc feat(transformer): add TransformerOptions::env with EnvOptions (#7037) 2024-10-31 12:30:32 +00:00
oxc_allocator release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_ast fix(parser): fix incorrect parsed TSIndexSignature (#7016) 2024-10-30 07:34:22 +00:00
oxc_ast_macros feat(ast): Label AST fields with #[ts] (#6987) 2024-10-30 03:44:05 +00:00
oxc_cfg release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_codegen release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_data_structures refactor(data_structures): make all methods of NonNull shim #[inline(always)] (#7024) 2024-10-30 13:00:24 +00:00
oxc_diagnostics feat(rust): use oxc-miette (#6938) 2024-10-27 13:30:20 +00:00
oxc_ecmascript fix(ecmascript): allow getting PropName for object methods (#6967) 2024-10-28 09:34:27 +00:00
oxc_estree release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_index release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_isolated_declarations feat(rust): use oxc-miette (#6938) 2024-10-27 13:30:20 +00:00
oxc_language_server feat(linter)!: report unmatched rules with error exit code (#7027) 2024-11-01 03:27:25 +00:00
oxc_linter feat(linter)!: report unmatched rules with error exit code (#7027) 2024-11-01 03:27:25 +00:00
oxc_macros feat(linter): support user-configurable secrets for oxc-security/api-keys (#5938) 2024-10-28 18:55:19 +00:00
oxc_mangler release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_minifier refactor(minifier): remove Tri, use Option<bool> instead (#6912) 2024-10-26 04:28:34 +00:00
oxc_module_lexer release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_parser refactor(parser): use function parse_type_member_semicolon (#7018) 2024-10-30 17:20:03 +08:00
oxc_prettier refactor(rust): remove the annoying clippy::wildcard_imports (#6860) 2024-10-24 13:57:19 +00:00
oxc_regular_expression feat(ast_tools): Add #[estree(always_flatten)] to Span (#6935) 2024-10-28 02:13:24 +00:00
oxc_semantic fix(ecmascript): allow getting PropName for object methods (#6967) 2024-10-28 09:34:27 +00:00
oxc_sourcemap release(crates): v0.34.0 (#6908) 2024-10-26 09:39:53 +08:00
oxc_span feat(ast_tools): Add #[estree(always_flatten)] to Span (#6935) 2024-10-28 02:13:24 +00:00
oxc_syntax feat(ast_tools): Default enums to rename_all = "camelCase" (#6933) 2024-10-28 01:39:25 +00:00
oxc_transformer refactor(transformer/common): VarDeclarations insert either var or let statements (#7043) 2024-11-01 04:08:59 +00:00
oxc_traverse fix(parser): fix incorrect parsed TSIndexSignature (#7016) 2024-10-30 07:34:22 +00:00
oxc_wasm feat(transformer): add TransformerOptions::env with EnvOptions (#7037) 2024-10-31 12:30:32 +00:00