mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
release(apps): oxlint v1.91.0 && oxfmt v0.76.0 (#28718)
# Oxlint ### 🚀 Features -004647atrack_memory_allocs: Add allocation tracking for linter rules (#28470) (Cam McHenry) -419c1b0linter: Add allow and allowPattern options to react/capitalized-calls (Christian Vuerings) ### 🐛 Bug Fixes -a205cd3linter/eslint/no-control-regex: Detect raw control characters (#28548) (camc314) -7c65777linter/unicorn/prefer-global-this: Align typeof and worker API handling (#28549) (camc314) -987d5f1linter/unicorn/no-invalid-fetch-options: Avoid treating unknown methods as GET (#28547) (camc314) -e234dc8linter/unicorn/no-useless-error-capture-stack-trace: Move to suspicious category (#28545) (camc314) -b3dc411linter/typescript/no-non-null-asserted-nullish-coalescing: Move to suspicious category (#28546) (camc314) -cb64638regular_expression: Reject incomplete Unicode atom escapes (#28448) (Boshen) -c67167elinter: Only run React Compiler rules on files with top-level components or hooks (Boshen) -4c9d5aalinter: Treat Reanimated shared values as ref-like in React Compiler rules (Boshen) -61fe2aflinter/react: Ignore impure calls in async components in react/purity (Rahul Kashyap) -ed7df7dast/estree: Include comments in TS Program span (#28326) (camc314) -31cbe37linter: Make gitlab fingerprints unique per diagnostic (#28307) (camc314) ### ⚡ Performance -bb947dclinter: Skip numeric separator formatting for short integers (#28485) (Cam McHenry) -1043dfalinter: Avoid collecting prefer-const binding identifiers (#28484) (Cam McHenry) -7c93eeflinter: Reduce branches-sharing-code scratch allocations (#28483) (Cam McHenry) -c0065fdlinter: Allocate escape-case replacements only when needed (#28482) (Cam McHenry) -d837414linter: Lazily normalize capitalized-comments text (#28481) (Cam McHenry) -6baaad6linter: Avoid no-var binding identifier allocations (#28480) (Cam McHenry) -882053blinter: Skip read-only parameters in no-param-reassign (#28479) (Cam McHenry) -92deebflinter: Reduce no-unmodified-loop-condition allocations (#28478) (Cam McHenry) -f01d52dlinter: Reduce no-duplicate-case allocations (#28477) (Cam McHenry) -6a72d84linter: Reduce no-dupe-class-members allocations (#28476) (Cam McHenry) -77599eflinter: Reduce no-this-before-super allocations (#28475) (Cam McHenry) -2ea9f58linter/no-dupe-else-if: Use smallvec to reduce allocs (#28474) (Cam McHenry) -69f0204linter/react/rules-of-hooks: Reduce allocs (#28473) (Cam McHenry) -b138c20linter: Reduce allocs in no-dupe-keys (#28472) (Cam McHenry) -6f3e982linter: Avoid operator allocations in no-useless-length-check (#28471) (Cam McHenry) -fd68928react-compiler: Skip passes lint does not need (Yagiz Nizipli) -224f4ddlinter/eslint/sort-keys: Reserve initial capacity for string (#27624) (Cam McHenry) -e4e01a3linter/import/no-cycle: Compare visited modules by absolute resolved path (#27517) (Cam McHenry) -741b29blinter/import/no-cycle: Cache sorted module record snapshots (#27516) (Cam McHenry) -20022bblinter/import/no-cycle: Reuse traversal buffers between imports (#27481) (Cam McHenry) -fd5edb7linter/import/no-cycle: Reuse module records in diagnostic stack (#27480) (Cam McHenry) -73e877clinter/import/no-cycle: Don't allocate paths already seen (#27478) (Cam McHenry) -1515d53linter/react/forward-ref-uses-ref: Narrow forward-ref-uses-ref dispatch (#28367) (Cam McHenry) -ee51c01linter/react/no-string-refs: Narrow AST dispatch (#28366) (Cam McHenry) - bbfd692 linter/react/no-children-pop: Narrow AST dispatch (#28365) (Cam McHenry) -a86158blinter/unicorn/prefer-set-size: Narrow AST dispatch (#28364) (Cam McHenry) -a777fa6linter/eslint/no-iterator: Narrow member dispatch (#28363) (Cam McHenry) -bc5e94dlinter/eslint/no-extra-boolean-cast: Narrow AST dispatch (#28362) (Cam McHenry) -93c6e6dlinter/unicorn/no-useless-fallback-in-spread: Narrow AST dispatch (#28361) (Cam McHenry) -1a1f66elinter/typescript/no-this-alias: Narrow AST dispatch (#28360) (Cam McHenry) -b102a91linter/typescript/no-wrapper-object-types: Index references (#28359) (Cam McHenry) -dbd8a0blinter/eslint/no-unassigned-vars: Batch by declaration (#28358) (Cam McHenry) -1108352linter/typescript/prefer-as-const: Narrow AST dispatch (#28357) (Cam McHenry) -d65531flinter/eslint/no-const-assign: Batch by declaration (#28356) (Cam McHenry) -1ec9991linter/oxc/number-arg-out-of-range: Narrow AST dispatch (#28355) (Cam McHenry) -7a1243elinter/unicorn/no-invalid-fetch-options: Narrow AST dispatch (#28354) (Cam McHenry) -2ab73cclinter/unicorn/no-single-promise-in-promise-methods: Narrow AST dispatch (#28353) (Cam McHenry) -483c4c9linter/eslint/no-compare-neg-zero: Narrow no-compare-neg-zero dispatch (#28352) (Cam McHenry) -56c99c6linter/eslint/no-unsafe-negation: Narrow AST dispatch (#28351) (Cam McHenry) -84d974blinter/unicorn/prefer-string-starts-ends-with: Narrow AST dispatch (#28350) (Cam McHenry) -142ef4funicorn: Narrow no-await-in-promise-methods dispatch (#28349) (Cam McHenry) -a3dc7a2linter/unicorn/no-await-expression-member: Optimize AST dispatch (#28348) (Cam McHenry) -481b638linter/plugins: Create AST nodes with `Object.create` instead of `__proto__` literals (#27816) (Charles Wang) # Oxfmt ### 💥 BREAKING CHANGES -296623doxfmt: [**BREAKING**] Format `parser:html` files by `oxc_formatter_htmlish` (#28273) (Yuji Sugiura) ### 🚀 Features -336b2c1oxfmt: Support html-in-js templates closing a dynamic tag name (#28389) (Yuji Sugiura) -0a42af6formatter_htmlish: Format end tags of omitted `html`, `head` and `body` (#28388) (Yuji Sugiura) -44d8c2bformatter_htmlish: Implement HTML-ish formatter `Html` variant (#28272) (Yuji Sugiura) -36e5ddboxfmt: Add debug span for reading files (#28204) (leaysgur) ### 🐛 Bug Fixes -dbcc358formatter: Keep arrow conditional body parens before a leading `function`/`class` (#28710) (Yuji Sugiura) -fef809aformatter_htmlish: Handle XHTML (#28703) (leaysgur) -f3dd201formatter_htmlish: Keep SVG text under `xml:space="preserve"` as written (#28382) (Yuji Sugiura) -fb3aefaformatter: Keep source parens around html-in-js placeholders past comments (#28381) (Yuji Sugiura) -e738daeformatter: Quote keys added in an HTML event handler with single quotes (#28380) (Yuji Sugiura) -2e7a629oxfmt: Format HTML in a `<script>` body as an embedded part (#28379) (Yuji Sugiura) -f00862bformatter: Keep parens around a generic function type in a type assertion (#28173) (vidigoat) -9ead5c4formatter: Handle `this.b` and `super.b` like `foo.b` (#28200) (leaysgur) -72a54cfformatter: Break parens of `(a + b)[c]` like `(a + b).c` (#28199) (leaysgur) -b8f4f34formatter: Print `x.b` and `x.#b` samely (#28193) (leaysgur) -9ddccb7formatter: Keep parens for private field (#28188) (leaysgur) ### ⚡ Performance -b6f1ac9formatter_markdown: Bump parser to 0.0.4 and skip unread work (#28713) (leaysgur) -633ee96formatter_css: Use `u32` spans (#28708) (leaysgur) -f680ee1formatter_yaml: Use `multiline` flag for flow scalars (#28707) (leaysgur) -ff7c203formatter_css: Avoid repeated scans and allocations in values (#28706) (leaysgur) -7cd46cbformatter_htmlish: Search script end tags by `<` in embedded (#28704) (leaysgur) -46f8efdformatter_graphql: Print block string lines borrowed from the source (#28701) (leaysgur) -dce1485formatter_htmlish: Skip escaping attr values without the chosen quote (#28700) (leaysgur) -e9392c8formatter_core: Search line terminators with memchr (#28699) (leaysgur) -ceb26beformatter_htmlish: Use `char` to escape attr quotes (#28697) (leaysgur) -8239dacparser: Replace dragonbox_ecma with zmij_ecma (#28282) (Boshen) ### 📚 Documentation -303d9e8formatter: Strengthen `start-token-no-double-parens` rationale (#28711) (Yuji Sugiura) -a82ce83oxfmt: Update unclassified divergence (#28685) (Yuji Sugiura) -7f18c20formatter_htmlish: Note `class` and `srcset` are formatted with `embeddedLanguageFormatting: off` (#28465) (Yuji Sugiura) -01ed68aoxfmt,formatter_htmlish,formatter: Clean up behavior comments (#28384) (Yuji Sugiura) -a363c27formatter_css,formatter_yaml: Point parser citations at AGENTS.md (#28466) (Yuji Sugiura) -6586050formatter_core: Document tab width in text width policy (#28393) (leaysgur) -49fbffbformatter_core: Tighten FORMATTER_POLICY (#28206) (leaysgur)
This commit is contained in:
1 parent
f799f174b5
commit
f3fcdcc61b
33 files changed
+369
-138
No files matched your search
Generated
+12
-12
@@ -2049,7 +2049,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"fast-glob",
|
||||
@@ -2084,7 +2084,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_core"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"memchr",
|
||||
@@ -2097,7 +2097,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_css"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2114,7 +2114,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_graphql"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2131,7 +2131,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_htmlish"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2148,7 +2148,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_json"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"insta",
|
||||
"oxc_allocator",
|
||||
@@ -2167,7 +2167,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_markdown"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2191,7 +2191,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_toml"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"oxc-toml",
|
||||
"oxc_allocator",
|
||||
@@ -2202,7 +2202,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_formatter_yaml"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"cow-utils",
|
||||
"insta",
|
||||
@@ -2296,7 +2296,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxc_linter"
|
||||
version = "1.90.0"
|
||||
version = "1.91.0"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"constcat",
|
||||
@@ -2909,7 +2909,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxfmt"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
dependencies = [
|
||||
"bpaf",
|
||||
"cow-utils",
|
||||
@@ -2953,7 +2953,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "oxlint"
|
||||
version = "1.90.0"
|
||||
version = "1.91.0"
|
||||
dependencies = [
|
||||
"bpaf",
|
||||
"cow-utils",
|
||||
|
||||
@@ -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.76.0] - 2026-11-02
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- 296623d oxfmt: [**BREAKING**] Format `parser:html` files by `oxc_formatter_htmlish` (#28273) (Yuji Sugiura)
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 336b2c1 oxfmt: Support html-in-js templates closing a dynamic tag name (#28389) (Yuji Sugiura)
|
||||
- 36e5ddb oxfmt: Add debug span for reading files (#28204) (leaysgur)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- fef809a formatter_htmlish: Handle XHTML (#28703) (leaysgur)
|
||||
- fb3aefa formatter: Keep source parens around html-in-js placeholders past comments (#28381) (Yuji Sugiura)
|
||||
- e738dae formatter: Quote keys added in an HTML event handler with single quotes (#28380) (Yuji Sugiura)
|
||||
- 2e7a629 oxfmt: Format HTML in a `<script>` body as an embedded part (#28379) (Yuji Sugiura)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- a82ce83 oxfmt: Update unclassified divergence (#28685) (Yuji Sugiura)
|
||||
- 01ed68a oxfmt,formatter_htmlish,formatter: Clean up behavior comments (#28384) (Yuji Sugiura)
|
||||
|
||||
## [0.75.0] - 2026-10-27
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxfmt"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxfmt-app",
|
||||
"version": "0.75.0",
|
||||
"version": "0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
|
||||
throw new Error(`Native binding package version mismatch, expected 0.76.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.75.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.75.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '0.76.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 0.76.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxfmt/binding-wasm32-wasi')
|
||||
|
||||
@@ -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).
|
||||
|
||||
## [1.91.0] - 2026-11-02
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 419c1b0 linter: Add allow and allowPattern options to react/capitalized-calls (Christian Vuerings)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- c67167e linter: Only run React Compiler rules on files with top-level components or hooks (Boshen)
|
||||
- 4c9d5aa linter: Treat Reanimated shared values as ref-like in React Compiler rules (Boshen)
|
||||
- ed7df7d ast/estree: Include comments in TS Program span (#28326) (camc314)
|
||||
- 31cbe37 linter: Make gitlab fingerprints unique per diagnostic (#28307) (camc314)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- fd68928 react-compiler: Skip passes lint does not need (Yagiz Nizipli)
|
||||
- 481b638 linter/plugins: Create AST nodes with `Object.create` instead of `__proto__` literals (#27816) (Charles Wang)
|
||||
|
||||
## [1.90.0] - 2026-10-27
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxlint"
|
||||
version = "1.90.0"
|
||||
version = "1.91.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxlint-app",
|
||||
"version": "1.90.0",
|
||||
"version": "1.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0' && 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.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0' && 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.91.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.90.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 1.90.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
if (bindingPackageVersion !== '1.91.0') {
|
||||
throw new Error(`WASI binding package version mismatch, expected 1.91.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
|
||||
}
|
||||
}
|
||||
wasiBinding = require('@oxlint/binding-wasm32-wasi')
|
||||
|
||||
@@ -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.76.0] - 2026-11-02
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- 296623d oxfmt: [**BREAKING**] Format `parser:html` files by `oxc_formatter_htmlish` (#28273) (Yuji Sugiura)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- dbcc358 formatter: Keep arrow conditional body parens before a leading `function`/`class` (#28710) (Yuji Sugiura)
|
||||
- fb3aefa formatter: Keep source parens around html-in-js placeholders past comments (#28381) (Yuji Sugiura)
|
||||
- e738dae formatter: Quote keys added in an HTML event handler with single quotes (#28380) (Yuji Sugiura)
|
||||
- f00862b formatter: Keep parens around a generic function type in a type assertion (#28173) (vidigoat)
|
||||
- 9ead5c4 formatter: Handle `this.b` and `super.b` like `foo.b` (#28200) (leaysgur)
|
||||
- 72a54cf formatter: Break parens of `(a + b)[c]` like `(a + b).c` (#28199) (leaysgur)
|
||||
- b8f4f34 formatter: Print `x.b` and `x.#b` samely (#28193) (leaysgur)
|
||||
- 9ddccb7 formatter: Keep parens for private field (#28188) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 303d9e8 formatter: Strengthen `start-token-no-double-parens` rationale (#28711) (Yuji Sugiura)
|
||||
- a82ce83 oxfmt: Update unclassified divergence (#28685) (Yuji Sugiura)
|
||||
- 01ed68a oxfmt,formatter_htmlish,formatter: Clean up behavior comments (#28384) (Yuji Sugiura)
|
||||
|
||||
## [0.75.0] - 2026-10-27
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,21 @@ All notable changes to this package will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
|
||||
|
||||
## [0.76.0] - 2026-11-02
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- 296623d oxfmt: [**BREAKING**] Format `parser:html` files by `oxc_formatter_htmlish` (#28273) (Yuji Sugiura)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- e9392c8 formatter_core: Search line terminators with memchr (#28699) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 6586050 formatter_core: Document tab width in text width policy (#28393) (leaysgur)
|
||||
- 49fbffb formatter_core: Tighten FORMATTER_POLICY (#28206) (leaysgur)
|
||||
|
||||
## [0.75.0] - 2026-10-27
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_core"
|
||||
version = "0.75.0"
|
||||
version = "0.76.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.76.0] - 2026-11-02
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- 296623d oxfmt: [**BREAKING**] Format `parser:html` files by `oxc_formatter_htmlish` (#28273) (Yuji Sugiura)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 633ee96 formatter_css: Use `u32` spans (#28708) (leaysgur)
|
||||
- ff7c203 formatter_css: Avoid repeated scans and allocations in values (#28706) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 01ed68a oxfmt,formatter_htmlish,formatter: Clean up behavior comments (#28384) (Yuji Sugiura)
|
||||
- a363c27 formatter_css,formatter_yaml: Point parser citations at AGENTS.md (#28466) (Yuji Sugiura)
|
||||
|
||||
## [0.75.0] - 2026-10-27
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_css"
|
||||
version = "0.75.0"
|
||||
version = "0.76.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.76.0] - 2026-11-02
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 46f8efd formatter_graphql: Print block string lines borrowed from the source (#28701) (leaysgur)
|
||||
|
||||
## [0.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_graphql"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# Changelog
|
||||
|
||||
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.76.0] - 2026-11-02
|
||||
|
||||
### 💥 BREAKING CHANGES
|
||||
|
||||
- 296623d oxfmt: [**BREAKING**] Format `parser:html` files by `oxc_formatter_htmlish` (#28273) (Yuji Sugiura)
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 336b2c1 oxfmt: Support html-in-js templates closing a dynamic tag name (#28389) (Yuji Sugiura)
|
||||
- 0a42af6 formatter_htmlish: Format end tags of omitted `html`, `head` and `body` (#28388) (Yuji Sugiura)
|
||||
- 44d8c2b formatter_htmlish: Implement HTML-ish formatter `Html` variant (#28272) (Yuji Sugiura)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- fef809a formatter_htmlish: Handle XHTML (#28703) (leaysgur)
|
||||
- f3dd201 formatter_htmlish: Keep SVG text under `xml:space="preserve"` as written (#28382) (Yuji Sugiura)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 7cd46cb formatter_htmlish: Search script end tags by `<` in embedded (#28704) (leaysgur)
|
||||
- dce1485 formatter_htmlish: Skip escaping attr values without the chosen quote (#28700) (leaysgur)
|
||||
- ceb26be formatter_htmlish: Use `char` to escape attr quotes (#28697) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 7f18c20 formatter_htmlish: Note `class` and `srcset` are formatted with `embeddedLanguageFormatting: off` (#28465) (Yuji Sugiura)
|
||||
- 01ed68a oxfmt,formatter_htmlish,formatter: Clean up behavior comments (#28384) (Yuji Sugiura)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_htmlish"
|
||||
version = "0.75.0"
|
||||
version = "0.76.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.76.0] - 2026-11-02
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- 8239dac parser: Replace dragonbox_ecma with zmij_ecma (#28282) (Boshen)
|
||||
|
||||
## [0.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_json"
|
||||
version = "0.75.0"
|
||||
version = "0.76.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.76.0] - 2026-11-02
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- b6f1ac9 formatter_markdown: Bump parser to 0.0.4 and skip unread work (#28713) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- 49fbffb formatter_core: Tighten FORMATTER_POLICY (#28206) (leaysgur)
|
||||
|
||||
## [0.75.0] - 2026-10-27
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_markdown"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_toml"
|
||||
version = "0.75.0"
|
||||
version = "0.76.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.76.0] - 2026-11-02
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- f680ee1 formatter_yaml: Use `multiline` flag for flow scalars (#28707) (leaysgur)
|
||||
|
||||
### 📚 Documentation
|
||||
|
||||
- a363c27 formatter_css,formatter_yaml: Point parser citations at AGENTS.md (#28466) (Yuji Sugiura)
|
||||
|
||||
## [0.74.0] - 2026-10-19
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_formatter_yaml"
|
||||
version = "0.75.0"
|
||||
version = "0.76.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -4,6 +4,70 @@ 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.91.0] - 2026-11-02
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 004647a track_memory_allocs: Add allocation tracking for linter rules (#28470) (Cam McHenry)
|
||||
- 419c1b0 linter: Add allow and allowPattern options to react/capitalized-calls (Christian Vuerings)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
- a205cd3 linter/eslint/no-control-regex: Detect raw control characters (#28548) (camc314)
|
||||
- 7c65777 linter/unicorn/prefer-global-this: Align typeof and worker API handling (#28549) (camc314)
|
||||
- 987d5f1 linter/unicorn/no-invalid-fetch-options: Avoid treating unknown methods as GET (#28547) (camc314)
|
||||
- e234dc8 linter/unicorn/no-useless-error-capture-stack-trace: Move to suspicious category (#28545) (camc314)
|
||||
- b3dc411 linter/typescript/no-non-null-asserted-nullish-coalescing: Move to suspicious category (#28546) (camc314)
|
||||
- cb64638 regular_expression: Reject incomplete Unicode atom escapes (#28448) (Boshen)
|
||||
- c67167e linter: Only run React Compiler rules on files with top-level components or hooks (Boshen)
|
||||
- 4c9d5aa linter: Treat Reanimated shared values as ref-like in React Compiler rules (Boshen)
|
||||
- 61fe2af linter/react: Ignore impure calls in async components in react/purity (Rahul Kashyap)
|
||||
|
||||
### ⚡ Performance
|
||||
|
||||
- bb947dc linter: Skip numeric separator formatting for short integers (#28485) (Cam McHenry)
|
||||
- 1043dfa linter: Avoid collecting prefer-const binding identifiers (#28484) (Cam McHenry)
|
||||
- 7c93eef linter: Reduce branches-sharing-code scratch allocations (#28483) (Cam McHenry)
|
||||
- c0065fd linter: Allocate escape-case replacements only when needed (#28482) (Cam McHenry)
|
||||
- d837414 linter: Lazily normalize capitalized-comments text (#28481) (Cam McHenry)
|
||||
- 6baaad6 linter: Avoid no-var binding identifier allocations (#28480) (Cam McHenry)
|
||||
- 882053b linter: Skip read-only parameters in no-param-reassign (#28479) (Cam McHenry)
|
||||
- 92deebf linter: Reduce no-unmodified-loop-condition allocations (#28478) (Cam McHenry)
|
||||
- f01d52d linter: Reduce no-duplicate-case allocations (#28477) (Cam McHenry)
|
||||
- 6a72d84 linter: Reduce no-dupe-class-members allocations (#28476) (Cam McHenry)
|
||||
- 77599ef linter: Reduce no-this-before-super allocations (#28475) (Cam McHenry)
|
||||
- 2ea9f58 linter/no-dupe-else-if: Use smallvec to reduce allocs (#28474) (Cam McHenry)
|
||||
- 69f0204 linter/react/rules-of-hooks: Reduce allocs (#28473) (Cam McHenry)
|
||||
- b138c20 linter: Reduce allocs in no-dupe-keys (#28472) (Cam McHenry)
|
||||
- 6f3e982 linter: Avoid operator allocations in no-useless-length-check (#28471) (Cam McHenry)
|
||||
- fd68928 react-compiler: Skip passes lint does not need (Yagiz Nizipli)
|
||||
- 224f4dd linter/eslint/sort-keys: Reserve initial capacity for string (#27624) (Cam McHenry)
|
||||
- e4e01a3 linter/import/no-cycle: Compare visited modules by absolute resolved path (#27517) (Cam McHenry)
|
||||
- 741b29b linter/import/no-cycle: Cache sorted module record snapshots (#27516) (Cam McHenry)
|
||||
- 20022bb linter/import/no-cycle: Reuse traversal buffers between imports (#27481) (Cam McHenry)
|
||||
- fd5edb7 linter/import/no-cycle: Reuse module records in diagnostic stack (#27480) (Cam McHenry)
|
||||
- 73e877c linter/import/no-cycle: Don't allocate paths already seen (#27478) (Cam McHenry)
|
||||
- 1515d53 linter/react/forward-ref-uses-ref: Narrow forward-ref-uses-ref dispatch (#28367) (Cam McHenry)
|
||||
- ee51c01 linter/react/no-string-refs: Narrow AST dispatch (#28366) (Cam McHenry)
|
||||
- bbfd692 linter/react/no-children-pop: Narrow AST dispatch (#28365) (Cam McHenry)
|
||||
- a86158b linter/unicorn/prefer-set-size: Narrow AST dispatch (#28364) (Cam McHenry)
|
||||
- a777fa6 linter/eslint/no-iterator: Narrow member dispatch (#28363) (Cam McHenry)
|
||||
- bc5e94d linter/eslint/no-extra-boolean-cast: Narrow AST dispatch (#28362) (Cam McHenry)
|
||||
- 93c6e6d linter/unicorn/no-useless-fallback-in-spread: Narrow AST dispatch (#28361) (Cam McHenry)
|
||||
- 1a1f66e linter/typescript/no-this-alias: Narrow AST dispatch (#28360) (Cam McHenry)
|
||||
- b102a91 linter/typescript/no-wrapper-object-types: Index references (#28359) (Cam McHenry)
|
||||
- dbd8a0b linter/eslint/no-unassigned-vars: Batch by declaration (#28358) (Cam McHenry)
|
||||
- 1108352 linter/typescript/prefer-as-const: Narrow AST dispatch (#28357) (Cam McHenry)
|
||||
- d65531f linter/eslint/no-const-assign: Batch by declaration (#28356) (Cam McHenry)
|
||||
- 1ec9991 linter/oxc/number-arg-out-of-range: Narrow AST dispatch (#28355) (Cam McHenry)
|
||||
- 7a1243e linter/unicorn/no-invalid-fetch-options: Narrow AST dispatch (#28354) (Cam McHenry)
|
||||
- 2ab73cc linter/unicorn/no-single-promise-in-promise-methods: Narrow AST dispatch (#28353) (Cam McHenry)
|
||||
- 483c4c9 linter/eslint/no-compare-neg-zero: Narrow no-compare-neg-zero dispatch (#28352) (Cam McHenry)
|
||||
- 56c99c6 linter/eslint/no-unsafe-negation: Narrow AST dispatch (#28351) (Cam McHenry)
|
||||
- 84d974b linter/unicorn/prefer-string-starts-ends-with: Narrow AST dispatch (#28350) (Cam McHenry)
|
||||
- 142ef4f unicorn: Narrow no-await-in-promise-methods dispatch (#28349) (Cam McHenry)
|
||||
- a3dc7a2 linter/unicorn/no-await-expression-member: Optimize AST dispatch (#28348) (Cam McHenry)
|
||||
|
||||
## [1.90.0] - 2026-10-27
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "oxc_linter"
|
||||
version = "1.90.0"
|
||||
version = "1.91.0"
|
||||
authors.workspace = true
|
||||
categories.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxfmt",
|
||||
"version": "0.75.0",
|
||||
"version": "0.76.0",
|
||||
"description": "Formatter for the JavaScript Oxidation Compiler",
|
||||
"keywords": [
|
||||
"formatter",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxlint-plugin-eslint",
|
||||
"version": "1.90.0",
|
||||
"version": "1.91.0",
|
||||
"description": "ESLint's built-in rules as an Oxlint plugin",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@oxlint/plugins",
|
||||
"version": "1.90.0",
|
||||
"version": "1.91.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.91.0] - 2026-11-02
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
- 419c1b0 linter: Add allow and allowPattern options to react/capitalized-calls (Christian Vuerings)
|
||||
|
||||
## [1.90.0] - 2026-10-27
|
||||
|
||||
### 🚀 Features
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oxlint",
|
||||
"version": "1.90.0",
|
||||
"version": "1.91.0",
|
||||
"description": "Linter for the JavaScript Oxidation Compiler",
|
||||
"keywords": [
|
||||
"eslint",
|
||||
|
||||
Reference in new issue
Block a user