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

tinyhttp / tinyhttp / 21562883674 / 1
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 01 Feb 2026 12:28PM UTC
Files 44
Run time 1s
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

01 Feb 2026 12:28PM UTC coverage: 98.878% (+0.003%) from 98.875%
21562883674.1

push

github

web-flow
Remove ipaddrjs (#484)

* refactor(proxy-addr): use native net.isIP for IP validation

Replace ipaddr.isValid with Node.js built-in net.isIP function
for basic IP address validation.

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

* refactor(proxy-addr): replace ipaddr.js with native Node.js net.BlockList

- Remove ipaddr.js dependency entirely
- Use net.BlockList for subnet matching
- Add helper functions for:
  - IPv4-mapped IPv6 detection and conversion
  - Netmask to CIDR prefix conversion
  - IP address normalization
- All 83 proxy-addr tests pass

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

* test(proxy-addr): add tests for uncovered code paths

- Test long-form IPv4-mapped address (0:0:0:0:0:ffff:x.x.x.x)
- Test /32 netmask (255.255.255.255)
- Test malformed IPv4-mapped address (::ffff:1)
- Fix substring index for long-form mapped addresses (14 -> 15)
- Update pnpm-lock.yaml after removing ipaddr.js

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

* chore: changeset

* refactor(proxy-addr): remove redundant validation in netmaskToPrefix

The check for valid IPv4 parts (length === 4, values 0-255) was unreachable
because net.isIP() already validates the format before this code runs.
Removing it improves branch coverage to 100%.

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

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

982 of 1003 branches covered (97.91%)

Branch coverage included in aggregate %.

1309 of 1314 relevant lines covered (99.62%)

87.09 hits per line

Source Files on job 21562883674.1
  • Tree
  • List 44
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 21562883674
  • f8911366 on github
  • Prev Job for on master (#21562207280.1)
  • Next Job for on master (#21562905037.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc