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

supabase / auth-js / 13038953236 / 1
71%
master: 71%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2025 07:32PM UTC
Files 13
Run time 0s
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

29 Jan 2025 07:30PM UTC coverage: 50.022%. Remained the same
13038953236.1

push

github

web-flow
fix: assert type in `decodeJWTPayload` (#1018)

## What kind of change does this PR introduce?

Bug fix

## What is the current behavior?

Type checking and/or linting does not pass for some configurations, per
https://github.com/supabase/auth-js/issues/967 and
https://github.com/supabase/auth-js/issues/1017

## What is the new behavior?

We're now asserting that `parts[1]` is a string (aka isn't undefined),
since we know from a previous check that the array length is 3.

## Additional context

Fixes #967 and fixes #1017

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

426 of 985 branches covered (43.25%)

Branch coverage included in aggregate %.

724 of 1314 relevant lines covered (55.1%)

19.17 hits per line

Source Files on job 13038953236.1
  • Tree
  • List 13
  • Changed 2
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 13038953236
  • 3d80039e on github
  • Prev Job for on master (#12934394860.1)
  • Next Job for on master (#13245526603.1)
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