Commit b83d207
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)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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 && 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`
([#​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`
([#​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
([#​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`
([#​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
([#​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
([#​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
([#​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
([#​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`
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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`
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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`
([#​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`
([#​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
([#​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"
([#​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
([#​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"
([#​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
([#​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
([#​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`
([#​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
([#​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
([#​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`
([#​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`
([#​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`
([#​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
([#​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
([#​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
([#​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
([#​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`
([#​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
([#​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`
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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
([#​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`
([#​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`
([#​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
([#​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- packages
- core
- integrate-module-bundler
- src
7 files changed
+88
-87
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments