deps: bump kwetsbare dependencies — sqlite-jdbc, commons-beanutils, junit, flatlaf#41
deps: bump kwetsbare dependencies — sqlite-jdbc, commons-beanutils, junit, flatlaf#41geertvanzoest wants to merge 2 commits intomainfrom
Conversation
- sqlite-jdbc 3.7.2 → 3.47.2.0 (meerdere CVEs) - commons-beanutils 1.9.3 → 1.9.4 (CVE-2019-10086) - junit 4.12 → 4.13.2 (CVE-2020-15250) - flatlaf 1.6.5 → 3.5.4 + intellij-themes 2.0.1 → 3.5.4 - Verwijderde import FlatAtomOneLightContrastIJTheme (ongebruikt, verwijderd in flatlaf 3.x) Addresses #25 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughMaven-dependencyversies zijn verhoogd in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 OpenGrep (1.16.5)src/test/java/com/unicenta/PackageScanTest.java┌──────────────┐ �[32m✔�[39m �[1mOpengrep OSS�[0m �[1m Loading rules from local config...�[0m Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
pom.xml (1)
276-292:⚠️ Potential issue | 🟡 MinorWerk flatlaf-swingx bij naar versie 3.5.4 of hoger.
De upgrade van FlatLaf naar 3.5.4 is correct, maar flatlaf-swingx op regel 291 blijft op 1.6.5 en is incompatibel met FlatLaf 3.5.4. Dit kan runtime-fouten veroorzaken. Voer flatlaf-swingx bij naar minimaal 3.5.4 (huidige recentste versie is 3.6, uit april 2025) om compatibiliteit te waarborgen.
De gebruikte theme-klassen (
FlatGrayIJTheme,FlatCarbonIJTheme,FlatDraculaIJTheme, etc. inStartPOS.javaenJFrmConfig.java) zijn beschikbaar in versie 3.5.4.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@pom.xml` around lines 276 - 292, De dependency flatlaf-swingx (artifactId flatlaf-swingx) in pom.xml is nog op 1.6.5 en moet naar ten minste 3.5.4 (bij voorkeur 3.6) bijgewerkt om compatibiliteit met flatlaf 3.5.4 te garanderen; open de pom.xml dependency-blok voor flatlaf-swingx en vervang de <version>1.6.5</version> door een versie >=3.5.4, bouw en verifieer dat StartPOS.java en JFrmConfig.java (gebruikers van FlatGrayIJTheme/FlatCarbonIJTheme/FlatDraculaIJTheme) nog compileren en draaien met de nieuwe versie.
🧹 Nitpick comments (1)
pom.xml (1)
392-409: JUnit upgrade naar 4.13.2 is correct.De upgrade van JUnit 4.12 naar 4.13.2 mitigeert CVE-2020-15250 en is in lijn met de projectrichtlijnen voor JUnit 4.
Opmerking: De
mockito-junit-jupiterdependency (regels 404-409) is bedoeld voor JUnit 5 integratie, niet JUnit 4. Overweeg om dit in een toekomstige PR te verwijderen of te vervangen doormockito-core. Dit valt buiten de scope van deze security-update.Based on learnings: "Do not use mockito-junit-jupiter in tests; use JUnit 4 instead."
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@pom.xml` around lines 392 - 409, The pom includes mockito-junit-jupiter (artifactId mockito-junit-jupiter) which is a JUnit 5 integration and conflicts with the project's JUnit 4 test setup; remove the mockito-junit-jupiter dependency and replace it with the appropriate Mockito artifact for JUnit 4 (use artifactId mockito-core, version aligned with mockito-inline) and mark it with <scope>test</scope> so tests use Mockito without JUnit 5 integration.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@pom.xml`:
- Around line 276-292: De dependency flatlaf-swingx (artifactId flatlaf-swingx)
in pom.xml is nog op 1.6.5 en moet naar ten minste 3.5.4 (bij voorkeur 3.6)
bijgewerkt om compatibiliteit met flatlaf 3.5.4 te garanderen; open de pom.xml
dependency-blok voor flatlaf-swingx en vervang de <version>1.6.5</version> door
een versie >=3.5.4, bouw en verifieer dat StartPOS.java en JFrmConfig.java
(gebruikers van FlatGrayIJTheme/FlatCarbonIJTheme/FlatDraculaIJTheme) nog
compileren en draaien met de nieuwe versie.
---
Nitpick comments:
In `@pom.xml`:
- Around line 392-409: The pom includes mockito-junit-jupiter (artifactId
mockito-junit-jupiter) which is a JUnit 5 integration and conflicts with the
project's JUnit 4 test setup; remove the mockito-junit-jupiter dependency and
replace it with the appropriate Mockito artifact for JUnit 4 (use artifactId
mockito-core, version aligned with mockito-inline) and mark it with
<scope>test</scope> so tests use Mockito without JUnit 5 integration.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: CHILL
Plan: Pro
Run ID: 7f52ddf3-1a7b-4cd4-bb10-2b029665fbdc
📒 Files selected for processing (2)
pom.xmlsrc/main/java/com/unicenta/pos/config/JPanelConfigGeneral.java
💤 Files with no reviewable changes (1)
- src/main/java/com/unicenta/pos/config/JPanelConfigGeneral.java
FlatLaf 3.x verwijderde Material Theme UI Lite themes, waardoor het aantal LaFs van 67 naar 54 ging. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Samenvatting
Veilige dependency bumps voor bekende CVEs:
Ongebruikte import
FlatAtomOneLightContrastIJThemeverwijderd (class bestaat niet meer in flatlaf 3.x).Niet geüpdatet (breaking changes, aparte PRs nodig):
Addresses #25
Testplan
🤖 Generated with Claude Code
Summary by CodeRabbit