- 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
chore(deps): bump zod from 3.25.76 to 4.1.12 #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| 📝 WalkthroughSummary by CodeRabbit
 WalkthroughUpdated package.json to bump the zod dependency from ^3.25.76 to ^4.1.12. No other files or exports changed. Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks✅ Passed checks (3 passed)
 Comment  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️  Outside diff range comments (1)
package.json (1)
1-43: Fix the Biome formatting to unblock CI.GitHub Actions failed with “Formatter would have printed content for package.json.” Please run the Biome formatter (e.g.,
npx biome format package.jsonornpm run lint:fix) and commit the formatted file so the pipeline passes.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
⛔ Files ignored due to path filters (1)
- package-lock.jsonis excluded by- !**/package-lock.json
📒 Files selected for processing (1)
- package.json(1 hunks)
🧰 Additional context used
🪛 GitHub Actions: PR Checks
package.json
[error] 9-15: Formatter would have printed content for package.json. Biome formatter would rewrite the file (formatting changes required).
| }, | ||
| "dependencies": { | ||
| "zod": "^3.25.76" | ||
| "zod": "^4.1.12" | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Confirm code is compatible with Zod v4.
This jumps from Zod 3.x to 4.x, which is a major release with breaking changes. Re-run the project’s type checks, tests, and any targeted validation around Zod usage to ensure nothing regressed.
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Install dependencies
npm ci
# Run type-check, lint, and tests to surface incompatibilities.
npm run lint:ts
npm run lint
npm testLength of output: 523
Address Zod v4 breaking change
– src/frontegg-oauth-client.ts:207: the Zod API now requires 2–3 arguments (TS2554). Update this call to include the missing parameter(s).
🤖 Prompt for AI Agents
In package.json and in src/frontegg-oauth-client.ts around line 207 the Zod call
fails under Zod v4 because the function now requires 2–3 arguments (TS2554);
open src/frontegg-oauth-client.ts at line 207, identify the Zod invocation
flagged by the compiler, and update that call to pass the required second
argument (and third if applicable) according to Zod v4’s API — e.g., supply the
appropriate options or errorMap object and any necessary context/params with
correct types (consult Zod v4 docs), adjust imports/types if needed, and run
TypeScript to confirm the TS2554 error is resolved.
ce856aa    to
    282bf64      
    Compare
  
    1fad8cc    to
    1c4ef77      
    Compare
  
    Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.1.12. - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](colinhacks/zod@v3.25.76...v4.1.12) --- updated-dependencies: - dependency-name: zod dependency-version: 4.1.12 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
1c4ef77    to
    7577b45      
    Compare
  
    
Bumps zod from 3.25.76 to 4.1.12.
Release notes
Sourced from zod's releases.
... (truncated)
Commits
3b94610v4.1.1277c3c9fExport bg.tsaf44738Fix lintfda4c7cMake docs work without token3fcb20fAdd frrm to ecosystem (#5292)4b1922adocs(content/v4/index): fix zod version (#5289)02a5840refac(errors): Unify code structure and improve types (#5278)62bf4e4fix(ZodError): prevent flatten() from crashing on 'toString' key (#5266)a0abcc0docs(metadata.mdx): fix a mistake in an example output (#5248)c56a4f6docs(ecosystem): addeslint-plugin-zod-x(#5261)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)