oxc/crates
overlookmotel 14c00a5c1d improve(transformer): validate JSX pragma options (#3536)
Validate React JSX `pragma` and `pragma_frag` options. Don't allow:

* empty string
* `foo.bar.qux`
* `foo.`
* `.bar`
* `.`

If options provided are invalid, raise an error and use the defaults.

Also fast path the defaults.
2024-06-06 03:19:34 +00:00
..
oxc chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_allocator chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_ast chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_ast_macros chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_codegen chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_diagnostics chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_index chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_js_regex
oxc_language_server fix: fix some nightly warnings 2024-05-19 00:54:52 +08:00
oxc_linter feat(linter): add fixer for no-single-promise-in-promise-methods (#3531) 2024-06-06 01:40:03 +08:00
oxc_macros refactor(macros): remove the redundant trie builder (#3415) 2024-05-26 08:00:05 +00:00
oxc_minifier chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_module_lexer chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_parser chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_prettier fix(parser): correctly parse cls.fn<C> = x (#3208) 2024-05-09 10:23:45 +08:00
oxc_semantic chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_sourcemap chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_span chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_syntax chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_transformer improve(transformer): validate JSX pragma options (#3536) 2024-06-06 03:19:34 +00:00
oxc_traverse chore: regenerate changelog 2024-06-06 01:29:38 +08:00
oxc_wasm chore: bump oxc-browserslist to 0.17.0 (#3495) 2024-06-01 15:06:34 +08:00