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

Kikobeats / ua-hints / 37956320834
100%

Build:
DEFAULT BRANCH: master
Ran 09 Oct 2026 04:04PM UTC
Jobs 1
Files 1
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

09 Oct 2026 04:03PM UTC coverage: 99.55% (+0.005%) from 99.545%
37956320834

push

github

web-flow
fix: clamp GREASE seed so negative UA versions do not crash (#21)

* fix: clamp GREASE seed so negative UA versions do not crash

ua-parser-js reports brands such as Vivaldi/-1 with an empty engine.
parseInt of that version is a truthy negative, so BRAND_ORDERS[-1]
throws TypeError on the request path.

* test: call uaHints once for negative versions

A throw already fails the test, and a missing header should fail too.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Kiko Beats <josefrancisco.verdu@gmail.com>

52 of 53 branches covered (98.11%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

169 of 169 relevant lines covered (100.0%)

26.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37956320834.1 09 Oct 2026 04:04PM UTC 1
99.55
GitHub Action Run
Source Files on build 37956320834
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #37956320834
  • 2579c372 on github
  • Prev Build on master (#37954769638)
  • Next Build on master (#38361298437)
  • Delete
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