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

zwave-js / zwave-js-ui / 22183061276
19%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2026 01:09PM UTC
Jobs 1
Files 70
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

19 Feb 2026 01:08PM UTC coverage: 19.286% (+0.02%) from 19.271%
22183061276

push

github

web-flow
fix: remove deprecated csurf and querystring packages (#4554)

## Summary

Fixes #4504

- Remove the archived/unmaintained `csurf` package and its
`@types/csurf` type definitions
- This also removes the transitive `querystring` dependency that caused
npm deprecation warnings
- Remove the `csrfProtection` middleware from `/api/authenticate` and
`/api/password` routes

The CSRF middleware was effectively a no-op — the `value` function
called `req.csrfToken()` (which always generates a valid token), and the
frontend never sent any CSRF token. The app already has strong security
measures: rate limiting, JWT auth, session auth, CORS, and httpOnly
cookies.

## Test plan

- [x] `npm install` completes without csurf/querystring deprecation
warnings
- [x] `npm run build:server` — TypeScript compiles cleanly
- [ ] Login/authentication works correctly with auth enabled
- [ ] Password change endpoint works correctly

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

---------

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

334 of 444 branches covered (75.23%)

Branch coverage included in aggregate %.

0 of 59 new or added lines in 1 file covered. (0.0%)

4052 of 22298 relevant lines covered (18.17%)

1.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
59
0.0
0.0% api/app.ts
Jobs
ID Job ID Ran Files Coverage
1 22183061276.1 19 Feb 2026 01:09PM UTC 70
19.29
GitHub Action Run
Source Files on build 22183061276
  • Tree
  • List 70
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • de3eeaaa on github
  • Prev Build on master (#22179604518)
  • Next Build on master (#22298731999)
  • Delete
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