diff --git a/Cargo.lock b/Cargo.lock index 74d7e3a1b458c..ddc0cac43de85 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1655,7 +1655,7 @@ checksum = "48dd4f4a2c8405440fd0462561f0e5806bd0f77e86f51c761481bdd4018b545e" [[package]] name = "oxc" -version = "0.92.0" +version = "0.93.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.92.0" +version = "0.93.0" dependencies = [ "allocator-api2", "bumpalo", @@ -1747,7 +1747,7 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.92.0" +version = "0.93.0" dependencies = [ "bitflags 2.9.4", "oxc_allocator", @@ -1762,7 +1762,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.92.0" +version = "0.93.0" dependencies = [ "phf", "proc-macro2", @@ -1797,7 +1797,7 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.92.0" +version = "0.93.0" dependencies = [ "oxc_allocator", "oxc_ast", @@ -1831,7 +1831,7 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.92.0" +version = "0.93.0" dependencies = [ "bitflags 2.9.4", "itertools", @@ -1844,7 +1844,7 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.92.0" +version = "0.93.0" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -1867,7 +1867,7 @@ dependencies = [ [[package]] name = "oxc_compat" -version = "0.92.0" +version = "0.93.0" dependencies = [ "cow-utils", "oxc-browserslist", @@ -1919,14 +1919,14 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.92.0" +version = "0.93.0" dependencies = [ "ropey", ] [[package]] name = "oxc_diagnostics" -version = "0.92.0" +version = "0.93.0" dependencies = [ "cow-utils", "oxc-miette", @@ -1935,7 +1935,7 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.92.0" +version = "0.93.0" dependencies = [ "cow-utils", "num-bigint", @@ -1948,7 +1948,7 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.92.0" +version = "0.93.0" dependencies = [ "dragonbox_ecma", "itoa", @@ -1982,7 +1982,7 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.92.0" +version = "0.93.0" dependencies = [ "bitflags 2.9.4", "insta", @@ -2096,7 +2096,7 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.92.0" +version = "0.93.0" dependencies = [ "itertools", "oxc_allocator", @@ -2111,7 +2111,7 @@ dependencies = [ [[package]] name = "oxc_minifier" -version = "0.92.0" +version = "0.93.0" dependencies = [ "cow-utils", "insta", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "oxc_minify_napi" -version = "0.92.0" +version = "0.93.0" dependencies = [ "mimalloc-safe", "napi", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.92.0" +version = "0.93.0" dependencies = [ "napi", "napi-build", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "oxc_parser" -version = "0.92.0" +version = "0.93.0" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -2213,7 +2213,7 @@ dependencies = [ [[package]] name = "oxc_parser_napi" -version = "0.92.0" +version = "0.93.0" dependencies = [ "mimalloc-safe", "napi", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.92.0" +version = "0.93.0" dependencies = [ "bitflags 2.9.4", "oxc_allocator", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.92.0" +version = "0.93.0" dependencies = [ "insta", "itertools", @@ -2350,7 +2350,7 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.92.0" +version = "0.93.0" dependencies = [ "compact_str", "oxc-miette", @@ -2363,7 +2363,7 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.92.0" +version = "0.93.0" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -2436,7 +2436,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.92.0" +version = "0.93.0" dependencies = [ "mimalloc-safe", "napi", @@ -2450,7 +2450,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.92.0" +version = "0.93.0" dependencies = [ "base64", "compact_str", @@ -2481,7 +2481,7 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.92.0" +version = "0.93.0" dependencies = [ "cow-utils", "insta", @@ -2508,7 +2508,7 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.92.0" +version = "0.93.0" dependencies = [ "itoa", "oxc_allocator", diff --git a/Cargo.toml b/Cargo.toml index 0dddf7e4a5b5e..e5d93b8296151 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,33 +103,33 @@ multiple_crate_versions = "allow" [workspace.dependencies] # publish = true -oxc = { version = "0.92.0", path = "crates/oxc" } -oxc_allocator = { version = "0.92.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.92.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.92.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.92.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.92.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.92.0", path = "crates/oxc_codegen" } -oxc_compat = { version = "0.92.0", path = "crates/oxc_compat" } -oxc_data_structures = { version = "0.92.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.92.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.92.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.92.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.92.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.92.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.92.0", path = "crates/oxc_minifier" } -oxc_minify_napi = { version = "0.92.0", path = "napi/minify" } -oxc_napi = { version = "0.92.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.92.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.92.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.92.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.92.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.92.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.92.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.92.0", path = "napi/transform" } -oxc_transformer = { version = "0.92.0", path = "crates/oxc_transformer" } -oxc_transformer_plugins = { version = "0.92.0", path = "crates/oxc_transformer_plugins" } -oxc_traverse = { version = "0.92.0", path = "crates/oxc_traverse" } +oxc = { version = "0.93.0", path = "crates/oxc" } +oxc_allocator = { version = "0.93.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.93.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.93.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.93.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.93.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.93.0", path = "crates/oxc_codegen" } +oxc_compat = { version = "0.93.0", path = "crates/oxc_compat" } +oxc_data_structures = { version = "0.93.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.93.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.93.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.93.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.93.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.93.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.93.0", path = "crates/oxc_minifier" } +oxc_minify_napi = { version = "0.93.0", path = "napi/minify" } +oxc_napi = { version = "0.93.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.93.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.93.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.93.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.93.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.93.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.93.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.93.0", path = "napi/transform" } +oxc_transformer = { version = "0.93.0", path = "crates/oxc_transformer" } +oxc_transformer_plugins = { version = "0.93.0", path = "crates/oxc_transformer_plugins" } +oxc_traverse = { version = "0.93.0", path = "crates/oxc_traverse" } # publish = false oxc_formatter = { path = "crates/oxc_formatter" } diff --git a/crates/oxc/CHANGELOG.md b/crates/oxc/CHANGELOG.md index a7405da4ff135..9faa44a38905a 100644 --- a/crates/oxc/CHANGELOG.md +++ b/crates/oxc/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿš€ Features + +- 5e05d1b semantic: Put jsdoc behind linter feature, remove runtime flag (#14140) (Boshen) + + ## [0.92.0] - 2025-09-24 ### ๐Ÿš€ Features diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 2a3f9b8434eaf..1c61df69d40b8 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_allocator/CHANGELOG.md b/crates/oxc_allocator/CHANGELOG.md index a174dd8299c56..b96fd0bc1735f 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿšœ Refactor + +- 7e42b0a syntax: Use allocator HashMap in ModuleRecord fields (#14141) (Boshen) + + ## [0.91.0] - 2025-09-22 diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index dfe5fe4b81f94..5ea60d2d50d07 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast/CHANGELOG.md b/crates/oxc_ast/CHANGELOG.md index f62d573e913e6..8ba811b949eab 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿšœ Refactor + +- 6fffdf9 ast: Remove unneccesary `#[estree(field_order)]` attrs (#14143) (overlookmotel) + + ## [0.91.0] - 2025-09-22 diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index baf189d5f4429..230810bed3292 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_macros/CHANGELOG.md b/crates/oxc_ast_macros/CHANGELOG.md index 8dd096d718808..0e1324f0e3df9 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_ast_macros/Cargo.toml b/crates/oxc_ast_macros/Cargo.toml index fe0e7273d79d5..dfd7eff24d652 100644 --- a/crates/oxc_ast_macros/Cargo.toml +++ b/crates/oxc_ast_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_macros" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ast_visit/CHANGELOG.md b/crates/oxc_ast_visit/CHANGELOG.md index 46c71a457bd3c..de41b19d095ab 100644 --- a/crates/oxc_ast_visit/CHANGELOG.md +++ b/crates/oxc_ast_visit/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿš€ Features diff --git a/crates/oxc_ast_visit/Cargo.toml b/crates/oxc_ast_visit/Cargo.toml index b8282e8f3bd9c..434f670b3e04c 100644 --- a/crates/oxc_ast_visit/Cargo.toml +++ b/crates/oxc_ast_visit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast_visit" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_cfg/CHANGELOG.md b/crates/oxc_cfg/CHANGELOG.md index d1014ee3819f4..275828b19093d 100644 --- a/crates/oxc_cfg/CHANGELOG.md +++ b/crates/oxc_cfg/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 421b35c58f3c7..0c7eac1f7c052 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_codegen/CHANGELOG.md b/crates/oxc_codegen/CHANGELOG.md index 3c7fef4cb1f95..5109ca5af6c11 100644 --- a/crates/oxc_codegen/CHANGELOG.md +++ b/crates/oxc_codegen/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿ› Bug Fixes + +- aa927ab codegen: Don't inject parenthesis in optional chaining within new expressions (#14170) (sapphi-red) + + ## [0.92.0] - 2025-09-24 ### ๐Ÿš€ Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 71d2028fd0c52..480d0469b03c8 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_compat/CHANGELOG.md b/crates/oxc_compat/CHANGELOG.md index e0614a9b02305..0ca666c3c98a1 100644 --- a/crates/oxc_compat/CHANGELOG.md +++ b/crates/oxc_compat/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿš€ Features diff --git a/crates/oxc_compat/Cargo.toml b/crates/oxc_compat/Cargo.toml index 55bf661e0f7e7..fdfb961114b1f 100644 --- a/crates/oxc_compat/Cargo.toml +++ b/crates/oxc_compat/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_compat" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_data_structures/CHANGELOG.md b/crates/oxc_data_structures/CHANGELOG.md index 8405f9a6e110e..0db6b231bd409 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿš€ Features + +- 1521a1f data_structures: Add `Stack::clear` (#14028) (sapphi-red) + + ## [0.91.0] - 2025-09-22 diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 7fde82dcec574..6bd293734b0f0 100644 --- a/crates/oxc_data_structures/Cargo.toml +++ b/crates/oxc_data_structures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_data_structures" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_diagnostics/CHANGELOG.md b/crates/oxc_diagnostics/CHANGELOG.md index 5ab60b65de899..8b2b51e7cb1f8 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### โšก Performance + +- c2f7459 language_server: Avoid cloning on message conversion (#14058) (Sysix) + + ## [0.91.0] - 2025-09-22 diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 82f4291e11780..61c7b78de77d2 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_ecmascript/CHANGELOG.md b/crates/oxc_ecmascript/CHANGELOG.md index 061a556dd072f..2fddd3cd77d66 100644 --- a/crates/oxc_ecmascript/CHANGELOG.md +++ b/crates/oxc_ecmascript/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_ecmascript/Cargo.toml b/crates/oxc_ecmascript/Cargo.toml index a8afe28e73abe..760a0d79c786f 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_estree/CHANGELOG.md b/crates/oxc_estree/CHANGELOG.md index 599897bd0f468..1706cff56cb66 100644 --- a/crates/oxc_estree/CHANGELOG.md +++ b/crates/oxc_estree/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_estree/Cargo.toml b/crates/oxc_estree/Cargo.toml index fd8726f16996d..83fd09a0cb309 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_isolated_declarations/CHANGELOG.md b/crates/oxc_isolated_declarations/CHANGELOG.md index b464ea3cc8213..213fc7ec2e6e4 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_isolated_declarations/Cargo.toml b/crates/oxc_isolated_declarations/Cargo.toml index 4bda17d247d2d..5a29d371a57ed 100644 --- a/crates/oxc_isolated_declarations/Cargo.toml +++ b/crates/oxc_isolated_declarations/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_isolated_declarations" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_mangler/CHANGELOG.md b/crates/oxc_mangler/CHANGELOG.md index d5cf2f049443b..93227a7383a95 100644 --- a/crates/oxc_mangler/CHANGELOG.md +++ b/crates/oxc_mangler/CHANGELOG.md @@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿ› Bug Fixes + +- d02d750 mangler: Mangle non top-level `exports` variable (#14169) (sapphi-red) + + ## [0.92.0] - 2025-09-24 ### ๐Ÿš€ Features diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index e5004daf26da5..9d2746c7785e6 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_minifier/CHANGELOG.md b/crates/oxc_minifier/CHANGELOG.md index e035475d64e38..3f75286cc1166 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,19 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿš€ Features + +- 402e6c7 minifier: Inline single use variables within the same variable declarations (#13959) (sapphi-red) +- 1337811 minifier: Evaluate `.concat` calls that has subsequent method calls (#14074) (sapphi-red) + +### ๐Ÿ› Bug Fixes + +- 358f2fc minifier: Remove continue in for-in / for-of (#14151) (ๅค•่ˆžๅ…ซๅผฆ) +- d02d750 mangler: Mangle non top-level `exports` variable (#14169) (sapphi-red) + + ## [0.92.0] - 2025-09-24 ### ๐Ÿš€ Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index b5536a3f177f9..30e663f135561 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_napi/CHANGELOG.md b/crates/oxc_napi/CHANGELOG.md index 380f7050e15f3..226868ceb98b6 100644 --- a/crates/oxc_napi/CHANGELOG.md +++ b/crates/oxc_napi/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_napi/Cargo.toml b/crates/oxc_napi/Cargo.toml index 06c2e974d9553..eef4070d1bf36 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_parser/CHANGELOG.md b/crates/oxc_parser/CHANGELOG.md index a7d14edf96c9c..e4fcdda5c0efb 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### โšก Performance + +- 5b74a81 parser: Apply #[cold] attribute to error handling functions (#14188) (Boshen) +- af88e94 parser: Cleanup and optimize various parsing functions (#14160) (Ulrich Stark) + + ## [0.92.0] - 2025-09-24 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index f91453d3b383c..f125b7b12548e 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_regular_expression/CHANGELOG.md b/crates/oxc_regular_expression/CHANGELOG.md index 61628872dd6f5..7345883282aa8 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index f710ae093aa2f..a2fab335be025 100644 --- a/crates/oxc_regular_expression/Cargo.toml +++ b/crates/oxc_regular_expression/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_regular_expression" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_semantic/CHANGELOG.md b/crates/oxc_semantic/CHANGELOG.md index 466a4c1cce9b9..279e0e9c8ad7d 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/CHANGELOG.md @@ -4,6 +4,25 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿš€ Features + +- 5e05d1b semantic: Put jsdoc behind linter feature, remove runtime flag (#14140) (Boshen) +- 71af1aa semantic: Add "linter" feature (#14139) (Boshen) + +### ๐Ÿ› Bug Fixes + +- f2fd7da semantic: Don't report abstract method with implementation twice (#14193) (Ulrich Stark) + +### ๐Ÿšœ Refactor + +- 3542572 semantic: Do not use `Astnodes::get_node` for `check_unresolved_exports` (#14176) (Boshen) +- ad0e5df semantic: Split node.rs into node/mod.rs and node/nodes.rs (#14138) (Boshen) +- 497236e semantic: Move AstNode::cfg_id to struct of arrays in AstNodes (#14137) (Boshen) +- 5ba765c semantic: Move AstNode::flags to struct of arrays in AstNodes (#14136) (Boshen) + + ## [0.91.0] - 2025-09-22 diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index 5d3dbf54b42b4..dab9416d36680 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_span/CHANGELOG.md b/crates/oxc_span/CHANGELOG.md index 19e9e228e248d..120bc76645b2b 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_span/Cargo.toml b/crates/oxc_span/Cargo.toml index e03fbd6f208ac..11c2c196c8b4c 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_syntax/CHANGELOG.md b/crates/oxc_syntax/CHANGELOG.md index 4e948b22d9030..a156ea0edb649 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿšœ Refactor + +- 7e42b0a syntax: Use allocator HashMap in ModuleRecord fields (#14141) (Boshen) +- 0a9473d syntax: Remove unnecessary `#[estree(field_order)]` attr (#14142) (overlookmotel) + + ## [0.91.0] - 2025-09-22 diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index e1a38eb3002c2..b8eea9c8208b8 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer/CHANGELOG.md b/crates/oxc_transformer/CHANGELOG.md index e56d2b97a89d0..9db46e90d54fd 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿš€ Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index 3d0692fe923c2..428287eecc58f 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_transformer_plugins/CHANGELOG.md b/crates/oxc_transformer_plugins/CHANGELOG.md index 2fd520dc6326e..257dfba13fbe6 100644 --- a/crates/oxc_transformer_plugins/CHANGELOG.md +++ b/crates/oxc_transformer_plugins/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_transformer_plugins/Cargo.toml b/crates/oxc_transformer_plugins/Cargo.toml index 29ff2591af758..f61db0b92d547 100644 --- a/crates/oxc_transformer_plugins/Cargo.toml +++ b/crates/oxc_transformer_plugins/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer_plugins" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/crates/oxc_traverse/CHANGELOG.md b/crates/oxc_traverse/CHANGELOG.md index 796f3250be816..f81a1554eda59 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 01b6eb92960f6..a63b60bcbe103 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/CHANGELOG.md b/napi/minify/CHANGELOG.md index efbd4516ed94f..1b7c5ee592cb5 100644 --- a/napi/minify/CHANGELOG.md +++ b/napi/minify/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + + ## [0.92.0] - 2025-09-24 ### ๐Ÿ› Bug Fixes diff --git a/napi/minify/Cargo.toml b/napi/minify/Cargo.toml index 9dff971be065f..5b80885e1e355 100644 --- a/napi/minify/Cargo.toml +++ b/napi/minify/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minify_napi" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/index.js b/napi/minify/index.js index 607728bf97b0c..5a450f972e932 100644 --- a/napi/minify/index.js +++ b/napi/minify/index.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-android-arm64') const bindingPackageVersion = require('@oxc-minify/binding-android-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-android-arm-eabi') const bindingPackageVersion = require('@oxc-minify/binding-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -117,8 +117,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-win32-x64-msvc') const bindingPackageVersion = require('@oxc-minify/binding-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -133,8 +133,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-win32-ia32-msvc') const bindingPackageVersion = require('@oxc-minify/binding-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -149,8 +149,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-win32-arm64-msvc') const bindingPackageVersion = require('@oxc-minify/binding-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -168,8 +168,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-darwin-universal') const bindingPackageVersion = require('@oxc-minify/binding-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -184,8 +184,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-darwin-x64') const bindingPackageVersion = require('@oxc-minify/binding-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -200,8 +200,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-darwin-arm64') const bindingPackageVersion = require('@oxc-minify/binding-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -220,8 +220,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-freebsd-x64') const bindingPackageVersion = require('@oxc-minify/binding-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -236,8 +236,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-freebsd-arm64') const bindingPackageVersion = require('@oxc-minify/binding-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -257,8 +257,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-x64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -273,8 +273,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-x64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -307,8 +307,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm-musleabihf') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -341,8 +341,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-arm-gnueabihf') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-loong64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -375,8 +375,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-loong64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-riscv64-musl') const bindingPackageVersion = require('@oxc-minify/binding-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -409,8 +409,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-riscv64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -426,8 +426,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-ppc64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -442,8 +442,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-linux-s390x-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -462,8 +462,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-openharmony-arm64') const bindingPackageVersion = require('@oxc-minify/binding-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -478,8 +478,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-openharmony-x64') const bindingPackageVersion = require('@oxc-minify/binding-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -494,8 +494,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-openharmony-arm') const bindingPackageVersion = require('@oxc-minify/binding-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/napi/minify/package.json b/napi/minify/package.json index 8a920f43a9b57..daa227cf6165b 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.92.0", + "version": "0.93.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index d3bd6dfa4db2d..ae07efcd7ef9e 100644 --- a/napi/parser/CHANGELOG.md +++ b/napi/parser/CHANGELOG.md @@ -4,6 +4,28 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). +## [0.93.0] - 2025-09-28 + +### ๐Ÿšœ Refactor + +- c0c0c17 napi/parser: Remove unnecessary `#[estree(field_order)]` attr (#14144) (overlookmotel) + +### ๐Ÿงช Testing + +- 8c09592 napi/parser: Align fixture version with other tasks (#14146) (overlookmotel) + + +## [0.93.0] - 2025-09-28 + +### ๐Ÿšœ Refactor + +- c0c0c17 napi/parser: Remove unnecessary `#[estree(field_order)]` attr (#14144) (overlookmotel) + +### ๐Ÿงช Testing + +- 8c09592 napi/parser: Align fixture version with other tasks (#14146) (overlookmotel) + + ## [0.92.0] - 2025-09-24 ### ๐Ÿ’ฅ BREAKING CHANGES diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index 50e293b72df91..6ee9445aa4fa4 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index 4530d5fe787fb..10f4d2643b228 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.92.0", + "version": "0.93.0", "type": "module", "main": "src-js/index.js", "browser": "src-js/wasm.js", diff --git a/napi/parser/src-js/bindings.js b/napi/parser/src-js/bindings.js index 7abf902ba471d..a5ac3352ea93a 100644 --- a/napi/parser/src-js/bindings.js +++ b/napi/parser/src-js/bindings.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-android-arm64') const bindingPackageVersion = require('@oxc-parser/binding-android-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-android-arm-eabi') const bindingPackageVersion = require('@oxc-parser/binding-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -117,8 +117,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-win32-x64-msvc') const bindingPackageVersion = require('@oxc-parser/binding-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -133,8 +133,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-win32-ia32-msvc') const bindingPackageVersion = require('@oxc-parser/binding-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -149,8 +149,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-win32-arm64-msvc') const bindingPackageVersion = require('@oxc-parser/binding-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -168,8 +168,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-darwin-universal') const bindingPackageVersion = require('@oxc-parser/binding-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -184,8 +184,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-darwin-x64') const bindingPackageVersion = require('@oxc-parser/binding-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -200,8 +200,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-darwin-arm64') const bindingPackageVersion = require('@oxc-parser/binding-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -220,8 +220,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-freebsd-x64') const bindingPackageVersion = require('@oxc-parser/binding-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -236,8 +236,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-freebsd-arm64') const bindingPackageVersion = require('@oxc-parser/binding-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -257,8 +257,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-x64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -273,8 +273,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-x64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -307,8 +307,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm-musleabihf') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -341,8 +341,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-arm-gnueabihf') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-loong64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -375,8 +375,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-loong64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-riscv64-musl') const bindingPackageVersion = require('@oxc-parser/binding-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -409,8 +409,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-riscv64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -426,8 +426,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-ppc64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -442,8 +442,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-linux-s390x-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -462,8 +462,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-openharmony-arm64') const bindingPackageVersion = require('@oxc-parser/binding-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -478,8 +478,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-openharmony-x64') const bindingPackageVersion = require('@oxc-parser/binding-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -494,8 +494,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-openharmony-arm') const bindingPackageVersion = require('@oxc-parser/binding-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/napi/transform/CHANGELOG.md b/napi/transform/CHANGELOG.md index 544d8d75ae0e0..48ef812f6158e 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + + ## [0.92.0] - 2025-09-24 ### ๐Ÿ› Bug Fixes diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 60608ee794708..94d1ec81cf764 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.92.0" +version = "0.93.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/index.js b/napi/transform/index.js index 0193262021bd0..4c7b9dadf4252 100644 --- a/napi/transform/index.js +++ b/napi/transform/index.js @@ -81,8 +81,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-android-arm64') const bindingPackageVersion = require('@oxc-transform/binding-android-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -97,8 +97,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-android-arm-eabi') const bindingPackageVersion = require('@oxc-transform/binding-android-arm-eabi/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -117,8 +117,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-win32-x64-msvc') const bindingPackageVersion = require('@oxc-transform/binding-win32-x64-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -133,8 +133,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-win32-ia32-msvc') const bindingPackageVersion = require('@oxc-transform/binding-win32-ia32-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -149,8 +149,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-win32-arm64-msvc') const bindingPackageVersion = require('@oxc-transform/binding-win32-arm64-msvc/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -168,8 +168,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-darwin-universal') const bindingPackageVersion = require('@oxc-transform/binding-darwin-universal/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -184,8 +184,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-darwin-x64') const bindingPackageVersion = require('@oxc-transform/binding-darwin-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -200,8 +200,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-darwin-arm64') const bindingPackageVersion = require('@oxc-transform/binding-darwin-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -220,8 +220,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-freebsd-x64') const bindingPackageVersion = require('@oxc-transform/binding-freebsd-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -236,8 +236,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-freebsd-arm64') const bindingPackageVersion = require('@oxc-transform/binding-freebsd-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -257,8 +257,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-x64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-x64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -273,8 +273,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-x64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -291,8 +291,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -307,8 +307,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -325,8 +325,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm-musleabihf') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm-musleabihf/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -341,8 +341,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-arm-gnueabihf') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -359,8 +359,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-loong64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-loong64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -375,8 +375,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-loong64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -393,8 +393,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-riscv64-musl') const bindingPackageVersion = require('@oxc-transform/binding-linux-riscv64-musl/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -409,8 +409,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-riscv64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-riscv64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -426,8 +426,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-ppc64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-ppc64-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -442,8 +442,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-linux-s390x-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-s390x-gnu/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -462,8 +462,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-openharmony-arm64') const bindingPackageVersion = require('@oxc-transform/binding-openharmony-arm64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -478,8 +478,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-openharmony-x64') const bindingPackageVersion = require('@oxc-transform/binding-openharmony-x64/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -494,8 +494,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-openharmony-arm') const bindingPackageVersion = require('@oxc-transform/binding-openharmony-arm/package.json').version - if (bindingPackageVersion !== '0.92.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { - throw new Error(`Native binding package version mismatch, expected 0.92.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.93.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') { + throw new Error(`Native binding package version mismatch, expected 0.93.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { diff --git a/napi/transform/package.json b/napi/transform/package.json index 690b1014e93cd..0f55183b93271 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.92.0", + "version": "0.93.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index 03b8db6bf84ac..f0054b404453d 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿ’ผ Other diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 3d79458b57562..f8cf4f262b2af 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.92.0", + "version": "0.93.0", "description": "Types for Oxc AST nodes", "type": "module", "keywords": [ diff --git a/npm/runtime/CHANGELOG.md b/npm/runtime/CHANGELOG.md index c3552c0d5eb95..7c84b5129e599 100644 --- a/npm/runtime/CHANGELOG.md +++ b/npm/runtime/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0). + ## [0.91.0] - 2025-09-22 ### ๐Ÿš€ Features diff --git a/npm/runtime/package.json b/npm/runtime/package.json index abbda28966886..21eab3daddc05 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.92.0", + "version": "0.93.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {