diff --git a/Cargo.lock b/Cargo.lock index cdae4a513a8a4..d15815fd6e1b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1669,22 +1669,22 @@ checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52" [[package]] name = "oxc" -version = "0.94.0" +version = "0.95.0" dependencies = [ - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", "oxc_cfg", - "oxc_codegen 0.94.0", - "oxc_diagnostics 0.94.0", + "oxc_codegen 0.95.0", + "oxc_diagnostics 0.95.0", "oxc_isolated_declarations", - "oxc_mangler 0.94.0", - "oxc_minifier 0.94.0", - "oxc_parser 0.94.0", - "oxc_regular_expression 0.94.0", - "oxc_semantic 0.94.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", + "oxc_mangler 0.95.0", + "oxc_minifier 0.95.0", + "oxc_parser 0.95.0", + "oxc_regular_expression 0.95.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "oxc_transformer", "oxc_transformer_plugins", ] @@ -1747,34 +1747,36 @@ dependencies = [ [[package]] name = "oxc_allocator" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c2294f53fe0d6a715ad1877300fe5432033db1e5804800f82ee84840bd09894" dependencies = [ "allocator-api2", "bumpalo", "hashbrown 0.16.0", - "oxc_ast_macros 0.94.0", "oxc_data_structures 0.94.0", - "oxc_estree 0.94.0", "rustc-hash", - "serde", - "serde_json", ] [[package]] name = "oxc_allocator" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c2294f53fe0d6a715ad1877300fe5432033db1e5804800f82ee84840bd09894" +version = "0.95.0" dependencies = [ "allocator-api2", "bumpalo", "hashbrown 0.16.0", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_ast_macros 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_estree 0.95.0", "rustc-hash", + "serde", + "serde_json", ] [[package]] name = "oxc_ast" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "678ce41e4a2fc2b5eb2b870a2b2dec2e0cdd9861d1bc22d19f6ce2dd2942f236" dependencies = [ "bitflags 2.9.4", "oxc_allocator 0.94.0", @@ -1789,24 +1791,24 @@ dependencies = [ [[package]] name = "oxc_ast" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678ce41e4a2fc2b5eb2b870a2b2dec2e0cdd9861d1bc22d19f6ce2dd2942f236" +version = "0.95.0" dependencies = [ "bitflags 2.9.4", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_macros 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_diagnostics 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_estree 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_regular_expression 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast_macros 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_estree 0.95.0", + "oxc_regular_expression 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", ] [[package]] name = "oxc_ast_macros" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85d18fd697fdceb2b61329e3fff5b3b61520b9a2f898714ed84345bfa0957b9e" dependencies = [ "phf", "proc-macro2", @@ -1816,9 +1818,7 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85d18fd697fdceb2b61329e3fff5b3b61520b9a2f898714ed84345bfa0957b9e" +version = "0.95.0" dependencies = [ "phf", "proc-macro2", @@ -1837,16 +1837,16 @@ dependencies = [ "indexmap", "itertools", "lazy-regex", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_visit 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_codegen 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0", + "oxc_allocator 0.94.0", + "oxc_ast 0.94.0", + "oxc_ast_visit 0.94.0", + "oxc_codegen 0.94.0", + "oxc_data_structures 0.95.0", "oxc_index", - "oxc_minifier 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_parser 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_minifier 0.94.0", + "oxc_parser 0.94.0", + "oxc_span 0.94.0", + "oxc_syntax 0.94.0", "phf", "phf_codegen", "prettyplease", @@ -1862,6 +1862,8 @@ dependencies = [ [[package]] name = "oxc_ast_visit" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f93e36c0d169bf3c23dc4f545255a0c3b2acae23fcb963d5a59629f4444769" dependencies = [ "oxc_allocator 0.94.0", "oxc_ast 0.94.0", @@ -1871,14 +1873,12 @@ dependencies = [ [[package]] name = "oxc_ast_visit" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f93e36c0d169bf3c23dc4f545255a0c3b2acae23fcb963d5a59629f4444769" +version = "0.95.0" dependencies = [ - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", ] [[package]] @@ -1886,18 +1886,18 @@ name = "oxc_benchmark" version = "0.0.0" dependencies = [ "criterion2", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", - "oxc_codegen 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_codegen 0.95.0", "oxc_formatter", "oxc_isolated_declarations", "oxc_linter", - "oxc_mangler 0.94.0", - "oxc_minifier 0.94.0", - "oxc_parser 0.94.0", - "oxc_semantic 0.94.0", - "oxc_span 0.94.0", + "oxc_mangler 0.95.0", + "oxc_minifier 0.95.0", + "oxc_parser 0.95.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", "oxc_tasks_common", "oxc_transformer", "rustc-hash", @@ -1907,12 +1907,12 @@ dependencies = [ [[package]] name = "oxc_cfg" -version = "0.94.0" +version = "0.95.0" dependencies = [ "bitflags 2.9.4", "itertools", "oxc_index", - "oxc_syntax 0.94.0", + "oxc_syntax 0.95.0", "petgraph", "rustc-hash", ] @@ -1920,49 +1920,51 @@ dependencies = [ [[package]] name = "oxc_codegen" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d0faa35a719816d3488d6c920ba44f6d89e2e255fa8045e1f69992c30106e15" dependencies = [ "bitflags 2.9.4", "cow-utils", "dragonbox_ecma", - "insta", "itoa", "oxc_allocator 0.94.0", "oxc_ast 0.94.0", "oxc_data_structures 0.94.0", "oxc_index", - "oxc_parser 0.94.0", "oxc_semantic 0.94.0", - "oxc_sourcemap 6.0.0", + "oxc_sourcemap 4.2.1", "oxc_span 0.94.0", "oxc_syntax 0.94.0", - "pico-args", "rustc-hash", ] [[package]] name = "oxc_codegen" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d0faa35a719816d3488d6c920ba44f6d89e2e255fa8045e1f69992c30106e15" +version = "0.95.0" dependencies = [ "bitflags 2.9.4", "cow-utils", "dragonbox_ecma", + "insta", "itoa", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_data_structures 0.95.0", "oxc_index", - "oxc_semantic 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_sourcemap 4.2.1", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_parser 0.95.0", + "oxc_semantic 0.95.0", + "oxc_sourcemap 6.0.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", + "pico-args", "rustc-hash", ] [[package]] name = "oxc_compat" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25e8b4b593d0c06c6c0c0f6f52e8497b2cf2411c99f6975f774602a6c509a8f9" dependencies = [ "cow-utils", "oxc-browserslist", @@ -1973,13 +1975,11 @@ dependencies = [ [[package]] name = "oxc_compat" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25e8b4b593d0c06c6c0c0f6f52e8497b2cf2411c99f6975f774602a6c509a8f9" +version = "0.95.0" dependencies = [ "cow-utils", "oxc-browserslist", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_syntax 0.95.0", "rustc-hash", "serde", ] @@ -2028,19 +2028,21 @@ dependencies = [ [[package]] name = "oxc_data_structures" version = "0.94.0" -dependencies = [ - "ropey", -] +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ca52a37a6fc68321a86a169064993d7bb5ea83efe64ff0fa6f8d4718261718d" [[package]] name = "oxc_data_structures" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca52a37a6fc68321a86a169064993d7bb5ea83efe64ff0fa6f8d4718261718d" +version = "0.95.0" +dependencies = [ + "ropey", +] [[package]] name = "oxc_diagnostics" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a671bb9d9e9ef62a89e8b8f2308f511246d42ff56403831b7f0e32432861563" dependencies = [ "cow-utils", "oxc-miette", @@ -2049,9 +2051,7 @@ dependencies = [ [[package]] name = "oxc_diagnostics" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a671bb9d9e9ef62a89e8b8f2308f511246d42ff56403831b7f0e32432861563" +version = "0.95.0" dependencies = [ "cow-utils", "oxc-miette", @@ -2061,6 +2061,8 @@ dependencies = [ [[package]] name = "oxc_ecmascript" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "569d276186f994866a9793fac530361995c204ee62bbcf351168352434119373" dependencies = [ "cow-utils", "num-bigint", @@ -2073,22 +2075,22 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "569d276186f994866a9793fac530361995c204ee62bbcf351168352434119373" +version = "0.95.0" dependencies = [ "cow-utils", "num-bigint", "num-traits", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", ] [[package]] name = "oxc_estree" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "916aaf325a3156c3d12d15c88d7d0fa1049090dad5e227659b74494ccf5258db" dependencies = [ "dragonbox_ecma", "itoa", @@ -2097,13 +2099,11 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "916aaf325a3156c3d12d15c88d7d0fa1049090dad5e227659b74494ccf5258db" +version = "0.95.0" dependencies = [ "dragonbox_ecma", "itoa", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_data_structures 0.95.0", ] [[package]] @@ -2114,12 +2114,12 @@ dependencies = [ "insta", "json-strip-comments", "oxc-schemars", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_data_structures 0.94.0", - "oxc_parser 0.94.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "pico-args", "project-root", "rustc-hash", @@ -2140,19 +2140,19 @@ dependencies = [ [[package]] name = "oxc_isolated_declarations" -version = "0.94.0" +version = "0.95.0" dependencies = [ "bitflags 2.9.4", "insta", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", - "oxc_codegen 0.94.0", - "oxc_diagnostics 0.94.0", - "oxc_ecmascript 0.94.0", - "oxc_parser 0.94.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_codegen 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_ecmascript 0.95.0", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "rustc-hash", ] @@ -2165,13 +2165,13 @@ dependencies = [ "ignore", "insta", "log", - "oxc_allocator 0.94.0", - "oxc_data_structures 0.94.0", - "oxc_diagnostics 0.94.0", + "oxc_allocator 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_diagnostics 0.95.0", "oxc_formatter", "oxc_linter", - "oxc_parser 0.94.0", - "oxc_span 0.94.0", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", "papaya", "rustc-hash", "serde", @@ -2201,23 +2201,23 @@ dependencies = [ "markdown", "memchr", "oxc-schemars", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_macros 0.94.0", - "oxc_ast_visit 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_macros 0.95.0", + "oxc_ast_visit 0.95.0", "oxc_cfg", - "oxc_codegen 0.94.0", - "oxc_data_structures 0.94.0", - "oxc_diagnostics 0.94.0", - "oxc_ecmascript 0.94.0", + "oxc_codegen 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_ecmascript 0.95.0", "oxc_index", "oxc_macros", - "oxc_parser 0.94.0", - "oxc_regular_expression 0.94.0", + "oxc_parser 0.95.0", + "oxc_regular_expression 0.95.0", "oxc_resolver", - "oxc_semantic 0.94.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "papaya", "phf", "project-root", @@ -2255,13 +2255,14 @@ dependencies = [ [[package]] name = "oxc_mangler" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "385a2920126be514159cff462eb94255f1cef187bf5780ffa3f2100f75f0f27c" dependencies = [ "itertools", "oxc_allocator 0.94.0", "oxc_ast 0.94.0", "oxc_data_structures 0.94.0", "oxc_index", - "oxc_parser 0.94.0", "oxc_semantic 0.94.0", "oxc_span 0.94.0", "oxc_syntax 0.94.0", @@ -2270,28 +2271,27 @@ dependencies = [ [[package]] name = "oxc_mangler" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "385a2920126be514159cff462eb94255f1cef187bf5780ffa3f2100f75f0f27c" +version = "0.95.0" dependencies = [ "itertools", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_data_structures 0.95.0", "oxc_index", - "oxc_semantic 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_parser 0.95.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "rustc-hash", ] [[package]] name = "oxc_minifier" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b24aabd566d8f9104cedab2911c479a91408c99eaf5b107eb3289fa8a2c57b" dependencies = [ "cow-utils", - "insta", - "javascript-globals", "oxc_allocator 0.94.0", "oxc_ast 0.94.0", "oxc_ast_visit 0.94.0", @@ -2299,60 +2299,60 @@ dependencies = [ "oxc_compat 0.94.0", "oxc_data_structures 0.94.0", "oxc_ecmascript 0.94.0", - "oxc_index", "oxc_mangler 0.94.0", "oxc_parser 0.94.0", "oxc_regular_expression 0.94.0", "oxc_semantic 0.94.0", - "oxc_sourcemap 6.0.0", "oxc_span 0.94.0", "oxc_syntax 0.94.0", "oxc_traverse 0.94.0", - "pico-args", "rustc-hash", ] [[package]] name = "oxc_minifier" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b24aabd566d8f9104cedab2911c479a91408c99eaf5b107eb3289fa8a2c57b" +version = "0.95.0" dependencies = [ "cow-utils", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_visit 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_codegen 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_compat 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ecmascript 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_mangler 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_parser 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_regular_expression 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_semantic 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_traverse 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "insta", + "javascript-globals", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_codegen 0.95.0", + "oxc_compat 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_ecmascript 0.95.0", + "oxc_index", + "oxc_mangler 0.95.0", + "oxc_parser 0.95.0", + "oxc_regular_expression 0.95.0", + "oxc_semantic 0.95.0", + "oxc_sourcemap 6.0.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", + "oxc_traverse 0.95.0", + "pico-args", "rustc-hash", ] [[package]] name = "oxc_minify_napi" -version = "0.94.0" +version = "0.95.0" dependencies = [ "mimalloc-safe", "napi", "napi-build", "napi-derive", - "oxc_allocator 0.94.0", - "oxc_codegen 0.94.0", - "oxc_compat 0.94.0", - "oxc_diagnostics 0.94.0", - "oxc_minifier 0.94.0", + "oxc_allocator 0.95.0", + "oxc_codegen 0.95.0", + "oxc_compat 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_minifier 0.95.0", "oxc_napi", - "oxc_parser 0.94.0", + "oxc_parser 0.95.0", "oxc_sourcemap 6.0.0", - "oxc_span 0.94.0", + "oxc_span 0.95.0", ] [[package]] @@ -2362,12 +2362,12 @@ dependencies = [ "cow-utils", "flate2", "humansize", - "oxc_allocator 0.94.0", - "oxc_codegen 0.94.0", - "oxc_minifier 0.94.0", - "oxc_parser 0.94.0", - "oxc_semantic 0.94.0", - "oxc_span 0.94.0", + "oxc_allocator 0.95.0", + "oxc_codegen 0.95.0", + "oxc_minifier 0.95.0", + "oxc_parser 0.95.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", "oxc_tasks_common", "oxc_transformer_plugins", "pico-args", @@ -2377,21 +2377,23 @@ dependencies = [ [[package]] name = "oxc_napi" -version = "0.94.0" +version = "0.95.0" dependencies = [ "napi", "napi-build", "napi-derive", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", - "oxc_diagnostics 0.94.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", ] [[package]] name = "oxc_parser" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7db89e1c024fe806c90c8bae0a40b4efac5ac76c07d148b1fa93cbc0efaa50dd" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -2400,52 +2402,50 @@ dependencies = [ "num-traits", "oxc_allocator 0.94.0", "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", "oxc_data_structures 0.94.0", "oxc_diagnostics 0.94.0", "oxc_ecmascript 0.94.0", "oxc_regular_expression 0.94.0", "oxc_span 0.94.0", "oxc_syntax 0.94.0", - "pico-args", "rustc-hash", "seq-macro", ] [[package]] name = "oxc_parser" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7db89e1c024fe806c90c8bae0a40b4efac5ac76c07d148b1fa93cbc0efaa50dd" +version = "0.95.0" dependencies = [ "bitflags 2.9.4", "cow-utils", "memchr", "num-bigint", "num-traits", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_diagnostics 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ecmascript 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_regular_expression 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_ecmascript 0.95.0", + "oxc_regular_expression 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", + "pico-args", "rustc-hash", "seq-macro", ] [[package]] name = "oxc_parser_napi" -version = "0.94.0" +version = "0.95.0" dependencies = [ "mimalloc-safe", "napi", "napi-build", "napi-derive", "oxc", - "oxc_ast_macros 0.94.0", - "oxc_estree 0.94.0", + "oxc_ast_macros 0.95.0", + "oxc_estree 0.95.0", "oxc_napi", "rustc-hash", ] @@ -2472,12 +2472,12 @@ name = "oxc_prettier_conformance" version = "0.0.0" dependencies = [ "cow-utils", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", "oxc_formatter", - "oxc_parser 0.94.0", - "oxc_span 0.94.0", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", "oxc_tasks_common", "pico-args", "rustc-hash", @@ -2488,6 +2488,8 @@ dependencies = [ [[package]] name = "oxc_regular_expression" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de2762ca6e1d717ed35a0e65086ea4495b0b69534fe7d3c4a846f4b53a2f231" dependencies = [ "bitflags 2.9.4", "oxc_allocator 0.94.0", @@ -2501,15 +2503,13 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de2762ca6e1d717ed35a0e65086ea4495b0b69534fe7d3c4a846f4b53a2f231" +version = "0.95.0" dependencies = [ "bitflags 2.9.4", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_macros 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_diagnostics 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast_macros 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_span 0.95.0", "phf", "rustc-hash", "unicode-id-start", @@ -2552,45 +2552,45 @@ dependencies = [ [[package]] name = "oxc_semantic" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb3c0f020670078ece7fde05e83a3797078cc84f500e1bb078e0c48861232e3f" dependencies = [ - "insta", "itertools", "oxc_allocator 0.94.0", "oxc_ast 0.94.0", "oxc_ast_visit 0.94.0", - "oxc_cfg", "oxc_data_structures 0.94.0", "oxc_diagnostics 0.94.0", "oxc_ecmascript 0.94.0", "oxc_index", - "oxc_parser 0.94.0", "oxc_span 0.94.0", "oxc_syntax 0.94.0", "phf", "rustc-hash", "self_cell", - "serde_json", ] [[package]] name = "oxc_semantic" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3c0f020670078ece7fde05e83a3797078cc84f500e1bb078e0c48861232e3f" +version = "0.95.0" dependencies = [ + "insta", "itertools", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_visit 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_diagnostics 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ecmascript 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_cfg", + "oxc_data_structures 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_ecmascript 0.95.0", "oxc_index", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "phf", "rustc-hash", "self_cell", + "serde_json", ] [[package]] @@ -2625,10 +2625,11 @@ dependencies = [ [[package]] name = "oxc_span" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f0567f9473b114f91493baab8f9c6f8bfb9e7f7767a861544c147a4eeba9e00" dependencies = [ "compact_str", "oxc-miette", - "oxc-schemars", "oxc_allocator 0.94.0", "oxc_ast_macros 0.94.0", "oxc_estree 0.94.0", @@ -2637,21 +2638,22 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f0567f9473b114f91493baab8f9c6f8bfb9e7f7767a861544c147a4eeba9e00" +version = "0.95.0" dependencies = [ "compact_str", "oxc-miette", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_macros 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_estree 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc-schemars", + "oxc_allocator 0.95.0", + "oxc_ast_macros 0.95.0", + "oxc_estree 0.95.0", "serde", ] [[package]] name = "oxc_syntax" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "163ca5aee9139e5b04c5848795e632dbdcb472be1b3658be4b32ff957993610d" dependencies = [ "bitflags 2.9.4", "cow-utils", @@ -2670,20 +2672,18 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "163ca5aee9139e5b04c5848795e632dbdcb472be1b3658be4b32ff957993610d" +version = "0.95.0" dependencies = [ "bitflags 2.9.4", "cow-utils", "dragonbox_ecma", "nonmax", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_macros 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_estree 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast_macros 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_estree 0.95.0", "oxc_index", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_span 0.95.0", "phf", "serde", "unicode-id-start", @@ -2694,7 +2694,7 @@ name = "oxc_tasks_common" version = "0.0.0" dependencies = [ "console 0.16.1", - "oxc_span 0.94.0", + "oxc_span 0.95.0", "project-root", "similar", "ureq", @@ -2705,13 +2705,13 @@ name = "oxc_tasks_transform_checker" version = "0.0.0" dependencies = [ "indexmap", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", - "oxc_diagnostics 0.94.0", - "oxc_semantic 0.94.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "rustc-hash", ] @@ -2721,10 +2721,10 @@ version = "0.0.0" dependencies = [ "humansize", "mimalloc-safe", - "oxc_allocator 0.94.0", - "oxc_minifier 0.94.0", - "oxc_parser 0.94.0", - "oxc_semantic 0.94.0", + "oxc_allocator 0.95.0", + "oxc_minifier 0.95.0", + "oxc_parser 0.95.0", + "oxc_semantic 0.95.0", "oxc_tasks_common", "oxc_transformer", ] @@ -2745,7 +2745,7 @@ dependencies = [ [[package]] name = "oxc_transform_napi" -version = "0.94.0" +version = "0.95.0" dependencies = [ "mimalloc-safe", "napi", @@ -2759,7 +2759,7 @@ dependencies = [ [[package]] name = "oxc_transformer" -version = "0.94.0" +version = "0.95.0" dependencies = [ "base64", "compact_str", @@ -2767,20 +2767,20 @@ dependencies = [ "insta", "itoa", "memchr", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", - "oxc_codegen 0.94.0", - "oxc_compat 0.94.0", - "oxc_data_structures 0.94.0", - "oxc_diagnostics 0.94.0", - "oxc_ecmascript 0.94.0", - "oxc_parser 0.94.0", - "oxc_regular_expression 0.94.0", - "oxc_semantic 0.94.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", - "oxc_traverse 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_codegen 0.95.0", + "oxc_compat 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_ecmascript 0.95.0", + "oxc_parser 0.95.0", + "oxc_regular_expression 0.95.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", + "oxc_traverse 0.95.0", "pico-args", "rustc-hash", "serde", @@ -2790,26 +2790,26 @@ dependencies = [ [[package]] name = "oxc_transformer_plugins" -version = "0.94.0" +version = "0.95.0" dependencies = [ "cow-utils", "insta", "itoa", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", - "oxc_codegen 0.94.0", - "oxc_diagnostics 0.94.0", - "oxc_ecmascript 0.94.0", - "oxc_minifier 0.94.0", - "oxc_parser 0.94.0", - "oxc_semantic 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_codegen 0.95.0", + "oxc_diagnostics 0.95.0", + "oxc_ecmascript 0.95.0", + "oxc_minifier 0.95.0", + "oxc_parser 0.95.0", + "oxc_semantic 0.95.0", "oxc_sourcemap 6.0.0", - "oxc_span 0.94.0", - "oxc_syntax 0.94.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "oxc_tasks_common", "oxc_transformer", - "oxc_traverse 0.94.0", + "oxc_traverse 0.95.0", "pico-args", "rustc-hash", "similar", @@ -2818,6 +2818,8 @@ dependencies = [ [[package]] name = "oxc_traverse" version = "0.94.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8561f5e51bb4bfc37394ceb6390bfa59e90d82d6d0fb805a585042f9d3bb410e" dependencies = [ "itoa", "oxc_allocator 0.94.0", @@ -2833,19 +2835,17 @@ dependencies = [ [[package]] name = "oxc_traverse" -version = "0.94.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8561f5e51bb4bfc37394ceb6390bfa59e90d82d6d0fb805a585042f9d3bb410e" +version = "0.95.0" dependencies = [ "itoa", - "oxc_allocator 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ast_visit 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_data_structures 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_ecmascript 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_semantic 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_span 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", - "oxc_syntax 0.94.0 (registry+https://github.com/rust-lang/crates.io-index)", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_data_structures 0.95.0", + "oxc_ecmascript 0.95.0", + "oxc_semantic 0.95.0", + "oxc_span 0.95.0", + "oxc_syntax 0.95.0", "rustc-hash", ] @@ -2860,11 +2860,11 @@ dependencies = [ "lazy-regex", "mimalloc-safe", "oxc-miette", - "oxc_allocator 0.94.0", - "oxc_diagnostics 0.94.0", + "oxc_allocator 0.95.0", + "oxc_diagnostics 0.95.0", "oxc_formatter", - "oxc_parser 0.94.0", - "oxc_span 0.94.0", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", "rayon", "tracing-subscriber", ] @@ -2883,10 +2883,10 @@ dependencies = [ "napi-build", "napi-derive", "oxc-miette", - "oxc_allocator 0.94.0", - "oxc_diagnostics 0.94.0", + "oxc_allocator 0.95.0", + "oxc_diagnostics 0.95.0", "oxc_linter", - "oxc_span 0.94.0", + "oxc_span 0.95.0", "rayon", "rustc-hash", "serde", @@ -3212,11 +3212,11 @@ dependencies = [ "convert_case", "handlebars", "lazy-regex", - "oxc_allocator 0.94.0", - "oxc_ast 0.94.0", - "oxc_ast_visit 0.94.0", - "oxc_parser 0.94.0", - "oxc_span 0.94.0", + "oxc_allocator 0.95.0", + "oxc_ast 0.95.0", + "oxc_ast_visit 0.95.0", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", "oxc_tasks_common", "rustc-hash", "serde", @@ -4114,11 +4114,11 @@ dependencies = [ "itertools", "markdown", "oxc-schemars", - "oxc_allocator 0.94.0", - "oxc_diagnostics 0.94.0", + "oxc_allocator 0.95.0", + "oxc_diagnostics 0.95.0", "oxc_linter", - "oxc_parser 0.94.0", - "oxc_span 0.94.0", + "oxc_parser 0.95.0", + "oxc_span 0.95.0", "oxlint", "pico-args", "project-root", diff --git a/Cargo.toml b/Cargo.toml index 586edc13a0543..5a692007603b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,33 +103,33 @@ multiple_crate_versions = "allow" [workspace.dependencies] # publish = true -oxc = { version = "0.94.0", path = "crates/oxc" } -oxc_allocator = { version = "0.94.0", path = "crates/oxc_allocator" } -oxc_ast = { version = "0.94.0", path = "crates/oxc_ast" } -oxc_ast_macros = { version = "0.94.0", path = "crates/oxc_ast_macros" } -oxc_ast_visit = { version = "0.94.0", path = "crates/oxc_ast_visit" } -oxc_cfg = { version = "0.94.0", path = "crates/oxc_cfg" } -oxc_codegen = { version = "0.94.0", path = "crates/oxc_codegen" } -oxc_compat = { version = "0.94.0", path = "crates/oxc_compat" } -oxc_data_structures = { version = "0.94.0", path = "crates/oxc_data_structures" } -oxc_diagnostics = { version = "0.94.0", path = "crates/oxc_diagnostics" } -oxc_ecmascript = { version = "0.94.0", path = "crates/oxc_ecmascript" } -oxc_estree = { version = "0.94.0", path = "crates/oxc_estree" } -oxc_isolated_declarations = { version = "0.94.0", path = "crates/oxc_isolated_declarations" } -oxc_mangler = { version = "0.94.0", path = "crates/oxc_mangler" } -oxc_minifier = { version = "0.94.0", path = "crates/oxc_minifier" } -oxc_minify_napi = { version = "0.94.0", path = "napi/minify" } -oxc_napi = { version = "0.94.0", path = "crates/oxc_napi" } -oxc_parser = { version = "0.94.0", path = "crates/oxc_parser", features = ["regular_expression"] } -oxc_parser_napi = { version = "0.94.0", path = "napi/parser" } -oxc_regular_expression = { version = "0.94.0", path = "crates/oxc_regular_expression" } -oxc_semantic = { version = "0.94.0", path = "crates/oxc_semantic" } -oxc_span = { version = "0.94.0", path = "crates/oxc_span" } -oxc_syntax = { version = "0.94.0", path = "crates/oxc_syntax" } -oxc_transform_napi = { version = "0.94.0", path = "napi/transform" } -oxc_transformer = { version = "0.94.0", path = "crates/oxc_transformer" } -oxc_transformer_plugins = { version = "0.94.0", path = "crates/oxc_transformer_plugins" } -oxc_traverse = { version = "0.94.0", path = "crates/oxc_traverse" } +oxc = { version = "0.95.0", path = "crates/oxc" } +oxc_allocator = { version = "0.95.0", path = "crates/oxc_allocator" } +oxc_ast = { version = "0.95.0", path = "crates/oxc_ast" } +oxc_ast_macros = { version = "0.95.0", path = "crates/oxc_ast_macros" } +oxc_ast_visit = { version = "0.95.0", path = "crates/oxc_ast_visit" } +oxc_cfg = { version = "0.95.0", path = "crates/oxc_cfg" } +oxc_codegen = { version = "0.95.0", path = "crates/oxc_codegen" } +oxc_compat = { version = "0.95.0", path = "crates/oxc_compat" } +oxc_data_structures = { version = "0.95.0", path = "crates/oxc_data_structures" } +oxc_diagnostics = { version = "0.95.0", path = "crates/oxc_diagnostics" } +oxc_ecmascript = { version = "0.95.0", path = "crates/oxc_ecmascript" } +oxc_estree = { version = "0.95.0", path = "crates/oxc_estree" } +oxc_isolated_declarations = { version = "0.95.0", path = "crates/oxc_isolated_declarations" } +oxc_mangler = { version = "0.95.0", path = "crates/oxc_mangler" } +oxc_minifier = { version = "0.95.0", path = "crates/oxc_minifier" } +oxc_minify_napi = { version = "0.95.0", path = "napi/minify" } +oxc_napi = { version = "0.95.0", path = "crates/oxc_napi" } +oxc_parser = { version = "0.95.0", path = "crates/oxc_parser", features = ["regular_expression"] } +oxc_parser_napi = { version = "0.95.0", path = "napi/parser" } +oxc_regular_expression = { version = "0.95.0", path = "crates/oxc_regular_expression" } +oxc_semantic = { version = "0.95.0", path = "crates/oxc_semantic" } +oxc_span = { version = "0.95.0", path = "crates/oxc_span" } +oxc_syntax = { version = "0.95.0", path = "crates/oxc_syntax" } +oxc_transform_napi = { version = "0.95.0", path = "napi/transform" } +oxc_transformer = { version = "0.95.0", path = "crates/oxc_transformer" } +oxc_transformer_plugins = { version = "0.95.0", path = "crates/oxc_transformer_plugins" } +oxc_traverse = { version = "0.95.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 21446c277a874..cd173e5ec8619 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.95.0] - 2025-10-15 + +### ๐Ÿ› Bug Fixes + +- 5e0ab1b tranformer_plugins: Define plugin need to add reference to scoping (#14615) (Boshen) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc/Cargo.toml b/crates/oxc/Cargo.toml index 8e970f3ad7b17..2a9514a5770e1 100644 --- a/crates/oxc/Cargo.toml +++ b/crates/oxc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc" -version = "0.94.0" +version = "0.95.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 13b2d918a46af..b1a204d15b7b9 100644 --- a/crates/oxc_allocator/CHANGELOG.md +++ b/crates/oxc_allocator/CHANGELOG.md @@ -4,6 +4,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.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_allocator/Cargo.toml b/crates/oxc_allocator/Cargo.toml index 6a364cd6c99f6..cec8d2ca642a3 100644 --- a/crates/oxc_allocator/Cargo.toml +++ b/crates/oxc_allocator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_allocator" -version = "0.94.0" +version = "0.95.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 fa54df5ae3c64..ec015281e6ae6 100644 --- a/crates/oxc_ast/CHANGELOG.md +++ b/crates/oxc_ast/CHANGELOG.md @@ -4,6 +4,18 @@ 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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- b1a9a03 linter/plugins: Implement `SourceCode#getAllComments` (#14589) (Arsh) +- 368829b ast: Show `JSXText({value})` in `debug_name()` (#14461) (leaysgur) + +### ๐Ÿ› Bug Fixes + +- a86ca0b ast: Skip `source_text` and `comments` fields in `ContentEq` for `Program` (#14370) (overlookmotel) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index b3887c43af5bf..e3e507ea7c6d0 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ast" -version = "0.94.0" +version = "0.95.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 9ac9dc4ca5b20..59650aeefa8ec 100644 --- a/crates/oxc_ast_macros/CHANGELOG.md +++ b/crates/oxc_ast_macros/CHANGELOG.md @@ -7,6 +7,7 @@ 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 21d1ea9b170a6..a4a4af69f30fd 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.94.0" +version = "0.95.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 7720ebd4b83f8..0234cf34e1a52 100644 --- a/crates/oxc_ast_visit/CHANGELOG.md +++ b/crates/oxc_ast_visit/CHANGELOG.md @@ -7,6 +7,7 @@ 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 d24640efe1bff..e7e4f9ea8446f 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.94.0" +version = "0.95.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 e9c5f61c0d16c..4497337c1824a 100644 --- a/crates/oxc_cfg/CHANGELOG.md +++ b/crates/oxc_cfg/CHANGELOG.md @@ -4,6 +4,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.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_cfg/Cargo.toml b/crates/oxc_cfg/Cargo.toml index 0b75d42d23433..78778ae73fbdf 100644 --- a/crates/oxc_cfg/Cargo.toml +++ b/crates/oxc_cfg/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_cfg" -version = "0.94.0" +version = "0.95.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 4058be3f012b8..bed1bae10c702 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.95.0] - 2025-10-15 + +### โšก Performance + +- ea3f362 codegen: Reorder match arms based on usage patterns (#14496) (Boshen) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_codegen/Cargo.toml b/crates/oxc_codegen/Cargo.toml index 002e83d1f5154..d104d0fe2d041 100644 --- a/crates/oxc_codegen/Cargo.toml +++ b/crates/oxc_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_codegen" -version = "0.94.0" +version = "0.95.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 ab43a547b35d4..a9f37243ecd46 100644 --- a/crates/oxc_compat/CHANGELOG.md +++ b/crates/oxc_compat/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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- d1ff718 tasks/compat_data: Add custom compat data for export namespace from (#14317) (sapphi-red) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_compat/Cargo.toml b/crates/oxc_compat/Cargo.toml index fea253cd9db53..2c9afe2dd7286 100644 --- a/crates/oxc_compat/Cargo.toml +++ b/crates/oxc_compat/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_compat" -version = "0.94.0" +version = "0.95.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 fe62d478bc666..4e8b568b7670d 100644 --- a/crates/oxc_data_structures/CHANGELOG.md +++ b/crates/oxc_data_structures/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.93.0] - 2025-09-28 ### ๐Ÿš€ Features diff --git a/crates/oxc_data_structures/Cargo.toml b/crates/oxc_data_structures/Cargo.toml index 8155cf93b6a0f..6f1b4d05356d7 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.94.0" +version = "0.95.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 ad6946bcd8cd4..e879ce4ce3e26 100644 --- a/crates/oxc_diagnostics/CHANGELOG.md +++ b/crates/oxc_diagnostics/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.93.0] - 2025-09-28 ### โšก Performance diff --git a/crates/oxc_diagnostics/Cargo.toml b/crates/oxc_diagnostics/Cargo.toml index 75815983a27be..4e58188efccdc 100644 --- a/crates/oxc_diagnostics/Cargo.toml +++ b/crates/oxc_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_diagnostics" -version = "0.94.0" +version = "0.95.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 9a30b96bc52f6..a8ec2ac53af03 100644 --- a/crates/oxc_ecmascript/CHANGELOG.md +++ b/crates/oxc_ecmascript/CHANGELOG.md @@ -7,6 +7,7 @@ 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 76537a682d455..ba72c3fc877bb 100644 --- a/crates/oxc_ecmascript/Cargo.toml +++ b/crates/oxc_ecmascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_ecmascript" -version = "0.94.0" +version = "0.95.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 150410213aae7..800013bd79f55 100644 --- a/crates/oxc_estree/CHANGELOG.md +++ b/crates/oxc_estree/CHANGELOG.md @@ -7,6 +7,7 @@ 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 b4dd83fb2278e..8855811064b56 100644 --- a/crates/oxc_estree/Cargo.toml +++ b/crates/oxc_estree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_estree" -version = "0.94.0" +version = "0.95.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 9dff5333ef47c..99120ff985b52 100644 --- a/crates/oxc_isolated_declarations/CHANGELOG.md +++ b/crates/oxc_isolated_declarations/CHANGELOG.md @@ -7,6 +7,7 @@ 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 84c1721f3bfca..9d7dac2208ee7 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.94.0" +version = "0.95.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 03183f6ee09d7..35d566c9a4959 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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- bce31b5 napi/playground: Call `with_private_member_mappings()` for private class member mangling (#14380) (copilot-swe-agent) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_mangler/Cargo.toml b/crates/oxc_mangler/Cargo.toml index 3d8a7529ee059..bce2b94889bb2 100644 --- a/crates/oxc_mangler/Cargo.toml +++ b/crates/oxc_mangler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_mangler" -version = "0.94.0" +version = "0.95.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 04cce0ed5ab4d..440a458c40bf5 100644 --- a/crates/oxc_minifier/CHANGELOG.md +++ b/crates/oxc_minifier/CHANGELOG.md @@ -4,6 +4,17 @@ 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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- bce31b5 napi/playground: Call `with_private_member_mappings()` for private class member mangling (#14380) (copilot-swe-agent) + +### ๐Ÿ› Bug Fixes + +- 1bf83eb minifier: Bail out `arguments` copy loop substitution if the temporary variables are referenced outside the for loop (#14613) (sapphi-red) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_minifier/Cargo.toml b/crates/oxc_minifier/Cargo.toml index 356883fc9bb2b..ceae56dcf4e37 100644 --- a/crates/oxc_minifier/Cargo.toml +++ b/crates/oxc_minifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minifier" -version = "0.94.0" +version = "0.95.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 4652af2d1258c..80b5d6728c800 100644 --- a/crates/oxc_napi/CHANGELOG.md +++ b/crates/oxc_napi/CHANGELOG.md @@ -7,6 +7,7 @@ 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 105564c81fdfd..ca5df14b73dec 100644 --- a/crates/oxc_napi/Cargo.toml +++ b/crates/oxc_napi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_napi" -version = "0.94.0" +version = "0.95.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 6b6660567089a..5e4cf0cd98e5e 100644 --- a/crates/oxc_parser/CHANGELOG.md +++ b/crates/oxc_parser/CHANGELOG.md @@ -4,6 +4,22 @@ 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.95.0] - 2025-10-15 + +### ๐Ÿšœ Refactor + +- 496dd62 parser: Introduce `context_add` and `context_remove` functions (#14567) (Ulrich Stark) + +### โšก Performance + +- 8f056ad parser: Cache cur_kind() to eliminate redundant calls (#14411) (Boshen) +- 2b6a3b4 parser: Use range checks for is_any_keyword() and is_number() (#14410) (Boshen) +- 1f5167a parser: Inline escaped keyword check in advance() (#14408) (Boshen) +- 791c72a parser: Add separate token kinds for BigInt literals (#14405) (Boshen) +- 266b982 parser: Cache `has_separator()` result in literal parsing (#14403) (Boshen) +- beeb129 parser: Optimize comment annotation parsing (#14397) (Boshen) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿ› Bug Fixes diff --git a/crates/oxc_parser/Cargo.toml b/crates/oxc_parser/Cargo.toml index 6d394475ecabb..0916600a3a8e6 100644 --- a/crates/oxc_parser/Cargo.toml +++ b/crates/oxc_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser" -version = "0.94.0" +version = "0.95.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 24cf712b7c72b..a6e4acd23797c 100644 --- a/crates/oxc_regular_expression/CHANGELOG.md +++ b/crates/oxc_regular_expression/CHANGELOG.md @@ -7,6 +7,7 @@ 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 7288203359df4..6fed919f6ea7c 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.94.0" +version = "0.95.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 4d819ed1615ff..a08a815b40d87 100644 --- a/crates/oxc_semantic/CHANGELOG.md +++ b/crates/oxc_semantic/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.95.0] - 2025-10-15 + +### ๐Ÿ› Bug Fixes + +- baab7eb semantic: Fix quote handling in jsdoc parser(#13776) (#14561) (Li Wei) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_semantic/Cargo.toml b/crates/oxc_semantic/Cargo.toml index c28ca31962537..95ca66bd6b95d 100644 --- a/crates/oxc_semantic/Cargo.toml +++ b/crates/oxc_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_semantic" -version = "0.94.0" +version = "0.95.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 985ece29f09c8..fc029019d7047 100644 --- a/crates/oxc_span/CHANGELOG.md +++ b/crates/oxc_span/CHANGELOG.md @@ -7,6 +7,7 @@ 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 9f921ddaece7c..db415695d412a 100644 --- a/crates/oxc_span/Cargo.toml +++ b/crates/oxc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_span" -version = "0.94.0" +version = "0.95.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 8af8f9da22725..f72569cd1d939 100644 --- a/crates/oxc_syntax/CHANGELOG.md +++ b/crates/oxc_syntax/CHANGELOG.md @@ -4,6 +4,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.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_syntax/Cargo.toml b/crates/oxc_syntax/Cargo.toml index a63471e24d9b5..112914adc6957 100644 --- a/crates/oxc_syntax/Cargo.toml +++ b/crates/oxc_syntax/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_syntax" -version = "0.94.0" +version = "0.95.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 50d295d3d5ac6..f57e85824e52e 100644 --- a/crates/oxc_transformer/CHANGELOG.md +++ b/crates/oxc_transformer/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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- bc4f0a1 transformer: Add ES2020 export namespace from transformation (#14277) (Copilot) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/crates/oxc_transformer/Cargo.toml b/crates/oxc_transformer/Cargo.toml index be7df53310e95..c811c1e7ea431 100644 --- a/crates/oxc_transformer/Cargo.toml +++ b/crates/oxc_transformer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transformer" -version = "0.94.0" +version = "0.95.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 19f7b4698b4a3..836ed3a322c1c 100644 --- a/crates/oxc_transformer_plugins/CHANGELOG.md +++ b/crates/oxc_transformer_plugins/CHANGELOG.md @@ -4,6 +4,18 @@ 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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- 2f85b31 transformer_plugins: Add changed field to InjectGlobalVariablesReturn (#14618) (Boshen) +- a81267e transformer_plugins: Add changed field to ReplaceGlobalDefinesReturn (#14617) (Boshen) + +### ๐Ÿ› Bug Fixes + +- 5e0ab1b tranformer_plugins: Define plugin need to add reference to scoping (#14615) (Boshen) + + diff --git a/crates/oxc_transformer_plugins/Cargo.toml b/crates/oxc_transformer_plugins/Cargo.toml index b02afb9c8fe26..dda610e5396eb 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.94.0" +version = "0.95.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 86d24bff7a166..f4d60299175d6 100644 --- a/crates/oxc_traverse/CHANGELOG.md +++ b/crates/oxc_traverse/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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- bc4f0a1 transformer: Add ES2020 export namespace from transformation (#14277) (Copilot) + + diff --git a/crates/oxc_traverse/Cargo.toml b/crates/oxc_traverse/Cargo.toml index 353501483af65..5bdad41291cf7 100644 --- a/crates/oxc_traverse/Cargo.toml +++ b/crates/oxc_traverse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_traverse" -version = "0.94.0" +version = "0.95.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/CHANGELOG.md b/napi/minify/CHANGELOG.md index 50769bd403e78..42d7f0ad5a5e6 100644 --- a/napi/minify/CHANGELOG.md +++ b/napi/minify/CHANGELOG.md @@ -4,6 +4,18 @@ 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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- c19c9ec napi/minify: Expose join_vars, sequences, and max_iterations options (#14545) (IWANABETHATGUY) + +### ๐Ÿ› Bug Fixes + +- 32a41cf napi/minify: S/passes/max_iterations to avoid confusion (#14608) (Boshen) +- 14686a4 napi/minify: Handle boolean values for `compress.unused` option (#14513) (Kentaro Suzuki) + + diff --git a/napi/minify/Cargo.toml b/napi/minify/Cargo.toml index b5830fed4a99e..bf3ae456f10a9 100644 --- a/napi/minify/Cargo.toml +++ b/napi/minify/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_minify_napi" -version = "0.94.0" +version = "0.95.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/minify/index.js b/napi/minify/index.js index 0f2064e54499f..c873becbcfce7 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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -118,8 +118,8 @@ function requireNative() { try { const binding = require('@oxc-minify/binding-win32-x64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-win32-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -134,8 +134,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -151,8 +151,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -167,8 +167,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -186,8 +186,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -202,8 +202,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -218,8 +218,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -238,8 +238,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -254,8 +254,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -275,8 +275,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-x64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -309,8 +309,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-arm64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -343,8 +343,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-arm-gnueabihf') const bindingPackageVersion = require('@oxc-minify/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -377,8 +377,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-loong64-gnu') const bindingPackageVersion = require('@oxc-minify/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -411,8 +411,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -427,8 +427,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -444,8 +444,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -460,8 +460,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -480,8 +480,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -496,8 +496,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -512,8 +512,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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 e3cc70cff72dc..bc1e48ec3dcf0 100644 --- a/napi/minify/package.json +++ b/napi/minify/package.json @@ -1,6 +1,6 @@ { "name": "oxc-minify", - "version": "0.94.0", + "version": "0.95.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/napi/parser/CHANGELOG.md b/napi/parser/CHANGELOG.md index 468eb6f8e015d..3c1df8ca702fd 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.95.0] - 2025-10-15 + +### ๐Ÿš€ Features + +- 0ec0847 ci: Run napi tests on windows (#14383) (camc314) +- b3c5132 parser: Use typescript for raw transfer tests (#14390) (camc314) + +### ๐Ÿšœ Refactor + +- 4f301de napi/parser, linter/plugins: Improve formatting of generated code (#14554) (overlookmotel) +- 68c0252 napi/parser, linter/plugins: Shorten generated raw transfer deserializer code (#14553) (overlookmotel) +- f6d890a napi/parser: Re-run `ast_tools` codegen (#14547) (overlookmotel) +- 52f35c6 napi/parser, linter/plugins: Rename `types.js` to `type_ids.js` (#14384) (overlookmotel) + +### ๐Ÿงช Testing + +- f293e3e napi/parser: Disable raw transfer tests on `antd.js` fixture (#14446) (overlookmotel) +- 994c099 napi/parser: Skip slow test (#14424) (overlookmotel) +- 0b076b4 napi/parser: Fix and clarify exclude tests logic (#14409) (overlookmotel) +- 56274a5 napi/parser: Increase timeout on slow test (#14391) (overlookmotel) + + ## [0.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/napi/parser/Cargo.toml b/napi/parser/Cargo.toml index fe1c873397c29..7a0a70527b819 100644 --- a/napi/parser/Cargo.toml +++ b/napi/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_parser_napi" -version = "0.94.0" +version = "0.95.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/parser/package.json b/napi/parser/package.json index 115c80168f365..7d347867d3361 100644 --- a/napi/parser/package.json +++ b/napi/parser/package.json @@ -1,6 +1,6 @@ { "name": "oxc-parser", - "version": "0.94.0", + "version": "0.95.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 a4678b986132b..38deca5eed1d9 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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -118,8 +118,8 @@ function requireNative() { try { const binding = require('@oxc-parser/binding-win32-x64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-win32-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -134,8 +134,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -151,8 +151,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -167,8 +167,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -186,8 +186,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -202,8 +202,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -218,8 +218,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -238,8 +238,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -254,8 +254,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -275,8 +275,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-x64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -309,8 +309,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-arm64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -343,8 +343,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-arm-gnueabihf') const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -377,8 +377,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-loong64-gnu') const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -411,8 +411,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -427,8 +427,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -444,8 +444,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -460,8 +460,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -480,8 +480,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -496,8 +496,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -512,8 +512,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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 ecc3c5e75bd6e..c0b8001191368 100644 --- a/napi/transform/CHANGELOG.md +++ b/napi/transform/CHANGELOG.md @@ -4,6 +4,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.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/napi/transform/Cargo.toml b/napi/transform/Cargo.toml index 9881c30227775..249d384f304ca 100644 --- a/napi/transform/Cargo.toml +++ b/napi/transform/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oxc_transform_napi" -version = "0.94.0" +version = "0.95.0" authors.workspace = true categories.workspace = true edition.workspace = true diff --git a/napi/transform/index.js b/napi/transform/index.js index 0c1ef5fac8f4b..e3889e32ddbcc 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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -118,8 +118,8 @@ function requireNative() { try { const binding = require('@oxc-transform/binding-win32-x64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-win32-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -134,8 +134,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -151,8 +151,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -167,8 +167,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -186,8 +186,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -202,8 +202,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -218,8 +218,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -238,8 +238,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -254,8 +254,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -275,8 +275,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-x64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-x64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -309,8 +309,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-arm64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -343,8 +343,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-arm-gnueabihf') const bindingPackageVersion = require('@oxc-transform/binding-linux-arm-gnueabihf/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -377,8 +377,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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-loong64-gnu') const bindingPackageVersion = require('@oxc-transform/binding-linux-loong64-gnu/package.json').version - if (bindingPackageVersion !== '0.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -411,8 +411,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -427,8 +427,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -444,8 +444,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -460,8 +460,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -480,8 +480,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -496,8 +496,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) } return binding } catch (e) { @@ -512,8 +512,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.94.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.94.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`) + if (bindingPackageVersion !== '0.95.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.95.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 25cb52c71af51..083c342077117 100644 --- a/napi/transform/package.json +++ b/napi/transform/package.json @@ -1,6 +1,6 @@ { "name": "oxc-transform", - "version": "0.94.0", + "version": "0.95.0", "type": "module", "main": "index.js", "browser": "browser.js", diff --git a/npm/oxc-types/CHANGELOG.md b/npm/oxc-types/CHANGELOG.md index b268193360864..a850db20aa4f7 100644 --- a/npm/oxc-types/CHANGELOG.md +++ b/npm/oxc-types/CHANGELOG.md @@ -4,6 +4,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.94.0] - 2025-10-06 ### ๐Ÿš€ Features diff --git a/npm/oxc-types/package.json b/npm/oxc-types/package.json index 7c89b036013a3..fc4cebb6e7b5a 100644 --- a/npm/oxc-types/package.json +++ b/npm/oxc-types/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/types", - "version": "0.94.0", + "version": "0.95.0", "description": "Types for Oxc AST nodes", "type": "module", "keywords": [ diff --git a/npm/runtime/CHANGELOG.md b/npm/runtime/CHANGELOG.md index 8354f949f281b..28256e9f42ec5 100644 --- a/npm/runtime/CHANGELOG.md +++ b/npm/runtime/CHANGELOG.md @@ -7,6 +7,7 @@ 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 7326c2b8bb353..07072f21cd299 100644 --- a/npm/runtime/package.json +++ b/npm/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@oxc-project/runtime", - "version": "0.94.0", + "version": "0.95.0", "description": "Oxc's modular runtime helpers", "license": "MIT", "repository": {