Skip to content

Commit b83d207

Browse files
chore(deps): update oxc (#338)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | Type | Update | |---|---|---|---|---|---|---|---| | [@oxc-project/runtime](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/runtime)) | [`^0.96.0` -> `^0.97.0`](https://renovatebot.com/diffs/npm/@oxc-project%2fruntime/0.96.0/0.97.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@oxc-project%2fruntime/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@oxc-project%2fruntime/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@oxc-project%2fruntime/0.96.0/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@oxc-project%2fruntime/0.96.0/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | | [oxc](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc)) | `0.96.0` -> `0.97.0` | [![age](https://developer.mend.io/api/mc/badges/age/crate/oxc/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/crate/oxc/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/crate/oxc/0.96.0/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/crate/oxc/0.96.0/0.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | dependencies | minor | | [oxlint](https://oxc.rs) ([source](https://redirect.github.com/oxc-project/oxc/tree/HEAD/npm/oxlint)) | [`1.26.0` -> `1.28.0`](https://renovatebot.com/diffs/npm/oxlint/1.26.0/1.28.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/oxlint/1.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/oxlint/1.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/oxlint/1.26.0/1.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/oxlint/1.26.0/1.28.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | devDependencies | minor | --- ### Release Notes <details> <summary>oxc-project/oxc (oxlint)</summary> ### [`v1.28.0`](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.27.0...oxlint_v1.28.0) [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.27.0...oxlint_v1.28.0) ### [`v1.27.0`](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v1.27.0): oxlint v1.27.0 &amp;&amp; oxfmt v0.12.0 [Compare Source](https://redirect.github.com/oxc-project/oxc/compare/oxlint_v1.26.0...oxlint_v1.27.0) ### Oxlint v1.27.0 ##### 🚀 Features - [`222a8f0`](https://redirect.github.com/oxc-project/oxc/commit/222a8f0) linter/plugins: Implement `SourceCode#isSpaceBetween` ([#&#8203;15498](https://redirect.github.com/oxc-project/oxc/issues/15498)) (overlookmotel) - [`2f9735d`](https://redirect.github.com/oxc-project/oxc/commit/2f9735d) linter/plugins: Implement `context.languageOptions` ([#&#8203;15486](https://redirect.github.com/oxc-project/oxc/issues/15486)) (overlookmotel) - [`bc731ff`](https://redirect.github.com/oxc-project/oxc/commit/bc731ff) linter/plugins: Stub out all `Context` APIs ([#&#8203;15479](https://redirect.github.com/oxc-project/oxc/issues/15479)) (overlookmotel) - [`5822cb4`](https://redirect.github.com/oxc-project/oxc/commit/5822cb4) linter/plugins: Add `extend` method to `FILE_CONTEXT` ([#&#8203;15477](https://redirect.github.com/oxc-project/oxc/issues/15477)) (overlookmotel) - [`7b1e6f3`](https://redirect.github.com/oxc-project/oxc/commit/7b1e6f3) apps: Add pure rust binaries and release to github ([#&#8203;15469](https://redirect.github.com/oxc-project/oxc/issues/15469)) (Boshen) - [`2a89b43`](https://redirect.github.com/oxc-project/oxc/commit/2a89b43) linter: Introduce debug assertions after fixes to assert validity ([#&#8203;15389](https://redirect.github.com/oxc-project/oxc/issues/15389)) (camc314) - [`ad3c45a`](https://redirect.github.com/oxc-project/oxc/commit/ad3c45a) editor: Add `oxc.path.node` option ([#&#8203;15040](https://redirect.github.com/oxc-project/oxc/issues/15040)) (Sysix) ##### 🐛 Bug Fixes - [`6f3cd77`](https://redirect.github.com/oxc-project/oxc/commit/6f3cd77) linter/no-var: Incorrect warning for blocks ([#&#8203;15504](https://redirect.github.com/oxc-project/oxc/issues/15504)) (Hamir Mahal) - [`6957fb9`](https://redirect.github.com/oxc-project/oxc/commit/6957fb9) linter/plugins: Do not allow access to `Context#id` in `createOnce` ([#&#8203;15489](https://redirect.github.com/oxc-project/oxc/issues/15489)) (overlookmotel) - [`7409630`](https://redirect.github.com/oxc-project/oxc/commit/7409630) linter/plugins: Allow access to `cwd` in `createOnce` in ESLint interop mode ([#&#8203;15488](https://redirect.github.com/oxc-project/oxc/issues/15488)) (overlookmotel) - [`732205e`](https://redirect.github.com/oxc-project/oxc/commit/732205e) parser: Reject `using` / `await using` in a switch `case` / `default` clause ([#&#8203;15225](https://redirect.github.com/oxc-project/oxc/issues/15225)) (sapphi-red) - [`a17ca32`](https://redirect.github.com/oxc-project/oxc/commit/a17ca32) linter/plugins: Replace `Context` class ([#&#8203;15448](https://redirect.github.com/oxc-project/oxc/issues/15448)) (overlookmotel) - [`ecf2f7b`](https://redirect.github.com/oxc-project/oxc/commit/ecf2f7b) language\_server: Fail gracefully when tsgolint executable not found ([#&#8203;15436](https://redirect.github.com/oxc-project/oxc/issues/15436)) (camc314) - [`3c8d3a7`](https://redirect.github.com/oxc-project/oxc/commit/3c8d3a7) lang-server: Improve logging in failure case for tsgolint ([#&#8203;15299](https://redirect.github.com/oxc-project/oxc/issues/15299)) (camc314) - [`ef71410`](https://redirect.github.com/oxc-project/oxc/commit/ef71410) linter: Use jsx if source type is JS in fix debug assertion ([#&#8203;15434](https://redirect.github.com/oxc-project/oxc/issues/15434)) (camc314) - [`e32bbf6`](https://redirect.github.com/oxc-project/oxc/commit/e32bbf6) linter/no-var: Handle TypeScript declare keyword in fixer ([#&#8203;15426](https://redirect.github.com/oxc-project/oxc/issues/15426)) (camc314) - [`6565dbe`](https://redirect.github.com/oxc-project/oxc/commit/6565dbe) linter/switch-case-braces: Skip comments when searching for `:` token ([#&#8203;15425](https://redirect.github.com/oxc-project/oxc/issues/15425)) (camc314) - [`85bd19a`](https://redirect.github.com/oxc-project/oxc/commit/85bd19a) linter/prefer-class-fields: Insert value after type annotation in fixer ([#&#8203;15423](https://redirect.github.com/oxc-project/oxc/issues/15423)) (camc314) - [`fde753e`](https://redirect.github.com/oxc-project/oxc/commit/fde753e) linter/plugins: Block access to `context.settings` in `createOnce` ([#&#8203;15394](https://redirect.github.com/oxc-project/oxc/issues/15394)) (overlookmotel) - [`ddd9f9f`](https://redirect.github.com/oxc-project/oxc/commit/ddd9f9f) linter/forward-ref-uses-ref: Dont suggest removing wrapper in invalid positions ([#&#8203;15388](https://redirect.github.com/oxc-project/oxc/issues/15388)) (camc314) - [`dac2a9c`](https://redirect.github.com/oxc-project/oxc/commit/dac2a9c) linter/no-template-curly-in-string: Remove fixer ([#&#8203;15387](https://redirect.github.com/oxc-project/oxc/issues/15387)) (camc314) - [`989b8e3`](https://redirect.github.com/oxc-project/oxc/commit/989b8e3) linter/no-var: Only fix to `const` if the var has an initializer ([#&#8203;15385](https://redirect.github.com/oxc-project/oxc/issues/15385)) (camc314) - [`cc403f5`](https://redirect.github.com/oxc-project/oxc/commit/cc403f5) linter/plugins: Return empty object for unimplemented parserServices ([#&#8203;15364](https://redirect.github.com/oxc-project/oxc/issues/15364)) (magic-akari) ##### ⚡ Performance - [`25d577e`](https://redirect.github.com/oxc-project/oxc/commit/25d577e) language\_server: Start tools in parallel ([#&#8203;15500](https://redirect.github.com/oxc-project/oxc/issues/15500)) (Sysix) - [`3c57291`](https://redirect.github.com/oxc-project/oxc/commit/3c57291) linter/plugins: Optimize loops ([#&#8203;15449](https://redirect.github.com/oxc-project/oxc/issues/15449)) (overlookmotel) - [`3166233`](https://redirect.github.com/oxc-project/oxc/commit/3166233) linter/plugins: Remove `Arc`s ([#&#8203;15431](https://redirect.github.com/oxc-project/oxc/issues/15431)) (overlookmotel) - [`9de1322`](https://redirect.github.com/oxc-project/oxc/commit/9de1322) linter/plugins: Lazily deserialize settings JSON ([#&#8203;15395](https://redirect.github.com/oxc-project/oxc/issues/15395)) (overlookmotel) - [`3049ec2`](https://redirect.github.com/oxc-project/oxc/commit/3049ec2) linter/plugins: Optimize `deepFreezeSettings` ([#&#8203;15392](https://redirect.github.com/oxc-project/oxc/issues/15392)) (overlookmotel) - [`444ebfd`](https://redirect.github.com/oxc-project/oxc/commit/444ebfd) linter/plugins: Use single object for `parserServices` ([#&#8203;15378](https://redirect.github.com/oxc-project/oxc/issues/15378)) (overlookmotel) ##### 📚 Documentation - [`97d2104`](https://redirect.github.com/oxc-project/oxc/commit/97d2104) linter: Update comment in lint.rs about default value for tsconfig path ([#&#8203;15530](https://redirect.github.com/oxc-project/oxc/issues/15530)) (Connor Shea) - [`2c6bd9e`](https://redirect.github.com/oxc-project/oxc/commit/2c6bd9e) linter: Always refer as "ES2015" instead of "ES6" ([#&#8203;15411](https://redirect.github.com/oxc-project/oxc/issues/15411)) (sapphi-red) - [`a0c5203`](https://redirect.github.com/oxc-project/oxc/commit/a0c5203) linter/import/named: Update "ES7" comment in examples ([#&#8203;15410](https://redirect.github.com/oxc-project/oxc/issues/15410)) (sapphi-red) - [`3dc24b5`](https://redirect.github.com/oxc-project/oxc/commit/3dc24b5) linter,minifier: Always refer as "ES Modules" instead of "ES6 Modules" ([#&#8203;15409](https://redirect.github.com/oxc-project/oxc/issues/15409)) (sapphi-red) - [`2ad77fb`](https://redirect.github.com/oxc-project/oxc/commit/2ad77fb) linter/no-this-before-super: Correct "Why is this bad?" section ([#&#8203;15408](https://redirect.github.com/oxc-project/oxc/issues/15408)) (sapphi-red) - [`57f0ce1`](https://redirect.github.com/oxc-project/oxc/commit/57f0ce1) linter: Add backquotes where appropriate ([#&#8203;15407](https://redirect.github.com/oxc-project/oxc/issues/15407)) (sapphi-red) ### Oxfmt v0.12.0 ##### 🚀 Features - [`3251000`](https://redirect.github.com/oxc-project/oxc/commit/3251000) oxfmt: Use `prettier` directly and bundle `prettier` ([#&#8203;15544](https://redirect.github.com/oxc-project/oxc/issues/15544)) (Dunqing) - [`7b1e6f3`](https://redirect.github.com/oxc-project/oxc/commit/7b1e6f3) apps: Add pure rust binaries and release to github ([#&#8203;15469](https://redirect.github.com/oxc-project/oxc/issues/15469)) (Boshen) - [`33ad374`](https://redirect.github.com/oxc-project/oxc/commit/33ad374) oxfmt: Disable embedded formatting by default for alpha ([#&#8203;15402](https://redirect.github.com/oxc-project/oxc/issues/15402)) (leaysgur) - [`5708126`](https://redirect.github.com/oxc-project/oxc/commit/5708126) formatter/sort\_imports: Add `options.newlinesBetween` ([#&#8203;15369](https://redirect.github.com/oxc-project/oxc/issues/15369)) (leaysgur) - [`2dfc3bd`](https://redirect.github.com/oxc-project/oxc/commit/2dfc3bd) formatter: Remove `Tag::StartVerbatim` and `Tag::EndVerbatim` ([#&#8203;15370](https://redirect.github.com/oxc-project/oxc/issues/15370)) (Dunqing) - [`88c7530`](https://redirect.github.com/oxc-project/oxc/commit/88c7530) formatter: Remove `FormatElement::LocatedTokenText` ([#&#8203;15367](https://redirect.github.com/oxc-project/oxc/issues/15367)) (Dunqing) ##### 🐛 Bug Fixes - [`d32d22e`](https://redirect.github.com/oxc-project/oxc/commit/d32d22e) formatter: Correct `FormatElement` size check ([#&#8203;15461](https://redirect.github.com/oxc-project/oxc/issues/15461)) (Dunqing) - [`b0f43f9`](https://redirect.github.com/oxc-project/oxc/commit/b0f43f9) formatter: Test call difference ([#&#8203;15356](https://redirect.github.com/oxc-project/oxc/issues/15356)) (Dunqing) - [`01f20f3`](https://redirect.github.com/oxc-project/oxc/commit/01f20f3) formatter: Incorrect comment checking logic for grouping argument ([#&#8203;15354](https://redirect.github.com/oxc-project/oxc/issues/15354)) (Dunqing) ##### ⚡ Performance - [`f4b75b6`](https://redirect.github.com/oxc-project/oxc/commit/f4b75b6) formatter: Pre-allocate enough space for the FormatElement buffer ([#&#8203;15422](https://redirect.github.com/oxc-project/oxc/issues/15422)) (Dunqing) - [`5a61189`](https://redirect.github.com/oxc-project/oxc/commit/5a61189) formatter: Avoid unnecessary allocation for `BinaryLikeExpression` ([#&#8203;15467](https://redirect.github.com/oxc-project/oxc/issues/15467)) (Dunqing) - [`064f835`](https://redirect.github.com/oxc-project/oxc/commit/064f835) formatter: Optimize printing call arguments ([#&#8203;15464](https://redirect.github.com/oxc-project/oxc/issues/15464)) (Dunqing) - [`29f35b2`](https://redirect.github.com/oxc-project/oxc/commit/29f35b2) formatter: Reuse previous indent stack in `FitsMeasurer` ([#&#8203;15416](https://redirect.github.com/oxc-project/oxc/issues/15416)) (Dunqing) - [`a6808a0`](https://redirect.github.com/oxc-project/oxc/commit/a6808a0) oxfmt: Use `AllocatorPool` to reuse allocator between threads ([#&#8203;15412](https://redirect.github.com/oxc-project/oxc/issues/15412)) (leaysgur) - [`2515045`](https://redirect.github.com/oxc-project/oxc/commit/2515045) formatter: Use CodeBuffer's built-in print\_indent to print indentation ([#&#8203;15406](https://redirect.github.com/oxc-project/oxc/issues/15406)) (Dunqing) - [`681607b`](https://redirect.github.com/oxc-project/oxc/commit/681607b) formatter: Check the `Text` to see whether it has multiple lines based on its width ([#&#8203;15405](https://redirect.github.com/oxc-project/oxc/issues/15405)) (Dunqing) - [`b92deb4`](https://redirect.github.com/oxc-project/oxc/commit/b92deb4) formatter: Replace String buffer with byte-oriented CodeBuffer ([#&#8203;14752](https://redirect.github.com/oxc-project/oxc/issues/14752)) (Boshen) - [`963b87f`](https://redirect.github.com/oxc-project/oxc/commit/963b87f) formatter: Add `text_without_whitespace` for text that can never have whitespace ([#&#8203;15403](https://redirect.github.com/oxc-project/oxc/issues/15403)) (Dunqing) - [`f30ce4b`](https://redirect.github.com/oxc-project/oxc/commit/f30ce4b) formatter: Optimize formatting literal string ([#&#8203;15380](https://redirect.github.com/oxc-project/oxc/issues/15380)) (Dunqing) - [`8f25a0e`](https://redirect.github.com/oxc-project/oxc/commit/8f25a0e) formatter: Memorize text width for `FormatElement::Text` ([#&#8203;15372](https://redirect.github.com/oxc-project/oxc/issues/15372)) (Dunqing) - [`f913543`](https://redirect.github.com/oxc-project/oxc/commit/f913543) formatter: Avoid allocation for `SyntaxTokenCowSlice` ([#&#8203;15366](https://redirect.github.com/oxc-project/oxc/issues/15366)) (Dunqing) - [`98c9234`](https://redirect.github.com/oxc-project/oxc/commit/98c9234) formatter: Optimize `FormatElement::Token` printing ([#&#8203;15365](https://redirect.github.com/oxc-project/oxc/issues/15365)) (Dunqing) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc-node). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Boshen <[email protected]>
1 parent b803b1d commit b83d207

File tree

7 files changed

+88
-87
lines changed

7 files changed

+88
-87
lines changed

Cargo.lock

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ crate-type = ["cdylib"]
1010
[dependencies]
1111
napi = { version = "3.5.1", default-features = false, features = ["serde-json", "napi3"] }
1212
napi-derive = { version = "3.3.2", default-features = false, features = ["type-def"] }
13-
oxc = { version = "0.96.0", features = ["codegen", "transformer", "semantic", "regular_expression"] }
13+
oxc = { version = "0.97.0", features = ["codegen", "transformer", "semantic", "regular_expression"] }
1414
oxc_resolver = { version = "11.13.1" }
1515
phf = "0.13"
1616
serde_json = "1"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@napi-rs/wasm-runtime": "^1.0.1",
99
"@oxc-node/cli": "workspace:*",
1010
"@oxc-node/core": "workspace:*",
11-
"@oxc-project/runtime": "^0.96.0",
11+
"@oxc-project/runtime": "^0.97.0",
1212
"@types/node": "^24.1.0",
1313
"ava": "^6.4.1",
1414
"cross-env": "^10.0.0",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"@napi-rs/cli": "catalog:",
23-
"@oxc-project/runtime": "^0.96.0"
23+
"@oxc-project/runtime": "^0.97.0"
2424
},
2525
"dependencies": {
2626
"pirates": "^4.0.7"

packages/integrate-module-bundler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@nestjs/core": "^11.1.5",
1818
"@nestjs/platform-express": "^11.1.5",
1919
"@oxc-node/cli": "workspace:*",
20-
"@oxc-project/runtime": "^0.96.0",
20+
"@oxc-project/runtime": "^0.97.0",
2121
"@types/express": "^5.0.3",
2222
"@types/node": "^24.1.0",
2323
"@types/react": "^19.1.8",

0 commit comments

Comments
 (0)