test: fix 0.0 pattern-match warning; chore: bump mint for CVE #38
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/w16-bounds-test-warning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
test:bounds_updater_test compared{:ok, %{... south: 0.0 ...}}via pattern match, which only accepts+0.0and triggers the compiler warningpattern matching on 0.0 is equivalent to matching only on +0.0. Switched to==comparison (matches the style already used in the same describe block).chore:bump mint 1.10.0 → 1.10.1 to fix EEF-CVE-2026-82672 (unvalidated chunk-size line tail → response smuggling). Main's CI is currently red onmix hex.auditfor this advisory (run #284); this heals the gate.Verification
mix test test/aprsme_web/live/map_live/bounds_updater_test.exs— 20/20, no warningsmix deps.audit— no vulnerabilities foundClean at
d992372, no findings.mix.lock: the mint 1.10.1 entry reproduces from hex. Registry checksum (field 4) and tarball sha256 (field 8) both matchrepo.hex.pm/tarballs/mint-1.10.1.tar, andfinch 0.23.0'smint ~> 1.8constraint admits it, so the bump resolves cleanly.bounds_updater_test.exs: the==rewrite is equivalent-or-stricter (map equality now pins the exact key set too). No other literal0.0sits in a pattern position inlib/ortest/, so that warning class is gone repo-wide.Heads-up: this PR is already merged to
mainasb24a740, andd992372and main have identical trees. Nothing left to act on here.