chore: upgrade medium-risk dependencies

- lint-staged: 16.2.7 → 17.0.5
- jsdom: 25.0.0 → 29.1.1
- @vitejs/plugin-react: 4.3.4 → 6.0.2
- vitest: 2.0.0 → 4.1.7
- @vitest/coverage-v8: upgraded to match vitest
- @webext-core/messaging: 2.3.0 → 3.0.1
- eslint: 9.39.2 → 10.4.0
- @eslint/js: added as new dependency
- @types/marked: removed (marked now provides its own types)

Fixes:
- Fix ref update during render in useQrCode.ts
- Fix ref update during render in useStorageCleaner.ts
- Add error cause in jwt.ts decode function
- Add type assertion for mock functions in htmlToMarkdown.test.ts
This commit is contained in:
Ubuntu
2026-05-21 20:44:40 +08:00
parent a654e64fe0
commit 4a382144d1
6 changed files with 1470 additions and 1658 deletions
+2 -2
View File
@@ -230,8 +230,8 @@ describe('downloadMarkdownFile', () => {
};
vi.spyOn(document, 'createElement').mockReturnValue(mockLink as any);
vi.spyOn(document.body, 'appendChild').mockImplementation(appendChildSpy);
vi.spyOn(document.body, 'removeChild').mockImplementation(removeChildSpy);
vi.spyOn(document.body, 'appendChild').mockImplementation(appendChildSpy as any);
vi.spyOn(document.body, 'removeChild').mockImplementation(removeChildSpy as any);
});
afterEach(() => {