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

tselect-npm / url / 33311016533
100%

Build:
DEFAULT BRANCH: main
Ran 30 Aug 2026 12:16PM UTC
Jobs 1
Files 7
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

30 Aug 2026 12:15PM UTC coverage: 100.0%. Remained the same
33311016533

push

github

web-flow
:bug: Eliminate polynomial ReDoS in ensureTrailingSlash (#25)

* fix: eliminate polynomial ReDoS in ensureTrailingSlash

Replace the /\/+$/ regex with a linear charCodeAt scan. The anchored
quantifier backtracked quadratically on inputs of many '/' not followed
by end of string (measured 5.3s at 80k chars; now ~0.01ms). Adds
regression tests for long slash runs and adversarial input; coverage
stays at 100%.

Fixes #22

* :lipstick: Use constant for forward slash character code

Replaced hardcoded character code for forward slash with a constant.

---------

Co-authored-by: painbaba <painpratham@gmail.com>
Co-authored-by: Sylvain Estevez <estevez.sylvain@gmail.com>

27 of 27 branches covered (100.0%)

Branch coverage included in aggregate %.

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

37 of 37 relevant lines covered (100.0%)

276.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33311016533.1 30 Aug 2026 12:16PM UTC 7
100.0
GitHub Action Run
Source Files on build 33311016533
  • Tree
  • List 7
  • 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 #33311016533
  • fce92d2c on github
  • Prev Build on main (#31406643531)
  • 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