build(deps): bump dependency version upper bounds#54
Merged
Conversation
Widen allowed version ranges for backend and frontend dependencies: Backend: - django-cleanup: <7 → <10 - pandas: <3 → <4 (resolves to 2.3.3, constrained by irspack) - redis: <6 → <8 - pytest-asyncio: <1 → <2 Frontend: - vue-router: ^4.5.0 → ^5.0.2 - pinia: ^2.3.0 → ^3.0.4 (required by vue-router 5 peer dep) - vitest: ^2.1.0 → ^4.0.18 - @vitest/coverage-v8: ^2.1.0 → ^4.0.18 - Add vue-eslint-parser as explicit dev dependency Fix two test files for vitest 4.x compatibility: constructor mocks must use regular functions, not arrow functions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
Widen dependency version upper bounds across backend and frontend, applying updates from Dependabot PRs #27, #28, #31, #32, #34, #35.
Changes Made
Backend (
pyproject.toml)<7<10<3<4<6<8<1<2Frontend (
package.json)^4.5.0^5.0.2^2.3.0^3.0.4^2.1.0^4.0.18^2.1.0^4.0.18^10.4.0(explicit)Test Fixes (vitest 4.x compatibility)
useWebSocket.test.ts:mockReturnValue→mockImplementation(function() {...})— vitest 4 requires constructor mocks to use regularfunction, not arrow functionsDataUploadPage.test.ts: same arrow → regular function fix for XMLHttpRequest mock constructorTesting
vue-tsc --noEmit: passedeslint src --fix: 0 errors (17 pre-existing warnings)vitest run: 702/702 tests passedBreaking Changes
None. All changes are backward-compatible version range widenings.
Additional Notes
irspack==0.4.0constrains it. The wider<4bound prepares for when irspack relaxes its constraint.