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

palcarazm / bs-darkmode-toggle / 24003388609
98%
v1: 98%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/docs/version-updates-8b302c2185
DEFAULT BRANCH: v1
Ran 05 Apr 2026 02:20PM UTC
Jobs 2
Files 11
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 Apr 2026 02:19PM UTC coverage: 98.812% (+0.2%) from 98.626%
24003388609

push

github

palcarazm
feat: add localStorage support as alternative to cookies

Replace cookie-only persistence with a flexible storage system that supports
multiple providers (cookie, localStorage, none). This change introduces a
pluggable storage architecture with StorageProvider interface and three
implementations: CookieStorage, LocalStorage, and NoStorage.

Key changes:
- Add StorageType enum with values 'cookie', 'local', 'none'
- Replace 'allowCookie' option with new 'storage' option (default: 'none')
- Rename CookieManager to StorageManager with pluggable providers
- Add setStorageType() method to change storage at runtime
- Rename updateCookie() to persistState()
- Remove allowCookie() and denyCookie() methods
- Add set_storage API method for dynamic storage changes
- Update all tests to cover new storage providers
- Update documentation to reflect storage options

BREAKING CHANGE: The 'allowCookie' option and cookie-specific methods have
been removed. Use the new 'storage' option instead:
- Before: allowCookie: true
- After: storage: 'cookie'

Implements #62

175 of 180 branches covered (97.22%)

Branch coverage included in aggregate %.

80 of 80 new or added lines in 7 files covered. (100.0%)

241 of 241 relevant lines covered (100.0%)

86.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 coverage-report-24.x - 24003388609.1 05 Apr 2026 02:20PM UTC 22
99.11
GitHub Action Run
2 coverage-report-22.x - 24003388609.2 05 Apr 2026 02:20PM UTC 22
99.11
GitHub Action Run
Source Files on build 24003388609
  • Tree
  • List 11
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24003388609
  • 73d81aa2 on github
  • Prev Build on develop/1.0.0 (#23999346988)
  • Next Build on develop/1.0.0 (#24027130556)
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