oxc/crates
overlookmotel 0fb4c35083 fix(transformer): use UID for JSX source filename var (#3612)
React JSX Source transform generates a top-level variable `_jsxFileName` containing file path.

Previously this var name was hard-coded. Generate a UID instead to avoid clash with existing var called `_jsxFileName`. Add this binding to scopes.
2024-06-11 06:41:14 +00:00
..
oxc Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_allocator Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_ast refactor(transformer): move BoundIdentifier into helpers (#3610) 2024-06-11 06:41:11 +00:00
oxc_ast_macros Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_codegen refactor(linter): add rule fixer (#3589) 2024-06-10 17:20:14 +08:00
oxc_diagnostics Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_index Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_js_regex chore: crates should only publish src and examples directory 2024-06-08 16:35:16 +08:00
oxc_language_server refactor(transformer): replace &’a Trivias with Rc<Trivias> (#3580) 2024-06-11 13:23:41 +08:00
oxc_linter refactor(transformer): replace &’a Trivias with Rc<Trivias> (#3580) 2024-06-11 13:23:41 +08:00
oxc_macros chore: crates should only publish src and examples directory 2024-06-08 16:35:16 +08:00
oxc_minifier refactor(minifier): make Prepass Copy (#3603) 2024-06-10 11:17:45 +00:00
oxc_module_lexer Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_parser Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_prettier chore: crates should only publish src and examples directory 2024-06-08 16:35:16 +08:00
oxc_semantic refactor(traverse): generate_uid_in_root_scope method (#3611) 2024-06-11 06:41:12 +00:00
oxc_sourcemap Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_span fix(span): correct doc comments (#3608) 2024-06-10 23:24:29 +08:00
oxc_syntax Release crates v0.13.5 (#3584) 2024-06-08 16:44:50 +08:00
oxc_transformer fix(transformer): use UID for JSX source filename var (#3612) 2024-06-11 06:41:14 +00:00
oxc_traverse refactor(traverse): generate_uid_in_root_scope method (#3611) 2024-06-11 06:41:12 +00:00
oxc_wasm refactor(transformer): replace &’a Trivias with Rc<Trivias> (#3580) 2024-06-11 13:23:41 +08:00