mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
release(crates): oxc v0.155.0 (#27962)
### 💥 BREAKING CHANGES -c7d229btransformer: [**BREAKING**] Decode JSX entities to lone surrogates (#26712) (Dunqing) -e3c1b11ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing) -a0a987cast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing) ### 🚀 Features -7bb2697minifier: Minimize array join expression (#27905) (Armano) -5d91db8ast: Generate node ID setters for enums (#27500) (camc314) -6b5057bminifier: Add de morgan optimization for void expressions (#27375) (Armano) ### 🐛 Bug Fixes -ce6a088minifier: Fold string indices by UTF-16 code unit (#27096) (Dunqing) -7c47246linter: Check module specifiers and string values that contain lone surrogates (#26717) (Dunqing) -782ab6elinter: Search string values without UTF-8 conversion (#26716) (Dunqing) -a5d8184jsdoc: Parse code spans after quotes in descriptions (#27955) (leaysgur) -bd37e78ecmascript: Look through sequence expressions in `to_primitive` (#27837) (baltasarblanco) -d92789dminifier: Drop debugger statements in unbraced bodies (#27867) (camc314) -863b359ecmascript: Correct parseFloat decimal prefix scanning (#27695) (camc314) -a2534c6minifier: Preserve lexical initializers in dead for loops (#27676) (camc314) -3543672ecmascript: Do not fold Number.isInteger / isSafeInteger of tiny non-integers to true (#27622) (Baltasar Blanco) -6987a61ecmascript: BigInt loose equality folding (unknown operands and `StringToBigInt`) (#27656) (Baltasar Blanco) -40e5644minifier: Preserve indirect access when folding into call targets (#27082) (waltu) -022306fecmascript: Do not fold `Math.cbrt` of a negative number to `NaN` (#27621) (Baltasar Blanco) ### ⚡ Performance -faa75d8transformer: Remove redundant scratch vectors (#27922) (camc314) -88b5c35minifier: Reduce code branches when evaluating roots (#27906) (Armano) -fe1d367codegen: Remove branches from loops printing arrays (#27840) (overlookmotel) -7bb6b62codegen: Reduce hashmap lookups in `print_annotation_comment` (#27845) (overlookmotel) -31ffd08codegen: Avoid unnecessary comment clone (#27843) (overlookmotel) -a6456b7codegen: Remove branch from `print_space_before_identifier` (#27842) (overlookmotel) -eeff416codegen: Simplify `print_space_before_identifier` (#27841) (overlookmotel) -5d877b8diagnostics: Speed up zero-context span lookups (#27770) (camc314) -2ab6b63packages/codegen: Remove redundant `printSpaceBeforeIdentifier` and `last` updates in `printParams` (#27652) (overlookmotel) -e533278codegen: Reduce writes in `printDecorators` (#27651) (overlookmotel) ### 📚 Documentation -29caafdcodegen: Format table in doc comment (#27839) (overlookmotel) -3de03c1packages/codegen: Correct outdated comments (#27838) (overlookmotel)
This commit is contained in:
1 parent
ce6a08808a
commit
73e6b56473
58 files changed
+536
-384
No files matched your search
Generated
+36
-36
@@ -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]]
|
||||
@@ -1523,7 +1523,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]]
|
||||
@@ -1653,7 +1653,7 @@ checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d"
|
||||
|
||||
[[package]]
|
||||
name = "oxc"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"oxc_allocator",
|
||||
"oxc_ast",
|
||||
@@ -1749,7 +1749,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_allocator"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"allocator-api2",
|
||||
"hashbrown 0.17.1",
|
||||
@@ -1767,7 +1767,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_ast"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"oxc_allocator",
|
||||
@@ -1784,7 +1784,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_ast_macros"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"phf",
|
||||
"proc-macro2",
|
||||
@@ -1829,7 +1829,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_ast_visit"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"oxc_allocator",
|
||||
"oxc_ast",
|
||||
@@ -1868,7 +1868,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_cfg"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"itertools",
|
||||
@@ -1880,7 +1880,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_codegen"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cow-utils",
|
||||
@@ -1920,7 +1920,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_compat"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"oxc-browserslist",
|
||||
@@ -1986,14 +1986,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_data_structures"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"ropey",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "oxc_diagnostics"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bytecount",
|
||||
"cow-utils",
|
||||
@@ -2009,7 +2009,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_ecmascript"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"dragonbox_ecma",
|
||||
@@ -2029,7 +2029,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_estree"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"dragonbox_ecma",
|
||||
"itoa",
|
||||
@@ -2038,7 +2038,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_estree_tokens"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"oxc_ast",
|
||||
@@ -2220,7 +2220,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_isolated_declarations"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"insta",
|
||||
@@ -2239,7 +2239,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_jsdoc"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"oxc_ast",
|
||||
"oxc_span",
|
||||
@@ -2359,7 +2359,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_mangler"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"itertools",
|
||||
"oxc_allocator",
|
||||
@@ -2377,7 +2377,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_minifier"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2406,7 +2406,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_minify_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"lazy-regex",
|
||||
"mimalloc-safe",
|
||||
@@ -2448,7 +2448,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"napi",
|
||||
"napi-build",
|
||||
@@ -2462,7 +2462,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_parser"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cow-utils",
|
||||
@@ -2486,7 +2486,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_parser_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"mimalloc-safe",
|
||||
"napi",
|
||||
@@ -2547,7 +2547,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_regular_expression"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"insta",
|
||||
@@ -2617,7 +2617,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_semantic"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"insta",
|
||||
"itertools",
|
||||
@@ -2659,7 +2659,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_span"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"compact_str",
|
||||
"oxc-schemars",
|
||||
@@ -2672,7 +2672,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_str"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"compact_str",
|
||||
"hashbrown 0.17.1",
|
||||
@@ -2686,7 +2686,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_syntax"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"cow-utils",
|
||||
@@ -2772,7 +2772,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_transform_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"mimalloc-safe",
|
||||
"napi",
|
||||
@@ -2814,7 +2814,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_transformer"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"compact_str",
|
||||
@@ -2846,7 +2846,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_transformer_plugins"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2873,7 +2873,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_traverse"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"oxc_allocator",
|
||||
@@ -3383,7 +3383,7 @@ dependencies = [
|
||||
"errno",
|
||||
"libc",
|
||||
"linux-raw-sys",
|
||||
"windows-sys 0.61.2",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -3802,7 +3802,7 @@ dependencies = [
|
||||
"getrandom 0.4.3",
|
||||
"once_cell",
|
||||
"rustix",
|
||||
"windows-sys 0.61.2",
|
||||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -4336,7 +4336,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
@@ -121,42 +121,42 @@ multiple_crate_versions = "allow"
|
||||
|
||||
[workspace.dependencies]
|
||||
# publish = true
|
||||
oxc = { version = "0.154.0", path = "crates/oxc" } # Main entry point
|
||||
oxc_allocator = { version = "0.154.0", path = "crates/oxc_allocator" } # Memory management
|
||||
oxc_ast = { version = "0.154.0", path = "crates/oxc_ast" } # AST definitions
|
||||
oxc_ast_macros = { version = "0.154.0", path = "crates/oxc_ast_macros" } # AST proc macros
|
||||
oxc_ast_visit = { version = "0.154.0", path = "crates/oxc_ast_visit" } # AST visitor pattern
|
||||
oxc_cfg = { version = "0.154.0", path = "crates/oxc_cfg" } # Control flow graph
|
||||
oxc_codegen = { version = "0.154.0", path = "crates/oxc_codegen", default-features = false } # Code generation
|
||||
oxc_compat = { version = "0.154.0", path = "crates/oxc_compat" } # Browser compatibility
|
||||
oxc_data_structures = { version = "0.154.0", path = "crates/oxc_data_structures" } # Shared data structures
|
||||
oxc_diagnostics = { version = "0.154.0", path = "crates/oxc_diagnostics" } # Error reporting
|
||||
oxc_ecmascript = { version = "0.154.0", path = "crates/oxc_ecmascript" } # ECMAScript operations
|
||||
oxc_estree = { version = "0.154.0", path = "crates/oxc_estree" } # ESTree format
|
||||
oxc_estree_tokens = { version = "0.154.0", path = "crates/oxc_estree_tokens" } # ESTree token conversion
|
||||
oxc_isolated_declarations = { version = "0.154.0", path = "crates/oxc_isolated_declarations" } # TS declaration generation
|
||||
oxc_jsdoc = { version = "0.154.0", path = "crates/oxc_jsdoc" } # JSDoc parsing
|
||||
oxc_mangler = { version = "0.154.0", path = "crates/oxc_mangler" } # Name mangling
|
||||
oxc_minifier = { version = "0.154.0", path = "crates/oxc_minifier" } # Code minification
|
||||
oxc_minify_napi = { version = "0.154.0", path = "napi/minify" } # Node.js minifier binding
|
||||
oxc_napi = { version = "0.154.0", path = "crates/oxc_napi" } # NAPI utilities
|
||||
oxc_parser = { version = "0.154.0", path = "crates/oxc_parser", features = [
|
||||
oxc = { version = "0.155.0", path = "crates/oxc" } # Main entry point
|
||||
oxc_allocator = { version = "0.155.0", path = "crates/oxc_allocator" } # Memory management
|
||||
oxc_ast = { version = "0.155.0", path = "crates/oxc_ast" } # AST definitions
|
||||
oxc_ast_macros = { version = "0.155.0", path = "crates/oxc_ast_macros" } # AST proc macros
|
||||
oxc_ast_visit = { version = "0.155.0", path = "crates/oxc_ast_visit" } # AST visitor pattern
|
||||
oxc_cfg = { version = "0.155.0", path = "crates/oxc_cfg" } # Control flow graph
|
||||
oxc_codegen = { version = "0.155.0", path = "crates/oxc_codegen", default-features = false } # Code generation
|
||||
oxc_compat = { version = "0.155.0", path = "crates/oxc_compat" } # Browser compatibility
|
||||
oxc_data_structures = { version = "0.155.0", path = "crates/oxc_data_structures" } # Shared data structures
|
||||
oxc_diagnostics = { version = "0.155.0", path = "crates/oxc_diagnostics" } # Error reporting
|
||||
oxc_ecmascript = { version = "0.155.0", path = "crates/oxc_ecmascript" } # ECMAScript operations
|
||||
oxc_estree = { version = "0.155.0", path = "crates/oxc_estree" } # ESTree format
|
||||
oxc_estree_tokens = { version = "0.155.0", path = "crates/oxc_estree_tokens" } # ESTree token conversion
|
||||
oxc_isolated_declarations = { version = "0.155.0", path = "crates/oxc_isolated_declarations" } # TS declaration generation
|
||||
oxc_jsdoc = { version = "0.155.0", path = "crates/oxc_jsdoc" } # JSDoc parsing
|
||||
oxc_mangler = { version = "0.155.0", path = "crates/oxc_mangler" } # Name mangling
|
||||
oxc_minifier = { version = "0.155.0", path = "crates/oxc_minifier" } # Code minification
|
||||
oxc_minify_napi = { version = "0.155.0", path = "napi/minify" } # Node.js minifier binding
|
||||
oxc_napi = { version = "0.155.0", path = "crates/oxc_napi" } # NAPI utilities
|
||||
oxc_parser = { version = "0.155.0", path = "crates/oxc_parser", features = [
|
||||
"regular_expression",
|
||||
] } # JS/TS parser
|
||||
oxc_parser_napi = { version = "0.154.0", path = "napi/parser" } # Node.js parser binding
|
||||
oxc_parser_napi = { version = "0.155.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.154.0", path = "crates/oxc_regular_expression" } # Regex parser
|
||||
oxc_regular_expression = { version = "0.155.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.154.0", path = "crates/oxc_semantic" } # Semantic analysis
|
||||
oxc_span = { version = "0.154.0", path = "crates/oxc_span" } # Source positions
|
||||
oxc_str = { version = "0.154.0", path = "crates/oxc_str" } # String types
|
||||
oxc_syntax = { version = "0.154.0", path = "crates/oxc_syntax" } # Syntax utilities
|
||||
oxc_transform_napi = { version = "0.154.0", path = "napi/transform" } # Node.js transformer binding
|
||||
oxc_semantic = { version = "0.155.0", path = "crates/oxc_semantic" } # Semantic analysis
|
||||
oxc_span = { version = "0.155.0", path = "crates/oxc_span" } # Source positions
|
||||
oxc_str = { version = "0.155.0", path = "crates/oxc_str" } # String types
|
||||
oxc_syntax = { version = "0.155.0", path = "crates/oxc_syntax" } # Syntax utilities
|
||||
oxc_transform_napi = { version = "0.155.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.154.0", path = "crates/oxc_transformer" } # Code transformation
|
||||
oxc_transformer_plugins = { version = "0.154.0", path = "crates/oxc_transformer_plugins" } # Transformer plugins
|
||||
oxc_traverse = { version = "0.154.0", path = "crates/oxc_traverse" } # AST traversal
|
||||
oxc_transformer = { version = "0.155.0", path = "crates/oxc_transformer" } # Code transformation
|
||||
oxc_transformer_plugins = { version = "0.155.0", path = "crates/oxc_transformer_plugins" } # Transformer plugins
|
||||
oxc_traverse = { version = "0.155.0", path = "crates/oxc_traverse" } # AST traversal
|
||||
|
||||
# publish = false
|
||||
oxc_config = { path = "crates/oxc_config" } # Config discovery
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_allocator"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,18 @@ All notable changes to this package will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
|
||||
|
||||
## [0.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- c7d229b transformer: [**BREAKING**] Decode JSX entities to lone surrogates (#26712) (Dunqing)
|
||||
- e3c1b11 ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing)
|
||||
- a0a987c ast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing)
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 5d91db8 ast: Generate node ID setters for enums (#27500) (camc314)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_ast"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_ast_macros"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_ast_visit"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_cfg"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -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.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- c7d229b transformer: [**BREAKING**] Decode JSX entities to lone surrogates (#26712) (Dunqing)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- fe1d367 codegen: Remove branches from loops printing arrays (#27840) (overlookmotel)
|
||||
- 7bb6b62 codegen: Reduce hashmap lookups in `print_annotation_comment` (#27845) (overlookmotel)
|
||||
- 31ffd08 codegen: Avoid unnecessary comment clone (#27843) (overlookmotel)
|
||||
- a6456b7 codegen: Remove branch from `print_space_before_identifier` (#27842) (overlookmotel)
|
||||
- eeff416 codegen: Simplify `print_space_before_identifier` (#27841) (overlookmotel)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 29caafd codegen: Format table in doc comment (#27839) (overlookmotel)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_codegen"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_compat"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_data_structures"
|
||||
version = "0.154.0"
|
||||
version = "0.155.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.155.0] - 2026-10-19
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 5d877b8 diagnostics: Speed up zero-context span lookups (#27770) (camc314)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_diagnostics"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -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.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- a0a987c ast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- bd37e78 ecmascript: Look through sequence expressions in `to_primitive` (#27837) (baltasarblanco)
|
||||
- 863b359 ecmascript: Correct parseFloat decimal prefix scanning (#27695) (camc314)
|
||||
- 3543672 ecmascript: Do not fold Number.isInteger / isSafeInteger of tiny non-integers to true (#27622) (Baltasar Blanco)
|
||||
- 6987a61 ecmascript: BigInt loose equality folding (unknown operands and `StringToBigInt`) (#27656) (Baltasar Blanco)
|
||||
- 022306f ecmascript: Do not fold `Math.cbrt` of a negative number to `NaN` (#27621) (Baltasar Blanco)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 88b5c35 minifier: Reduce code branches when evaluating roots (#27906) (Armano)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_ecmascript"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_estree"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_estree_tokens"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,13 @@ All notable changes to this package will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
|
||||
|
||||
## [0.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- e3c1b11 ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing)
|
||||
- a0a987c ast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_isolated_declarations"
|
||||
version = "0.154.0"
|
||||
version = "0.155.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.155.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- a5d8184 jsdoc: Parse code spans after quotes in descriptions (#27955) (leaysgur)
|
||||
|
||||
## [0.152.0] - 2026-09-28
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_jsdoc"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_mangler"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,29 @@ 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.155.0] - 2026-10-19
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 7bb2697 minifier: Minimize array join expression (#27905) (Armano)
|
||||
- 6b5057b minifier: Add de morgan optimization for void expressions (#27375) (Armano)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- ce6a088 minifier: Fold string indices by UTF-16 code unit (#27096) (Dunqing)
|
||||
- bd37e78 ecmascript: Look through sequence expressions in `to_primitive` (#27837) (baltasarblanco)
|
||||
- d92789d minifier: Drop debugger statements in unbraced bodies (#27867) (camc314)
|
||||
- 863b359 ecmascript: Correct parseFloat decimal prefix scanning (#27695) (camc314)
|
||||
- a2534c6 minifier: Preserve lexical initializers in dead for loops (#27676) (camc314)
|
||||
- 3543672 ecmascript: Do not fold Number.isInteger / isSafeInteger of tiny non-integers to true (#27622) (Baltasar Blanco)
|
||||
- 6987a61 ecmascript: BigInt loose equality folding (unknown operands and `StringToBigInt`) (#27656) (Baltasar Blanco)
|
||||
- 40e5644 minifier: Preserve indirect access when folding into call targets (#27082) (waltu)
|
||||
- 022306f ecmascript: Do not fold `Math.cbrt` of a negative number to `NaN` (#27621) (Baltasar Blanco)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 88b5c35 minifier: Reduce code branches when evaluating roots (#27906) (Armano)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_minifier"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_parser"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_regular_expression"
|
||||
version = "0.154.0"
|
||||
version = "0.155.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.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- e3c1b11 ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_semantic"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_span"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,19 @@ All notable changes to this package will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
|
||||
|
||||
## [0.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- c7d229b transformer: [**BREAKING**] Decode JSX entities to lone surrogates (#26712) (Dunqing)
|
||||
- e3c1b11 ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing)
|
||||
- a0a987c ast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 7c47246 linter: Check module specifiers and string values that contain lone surrogates (#26717) (Dunqing)
|
||||
- 782ab6e linter: Search string values without UTF-8 conversion (#26716) (Dunqing)
|
||||
|
||||
## [0.152.0] - 2026-09-28
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_str"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -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.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- c7d229b transformer: [**BREAKING**] Decode JSX entities to lone surrogates (#26712) (Dunqing)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- a6456b7 codegen: Remove branch from `print_space_before_identifier` (#27842) (overlookmotel)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_syntax"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,22 @@ All notable changes to this package will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
|
||||
|
||||
## [0.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- c7d229b transformer: [**BREAKING**] Decode JSX entities to lone surrogates (#26712) (Dunqing)
|
||||
- e3c1b11 ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing)
|
||||
- a0a987c ast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 7c47246 linter: Check module specifiers and string values that contain lone surrogates (#26717) (Dunqing)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- faa75d8 transformer: Remove redundant scratch vectors (#27922) (camc314)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_transformer"
|
||||
version = "0.154.0"
|
||||
version = "0.155.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.155.0] - 2026-10-19
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- e3c1b11 ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_transformer_plugins"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_traverse"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_minify_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
+56
-56
@@ -92,8 +92,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -108,8 +108,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -129,8 +129,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -145,8 +145,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -162,8 +162,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -178,8 +178,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -197,8 +197,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -213,8 +213,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -229,8 +229,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -249,8 +249,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -265,8 +265,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -286,8 +286,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -302,8 +302,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -320,8 +320,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -336,8 +336,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -354,8 +354,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -370,8 +370,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -388,8 +388,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -404,8 +404,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -422,8 +422,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -438,8 +438,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -455,8 +455,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -471,8 +471,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -491,8 +491,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -507,8 +507,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -523,8 +523,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -685,8 +685,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.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-minify/binding-wasm32-wasi')
|
||||
@@ -712,8 +712,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-wasip1/package.json').version
|
||||
if (bindingPackageVersion !== '0.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-minify/binding-wasm32-wasip1')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxc-minify",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Oxc Minifier Node API",
|
||||
"keywords": [
|
||||
"javascript",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_parser_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxc-parser",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Oxc Parser Node API",
|
||||
"keywords": [
|
||||
"ast",
|
||||
|
||||
@@ -92,8 +92,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -108,8 +108,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -129,8 +129,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -145,8 +145,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -162,8 +162,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -178,8 +178,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -197,8 +197,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -213,8 +213,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -229,8 +229,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -249,8 +249,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -265,8 +265,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -286,8 +286,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -302,8 +302,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -320,8 +320,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -336,8 +336,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -354,8 +354,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -370,8 +370,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -388,8 +388,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -404,8 +404,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -422,8 +422,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -438,8 +438,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -455,8 +455,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -471,8 +471,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -491,8 +491,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -507,8 +507,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -523,8 +523,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -685,8 +685,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.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-parser/binding-wasm32-wasi')
|
||||
@@ -712,8 +712,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-wasip1/package.json').version
|
||||
if (bindingPackageVersion !== '0.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-parser/binding-wasm32-wasip1')
|
||||
|
||||
@@ -92,8 +92,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -108,8 +108,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -129,8 +129,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -145,8 +145,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -162,8 +162,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -178,8 +178,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -197,8 +197,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -213,8 +213,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -229,8 +229,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -249,8 +249,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -265,8 +265,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -286,8 +286,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -302,8 +302,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -320,8 +320,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -336,8 +336,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -354,8 +354,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -370,8 +370,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -388,8 +388,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -404,8 +404,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -422,8 +422,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -438,8 +438,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -455,8 +455,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -471,8 +471,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -491,8 +491,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -507,8 +507,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -523,8 +523,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -685,8 +685,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.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-transform-react/binding-wasm32-wasi')
|
||||
@@ -712,8 +712,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-wasip1/package.json').version
|
||||
if (bindingPackageVersion !== '0.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-transform-react/binding-wasm32-wasip1')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxc-transform-react",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Oxc React Compiler Node API",
|
||||
"keywords": [
|
||||
"compiler",
|
||||
|
||||
@@ -92,8 +92,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -108,8 +108,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -129,8 +129,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -145,8 +145,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -162,8 +162,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -178,8 +178,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -197,8 +197,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -213,8 +213,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -229,8 +229,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -249,8 +249,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -265,8 +265,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -286,8 +286,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -302,8 +302,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -320,8 +320,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -336,8 +336,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -354,8 +354,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -370,8 +370,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -388,8 +388,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -404,8 +404,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -422,8 +422,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -438,8 +438,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -455,8 +455,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -471,8 +471,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -491,8 +491,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -507,8 +507,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -523,8 +523,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -685,8 +685,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.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-transform-relay/binding-wasm32-wasi')
|
||||
@@ -712,8 +712,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-wasip1/package.json').version
|
||||
if (bindingPackageVersion !== '0.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-transform-relay/binding-wasm32-wasip1')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxc-transform-relay",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Oxc Relay Transform Node API",
|
||||
"keywords": [
|
||||
"graphql",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_transform_napi"
|
||||
version = "0.154.0"
|
||||
version = "0.155.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
+56
-56
@@ -92,8 +92,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -108,8 +108,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -129,8 +129,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -145,8 +145,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -162,8 +162,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -178,8 +178,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -197,8 +197,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -213,8 +213,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -229,8 +229,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -249,8 +249,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -265,8 +265,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -286,8 +286,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -302,8 +302,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -320,8 +320,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -336,8 +336,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -354,8 +354,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -370,8 +370,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -388,8 +388,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -404,8 +404,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -422,8 +422,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -438,8 +438,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -455,8 +455,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -471,8 +471,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -491,8 +491,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -507,8 +507,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -523,8 +523,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.154.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -685,8 +685,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.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-transform/binding-wasm32-wasi')
|
||||
@@ -712,8 +712,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-wasip1/package.json').version
|
||||
if (bindingPackageVersion !== '0.154.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.154.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.155.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.155.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxc-transform/binding-wasm32-wasip1')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxc-transform",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Oxc Transformer Node API",
|
||||
"keywords": [
|
||||
"babel",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oxc-project/types",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Types for Oxc AST nodes",
|
||||
"keywords": [
|
||||
"AST",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oxc-project/runtime",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Oxc's modular runtime helpers",
|
||||
"homepage": "https://oxc.rs",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -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.155.0] - 2026-10-19
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 2ab6b63 packages/codegen: Remove redundant `printSpaceBeforeIdentifier` and `last` updates in `printParams` (#27652) (overlookmotel)
|
||||
- e533278 codegen: Reduce writes in `printDecorators` (#27651) (overlookmotel)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 3de03c1 packages/codegen: Correct outdated comments (#27838) (overlookmotel)
|
||||
|
||||
## [0.154.0] - 2026-10-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxc-codegen",
|
||||
"version": "0.154.0",
|
||||
"version": "0.155.0",
|
||||
"description": "Fast JavaScript code generator from an ESTree-compliant AST",
|
||||
"keywords": [
|
||||
"ast",
|
||||
|
||||
Reference in new issue
Block a user