Repository navigation
fix(deps): refresh vulnerable API and web packages - #2098
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (10)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. WalkthroughThe pull request updates workspace dependency overrides and package versions. It changes dialog animation selection to use normalized class input and adjusts UI test setup for cleanup and timezone consistency. ChangesDependency Updates
Dialog Animation Selection
Web Test Setup
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Merge Risk: ⚪ Minimal · up to This change refreshes dependency versions and adjusts a dialog animation check and some test setup. No concrete merge-blocking issue was identified. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 5 systems. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the dialog's class, Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2098 +/- ##
==========================================
+ Coverage 53.43% 53.49% +0.05%
==========================================
Files 1044 1044
Lines 72705 72706 +1
Branches 8422 8422
==========================================
+ Hits 38852 38896 +44
+ Misses 33726 33683 -43
Partials 127 127 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
This plugin has been deployed to Cloudflare R2 and is available for testing. |
|
🚀 Storybook has been deployed to staging: https://unraid-ui-storybook-staging.unraid-workers.workers.dev |
🔄 PR Merged - Plugin Redirected to StagingThis PR has been merged and the preview plugin has been updated to redirect to the staging version. For users testing this PR:
Staging URL: Thank you for testing! 🚀 |
## Summary External callback actions require a short-lived, one-time nonce so cross-tab and delayed activation callbacks can be validated before they execute. Related to OS-983. Dependency refresh #2098 is merged. ## Resolution Use `@unraid/shared-callbacks` 3.4.0 and its client `createCallback` factory. Pass the nonce through the dedicated `send` and `generateUrl` arguments and validate the returned encrypted `payload.nonce`. The sender remains a return URL; its query parameters do not supply nonce authority. Nonces remain in localStorage for 30 minutes to support callbacks returning in a separate tab. Activation links are generated when opened, and duplicate callback processing is ignored. ## Reviewer Considerations The callback responder must echo the receiver-issued nonce unchanged in its reply. Missing, expired, unknown, malformed, and reused nonces are rejected on URL callbacks. Direct in-process calls retain the existing relative-sender compatibility. Live Account-to-WebGUI behavior has not been tested in this update. ## Verification - 78 callback, callback-helper, and purchase tests passed, including an encrypted URL round trip with the published callback package. - Targeted ESLint, Prettier, GraphQL code generation, and `git diff --check` passed. - Full web type-check remains blocked: the original and updated PR code produce the same 134 TypeScript diagnostics, with none in the callback store or its tests. - Web build and onboarding component tests remain blocked by the UI dependency build: `unplugin-dts` cannot resolve `@vue/language-core`, leaving `@unraid/ui` without build output. --------- Co-authored-by: Eli Bosley <eli@bosley.dev>
🤖 I have created a release *beep* *boop* --- ## [4.37.6](v4.37.5...v4.37.6) (2026-10-20) ### Bug Fixes * **api:** stop temperature metrics from spinning up array disks ([#2091](#2091)) ([b15af83](b15af83)) * **callback:** validate callback requests ([#2097](#2097)) ([1bda4d2](1bda4d2)) * **connect:** avoid restarting active static remote access ([#2110](#2110)) ([d19a6f4](d19a6f4)) * **deps:** refresh vulnerable API and web packages ([#2098](#2098)) ([64eac12](64eac12)) * **plugin:** bind component cleanup to the exact package manifest ([#2107](#2107)) ([89b1395](89b1395)) * **web:** align mobile header identity and update actions ([#2111](#2111)) ([6582cc1](6582cc1)) * **web:** align registration license action buttons ([#2101](#2101)) ([b638d29](b638d29)) * **web:** polish combined header on mobile and desktop ([#2109](#2109)) ([64f1e81](64f1e81)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Refreshes the existing dependency update for newly published advisories, reducing the production audit from 30 findings to three while preserving the existing audit policy.
Updates the affected API/Web/UI packages and transitive resolutions, including GraphQL Tools utilities 12.0.1, Fastify 5.12.5, NestJS Fastify adapter 11.2.4, DOMPurify 3.4.16, Vue 3.5.42, axios, gRPC, basic-ftp, source-map-js and fast-copy. Root and workspace overrides stay consistent. Removes unused API load-files dependency; braces still arrives through NestJS.
The Vue update exposes a dialog class check that assumed string input. Normalizing Vue class values preserves fullscreen animations for strings, arrays and objects; six regressions cover reactive updates. Web test fixtures now use a stable timezone and dispose component/store scopes.
Validation at commit
176ee2cb634e7106b1475d920568df44a1ec343b: Node 22 frozen installation, API/UI/Web type checks and builds pass. Current CI run 37464232518 passes the full Linux test suites, API/Web/UI builds and final TXZ pkgtools validation. CodeQL, Codecov project/patch and CodeRabbit pass. Audit Dependencies is advisory and retains the three findings below.The exact CI TXZ (SHA-256
4d74dee6f4b3433e0c0a42a9bf0e60b9390901ac521bff277f78cd55dfa4dd60) passed managed Unraid 7.3.2 smoke testing: upgrade and reinstall preserve all 150 component files byte-for-byte; obsolete component cleanup, API restart, temporary VIEWER key creation, authenticated GraphQL through the API socket and nginx, internal CLI report, and HTTP component bytes pass. The managed reservation was restored and released. This smoke test does not cover full Connect cloud callbacks or browser visual E2E.Residual audit findings remain visible: http-cache-semantics, braces and sprintf-js (two high, one moderate) currently have no patched versions. Source inspection found no enabled Got HTTP cache and static global-agent log formats; this is limited evidence, not a claim that those advisories are fixed or unreachable. No suppressions or lower thresholds were added.
Linear issue: CLD-1208