Skip to content

chore: bump oxc (@miodec)#8214

Merged
Miodec merged 2 commits into
masterfrom
oxc-bump
Jul 9, 2026
Merged

chore: bump oxc (@miodec)#8214
Miodec merged 2 commits into
masterfrom
oxc-bump

Conversation

@Miodec

@Miodec Miodec commented Jul 9, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings July 9, 2026 10:36
@monkeytypegeorge monkeytypegeorge added backend Server stuff frontend User interface or web stuff api A change to the Application Programming Interface (API) packages Changes in local packages labels Jul 9, 2026
@github-actions github-actions Bot added the waiting for review Pull requests that require a review before continuing label Jul 9, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedoxfmt@​0.58.0871008996100
Addedoxlint@​1.73.0991009296100
Updatedoxlint-tsgolint@​0.23.0 ⏵ 0.24.01001009794 +4100

View full report

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps oxc tooling (oxlint/oxfmt/tsgolint) across workspaces + lockfile, and applies resulting typing/lint-driven cleanup (remove casts, adjust config).

Changes:

  • Upgrade oxfmt, oxlint, oxlint-tsgolint versions in root + packages + lockfile.
  • Update packages/oxlint-config rule config (no-constant-binary-expression options).
  • Remove many unnecessary TS casts / tighten inferred types across FE/BE code + tests (incl. Storybook metadata, Vite/Vitest config).

Reviewed changes

Copilot reviewed 75 out of 76 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pnpm-lock.yaml Lockfile refresh for oxc bump + transitive updates
package.json Bump root oxc tool versions
packages/oxlint-config/rules/enabled.jsonc Update rule config to new option shape
packages/util/package.json Bump oxlint/tsgolint in util workspace
packages/tsup-config/package.json Bump oxlint/tsgolint in tsup-config workspace
packages/schemas/package.json Bump oxlint/tsgolint in schemas workspace
packages/release/package.json Bump oxlint/tsgolint in release workspace
packages/funbox/package.json Bump oxlint/tsgolint in funbox workspace
packages/contracts/package.json Bump oxlint/tsgolint in contracts workspace
packages/challenges/package.json Bump oxlint/tsgolint in challenges workspace
packages/util/src/json.ts Replace unsafe cast return with lint suppression + direct return
frontend/package.json Bump oxlint/tsgolint in frontend workspace
frontend/vitest.config.ts Remove as never cast for projects config
frontend/vite.config.ts Switch build config to rolldownOptions, drop final type-cast
frontend/storybook/.storybook/ThemeDecorator.tsx Small refactor for clearer fallback theme selection
frontend/storybook/stories/UserProfile.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/UserFlags.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/UserBadge.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/User.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/SlimSelect.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/NotificationBubble.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/InputField.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/H3.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/H2.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/FieldIndicator.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/Fa.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/DiscordAvatar.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/DataTable.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/Checkbox.stories.tsx Remove Solid Component generic cast in Storybook meta
frontend/storybook/stories/ChartJs.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/Button.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/Bar.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/Balloon.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/AutoShrink.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/AsyncContent.stories.tsx Remove unsafe component cast in Storybook meta
frontend/storybook/stories/AnimeSwitch.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/AnimeShow.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/AnimePresence.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/AnimeGroup.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/Anime.stories.tsx Remove Solid Component cast in Storybook meta
frontend/storybook/stories/AnimatedModal.stories.tsx Remove Solid Component cast in Storybook meta
frontend/src/ts/utils/misc.ts Remove promise cast in promiseWithResolvers return
frontend/src/ts/utils/dom.ts Remove addEventListener cast, rely on typed handler
frontend/src/ts/test/test-ui.ts Remove as string casts when setting styles
frontend/src/ts/test/test-logic.ts Drop as Omit<...> cast from completed event build
frontend/src/ts/test/replay-ui.ts Minor refactor of activeWord assignment
frontend/src/ts/test/funbox/list.ts Remove cast on single-match return
frontend/src/ts/test/custom-text.ts Remove cast on custom text limit getter
frontend/src/ts/states/quote-rate.ts Remove empty-object cast on null response
frontend/src/ts/controllers/theme-controller.ts Remove string casts around getCustomTheme calls
frontend/src/ts/controllers/sound-controller.ts Drop as ScaleMeta cast from constructed scale data
frontend/src/ts/controllers/quotes-controller.ts Drop cast when passing config event value
frontend/src/ts/controllers/badge-controller.ts Drop cast when indexing badges map
frontend/src/ts/constants/themes.ts Simplify ThemesList map, remove cast
frontend/src/ts/config/utils.ts Remove ConfigValue import + cast in merge
frontend/src/ts/config/setters.ts Remove metadata + previousValue casts
frontend/src/ts/components/pages/settings/custom-setting/FontFamily.tsx Remove HTMLInputElement cast; simplify options metadata typing
frontend/src/ts/components/pages/settings/custom-setting/CustomBackground.tsx Remove HTMLInputElement cast
frontend/src/ts/components/modals/SimpleModal.tsx Remove validator casts
frontend/src/ts/components/modals/QuoteSubmitModal.tsx Factor default language into const; reduce casts
frontend/src/ts/components/layout/overlays/Notifications.tsx Simplify FaProps object creation, drop cast
frontend/src/ts/commandline/commandline.ts Drop cast when mapping commands to active status
frontend/src/ts/collections/inbox.ts Replace casted nested ternary with typed expression
frontend/tests/test/events/stats.spec.ts Remove as InputEventData casts in helpers
frontend/tests/test/events/data.spec.ts Remove as KeyupEventData casts in helpers
frontend/tests/controllers/preset-controller.spec.ts Remove unnecessary as any when returning preset
frontend/tests/components/common/AnimatedModal.spec.tsx Drop ModalId import + casts for showModal/hideModal
backend/package.json Bump oxlint/tsgolint in backend workspace
backend/src/api/routes/index.ts Remove MonkeyValidationError type import/cast for 422 response
backend/src/api/controllers/user.ts Remove as RelevantUserInfo cast from omit result
backend/src/api/controllers/dev.ts Remove mode as Mode cast
backend/tests/middlewares/auth.spec.ts Remove NextFunction cast around vi.fn
backend/tests/api/controllers/user.spec.ts Remove FirebaseError import + rejectedValue cast
backend/tests/api/controllers/quotes.spec.ts Remove mockResolvedValue({} as any)
backend/tests/integration/dal/user.spec.ts Remove as any on inserted settings object
backend/tests/integration/dal/result.spec.ts Remove as never cast for mode2

@Miodec Miodec merged commit 7c2a6a4 into master Jul 9, 2026
20 checks passed
@Miodec Miodec deleted the oxc-bump branch July 9, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api A change to the Application Programming Interface (API) backend Server stuff frontend User interface or web stuff packages Changes in local packages waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants