Skip to content

chore(deps): bump zod from 3.25.76 to 4.6.1 in /frontend - #15

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/zod-4.5.4
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/zod-4.5.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 12, 2026

Copy link
Copy Markdown

Bumps zod from 3.25.76 to 4.6.1.

Release notes

Sourced from zod's releases.

v4.6.1

A patch on top of 4.6.0.

v4.6.0

Zod 4.6 is now available.

npm install zod@latest

At a glance:

  • .validate() — checks input validity without building a result (up to 35x faster than .safeParse().success on a compiled schema)
  • z.instanceof().properties() — validates properties of an instance
  • fromJSONSchema() — enforces six validation keywords it used to ignore
  • z.iban() — electronic-format IBAN plus mod-97 checksum
  • z.withParser() — installs a parser generated elsewhere, for environments without new Function
  • Faster CommonJS — drops the getter on every export (~3x faster z.validate() under require)
  • Memory retention in recursive schemas — releases the parsed input, fixing a 4.5 out-of-memory regression
  • @zod/mini — Zod Mini as a standalone package, versioned in lockstep with zod since 4.5

.validate()

Standalone boolean validation, in Zod, Zod Mini, and Zod Core. It answers "is this input valid?" without constructing a ZodError, which makes rejection cheap. The return type is a guard on the schema's input type.

z.validate(z.string(), "hi"); // true
z.validate(z.string(), 42);   // false

It is a method on Zod Classic schemas too. (#6547)

const Player = z.object({
  username: z.string(),
  xp: z.number(),
});
if (Player.validate(data)) {
data.username; // narrowed
}

In conjunction with z.compile(), this can be up to 35x faster than .safeParse().success on invalid input.

... (truncated)

Commits
  • 62311eb 4.6.1
  • 2efa8b8 ci: give the npm wait a real budget and drop the back-publish path (#6583)
  • b12aa52 fix: preserve unique tags with defaulted discriminators (#6582)
  • dd9c36f fix(v4): defer recursive object index inference (#6580)
  • 574d480 fix(locales): clarify Tajik discriminator value message
  • c532d76 test(locales): cover Tajik error branches
  • 3b15499 feat(lang): add Tajik (tg) locale
  • 1c51cbe 4.6.0
  • 661673a docs: make the 9thCO logo visible on the light theme
  • 6de10dc docs: reconcile the sponsor listings against every active sponsorship (#6579)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for zod since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 12, 2026
@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: ab0256f8-6b9a-4b79-ba31-9ee45796f1d3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/frontend/zod-4.5.4 branch from 10ab019 to dfcb982 Compare September 12, 2026 18:58
Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.6.1.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](colinhacks/zod@v3.25.76...v4.6.1)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.5.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump zod from 3.25.76 to 4.5.4 in /frontend chore(deps): bump zod from 3.25.76 to 4.6.1 in /frontend Sep 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/frontend/zod-4.5.4 branch from dfcb982 to ca5c6e7 Compare September 12, 2026 22:35
sheffk78 pushed a commit that referenced this pull request Sep 17, 2026
…ame+search)

isSubActive()/isActive() compared location.pathname only, so More-sheet
entries pointing at query-string routes (/governance?tab=state 'State
Compliance', /governance?tab=risk 'Risk Dashboard') never rendered as
active after navigation. Compare location.pathname + location.search
consistently for both helpers and the More-button highlight, mirroring
Sidebar.js exact-match semantics.

Adds MobileBottomNav.test.js: More sheet contains State Compliance /
Risk Dashboard / Audit Trail with correct hrefs; /governance?tab=state
highlights the State Compliance item and More button; tab isolation
between Trust Health / Risk / State variants. Updates DEEP-TESTING-LOG
item #15 with [VERIFIED/FIXED] annotation.
sheffk78 pushed a commit that referenced this pull request Sep 18, 2026
…ity contract

DEEP-TESTING-LOG #15 re-check on main HEAD f2ce9df: the More-sheet entry
(/governance?tab=state, MapPin, 'State Compliance') and pathname+search
active matching from a602094 are already present and its 5 tests pass —
no production code change needed. What remained untested was the entry's
contract: adds 4 tests pinning MapPin icon + label + href, visibility for
standard non-admin users (entry renders; Admin group stays hidden),
visibility for admins (Leads/Admin Panel appear alongside), and
non-gating by benevolence_enabled. Documents that nav visibility is
enforced app-wide by ProtectedRoute (no public page embeds the nav), the
same way other nav entries are gated.

Verified route/tab wiring: /governance -> HealthComplianceTabbed reads
?tab= and renders StateCompliancePage for tab=state; /state-compliance
redirects to /governance?tab=state. StateCompliancePage.test.js: 13 pass.

MobileBottomNav: 9 tests pass (5 pre-existing + 4 new), CI=true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants