chore(deps): bump zod from 3.25.76 to 4.6.7 (#1837)

* chore(deps): bump zod from 3.25.76 to 4.6.7

Bumps [zod](https://github.com/colinhacks/zod) from 3.25.76 to 4.6.7.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v3.25.76...v4.6.7)

---
updated-dependencies:
- dependency-name: zod
  dependency-version: 4.6.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(plugins): keep the capabilities defaults on zod 4

zod 4 returns the literal default for an absent object, so a manifest without capabilities lost its empty arrays. prefault runs the inner defaults again.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Resham Joshi <65915470+iamtoruk@users.noreply.github.com>
This commit is contained in:
dependabot[bot] 2026-11-04 19:08:05 +01:00 • committed by GitHub
parent ac93a881d4
commit 51172deed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

8
package-lock.json generated
View file

@ -18,7 +18,7 @@
"selfsigned": "^5.5.0",
"strip-ansi": "^7.2.0",
"undici": "^7.27.2",
"zod": "^3.25.76"
"zod": "^4.6.7"
},
"bin": {
"codeburn": "dist/cli.js"
@ -4421,9 +4421,9 @@
"license": "MIT"
},
"node_modules/zod": {
"version": "3.25.76",
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
"integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
"version": "4.6.7",
"resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz",
"integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"

View file

@ -71,7 +71,7 @@
"selfsigned": "^5.5.0",
"strip-ansi": "^7.2.0",
"undici": "^7.27.2",
"zod": "^3.25.76"
"zod": "^4.6.7"
},
"devDependencies": {
"@types/node": "^22.19.17",

View file

@ -31,7 +31,7 @@ export const pluginManifestSchema = z.object({
}).strict()).max(64).default([]),
payloadSections: z.array(z.string().regex(SUBCOMMAND)).max(16).default([]),
spanKinds: z.array(z.string().regex(DOTTED_KEY).max(128)).max(16).default([]),
}).strict().default({}),
}).strict().prefault({}),
}).strict()
export type PluginManifest = z.infer<typeof pluginManifestSchema>