chore(deps): update oxc dependencies#12
Merged
Merged
Conversation
There was a problem hiding this comment.
Argus review
Diff 要約
package.json の devDependencies における複数のパッケージのバージョンアップが行われています:
@oxlint/plugins: 1.58.0 → 1.62.0oxfmt: 0.43.0 → 0.47.0oxlint: 1.58.0 → 1.62.0oxlint-tailwindcss: 0.6.1 → 0.6.3
レビューコメント
👍 基本的に問題ありません
依存パッケージのメンテナンス更新として適切です。以下の点を確認した上での判定です:
- バージョン戻りなし: すべての更新が前進方向(minor/patch の上昇)で、意図的なバージョンダウンではない
- 関連パッケージの整合性: oxlint 関連パッケージ(@oxlint/plugins と oxlint)が同じバージョン番号に揃えられており、一貫性がある
- devDependencies のみ: 本番依存関係に影響しない範囲での更新
🟡 確認推奨事項(blocker ではありませんが)
- テスト実行: 特に oxlint や oxfmt のメジャーな更新(oxfmt: 0.43.0 → 0.47.0)は、リント/フォーマットルールの変更を含む可能性があります。CI が通ることを確認してください
- CHANGELOG 確認: 更新されたパッケージに破壊的変更がないか簡単にチェックをお勧めします(oxlint は複数のマイナーバージョンアップなため特に)
Posted by Argus (AI review). Treat this as a second opinion, not ground truth.
04944ac to
56b1bc2
Compare
2 tasks
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
oxlint 1.63 adds the import/promise/node plugins to the default config, surfaces `options.typeAware`, and adjusts a handful of rule defaults (adds no-restricted-exports, no-underscore-dangle, no-useless-assignment, require-unicode-regexp, unicorn/no-negated-condition; drops typescript/dot-notation and typescript/no-unnecessary-qualifier). Snapshots regenerated.
oxfmt 0.44.0 restricted its package exports to only `.` and
`./package.json`, so vite-plus 0.1.16's `require.resolve('oxfmt/bin/oxfmt')`
no longer resolves. vite-plus 0.1.21 switches to resolving via the
package entry then appending `bin/oxfmt`, which works under the
restricted exports.
22cecf9 to
ad0ec98
Compare
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.58.0→1.63.00.43.0→0.48.01.58.0→1.63.00.6.1→0.7.0Release Notes
oxc-project/oxc (oxfmt)
v0.48.0Compare Source
v0.47.0Compare Source
v0.46.0Compare Source
v0.45.0Compare Source
🐛 Bug Fixes
50c389boxfmt: Support.editorconfigquote_type(#20989) (leaysgur)v0.44.0Compare Source
🐛 Bug Fixes
dd2df87npm: Export package.json for oxlint and oxfmt (#20784) (kazuya kawaguchi)4216380oxfmt: Support.editorconfigtab_widthfallback (#20988) (leaysgur)oxc-project/oxc (oxlint)
v1.63.0Compare Source
📚 Documentation
cacbc4alinter: Fix jest settings docs. (#22127) (connorshea)v1.62.0Compare Source
🚀 Features
348f46clinter: AddrespectEslintDisableDirectivesoption (#21384) (Christian Vuerings)🐛 Bug Fixes
8c425dblinter: Allow string for jest version in config schema (#21649) (camc314)v1.61.1Compare Source
v1.61.0Compare Source
🚀 Features
38d8090linter/jest: Implemented jestversionsettings in config file. (#21522) (Said Atrahouch)v1.60.0Compare Source
📚 Documentation
cfd8a4flinter: Don't rely on old eslint doc for available globals (#21334) (Nicolas Le Cam)v1.59.0Compare Source
sergioazoc/oxlint-tailwindcss (oxlint-tailwindcss)
v0.7.0Compare Source
prefer-theme-tokens(#15) — Suggests named theme-token utilities likeborder-borderover raw CSS variable references likeborder-(--border)orborder-[var(--border)]when the named utility exists in the design system. Off by default — the replacement is a name-match heuristic and can change observable CSS in shadcn-style themes where--color-Xwraps the raw--X(e.g.hsl(var(--X))). Coexistence withenforce-canonicalandno-unnecessary-arbitrary-valueis locked down by an integration matrix so they don't double-fire on the same input.@tailwindcss/nodevia bare specifier from its cwd, which fails under pnpm with strict hoisting (the module lives undernode_modules/.pnpm/oxlint-tailwindcss@…/node_modules, not on the resolution path from the consumer's project root). The plugin now resolves the absolute path from its own install location and passes it via env to the child. Includes an actionable error message and a regression test that simulates the isolated cwd.no-unnecessary-whitespaceandenforce-consistent-line-wrapping(#14) — When both rules were enabled withclassesPerLine, autofix oscillated forever: line-wrapping introduced\n+ indent between class chunks, thenno-unnecessary-whitespacecollapsed it back to a single space. The whitespace rule now collapses runs of[ \t]+only within each line, leaving newlines and the indentation that follows them untouched.splitClasses(value).join(' ')to rebuild a class string after an autofix. They all collapsed multiline indentation into a single space. IntroducedsplitClassesWithSeparators+rebuildClassStringinclass-splitter.ts: the split captures every whitespace run between classes (plus leading/trailing); the rebuild preserves them verbatim for 1-to-1 transforms (canonical, sort, variant-order, important-position, logical/physical, var-syntax, negative-arb, no-unnecessary-arb, prefer-theme-tokens, no-deprecated, no-unknown suggestions) and degrades gracefully for length-changing rules (no-duplicate, shorthand) by joining with the first newline-bearing internal separator. The matrix test intests/integration/multiline-preservation.test.tslocks per-rule behavior down.v0.6.3Compare Source
enforce-canonical~5x faster — Lint time on an 898-file repo with 12 threads dropped from 106s to 22s. Named classes (no[or(in the utility) now resolve via the precomputedcanonicalMapinDesignSystemCacheinstead of going through the worker thread round-trip. Only classes with arbitrary or CSS-var values (p-[2px],bg-(--c)) still call the worker. A process-wide per-class cache keyed by${cssPath}\0${rem}\0${class}deduplicates the remaining worker requests.ds.canonicalizeCandidates(classes)in batch, but that API deduplicates its input. Inputs containing duplicate classes produced output shorter than the input and leftdynamic[i]undefined inenforce-canonical. The worker now iteratescanonicalizeCandidates([cls])per class, preserving order and length.v0.6.2Compare Source
MaxListenersExceededWarningwhen the plugin runs in multiple oxlint worker threads — The sort and canonicalize services registeredprocess.on('exit', cleanup)on every module load. When oxlint spawns many lint workers, this exceeded Node's defaultMaxListeners(10) and emitted a warning.worker.unref()already lets the process exit without waiting for the worker, so the exit listener was redundant and has been removed. Regression test added intests/design-system/exit-listeners.test.ts.Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.