chore(deps): bump the management-production group in /management with 5 updates - #9
Closed
dependabot[bot] wants to merge 0 commit into
Closed
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
DavidHLP
force-pushed
the
dependabot/npm_and_yarn/management/management-production-8b16707186
branch
from
April 18, 2026 06:27
af0a37d to
d345b50
Compare
DavidHLP
force-pushed
the
dependabot/npm_and_yarn/management/management-production-8b16707186
branch
from
April 18, 2026 06:43
d345b50 to
1547fea
Compare
dependabot
Bot
deleted the
dependabot/npm_and_yarn/management/management-production-8b16707186
branch
April 18, 2026 06:43
DavidHLP
added a commit
that referenced
this pull request
Jul 3, 2026
管理后台鉴权初始化(CRITICAL #1): - management/src/main.ts: 新增完整 auth bootstrap 流程 - management/src/stores/auth.ts: 新增 setupSessionExpiredCallback + clearUser WebSocket Token 安全泄露(CRITICAL #2): - console/src/lib/socket.ts: 移除 URL ?token= 参数,token 改走 connectHeaders - console/src/composables/contest/useContestSocket.ts: 同上 OAuth 重定向 URL 统一(CRITICAL #4): - management/src/views/auth/components/OAuthButton.vue: 相对路径→绝对路径 Router Guard 错误处理(HIGH #5): - console/src/router/index.ts: catch 块增加 ApiError instanceof 判断 WebSocket Token 传递优化(HIGH #6): - useContestSocket.ts: 已正确从 socket.ts 导入 getTokenFromCookie verifyAuth 绕过 axios 拦截器(HIGH #7): - console/src/utils/auth.ts: fetch() → apiGet() 性能优化(HIGH #9): - console/src/contexts/AuthContext.ts: setInterval(1000) → watch(isAuthenticated) 代码质量提升(MEDIUM): - console/src/stores/auth.ts: 移除 LOGOUT_KEY localStorage 追踪 - 新增 hasAuthCookie() 提前检查,173 行净减少 - clearUser() 重置 status="idle" 允许重新初始化 - 移除所有调试 console.log Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
DavidHLP
added a commit
that referenced
this pull request
Jul 10, 2026
…ttern
The inline error-extraction pattern
(err as { response?: { data?: { message?: string } } })?.response?.data?.message || 'Failed to ...'
was copy-pasted across 10 admin Pinia stores (36+ occurrences across
3 variants). Promote a single extractApiErrorMessage(err, fallback)
helper into utils/error.ts alongside the existing getErrorContext.
The helper uses instanceof ApiError first (the actual type the
http-client seam produces — its constructor already extracts
response.data.message into the message field), with a defensive
Axios-shape cast fallback for errors that escape the interceptor.
problems.ts and moderationStore.ts had local extractErrorMessage
helpers wrapping the same inline pattern — both now delegate to the
shared utils function.
Architecture review Card #9 — see /tmp/architecture-review-1783403689.html.
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.
Bumps the management-production group in /management with 5 updates:
0.1.210.4.03.12.03.12.11.14.01.15.03.3.33.4.02.9.52.9.6Updates
@dnd-kit/abstractfrom 0.1.21 to 0.4.0Release notes
Sourced from
@dnd-kit/abstract's releases.... (truncated)
Commits
ebc564eMerge pull request #1907 from clauderic/changeset-release/main4f071cbVersion Packages5e7735fMerge pull request #2001 from lixiaoyan/feat/feedback-callback412047bMerge pull request #2007 from clauderic/chore/upgrade-turborepocf33af0chore: remove turborepo agent skill from repo7a02b46chore: upgrade turborepo from 2.5.2 to 2.9.0fab49dbMerge pull request #2006 from clauderic/claude/docs-mobile-fixes2d2bb7aAdd GitHub icon to mobile header671a95aPure CSS CodeGroup tabs — zero JavaScript for tab switchingf1423c0Fix CodeGroup: SSR-only Shiki with DOM-based tab switchingMaintainer changes
This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for
@dnd-kit/abstractsince your current version.Updates
@internationalized/datefrom 3.12.0 to 3.12.1Release notes
Sourced from
@internationalized/date's releases.Commits
ca74817Publish2d2cc15fix: prevent items from getting continually loaded in S2 TreeView (#9921)beda778fix: broken compound selector exposed by browserslist bump (Table virtualizer...c7c4c67fix: v3 docs build (#9919)efc581cfix: nightly packing too many files (#9917)5c5bda5docs: improve S2 agent skill (#9908)988c120docs: Update RangeCalendar for api consitency, add docs for nonce, and TagGro...21c4dfbchore: Revert 9875 and move disabledBehavior example in TableView docs (#9914)9e18b4achore: fix S2 datepicker errorMessage type (#9909)b65a4aaRevert "fix: make aria test utils helpers work with vitest-browser-react (#97...Updates
axiosfrom 1.14.0 to 1.15.0Release notes
Sourced from axios's releases.
Changelog
Sourced from axios's changelog.
Commits
772a4e5chore(release): prepare release 1.15.0 (#10671)4b07137chore(deps-dev): bump vite from 8.0.0 to 8.0.5 in /tests/smoke/esm (#10663)51e57b3chore(deps-dev): bump vite from 8.0.2 to 8.0.5 (#10664)fba1a77chore(deps-dev): bump vite from 8.0.2 to 8.0.5 in /tests/module/esm (#10665)0bf6e28chore(deps): bump denoland/setup-deno in the github-actions group (#10669)8107157chore(deps-dev): bump the development_dependencies group with 4 updates (#10670)e66530eci: require npm-publish environment for releases (#10666)49f23cbchore(sponsor): update sponsor block (#10668)3631854fix: unrestricted cloud metadata exfiltration via header injection chain (#10...fb3befbfix: no_proxy hostname normalization bypass leads to ssrf (#10661)Updates
dompurifyfrom 3.3.3 to 3.4.0Release notes
Sourced from dompurify's releases.
Commits
5b16e0bGetting 3.x branch ready for 3.4.0 release (#1250)Updates
reka-uifrom 2.9.5 to 2.9.6Release notes
Sourced from reka-ui's releases.
Commits
e5667c2chore: release v2.9.6836f2e9fix(MonthPicker, YearPicker): preserve day/month when selecting (#2594)1d77296fix(TimeField): change focus after pressing 0 more than once on hour segment ...fbd9f04chore(deps): update dependency vite to ^8.0.8 (#2592)70e7286fix: export missing TimeRange type (#2590)68a490bRevert "chore(deps): bump vite from 5.4.21 to 8.0.5 (#2584)"You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions