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

RobinTail / express-zod-api / 12253712694
100%

Build:
DEFAULT BRANCH: master
Ran 10 Dec 2024 10:02AM UTC
Jobs 6
Files 51
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

10 Dec 2024 10:01AM UTC coverage: 100.0%. Remained the same
12253712694

push

github

web-flow
Bump zod from 3.23.8 to 3.24.0 (#2247)

Bumps [zod](https://github.com/colinhacks/zod) from 3.23.8 to 3.24.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/colinhacks/zod/releases">zod's
releases</a>.</em></p>
<blockquote>
<h2>v3.24.0</h2>
<h1>New features</h1>
<h2>Implement the Standard Schema spec</h2>
<p>This is the first version of Zod to implement the <a
href="https://github.com/standard-schema/standard-schema">Standard
Schema</a> spec. This is a new community effort among several validation
library authors to implement a common interface, with the goal of
simplifying the process of integrating schema validators with the rest
of the ecosystem. Read more about the project and goals <a
href="https://github.com/standard-schema/standard-schema">here</a>.</p>
<h2><code>z.string().jwt()</code></h2>
<p>Thanks to <a
href="https://github.com/Mokshit06"><code>@​Mokshit06</code></a> and <a
href="https://github.com/Cognition-Labs"><code>@​Cognition-Labs</code></a>
for this contribution!</p>
<p>To verify that a string is a valid 3-part JWT.</p>
<pre><code>z.string().jwt();
</code></pre>
<blockquote>
<p>⚠️ This does not <em>verify</em> your JWT cryptographically! It
merely ensures its in the proper format. Use a library like <a
href="https://github.com/auth0/node-jsonwebtoken"><code>jsonwebtoken</code></a>
to verify the JWT signature, parse the token, and read the claims.</p>
</blockquote>
<p>To constrain the JWT to a specific algorithm:</p>
<pre lang="ts"><code>z.string().jwt({ alg: &quot;RS256&quot; });
</code></pre>
<h2><code>z.string().base64url()</code></h2>
<p>Thank you to <a
href="https://github.com/marvinruder"><code>@​marvinruder</code></a>!</p>
<p>To complement the JWT validation, Zod 3.24 implements a standalone
<code>.base64url()</code> string validation API. (The three elements of
JWTs are base64url-encoded JSON strings.)</p>
<pre lang="ts"><code>z.string().base64... (continued)

1211 of 1234 branches covered (98.14%)

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

4296 of 4296 relevant lines covered (100.0%)

361.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-20.9.0 - 12253712694.1 10 Dec 2024 10:02AM UTC 51
100.0
GitHub Action Run
2 run-18.x - 12253712694.2 10 Dec 2024 10:02AM UTC 51
100.0
GitHub Action Run
3 run-20.x - 12253712694.3 10 Dec 2024 10:02AM UTC 51
100.0
GitHub Action Run
4 run-22.0.0 - 12253712694.4 10 Dec 2024 10:02AM UTC 51
100.0
GitHub Action Run
5 run-18.18.0 - 12253712694.5 10 Dec 2024 10:03AM UTC 51
100.0
GitHub Action Run
6 run-22.x - 12253712694.6 10 Dec 2024 10:02AM UTC 51
100.0
GitHub Action Run
Source Files on build 12253712694
  • Tree
  • List 51
  • Changed 3
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #12253712694
  • f15ba981 on github
  • Prev Build on master (#12246004675)
  • Next Build on master (#12260861104)
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

© 2025 Coveralls, Inc