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

peerigon / parse-domain / 43521488167
94%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 Nov 2026 10:43PM UTC
Jobs 1
Files 16
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

13 Nov 2026 10:42PM UTC coverage: 95.29% (+0.2%) from 95.094%
43521488167

push

github

web-flow
fix: ignore path-only trie nodes in public suffix lookup (#269)

Fixes #159: `parseDomain('salesforce.com')` returned no domain because
labels that only exist as a path to deeper PSL rules (e.g. `salesforce`
in `*.platform.salesforce.com`) were counted as part of the TLD. Trie
nodes now carry an `isRule` flag, serialized with a `~` prefix when
false, and the lookup returns only labels up to the last node that ends
a rule. Wildcard-matched nodes, exception parents and top-level labels
(PSL implicit `*` rule, e.g. `za`) still count as suffixes. The
serialized tries grow by about 1 KB, and tests cover the lookup, the
serialization and `parseDomain`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>

107 of 107 branches covered (100.0%)

17 of 17 new or added lines in 6 files covered. (100.0%)

263 of 276 relevant lines covered (95.29%)

5222.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 43521488167.1 13 Nov 2026 10:43PM UTC 16
95.29
GitHub Action Run
Source Files on build 43521488167
  • Tree
  • List 16
  • Changed 6
  • Source Changed 6
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43521488167
  • 70787b1c on github
  • Prev Build on main (#42531082763)
  • Next Build on main (#43521795108)
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