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

supabase / auth-js / 13038953236
71%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2025 07:32PM UTC
Jobs 2
Files 13
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

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

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 %.

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

724 of 1314 relevant lines covered (55.1%)

38.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13038953236.1 29 Jan 2025 07:32PM UTC 13
50.02
GitHub Action Run
2 13038953236.2 29 Jan 2025 07:32PM UTC 13
50.02
GitHub Action Run
Source Files on build 13038953236
  • 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 Repo
  • 3d80039e on github
  • Prev Build on master (#12934394860)
  • Next Build on master (#13245526603)
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