mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
release(apps): oxlint v1.89.0 && oxfmt v0.74.0 (#27961)
# Oxlint ### 💥 BREAKING CHANGES -e3c1b11ast: [**BREAKING**] Preserve lone surrogates in static property names (#27095) (Dunqing) -a0a987cast: [**BREAKING**] Preserve lone surrogates in static member names (#26677) (Dunqing) ### 🚀 Features -770ada4linter: Mark vue 3 rules as recommended (#27717) (Cam McHenry) -ba38c1dlinter: Mark react/react-hooks rules as recommended (#27701) (Cam McHenry) -d85a3balinter: Mark promise rules as recommended (#27693) (Cam McHenry) -e71c88alinter: Mark node rule as recommended (#27692) (Cam McHenry) -7213f61linter: Mark nextjs rules as recommended (#27691) (Cam McHenry) -d7c6b26linter: Mark jsx-a11y rules as recommended (#27690) (Cam McHenry) -199dfdclinter: Mark jsdoc rules as recommended (#27689) (Cam McHenry) -780bff3linter: Mark jest/vitest rules as recommended (#27672) (Cam McHenry) -6ae6859linter: Mark import rules as recommended (#27671) (Cam McHenry) -b7a1df3linter: Mark unicorn rules as recommended (#27670) (Cam McHenry) -c44a355linter: Mark typescript rules as recommended from upstream (#27634) (Cam McHenry) -6b49dbalinter: Mark eslint rules as recommended from upstream (#27632) (Cam McHenry) ### 🐛 Bug Fixes -7c47246linter: Check module specifiers and string values that contain lone surrogates (#26717) (Dunqing) -782ab6elinter: Search string values without UTF-8 conversion (#26716) (Dunqing) -326904flinter/unicorn/no-useless-undefined: Allow `undefined` in `React.useRef` (#25027) (Chris Dokurno) -f9cf165linter/unicorn/prefer-spread: Ignore super method calls (#27868) (camc314) -00484e1linter/eslint/prefer-const: Report destructuring assignments inside blocks (#27856) (camc314) -9c35461linter/eslint/sort-vars: Report every out-of-order declaration (#27767) (camc314) -01e1c5elinter/unicorn/prefer-string-replace-all: Resolve regex variables (#27769) (camc314) -7f474d5linter/eslint/no-loop-func: Detect writes after the loop (#27754) (camc314) -4b7fea6linter/eslint/block-scoped-var: Ignore declarations without writes (#27760) (camc314) -2947917linter/eslint/no-lonely-if: Check final else blocks in else-if chains (#27759) (camc314) -fc039b5linter/eslint/sort-imports: Check imports after other statements (#27749) (camc314) -1acba97linter/unicorn/prefer-at: Report slice index reads once (#27762) (camc314) -6190e26linter/eslint/prefer-arrow-callback: Ignore functions used as conditional tests (#27533) (Anzal Husain Abidi) -b3cdaaflinter/eslint/sort-keys: Check computed identifier names (#27748) (camc314) -170e608linter/unicorn/prefer-native-coercion-functions: Check object methods and function properties (#27750) (camc314) -9261df7linter/unicorn/prefer-string-raw: Check object property values (#27758) (camc314) -ddea86blinter/eslint/prefer-template: Report separate nested concatenations (#27764) (camc314) -2c67197linter/eslint/no-unused-vars: Count conditional calls in sequences as uses (#27755) (camc314) -7f22fa0linter/unicorn/prefer-regexp-test: Check logical operands in boolean contexts (#27761) (camc314) -3c44398linter/eslint/class-methods-use-this: Count this in parameter defaults (#27756) (camc314) -d85923flinter/eslint/no-param-reassign: Report rest parameter writes (#27765) (camc314) -8ea47bblinter/unicorn/prefer-type-error: Handle parenthesized type checks (#27766) (camc314) -e96856clinter/unicorn/catch-error-name: Check unused underscore-prefixed names (#27751) (camc314) -d8ca399linter/unicorn/no-array-callback-reference: Ignore callback factory calls (#27763) (camc314) -1267ab8linter/eslint/max-params: Count rest parameters (#27757) (camc314) -9ff25c3linter/eslint/no-useless-assignment: Report dead stores to function parameters (#27735) (camc314) -ee5e730linter/eslint/no-setter-return: Check setters in property descriptors (#27731) (camc314) -edbb5edlinter/eslint/id-length: Check destructuring assignment targets (#27724) (Yunus Ozen) -0e40acblinter/eslint/no-magic-numbers: Restrict unary exemptions to numeric signs (#27723) (Yunus Ozen) -ae7e44blinter/eslint/no-div-regex: Report quantified leading equals (#27722) (Yunus Ozen) -eb461f8linter/unicorn/consistent-function-scoping: Count self-referencing variables as captures (#27726) (camc314) -5c8e731linter/unicorn/catch-error-name: Avoid fix symbol name collisions (#27702) (camc314) -9a424c2oxlint,oxfmt: Correct Node.js TypeScript support range (#27699) (camc314) -5dc0152linter/eslint/no-var: Avoid fixes for redeclared bindings (#27697) (camc314) ### ⚡ Performance -4944cbalinter/react/jsx-key: Avoid redundant key clones (#27915) (camc314) ### 📚 Documentation -0aa41aclinter: Fix invalid code example in rule docs (#27645) (leaysgur) # Oxfmt ### 🐛 Bug Fixes -e236de0formatter_tests: Skip conformance spec calls with non-literal options (#27957) (leaysgur) -782ab6elinter: Search string values without UTF-8 conversion (#26716) (Dunqing) -a5d8184jsdoc: Parse code spans after quotes in descriptions (#27955) (leaysgur) -2645d2cformatter_markdown: Treat link destinations and footnote references as opaque to code span fences (#27948) (leaysgur) -4d8195cformatter_yaml: Keep a root plain scalar starting with a document marker verbatim (#27947) (leaysgur) -529b057formatter_core: Keep front matter verbatim when body starts with indented delimiter (#27946) (leaysgur) -c22a9b2formatter: Treat static block with only empty statements as empty (#27945) (leaysgur) -d3ff3f6formatter/jsdoc: Write descriptions as written to not close the comment (#27823) (leaysgur) -c4c1727formatter/sort_imports: Keep comments after the last import (#27822) (leaysgur) -a64677eformatter: Print JSDoc embedded snippets with LF (#27821) (leaysgur) -2c1cc20formatter: Keep comment only Vue bindings as-is (#27820) (leaysgur) -1bf236dformatter/sort_imports: Do not use comments as import source (#27819) (leaysgur) -52ee29dformatter_yaml: Never start col-0 line with document marker or BOM (#27818) (leaysgur) -81c75e7formatter/css: Keep glued css-in-js statement placeholders glued (#27814) (leaysgur) -a1ef7f4formatter: Keep typecast parens in same-operator binary and arrow chain (#27812) (leaysgur) -de110ceformatter: Keep more parens around `TSInstantiationExpression` (#27811) (leaysgur) -8b02e90formatter_json: Reject invalid JSON instead of dropping them (#27785) (leaysgur) -6fe4c1bformatter: Treat lone CR in JSX text and argument blank lines (#27780) (leaysgur) -5605362oxfmt: Validate editorconfig as like oxfmtrc (#27778) (leaysgur) -5b2acb0formatter_core: Report error position releative to CRLF source (#27777) (leaysgur) -c78e80eformatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur) -3a980c9formatter_toml: Handle BOM like other languages (#27775) (leaysgur) -97c9fc4oxfmt: Handle BOM in config JSON (#27774) (leaysgur) -28eb4a7oxfmt: Print trailing newline for `--list-different` (#27773) (leaysgur) -d2bea21formatter: Glue comments to an opener in empty for-head slots and array holes (#27737) (leaysgur) -6a95ec1formatter: Keep comment position on holey array (#27730) (leaysgur) -54769daformatter: Break after dangling line comment in holey array (#27729) (leaysgur) -99077efformatter_json: Reject unary expressions other than signed numbers (#27728) (leaysgur) -22cd4cdformatter_json: Handle holey array and comments (#27727) (leaysgur) -644ca1cformatter: Do not indent logical chains whose right sides all inline (#27667) (leaysgur) -a07a0fbformatter: Wrap comment-only JSX expression container in a group (#27666) (leaysgur) ### ⚡ Performance -e220293formatter: Check only the operator suppression mark in `is_quiet` (#27952) (leaysgur) -e5fdc9cformatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur) -a342f7eformatter: Skip comment handling for nodes with no comment near them (#27557) (leaysgur) -d8ce750formatter: Write string literals with swapped quotes into the arena (#27558) (Yuji Sugiura) -1c393c0formatter_core: Skip scanning texts with nothing to rewrite (#27561) (leaysgur) -1d3ef10formatter_core: Keep the embedded IR when nothing in it is rewritten (#27673) (leaysgur) ### 📚 Documentation -1325225oxfmt: Update useless comment prefix (#27956) (leaysgur) -d0dd140formatter: Note lossy cooked round-trip in template embeds (#27944) (leaysgur) -8a3a6c8oxfmt: Update stale notes on the JSDoc string-out channel and fixture origins (#27824) (leaysgur)
This commit is contained in:
1 parent
73e6b56473
commit
07ed78f4ab
32 files changed
+353
-136
No files matched your search
Generated
+11
-11
@@ -2051,7 +2051,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"fast-glob",
|
||||
@@ -2085,7 +2085,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_core"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"memchr",
|
||||
@@ -2098,7 +2098,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_css"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2114,7 +2114,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_graphql"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2130,7 +2130,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_json"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"dragonbox_ecma",
|
||||
"insta",
|
||||
@@ -2149,7 +2149,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_markdown"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2183,7 +2183,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_toml"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"oxc-toml",
|
||||
"oxc_allocator",
|
||||
@@ -2194,7 +2194,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_yaml"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2280,7 +2280,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_linter"
|
||||
version = "1.88.0"
|
||||
version = "1.89.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"constcat",
|
||||
@@ -2890,7 +2890,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxfmt"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
dependencies = [
|
||||
"bpaf",
|
||||
"cow-utils",
|
||||
@@ -2933,7 +2933,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxlint"
|
||||
version = "1.88.0"
|
||||
version = "1.89.0"
|
||||
dependencies = [
|
||||
"bpaf",
|
||||
"cow-utils",
|
||||
|
||||
@@ -4,6 +4,25 @@ All notable changes to this package will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
|
||||
|
||||
## [0.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 529b057 formatter_core: Keep front matter verbatim when body starts with indented delimiter (#27946) (leaysgur)
|
||||
- a64677e formatter: Print JSDoc embedded snippets with LF (#27821) (leaysgur)
|
||||
- 2c1cc20 formatter: Keep comment only Vue bindings as-is (#27820) (leaysgur)
|
||||
- 5605362 oxfmt: Validate editorconfig as like oxfmtrc (#27778) (leaysgur)
|
||||
- 5b2acb0 formatter_core: Report error position releative to CRLF source (#27777) (leaysgur)
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
- 3a980c9 formatter_toml: Handle BOM like other languages (#27775) (leaysgur)
|
||||
- 97c9fc4 oxfmt: Handle BOM in config JSON (#27774) (leaysgur)
|
||||
- 28eb4a7 oxfmt: Print trailing newline for `--list-different` (#27773) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 1325225 oxfmt: Update useless comment prefix (#27956) (leaysgur)
|
||||
- 8a3a6c8 oxfmt: Update stale notes on the JSDoc string-out channel and fixture origins (#27824) (leaysgur)
|
||||
|
||||
## [0.73.0] - 2026-10-13
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxfmt"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxfmt-app",
|
||||
"version": "0.73.0",
|
||||
"version": "0.74.0",
|
||||
"private": true,
|
||||
"description": "Internal development package for oxfmt. For the published package.json template, see `npm/oxfmt/package.json`.",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -92,8 +92,8 @@ function requireNative() {
|
||||
try {
|
||||
const binding = require('@oxfmt/binding-android-arm64')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-android-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-android-arm-eabi')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-android-arm-eabi/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-win32-x64-gnu')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-win32-x64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-win32-x64-msvc')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-win32-x64-msvc/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-win32-ia32-msvc')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-win32-ia32-msvc/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-win32-arm64-msvc')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-win32-arm64-msvc/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-darwin-universal')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-darwin-universal/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-darwin-x64')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-darwin-x64/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-darwin-arm64')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-darwin-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-freebsd-x64')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-freebsd-x64/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-freebsd-arm64')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-freebsd-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-x64-musl')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-x64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-x64-gnu')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-x64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-arm64-musl')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-arm64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-arm64-gnu')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-arm64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-arm-musleabihf')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-arm-musleabihf/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-arm-gnueabihf')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-arm-gnueabihf/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-loong64-musl')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-loong64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-loong64-gnu')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-loong64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-riscv64-musl')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-riscv64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-riscv64-gnu')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-riscv64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-ppc64-gnu')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-ppc64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-linux-s390x-gnu')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-linux-s390x-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-openharmony-arm64')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-openharmony-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-openharmony-x64')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-openharmony-x64/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.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('@oxfmt/binding-openharmony-arm')
|
||||
const bindingPackageVersion = require('@oxfmt/binding-openharmony-arm/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.74.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -664,8 +664,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('@oxfmt/binding-wasm32-wasi/package.json').version
|
||||
if (bindingPackageVersion !== '0.73.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.73.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.74.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.74.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxfmt/binding-wasm32-wasi')
|
||||
|
||||
@@ -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).
|
||||
|
||||
## [1.89.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 9a424c2 oxlint,oxfmt: Correct Node.js TypeScript support range (#27699) (camc314)
|
||||
|
||||
## [1.88.0] - 2026-10-13
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxlint"
|
||||
version = "1.88.0"
|
||||
version = "1.89.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxlint-app",
|
||||
"version": "1.88.0",
|
||||
"version": "1.89.0",
|
||||
"private": true,
|
||||
"description": "Internal development package for oxlint. For the published package.json template, see `npm/oxlint/package.json`.",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -92,8 +92,8 @@ function requireNative() {
|
||||
try {
|
||||
const binding = require('@oxlint/binding-android-arm64')
|
||||
const bindingPackageVersion = require('@oxlint/binding-android-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-android-arm-eabi')
|
||||
const bindingPackageVersion = require('@oxlint/binding-android-arm-eabi/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-win32-x64-gnu')
|
||||
const bindingPackageVersion = require('@oxlint/binding-win32-x64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-win32-x64-msvc')
|
||||
const bindingPackageVersion = require('@oxlint/binding-win32-x64-msvc/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-win32-ia32-msvc')
|
||||
const bindingPackageVersion = require('@oxlint/binding-win32-ia32-msvc/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-win32-arm64-msvc')
|
||||
const bindingPackageVersion = require('@oxlint/binding-win32-arm64-msvc/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-darwin-universal')
|
||||
const bindingPackageVersion = require('@oxlint/binding-darwin-universal/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-darwin-x64')
|
||||
const bindingPackageVersion = require('@oxlint/binding-darwin-x64/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-darwin-arm64')
|
||||
const bindingPackageVersion = require('@oxlint/binding-darwin-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-freebsd-x64')
|
||||
const bindingPackageVersion = require('@oxlint/binding-freebsd-x64/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-freebsd-arm64')
|
||||
const bindingPackageVersion = require('@oxlint/binding-freebsd-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-x64-musl')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-x64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-x64-gnu')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-x64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-arm64-musl')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-arm64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-arm64-gnu')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-arm64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-arm-musleabihf')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-arm-musleabihf/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-arm-gnueabihf')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-arm-gnueabihf/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-loong64-musl')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-loong64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-loong64-gnu')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-loong64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-riscv64-musl')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-riscv64-musl/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-riscv64-gnu')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-riscv64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-ppc64-gnu')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-ppc64-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-linux-s390x-gnu')
|
||||
const bindingPackageVersion = require('@oxlint/binding-linux-s390x-gnu/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-openharmony-arm64')
|
||||
const bindingPackageVersion = require('@oxlint/binding-openharmony-arm64/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-openharmony-x64')
|
||||
const bindingPackageVersion = require('@oxlint/binding-openharmony-x64/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.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('@oxlint/binding-openharmony-arm')
|
||||
const bindingPackageVersion = require('@oxlint/binding-openharmony-arm/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 1.89.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
return binding
|
||||
} catch (e) {
|
||||
@@ -664,8 +664,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('@oxlint/binding-wasm32-wasi/package.json').version
|
||||
if (bindingPackageVersion !== '1.88.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 1.88.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.89.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 1.89.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxlint/binding-wasm32-wasi')
|
||||
|
||||
@@ -4,6 +4,40 @@ 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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 782ab6e linter: Search string values without UTF-8 conversion (#26716) (Dunqing)
|
||||
- a5d8184 jsdoc: Parse code spans after quotes in descriptions (#27955) (leaysgur)
|
||||
- c22a9b2 formatter: Treat static block with only empty statements as empty (#27945) (leaysgur)
|
||||
- d3ff3f6 formatter/jsdoc: Write descriptions as written to not close the comment (#27823) (leaysgur)
|
||||
- c4c1727 formatter/sort_imports: Keep comments after the last import (#27822) (leaysgur)
|
||||
- a64677e formatter: Print JSDoc embedded snippets with LF (#27821) (leaysgur)
|
||||
- 2c1cc20 formatter: Keep comment only Vue bindings as-is (#27820) (leaysgur)
|
||||
- 1bf236d formatter/sort_imports: Do not use comments as import source (#27819) (leaysgur)
|
||||
- a1ef7f4 formatter: Keep typecast parens in same-operator binary and arrow chain (#27812) (leaysgur)
|
||||
- de110ce formatter: Keep more parens around `TSInstantiationExpression` (#27811) (leaysgur)
|
||||
- 6fe4c1b formatter: Treat lone CR in JSX text and argument blank lines (#27780) (leaysgur)
|
||||
- d2bea21 formatter: Glue comments to an opener in empty for-head slots and array holes (#27737) (leaysgur)
|
||||
- 6a95ec1 formatter: Keep comment position on holey array (#27730) (leaysgur)
|
||||
- 54769da formatter: Break after dangling line comment in holey array (#27729) (leaysgur)
|
||||
- 644ca1c formatter: Do not indent logical chains whose right sides all inline (#27667) (leaysgur)
|
||||
- a07a0fb formatter: Wrap comment-only JSX expression container in a group (#27666) (leaysgur)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e220293 formatter: Check only the operator suppression mark in `is_quiet` (#27952) (leaysgur)
|
||||
- e5fdc9c formatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur)
|
||||
- a342f7e formatter: Skip comment handling for nodes with no comment near them (#27557) (leaysgur)
|
||||
- d8ce750 formatter: Write string literals with swapped quotes into the arena (#27558) (Yuji Sugiura)
|
||||
- 1d3ef10 formatter_core: Keep the embedded IR when nothing in it is rewritten (#27673) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- d0dd140 formatter: Note lossy cooked round-trip in template embeds (#27944) (leaysgur)
|
||||
- 8a3a6c8 oxfmt: Update stale notes on the JSDoc string-out channel and fixture origins (#27824) (leaysgur)
|
||||
|
||||
## [0.73.0] - 2026-10-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter"
|
||||
version = "0.73.0"
|
||||
version = "0.74.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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 529b057 formatter_core: Keep front matter verbatim when body starts with indented delimiter (#27946) (leaysgur)
|
||||
- a64677e formatter: Print JSDoc embedded snippets with LF (#27821) (leaysgur)
|
||||
- 5b2acb0 formatter_core: Report error position releative to CRLF source (#27777) (leaysgur)
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
- d2bea21 formatter: Glue comments to an opener in empty for-head slots and array holes (#27737) (leaysgur)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e5fdc9c formatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur)
|
||||
- 1c393c0 formatter_core: Skip scanning texts with nothing to rewrite (#27561) (leaysgur)
|
||||
- 1d3ef10 formatter_core: Keep the embedded IR when nothing in it is rewritten (#27673) (leaysgur)
|
||||
|
||||
## [0.73.0] - 2026-10-13
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_core"
|
||||
version = "0.73.0"
|
||||
version = "0.74.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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 81c75e7 formatter/css: Keep glued css-in-js statement placeholders glued (#27814) (leaysgur)
|
||||
- 5b2acb0 formatter_core: Report error position releative to CRLF source (#27777) (leaysgur)
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e5fdc9c formatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur)
|
||||
|
||||
## [0.73.0] - 2026-10-13
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_css"
|
||||
version = "0.73.0"
|
||||
version = "0.74.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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e5fdc9c formatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur)
|
||||
|
||||
## [0.69.0] - 2026-09-21
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_graphql"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,20 @@ 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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 8b02e90 formatter_json: Reject invalid JSON instead of dropping them (#27785) (leaysgur)
|
||||
- 6fe4c1b formatter: Treat lone CR in JSX text and argument blank lines (#27780) (leaysgur)
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
- 99077ef formatter_json: Reject unary expressions other than signed numbers (#27728) (leaysgur)
|
||||
- 22cd4cd formatter_json: Handle holey array and comments (#27727) (leaysgur)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e5fdc9c formatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur)
|
||||
|
||||
## [0.72.0] - 2026-10-05
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_json"
|
||||
version = "0.73.0"
|
||||
version = "0.74.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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- e236de0 formatter_tests: Skip conformance spec calls with non-literal options (#27957) (leaysgur)
|
||||
- 2645d2c formatter_markdown: Treat link destinations and footnote references as opaque to code span fences (#27948) (leaysgur)
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e5fdc9c formatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur)
|
||||
- 1d3ef10 formatter_core: Keep the embedded IR when nothing in it is rewritten (#27673) (leaysgur)
|
||||
|
||||
## [0.73.0] - 2026-10-13
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_markdown"
|
||||
version = "0.73.0"
|
||||
version = "0.74.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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
- 3a980c9 formatter_toml: Handle BOM like other languages (#27775) (leaysgur)
|
||||
|
||||
## [0.73.0] - 2026-10-13
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_toml"
|
||||
version = "0.73.0"
|
||||
version = "0.74.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.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 4d8195c formatter_yaml: Keep a root plain scalar starting with a document marker verbatim (#27947) (leaysgur)
|
||||
- 52ee29d formatter_yaml: Never start col-0 line with document marker or BOM (#27818) (leaysgur)
|
||||
- 5b2acb0 formatter_core: Report error position releative to CRLF source (#27777) (leaysgur)
|
||||
- c78e80e formatter_core: Report parse error positions relative to the BOM-headed source (#27776) (leaysgur)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e5fdc9c formatter_core: Write into one element stack through a concrete `Formatter` (#27559) (leaysgur)
|
||||
|
||||
## [0.69.0] - 2026-09-21
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_yaml"
|
||||
version = "0.73.0"
|
||||
version = "0.74.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,73 @@ 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).
|
||||
|
||||
## [1.89.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)
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 770ada4 linter: Mark vue 3 rules as recommended (#27717) (Cam McHenry)
|
||||
- ba38c1d linter: Mark react/react-hooks rules as recommended (#27701) (Cam McHenry)
|
||||
- d85a3ba linter: Mark promise rules as recommended (#27693) (Cam McHenry)
|
||||
- e71c88a linter: Mark node rule as recommended (#27692) (Cam McHenry)
|
||||
- 7213f61 linter: Mark nextjs rules as recommended (#27691) (Cam McHenry)
|
||||
- d7c6b26 linter: Mark jsx-a11y rules as recommended (#27690) (Cam McHenry)
|
||||
- 199dfdc linter: Mark jsdoc rules as recommended (#27689) (Cam McHenry)
|
||||
- 780bff3 linter: Mark jest/vitest rules as recommended (#27672) (Cam McHenry)
|
||||
- 6ae6859 linter: Mark import rules as recommended (#27671) (Cam McHenry)
|
||||
- b7a1df3 linter: Mark unicorn rules as recommended (#27670) (Cam McHenry)
|
||||
- c44a355 linter: Mark typescript rules as recommended from upstream (#27634) (Cam McHenry)
|
||||
- 6b49dba linter: Mark eslint rules as recommended from upstream (#27632) (Cam McHenry)
|
||||
|
||||
### 🐛 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)
|
||||
- 326904f linter/unicorn/no-useless-undefined: Allow `undefined` in `React.useRef` (#25027) (Chris Dokurno)
|
||||
- f9cf165 linter/unicorn/prefer-spread: Ignore super method calls (#27868) (camc314)
|
||||
- 00484e1 linter/eslint/prefer-const: Report destructuring assignments inside blocks (#27856) (camc314)
|
||||
- 9c35461 linter/eslint/sort-vars: Report every out-of-order declaration (#27767) (camc314)
|
||||
- 01e1c5e linter/unicorn/prefer-string-replace-all: Resolve regex variables (#27769) (camc314)
|
||||
- 7f474d5 linter/eslint/no-loop-func: Detect writes after the loop (#27754) (camc314)
|
||||
- 4b7fea6 linter/eslint/block-scoped-var: Ignore declarations without writes (#27760) (camc314)
|
||||
- 2947917 linter/eslint/no-lonely-if: Check final else blocks in else-if chains (#27759) (camc314)
|
||||
- fc039b5 linter/eslint/sort-imports: Check imports after other statements (#27749) (camc314)
|
||||
- 1acba97 linter/unicorn/prefer-at: Report slice index reads once (#27762) (camc314)
|
||||
- 6190e26 linter/eslint/prefer-arrow-callback: Ignore functions used as conditional tests (#27533) (Anzal Husain Abidi)
|
||||
- b3cdaaf linter/eslint/sort-keys: Check computed identifier names (#27748) (camc314)
|
||||
- 170e608 linter/unicorn/prefer-native-coercion-functions: Check object methods and function properties (#27750) (camc314)
|
||||
- 9261df7 linter/unicorn/prefer-string-raw: Check object property values (#27758) (camc314)
|
||||
- ddea86b linter/eslint/prefer-template: Report separate nested concatenations (#27764) (camc314)
|
||||
- 2c67197 linter/eslint/no-unused-vars: Count conditional calls in sequences as uses (#27755) (camc314)
|
||||
- 7f22fa0 linter/unicorn/prefer-regexp-test: Check logical operands in boolean contexts (#27761) (camc314)
|
||||
- 3c44398 linter/eslint/class-methods-use-this: Count this in parameter defaults (#27756) (camc314)
|
||||
- d85923f linter/eslint/no-param-reassign: Report rest parameter writes (#27765) (camc314)
|
||||
- 8ea47bb linter/unicorn/prefer-type-error: Handle parenthesized type checks (#27766) (camc314)
|
||||
- e96856c linter/unicorn/catch-error-name: Check unused underscore-prefixed names (#27751) (camc314)
|
||||
- d8ca399 linter/unicorn/no-array-callback-reference: Ignore callback factory calls (#27763) (camc314)
|
||||
- 1267ab8 linter/eslint/max-params: Count rest parameters (#27757) (camc314)
|
||||
- 9ff25c3 linter/eslint/no-useless-assignment: Report dead stores to function parameters (#27735) (camc314)
|
||||
- ee5e730 linter/eslint/no-setter-return: Check setters in property descriptors (#27731) (camc314)
|
||||
- edbb5ed linter/eslint/id-length: Check destructuring assignment targets (#27724) (Yunus Ozen)
|
||||
- 0e40acb linter/eslint/no-magic-numbers: Restrict unary exemptions to numeric signs (#27723) (Yunus Ozen)
|
||||
- ae7e44b linter/eslint/no-div-regex: Report quantified leading equals (#27722) (Yunus Ozen)
|
||||
- eb461f8 linter/unicorn/consistent-function-scoping: Count self-referencing variables as captures (#27726) (camc314)
|
||||
- 5c8e731 linter/unicorn/catch-error-name: Avoid fix symbol name collisions (#27702) (camc314)
|
||||
- 9a424c2 oxlint,oxfmt: Correct Node.js TypeScript support range (#27699) (camc314)
|
||||
- 5dc0152 linter/eslint/no-var: Avoid fixes for redeclared bindings (#27697) (camc314)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 4944cba linter/react/jsx-key: Avoid redundant key clones (#27915) (camc314)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 0aa41ac linter: Fix invalid code example in rule docs (#27645) (leaysgur)
|
||||
|
||||
## [1.88.0] - 2026-10-13
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_linter"
|
||||
version = "1.88.0"
|
||||
version = "1.89.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxfmt",
|
||||
"version": "0.73.0",
|
||||
"version": "0.74.0",
|
||||
"description": "Formatter for the JavaScript Oxidation Compiler",
|
||||
"keywords": [
|
||||
"formatter",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxlint-plugin-eslint",
|
||||
"version": "1.88.0",
|
||||
"version": "1.89.0",
|
||||
"description": "ESLint's built-in rules as an Oxlint plugin",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oxlint/plugins",
|
||||
"version": "1.88.0",
|
||||
"version": "1.89.0",
|
||||
"description": "Plugin utilities for Oxlint",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
|
||||
@@ -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).
|
||||
|
||||
## [1.89.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- 9a424c2 oxlint,oxfmt: Correct Node.js TypeScript support range (#27699) (camc314)
|
||||
|
||||
## [1.88.0] - 2026-10-13
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxlint",
|
||||
"version": "1.88.0",
|
||||
"version": "1.89.0",
|
||||
"description": "Linter for the JavaScript Oxidation Compiler",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
|
||||
Reference in new issue
Block a user