• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kelp404 / capybara-router / 42332405117
92%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2026 03:06AM UTC
Jobs 1
Files 10
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 Nov 2026 03:05AM UTC coverage: 91.57% (+1.0%) from 90.538%
42332405117

push

github

kelp404
fix: replace query-string with a native implementation

query-string 9.5.1 depends on decode-uri-component 0.5.0, which is
vulnerable to DoS via quadratic replacement of percent-encoded runs
(GHSA-qr28-fpjm-wq7f). query-string 10 fixes it but uses the regex `v`
flag, which breaks older browsers (Safari < 17, Chrome < 112).

Add lib/query-string.js with parse() and stringify() that match
query-string's default behavior, so the router has no vulnerable
dependency and keeps the same browser support.

- Decode on UTF-8 bytes in linear time; invalid sequences become U+FFFD
  like URLSearchParams.
- Collect repeated keys in linear time.
- Encode lone surrogates as U+FFFD instead of throwing URIError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

166 of 197 branches covered (84.26%)

Branch coverage included in aggregate %.

39 of 39 new or added lines in 3 files covered. (100.0%)

388 of 408 relevant lines covered (95.1%)

2833.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42332405117.1 07 Nov 2026 03:06AM UTC 10
91.57
GitHub Action Run
Source Files on build 42332405117
  • Tree
  • List 10
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42332405117
  • c62ddda9 on github
  • Prev Build on master (#37109522364)
  • Next Build on master (#42341979749)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc