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

FullHuman / purgecss / 42068157610
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/minimatch-11.0.10
DEFAULT BRANCH: main
Ran 05 Nov 2026 04:49PM UTC
Jobs 1
Files 8
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

05 Nov 2026 04:47PM UTC coverage: 94.566%. Remained the same
42068157610

Pull #1574

github

Ffloriel
feat(purgecss): accept strings in safelist.deep and safelist.greedy types

Since #1534, a string between slashes is parsed as a regular expression
in every safelist option, and since #1532 a plain string in
safelist.deep or safelist.greedy matches a selector part exactly instead
of throwing. The TypeScript types of these two options still only
accepted RegExp, so a typed configuration could not use the string form
without a cast.

Widen deep and greedy to StringRegExpArray, document the matching rules
on the type, and add the missing greedy TSDoc. Mention the "/regex/"
string form in the configuration and CLI docs (EN and FR), next to the
blocklist and dynamicAttributes options and the --safelist flag, and
drop the cast the regexp-strings test needed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Pull Request #1574: feat(purgecss): accept strings in safelist.deep and safelist.greedy types

568 of 629 branches covered (90.3%)

Branch coverage included in aggregate %.

598 of 604 relevant lines covered (99.01%)

10154.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 42068157610.1 05 Nov 2026 04:49PM UTC 17
92.48
GitHub Action Run
Source Files on build 42068157610
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42068157610
  • Pull Request #1574
  • PR Base - main (#42067364442)
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