release(crates): oxc v0.150.0 (#26632)

### 🚀 Features

- ca649e0 ecma: Define math constants as known globals and resolve their types (#26585) (Armano)
- 9ef028c codegen: Add `ascii_only` option (#25994) (Samuel Attard)
- 80a76a0 minifier: Negate binary comparison for `typeof x < 'u'` (#26367) (Armano)

### 🐛 Bug Fixes

- 8ca76da parser: Reject `accessor` modifiers on methods (#26617) (camc314)
- 1916f31 parser: Reject `readonly` modifier on constructors (#26612) (camc314)
- 1c42008 parser: Handle escaped let in for loops (#26583) (camc314)
- d21d5cf parser: Recognize annotated empty arrows in conditionals (#26537) (camc314)
- d7713ad parser: Classify Unicode line breaks in block comments (#26536) (camc314)
- 75cd919 transformer: Preserve receivers in private optional chains (#26535) (camc314)
- b32d25d parser: Reject escaped import-phase keywords (#26534) (camc314)
- 47b8311 parser: Recognize contextual binding names in type lookaheads (#26532) (camc314)
- d6b6705 parser: Require arrow separator in TypeScript function types (#26529) (camc314)
- e98beef parser: Disambiguate await using in for initializers (#26527) (camc314)
- 92afee6 parser: Allow parenthesized JSX comma expressions with preserve_parens=false (#26524) (camc314)
- 31508b1 parser: Reject return types on constructor overloads (#26523) (camc314)
- a091fc4 parser: Validate await context for await using declarations (#26495) (camc314)
- 5501e86 parser: Disallow in expressions in using for-loop initializers (#26490) (camc314)
- c8e5fa7 parser: Allow escaped type names in import and export specifiers (#26487) (camc314)
- 2dcee2f parser: Reject async modifiers on class fields (#26486) (camc314)
- 973d58e parser: Require comma after TypeScript this parameter (#26480) (camc314)
- 32d00c5 codegen: Preserve instantiation expression precedence (#26424) (camc314)
- cfa47ab parser: Allow `in` expressions in class static blocks (#26423) (camc314)
- 5986187 packages/codegen: Preserve private-in right operand precedence (#26420) (camc314)
- f8e6c6c packages/codegen: Preserve in restriction through yield arguments (#26421) (camc314)
- d61e3bf parser: Validate TS named tuple rest elements (#26419) (camc314)
- ae6c386 codegen: Preserve in restriction through yield arguments (#26413) (camc314)
- 42ac916 codegen: Preserve private-in right operand precedence (#26411) (camc314)
- 10521b2 parser: Allow escaped type default import bindings (#26409) (camc314)
- 72cb5e3 parser: Reject rest parameters in getters (#26400) (camc314)
- 6e15ad5 packages/codegen: Print matching quoted import names as identifiers (#26404) (camc314)
- bbbb4bc packages/codegen: Preserve private-in left operand precedence (#26403) (camc314)
- a111b5b packages/codegen: Print accessibility modifiers before abstract (#26402) (camc314)
- 4e76602 parser: Allow `in` in arrow block bodies within `for` initializers (#26395) (camc314)
- b20fc19 parser: Reject partially parenthesized mixed coalesce expressions (#26394) (camc314)

###  Performance

- 1f902a6 isolated_declarations: Key scope maps by `Ident` (#26380) (Dunqing)
- a242469 minfiier: Reduce allocs when creating indirect access (#26601) (Armano)
- 5b4787f minifier: Update chain expressions in place (#26544) (Armano)
- 0bc1661 minifier: Try merging before creating new expression statements (#26556) (Armano)
- c78d707 minifier: Process newly created stmt in handle_if_statement (#26541) (Armano)
- 029c84b minfier: Update expressions in place when substituting alternate syntax (#26460) (Armano)
- d198982 codegen: Outline postfix source mapping work (#26450) (camc314)
- 53f006e ecmascript: Format small integer literals with itoa (#26446) (camc314)
- 8bfb8c0 codegen: Avoid duplicate sourcemap name lookups (#26441) (camc314)

### 📚 Documentation

- 38533ac ast: Move type annotation span comment to span field (#26522) (camc314)
This commit is contained in:
oxc-guard
2026-09-14 11:25:40 +00:00
parent afe950da7f
commit 5a6e37e5cf
55 changed files with 486 additions and 375 deletions
Generated
+37 -37
View File
@@ -280,7 +280,7 @@ version = "3.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.52.0",
]
[[package]]
@@ -688,7 +688,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
dependencies = [
"libc",
"windows-sys 0.61.2",
"windows-sys 0.52.0",
]
[[package]]
@@ -1519,7 +1519,7 @@ version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.59.0",
]
[[package]]
@@ -1649,7 +1649,7 @@ checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d"
[[package]]
name = "oxc"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1736,7 +1736,7 @@ dependencies = [
[[package]]
name = "oxc_allocator"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"allocator-api2",
"hashbrown 0.17.1",
@@ -1754,7 +1754,7 @@ dependencies = [
[[package]]
name = "oxc_ast"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bitflags",
"oxc_allocator",
@@ -1770,7 +1770,7 @@ dependencies = [
[[package]]
name = "oxc_ast_macros"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"phf",
"proc-macro2",
@@ -1815,7 +1815,7 @@ dependencies = [
[[package]]
name = "oxc_ast_visit"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"oxc_allocator",
"oxc_ast",
@@ -1853,7 +1853,7 @@ dependencies = [
[[package]]
name = "oxc_cfg"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bitflags",
"itertools",
@@ -1865,7 +1865,7 @@ dependencies = [
[[package]]
name = "oxc_codegen"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bitflags",
"cow-utils",
@@ -1905,7 +1905,7 @@ dependencies = [
[[package]]
name = "oxc_compat"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"cow-utils",
"oxc-browserslist",
@@ -1971,14 +1971,14 @@ dependencies = [
[[package]]
name = "oxc_data_structures"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"ropey",
]
[[package]]
name = "oxc_diagnostics"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bytecount",
"cow-utils",
@@ -1994,7 +1994,7 @@ dependencies = [
[[package]]
name = "oxc_ecmascript"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"cow-utils",
"dragonbox_ecma",
@@ -2013,7 +2013,7 @@ dependencies = [
[[package]]
name = "oxc_estree"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"dragonbox_ecma",
"itoa",
@@ -2022,7 +2022,7 @@ dependencies = [
[[package]]
name = "oxc_estree_tokens"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"itoa",
"oxc_ast",
@@ -2174,7 +2174,7 @@ dependencies = [
[[package]]
name = "oxc_isolated_declarations"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bitflags",
"insta",
@@ -2193,7 +2193,7 @@ dependencies = [
[[package]]
name = "oxc_jsdoc"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"oxc_ast",
"oxc_span",
@@ -2307,7 +2307,7 @@ dependencies = [
[[package]]
name = "oxc_mangler"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"itertools",
"oxc_allocator",
@@ -2325,7 +2325,7 @@ dependencies = [
[[package]]
name = "oxc_minifier"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"cow-utils",
"insta",
@@ -2354,7 +2354,7 @@ dependencies = [
[[package]]
name = "oxc_minify_napi"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"lazy-regex",
"mimalloc-safe",
@@ -2396,7 +2396,7 @@ dependencies = [
[[package]]
name = "oxc_napi"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"napi",
"napi-build",
@@ -2410,7 +2410,7 @@ dependencies = [
[[package]]
name = "oxc_parser"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bitflags",
"cow-utils",
@@ -2434,7 +2434,7 @@ dependencies = [
[[package]]
name = "oxc_parser_napi"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"mimalloc-safe",
"napi",
@@ -2494,7 +2494,7 @@ dependencies = [
[[package]]
name = "oxc_regular_expression"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bitflags",
"insta",
@@ -2564,7 +2564,7 @@ dependencies = [
[[package]]
name = "oxc_semantic"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"insta",
"itertools",
@@ -2606,7 +2606,7 @@ dependencies = [
[[package]]
name = "oxc_span"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"compact_str",
"oxc-schemars",
@@ -2619,7 +2619,7 @@ dependencies = [
[[package]]
name = "oxc_str"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"compact_str",
"hashbrown 0.17.1",
@@ -2632,7 +2632,7 @@ dependencies = [
[[package]]
name = "oxc_syntax"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"bitflags",
"cow-utils",
@@ -2718,7 +2718,7 @@ dependencies = [
[[package]]
name = "oxc_transform_napi"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"mimalloc-safe",
"napi",
@@ -2760,7 +2760,7 @@ dependencies = [
[[package]]
name = "oxc_transformer"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"base64",
"compact_str",
@@ -2792,7 +2792,7 @@ dependencies = [
[[package]]
name = "oxc_transformer_plugins"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"cow-utils",
"insta",
@@ -2819,7 +2819,7 @@ dependencies = [
[[package]]
name = "oxc_traverse"
version = "0.149.0"
version = "0.150.0"
dependencies = [
"itoa",
"oxc_allocator",
@@ -3344,7 +3344,7 @@ dependencies = [
"errno",
"libc",
"linux-raw-sys",
"windows-sys 0.61.2",
"windows-sys 0.52.0",
]
[[package]]
@@ -3471,7 +3471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b55fb86dfd3a2f5f76ea78310a88f96c4ea21a3031f8d212443d56123fd0521"
dependencies = [
"libc",
"windows-sys 0.61.2",
"windows-sys 0.52.0",
]
[[package]]
@@ -3767,7 +3767,7 @@ dependencies = [
"getrandom 0.4.3",
"once_cell",
"rustix",
"windows-sys 0.61.2",
"windows-sys 0.52.0",
]
[[package]]
@@ -4300,7 +4300,7 @@ version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
dependencies = [
"windows-sys 0.61.2",
"windows-sys 0.52.0",
]
[[package]]
+30 -30
View File
@@ -121,42 +121,42 @@ multiple_crate_versions = "allow"
[workspace.dependencies]
# publish = true
oxc = { version = "0.149.0", path = "crates/oxc" } # Main entry point
oxc_allocator = { version = "0.149.0", path = "crates/oxc_allocator" } # Memory management
oxc_ast = { version = "0.149.0", path = "crates/oxc_ast" } # AST definitions
oxc_ast_macros = { version = "0.149.0", path = "crates/oxc_ast_macros" } # AST proc macros
oxc_ast_visit = { version = "0.149.0", path = "crates/oxc_ast_visit" } # AST visitor pattern
oxc_cfg = { version = "0.149.0", path = "crates/oxc_cfg" } # Control flow graph
oxc_codegen = { version = "0.149.0", path = "crates/oxc_codegen", default-features = false } # Code generation
oxc_compat = { version = "0.149.0", path = "crates/oxc_compat" } # Browser compatibility
oxc_data_structures = { version = "0.149.0", path = "crates/oxc_data_structures" } # Shared data structures
oxc_diagnostics = { version = "0.149.0", path = "crates/oxc_diagnostics" } # Error reporting
oxc_ecmascript = { version = "0.149.0", path = "crates/oxc_ecmascript" } # ECMAScript operations
oxc_estree = { version = "0.149.0", path = "crates/oxc_estree" } # ESTree format
oxc_estree_tokens = { version = "0.149.0", path = "crates/oxc_estree_tokens" } # ESTree token conversion
oxc_isolated_declarations = { version = "0.149.0", path = "crates/oxc_isolated_declarations" } # TS declaration generation
oxc_jsdoc = { version = "0.149.0", path = "crates/oxc_jsdoc" } # JSDoc parsing
oxc_mangler = { version = "0.149.0", path = "crates/oxc_mangler" } # Name mangling
oxc_minifier = { version = "0.149.0", path = "crates/oxc_minifier" } # Code minification
oxc_minify_napi = { version = "0.149.0", path = "napi/minify" } # Node.js minifier binding
oxc_napi = { version = "0.149.0", path = "crates/oxc_napi" } # NAPI utilities
oxc_parser = { version = "0.149.0", path = "crates/oxc_parser", features = [
oxc = { version = "0.150.0", path = "crates/oxc" } # Main entry point
oxc_allocator = { version = "0.150.0", path = "crates/oxc_allocator" } # Memory management
oxc_ast = { version = "0.150.0", path = "crates/oxc_ast" } # AST definitions
oxc_ast_macros = { version = "0.150.0", path = "crates/oxc_ast_macros" } # AST proc macros
oxc_ast_visit = { version = "0.150.0", path = "crates/oxc_ast_visit" } # AST visitor pattern
oxc_cfg = { version = "0.150.0", path = "crates/oxc_cfg" } # Control flow graph
oxc_codegen = { version = "0.150.0", path = "crates/oxc_codegen", default-features = false } # Code generation
oxc_compat = { version = "0.150.0", path = "crates/oxc_compat" } # Browser compatibility
oxc_data_structures = { version = "0.150.0", path = "crates/oxc_data_structures" } # Shared data structures
oxc_diagnostics = { version = "0.150.0", path = "crates/oxc_diagnostics" } # Error reporting
oxc_ecmascript = { version = "0.150.0", path = "crates/oxc_ecmascript" } # ECMAScript operations
oxc_estree = { version = "0.150.0", path = "crates/oxc_estree" } # ESTree format
oxc_estree_tokens = { version = "0.150.0", path = "crates/oxc_estree_tokens" } # ESTree token conversion
oxc_isolated_declarations = { version = "0.150.0", path = "crates/oxc_isolated_declarations" } # TS declaration generation
oxc_jsdoc = { version = "0.150.0", path = "crates/oxc_jsdoc" } # JSDoc parsing
oxc_mangler = { version = "0.150.0", path = "crates/oxc_mangler" } # Name mangling
oxc_minifier = { version = "0.150.0", path = "crates/oxc_minifier" } # Code minification
oxc_minify_napi = { version = "0.150.0", path = "napi/minify" } # Node.js minifier binding
oxc_napi = { version = "0.150.0", path = "crates/oxc_napi" } # NAPI utilities
oxc_parser = { version = "0.150.0", path = "crates/oxc_parser", features = [
"regular_expression",
] } # JS/TS parser
oxc_parser_napi = { version = "0.149.0", path = "napi/parser" } # Node.js parser binding
oxc_parser_napi = { version = "0.150.0", path = "napi/parser" } # Node.js parser binding
oxc_react_compiler = { version = "0.143.0", path = "crates/oxc_react_compiler" } # React Compiler integration (experimental)
oxc_regular_expression = { version = "0.149.0", path = "crates/oxc_regular_expression" } # Regex parser
oxc_regular_expression = { version = "0.150.0", path = "crates/oxc_regular_expression" } # Regex parser
oxc_relay = { version = "0.144.0", path = "crates/oxc_relay" } # Relay graphql tagged template transform
oxc_semantic = { version = "0.149.0", path = "crates/oxc_semantic" } # Semantic analysis
oxc_span = { version = "0.149.0", path = "crates/oxc_span" } # Source positions
oxc_str = { version = "0.149.0", path = "crates/oxc_str" } # String types
oxc_syntax = { version = "0.149.0", path = "crates/oxc_syntax" } # Syntax utilities
oxc_transform_napi = { version = "0.149.0", path = "napi/transform" } # Node.js transformer binding
oxc_semantic = { version = "0.150.0", path = "crates/oxc_semantic" } # Semantic analysis
oxc_span = { version = "0.150.0", path = "crates/oxc_span" } # Source positions
oxc_str = { version = "0.150.0", path = "crates/oxc_str" } # String types
oxc_syntax = { version = "0.150.0", path = "crates/oxc_syntax" } # Syntax utilities
oxc_transform_napi = { version = "0.150.0", path = "napi/transform" } # Node.js transformer binding
oxc_transform_react_napi = { version = "0.143.0", path = "napi/transform-react" } # Node.js React Compiler binding
oxc_transform_relay_napi = { version = "0.144.0", path = "napi/transform-relay" } # Node.js Relay transform binding
oxc_transformer = { version = "0.149.0", path = "crates/oxc_transformer" } # Code transformation
oxc_transformer_plugins = { version = "0.149.0", path = "crates/oxc_transformer_plugins" } # Transformer plugins
oxc_traverse = { version = "0.149.0", path = "crates/oxc_traverse" } # AST traversal
oxc_transformer = { version = "0.150.0", path = "crates/oxc_transformer" } # Code transformation
oxc_transformer_plugins = { version = "0.150.0", path = "crates/oxc_transformer_plugins" } # Transformer plugins
oxc_traverse = { version = "0.150.0", path = "crates/oxc_traverse" } # AST traversal
# publish = false
oxc_config = { path = "crates/oxc_config" } # Config discovery
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_allocator"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+6
View File
@@ -4,6 +4,12 @@ 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.150.0] - 2026-09-14
### 📚 Documentation
- 38533ac ast: Move type annotation span comment to span field (#26522) (camc314)
## [0.149.0] - 2026-09-07
### 🚀 Features
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_ast"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_ast_macros"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_ast_visit"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_cfg"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+18
View File
@@ -4,6 +4,24 @@ 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.150.0] - 2026-09-14
### 🚀 Features
- 9ef028c codegen: Add `ascii_only` option (#25994) (Samuel Attard)
### 🐛 Bug Fixes
- d7713ad parser: Classify Unicode line breaks in block comments (#26536) (camc314)
- 32d00c5 codegen: Preserve instantiation expression precedence (#26424) (camc314)
- ae6c386 codegen: Preserve in restriction through yield arguments (#26413) (camc314)
- 42ac916 codegen: Preserve private-in right operand precedence (#26411) (camc314)
### ⚡ Performance
- d198982 codegen: Outline postfix source mapping work (#26450) (camc314)
- 8bfb8c0 codegen: Avoid duplicate sourcemap name lookups (#26441) (camc314)
## [0.149.0] - 2026-09-07
### 💥 BREAKING CHANGES
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_codegen"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_compat"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_data_structures"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_diagnostics"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+10
View File
@@ -4,6 +4,16 @@ 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.150.0] - 2026-09-14
### 🚀 Features
- ca649e0 ecma: Define math constants as known globals and resolve their types (#26585) (Armano)
### ⚡ Performance
- 53f006e ecmascript: Format small integer literals with itoa (#26446) (camc314)
## [0.149.0] - 2026-09-07
### 🐛 Bug Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_ecmascript"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_estree"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_estree_tokens"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
@@ -4,6 +4,12 @@ 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.150.0] - 2026-09-14
### ⚡ Performance
- 1f902a6 isolated_declarations: Key scope maps by `Ident` (#26380) (Dunqing)
## [0.146.0] - 2026-08-19
### 🐛 Bug Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_isolated_declarations"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_jsdoc"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_mangler"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+15
View File
@@ -4,6 +4,21 @@ 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.150.0] - 2026-09-14
### 🚀 Features
- ca649e0 ecma: Define math constants as known globals and resolve their types (#26585) (Armano)
- 80a76a0 minifier: Negate binary comparison for `typeof x < 'u'` (#26367) (Armano)
### ⚡ Performance
- a242469 minfiier: Reduce allocs when creating indirect access (#26601) (Armano)
- 5b4787f minifier: Update chain expressions in place (#26544) (Armano)
- 0bc1661 minifier: Try merging before creating new expression statements (#26556) (Armano)
- c78d707 minifier: Process newly created stmt in handle_if_statement (#26541) (Armano)
- 029c84b minfier: Update expressions in place when substituting alternate syntax (#26460) (Armano)
## [0.149.0] - 2026-09-07
### 💥 BREAKING CHANGES
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_minifier"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_napi"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+27
View File
@@ -4,6 +4,33 @@ 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.150.0] - 2026-09-14
### 🐛 Bug Fixes
- 8ca76da parser: Reject `accessor` modifiers on methods (#26617) (camc314)
- 1916f31 parser: Reject `readonly` modifier on constructors (#26612) (camc314)
- 1c42008 parser: Handle escaped let in for loops (#26583) (camc314)
- d21d5cf parser: Recognize annotated empty arrows in conditionals (#26537) (camc314)
- d7713ad parser: Classify Unicode line breaks in block comments (#26536) (camc314)
- b32d25d parser: Reject escaped import-phase keywords (#26534) (camc314)
- 47b8311 parser: Recognize contextual binding names in type lookaheads (#26532) (camc314)
- d6b6705 parser: Require arrow separator in TypeScript function types (#26529) (camc314)
- e98beef parser: Disambiguate await using in for initializers (#26527) (camc314)
- 92afee6 parser: Allow parenthesized JSX comma expressions with preserve_parens=false (#26524) (camc314)
- 31508b1 parser: Reject return types on constructor overloads (#26523) (camc314)
- a091fc4 parser: Validate await context for await using declarations (#26495) (camc314)
- 5501e86 parser: Disallow in expressions in using for-loop initializers (#26490) (camc314)
- c8e5fa7 parser: Allow escaped type names in import and export specifiers (#26487) (camc314)
- 2dcee2f parser: Reject async modifiers on class fields (#26486) (camc314)
- 973d58e parser: Require comma after TypeScript this parameter (#26480) (camc314)
- cfa47ab parser: Allow `in` expressions in class static blocks (#26423) (camc314)
- d61e3bf parser: Validate TS named tuple rest elements (#26419) (camc314)
- 10521b2 parser: Allow escaped type default import bindings (#26409) (camc314)
- 72cb5e3 parser: Reject rest parameters in getters (#26400) (camc314)
- 4e76602 parser: Allow `in` in arrow block bodies within `for` initializers (#26395) (camc314)
- b20fc19 parser: Reject partially parenthesized mixed coalesce expressions (#26394) (camc314)
## [0.149.0] - 2026-09-07
### 💥 BREAKING CHANGES
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_parser"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_regular_expression"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+6
View File
@@ -4,6 +4,12 @@ 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.150.0] - 2026-09-14
### 🐛 Bug Fixes
- a091fc4 parser: Validate await context for await using declarations (#26495) (camc314)
## [0.149.0] - 2026-09-07
### 🐛 Bug Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_semantic"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_span"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_str"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_syntax"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+6
View File
@@ -4,6 +4,12 @@ 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.150.0] - 2026-09-14
### 🐛 Bug Fixes
- 75cd919 transformer: Preserve receivers in private optional chains (#26535) (camc314)
## [0.149.0] - 2026-09-07
### 💥 BREAKING CHANGES
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_transformer"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_transformer_plugins"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_traverse"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+6
View File
@@ -4,6 +4,12 @@ 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.150.0] - 2026-09-14
### 🚀 Features
- 9ef028c codegen: Add `ascii_only` option (#25994) (Samuel Attard)
## [0.149.0] - 2026-09-07
### 🐛 Bug Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_minify_napi"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+54 -54
View File
@@ -79,8 +79,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -95,8 +95,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -116,8 +116,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -132,8 +132,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -149,8 +149,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-win32-ia32-msvc')
const bindingPackageVersion = require('@oxc-minify/binding-win32-ia32-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -165,8 +165,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -184,8 +184,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-darwin-universal')
const bindingPackageVersion = require('@oxc-minify/binding-darwin-universal/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -200,8 +200,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-darwin-x64')
const bindingPackageVersion = require('@oxc-minify/binding-darwin-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -216,8 +216,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -236,8 +236,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-freebsd-x64')
const bindingPackageVersion = require('@oxc-minify/binding-freebsd-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -252,8 +252,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -273,8 +273,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-linux-x64-musl')
const bindingPackageVersion = require('@oxc-minify/binding-linux-x64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -289,8 +289,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -307,8 +307,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-linux-arm64-musl')
const bindingPackageVersion = require('@oxc-minify/binding-linux-arm64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -323,8 +323,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -341,8 +341,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-linux-arm-musleabihf')
const bindingPackageVersion = require('@oxc-minify/binding-linux-arm-musleabihf/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -357,8 +357,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -375,8 +375,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-linux-loong64-musl')
const bindingPackageVersion = require('@oxc-minify/binding-linux-loong64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -391,8 +391,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -409,8 +409,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-linux-riscv64-musl')
const bindingPackageVersion = require('@oxc-minify/binding-linux-riscv64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -425,8 +425,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -442,8 +442,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-linux-ppc64-gnu')
const bindingPackageVersion = require('@oxc-minify/binding-linux-ppc64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -458,8 +458,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -478,8 +478,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-openharmony-arm64')
const bindingPackageVersion = require('@oxc-minify/binding-openharmony-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -494,8 +494,8 @@ function requireNative() {
try {
const binding = require('@oxc-minify/binding-openharmony-x64')
const bindingPackageVersion = require('@oxc-minify/binding-openharmony-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -510,8 +510,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -650,8 +650,8 @@ if (!nativeBinding || forceWasi) {
if (!candidateFailed) {
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
const bindingPackageVersion = require('@oxc-minify/binding-wasm32-wasi/package.json').version
if (bindingPackageVersion !== '0.149.0') {
throw new Error(`WASI binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0') {
throw new Error(`WASI binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
}
wasiBinding = require('@oxc-minify/binding-wasm32-wasi')
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "oxc-minify",
"version": "0.149.0",
"version": "0.150.0",
"description": "Oxc Minifier Node API",
"keywords": [
"javascript",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_parser_napi"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "oxc-parser",
"version": "0.149.0",
"version": "0.150.0",
"description": "Oxc Parser Node API",
"keywords": [
"ast",
+54 -54
View File
@@ -79,8 +79,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -95,8 +95,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -116,8 +116,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -132,8 +132,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -149,8 +149,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-win32-ia32-msvc')
const bindingPackageVersion = require('@oxc-parser/binding-win32-ia32-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -165,8 +165,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -184,8 +184,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-darwin-universal')
const bindingPackageVersion = require('@oxc-parser/binding-darwin-universal/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -200,8 +200,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-darwin-x64')
const bindingPackageVersion = require('@oxc-parser/binding-darwin-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -216,8 +216,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -236,8 +236,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-freebsd-x64')
const bindingPackageVersion = require('@oxc-parser/binding-freebsd-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -252,8 +252,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -273,8 +273,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-linux-x64-musl')
const bindingPackageVersion = require('@oxc-parser/binding-linux-x64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -289,8 +289,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -307,8 +307,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-linux-arm64-musl')
const bindingPackageVersion = require('@oxc-parser/binding-linux-arm64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -323,8 +323,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -341,8 +341,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-linux-arm-musleabihf')
const bindingPackageVersion = require('@oxc-parser/binding-linux-arm-musleabihf/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -357,8 +357,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -375,8 +375,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-linux-loong64-musl')
const bindingPackageVersion = require('@oxc-parser/binding-linux-loong64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -391,8 +391,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -409,8 +409,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-linux-riscv64-musl')
const bindingPackageVersion = require('@oxc-parser/binding-linux-riscv64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -425,8 +425,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -442,8 +442,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-linux-ppc64-gnu')
const bindingPackageVersion = require('@oxc-parser/binding-linux-ppc64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -458,8 +458,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -478,8 +478,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-openharmony-arm64')
const bindingPackageVersion = require('@oxc-parser/binding-openharmony-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -494,8 +494,8 @@ function requireNative() {
try {
const binding = require('@oxc-parser/binding-openharmony-x64')
const bindingPackageVersion = require('@oxc-parser/binding-openharmony-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -510,8 +510,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -650,8 +650,8 @@ if (!nativeBinding || forceWasi) {
if (!candidateFailed) {
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
const bindingPackageVersion = require('@oxc-parser/binding-wasm32-wasi/package.json').version
if (bindingPackageVersion !== '0.149.0') {
throw new Error(`WASI binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0') {
throw new Error(`WASI binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
}
wasiBinding = require('@oxc-parser/binding-wasm32-wasi')
+54 -54
View File
@@ -79,8 +79,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-android-arm64')
const bindingPackageVersion = require('@oxc-transform-react/binding-android-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -95,8 +95,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-android-arm-eabi')
const bindingPackageVersion = require('@oxc-transform-react/binding-android-arm-eabi/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -116,8 +116,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-win32-x64-gnu')
const bindingPackageVersion = require('@oxc-transform-react/binding-win32-x64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -132,8 +132,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-win32-x64-msvc')
const bindingPackageVersion = require('@oxc-transform-react/binding-win32-x64-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -149,8 +149,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-win32-ia32-msvc')
const bindingPackageVersion = require('@oxc-transform-react/binding-win32-ia32-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -165,8 +165,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-win32-arm64-msvc')
const bindingPackageVersion = require('@oxc-transform-react/binding-win32-arm64-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -184,8 +184,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-darwin-universal')
const bindingPackageVersion = require('@oxc-transform-react/binding-darwin-universal/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -200,8 +200,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-darwin-x64')
const bindingPackageVersion = require('@oxc-transform-react/binding-darwin-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -216,8 +216,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-darwin-arm64')
const bindingPackageVersion = require('@oxc-transform-react/binding-darwin-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -236,8 +236,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-freebsd-x64')
const bindingPackageVersion = require('@oxc-transform-react/binding-freebsd-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -252,8 +252,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-freebsd-arm64')
const bindingPackageVersion = require('@oxc-transform-react/binding-freebsd-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -273,8 +273,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-x64-musl')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-x64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -289,8 +289,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-x64-gnu')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-x64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -307,8 +307,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-arm64-musl')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-arm64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -323,8 +323,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-arm64-gnu')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-arm64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -341,8 +341,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-arm-musleabihf')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-arm-musleabihf/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -357,8 +357,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-arm-gnueabihf')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-arm-gnueabihf/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -375,8 +375,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-loong64-musl')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-loong64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -391,8 +391,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-loong64-gnu')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-loong64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -409,8 +409,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-riscv64-musl')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-riscv64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -425,8 +425,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-riscv64-gnu')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-riscv64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -442,8 +442,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-ppc64-gnu')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-ppc64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -458,8 +458,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-linux-s390x-gnu')
const bindingPackageVersion = require('@oxc-transform-react/binding-linux-s390x-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -478,8 +478,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-openharmony-arm64')
const bindingPackageVersion = require('@oxc-transform-react/binding-openharmony-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -494,8 +494,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-openharmony-x64')
const bindingPackageVersion = require('@oxc-transform-react/binding-openharmony-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -510,8 +510,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-react/binding-openharmony-arm')
const bindingPackageVersion = require('@oxc-transform-react/binding-openharmony-arm/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -650,8 +650,8 @@ if (!nativeBinding || forceWasi) {
if (!candidateFailed) {
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
const bindingPackageVersion = require('@oxc-transform-react/binding-wasm32-wasi/package.json').version
if (bindingPackageVersion !== '0.149.0') {
throw new Error(`WASI binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0') {
throw new Error(`WASI binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
}
wasiBinding = require('@oxc-transform-react/binding-wasm32-wasi')
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "oxc-transform-react",
"version": "0.149.0",
"version": "0.150.0",
"description": "Oxc React Compiler Node API",
"keywords": [
"compiler",
+54 -54
View File
@@ -79,8 +79,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-android-arm64')
const bindingPackageVersion = require('@oxc-transform-relay/binding-android-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -95,8 +95,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-android-arm-eabi')
const bindingPackageVersion = require('@oxc-transform-relay/binding-android-arm-eabi/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -116,8 +116,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-win32-x64-gnu')
const bindingPackageVersion = require('@oxc-transform-relay/binding-win32-x64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -132,8 +132,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-win32-x64-msvc')
const bindingPackageVersion = require('@oxc-transform-relay/binding-win32-x64-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -149,8 +149,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-win32-ia32-msvc')
const bindingPackageVersion = require('@oxc-transform-relay/binding-win32-ia32-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -165,8 +165,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-win32-arm64-msvc')
const bindingPackageVersion = require('@oxc-transform-relay/binding-win32-arm64-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -184,8 +184,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-darwin-universal')
const bindingPackageVersion = require('@oxc-transform-relay/binding-darwin-universal/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -200,8 +200,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-darwin-x64')
const bindingPackageVersion = require('@oxc-transform-relay/binding-darwin-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -216,8 +216,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-darwin-arm64')
const bindingPackageVersion = require('@oxc-transform-relay/binding-darwin-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -236,8 +236,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-freebsd-x64')
const bindingPackageVersion = require('@oxc-transform-relay/binding-freebsd-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -252,8 +252,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-freebsd-arm64')
const bindingPackageVersion = require('@oxc-transform-relay/binding-freebsd-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -273,8 +273,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-x64-musl')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-x64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -289,8 +289,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-x64-gnu')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-x64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -307,8 +307,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-arm64-musl')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-arm64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -323,8 +323,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-arm64-gnu')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-arm64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -341,8 +341,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-arm-musleabihf')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-arm-musleabihf/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -357,8 +357,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-arm-gnueabihf')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-arm-gnueabihf/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -375,8 +375,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-loong64-musl')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-loong64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -391,8 +391,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-loong64-gnu')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-loong64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -409,8 +409,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-riscv64-musl')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-riscv64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -425,8 +425,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-riscv64-gnu')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-riscv64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -442,8 +442,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-ppc64-gnu')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-ppc64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -458,8 +458,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-linux-s390x-gnu')
const bindingPackageVersion = require('@oxc-transform-relay/binding-linux-s390x-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -478,8 +478,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-openharmony-arm64')
const bindingPackageVersion = require('@oxc-transform-relay/binding-openharmony-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -494,8 +494,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-openharmony-x64')
const bindingPackageVersion = require('@oxc-transform-relay/binding-openharmony-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -510,8 +510,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform-relay/binding-openharmony-arm')
const bindingPackageVersion = require('@oxc-transform-relay/binding-openharmony-arm/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -650,8 +650,8 @@ if (!nativeBinding || forceWasi) {
if (!candidateFailed) {
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
const bindingPackageVersion = require('@oxc-transform-relay/binding-wasm32-wasi/package.json').version
if (bindingPackageVersion !== '0.149.0') {
throw new Error(`WASI binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0') {
throw new Error(`WASI binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
}
wasiBinding = require('@oxc-transform-relay/binding-wasm32-wasi')
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "oxc-transform-relay",
"version": "0.149.0",
"version": "0.150.0",
"description": "Oxc Relay Transform Node API",
"keywords": [
"graphql",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "oxc_transform_napi"
version = "0.149.0"
version = "0.150.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
+54 -54
View File
@@ -79,8 +79,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -95,8 +95,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -116,8 +116,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -132,8 +132,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -149,8 +149,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-win32-ia32-msvc')
const bindingPackageVersion = require('@oxc-transform/binding-win32-ia32-msvc/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -165,8 +165,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -184,8 +184,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-darwin-universal')
const bindingPackageVersion = require('@oxc-transform/binding-darwin-universal/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -200,8 +200,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-darwin-x64')
const bindingPackageVersion = require('@oxc-transform/binding-darwin-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -216,8 +216,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -236,8 +236,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-freebsd-x64')
const bindingPackageVersion = require('@oxc-transform/binding-freebsd-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -252,8 +252,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -273,8 +273,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-linux-x64-musl')
const bindingPackageVersion = require('@oxc-transform/binding-linux-x64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -289,8 +289,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -307,8 +307,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-linux-arm64-musl')
const bindingPackageVersion = require('@oxc-transform/binding-linux-arm64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -323,8 +323,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -341,8 +341,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-linux-arm-musleabihf')
const bindingPackageVersion = require('@oxc-transform/binding-linux-arm-musleabihf/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -357,8 +357,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -375,8 +375,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-linux-loong64-musl')
const bindingPackageVersion = require('@oxc-transform/binding-linux-loong64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -391,8 +391,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -409,8 +409,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-linux-riscv64-musl')
const bindingPackageVersion = require('@oxc-transform/binding-linux-riscv64-musl/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -425,8 +425,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -442,8 +442,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-linux-ppc64-gnu')
const bindingPackageVersion = require('@oxc-transform/binding-linux-ppc64-gnu/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -458,8 +458,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -478,8 +478,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-openharmony-arm64')
const bindingPackageVersion = require('@oxc-transform/binding-openharmony-arm64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -494,8 +494,8 @@ function requireNative() {
try {
const binding = require('@oxc-transform/binding-openharmony-x64')
const bindingPackageVersion = require('@oxc-transform/binding-openharmony-x64/package.json').version
if (bindingPackageVersion !== '0.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -510,8 +510,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.149.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
return binding
} catch (e) {
@@ -650,8 +650,8 @@ if (!nativeBinding || forceWasi) {
if (!candidateFailed) {
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
const bindingPackageVersion = require('@oxc-transform/binding-wasm32-wasi/package.json').version
if (bindingPackageVersion !== '0.149.0') {
throw new Error(`WASI binding package version mismatch, expected 0.149.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '0.150.0') {
throw new Error(`WASI binding package version mismatch, expected 0.150.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}
}
wasiBinding = require('@oxc-transform/binding-wasm32-wasi')
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "oxc-transform",
"version": "0.149.0",
"version": "0.150.0",
"description": "Oxc Transformer Node API",
"keywords": [
"babel",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@oxc-project/types",
"version": "0.149.0",
"version": "0.150.0",
"description": "Types for Oxc AST nodes",
"keywords": [
"AST",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@oxc-project/runtime",
"version": "0.149.0",
"version": "0.150.0",
"description": "Oxc's modular runtime helpers",
"homepage": "https://oxc.rs",
"license": "MIT",
+11
View File
@@ -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.150.0] - 2026-09-14
### 🐛 Bug Fixes
- 32d00c5 codegen: Preserve instantiation expression precedence (#26424) (camc314)
- 5986187 packages/codegen: Preserve private-in right operand precedence (#26420) (camc314)
- f8e6c6c packages/codegen: Preserve in restriction through yield arguments (#26421) (camc314)
- 6e15ad5 packages/codegen: Print matching quoted import names as identifiers (#26404) (camc314)
- bbbb4bc packages/codegen: Preserve private-in left operand precedence (#26403) (camc314)
- a111b5b packages/codegen: Print accessibility modifiers before abstract (#26402) (camc314)
## [0.148.0] - 2026-08-31
### ⚡ Performance
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "oxc-codegen",
"version": "0.149.0",
"version": "0.150.0",
"description": "Fast JavaScript code generator from an ESTree-compliant AST",
"keywords": [
"ast",