Payload 3.94.1, dependency updates, overrides re-checked
- payload and every @payloadcms/* 3.94.1 in the plugin's dev dependencies, the reference site and the starter (peer range unchanged: ^3.90.2); react/react-dom 19.3.1; reference engines node >=22.23.5 <23 (Payload 3.94's minimum). - Overrides re-checked: dompurify and happy-dom still needed; mongoose (3.90–3.93) and undici (3.90–3.91) only on an older Payload; graphql-scalars no longer needed (GHSA-x8rm-f576-gq67 covers 1.24.1–2.0.0; Payload pins 1.22.2). Reference keeps dompurify + happy-dom; plugin root drops graphql-scalars. - ipal-doctor transitive-min: the mongoose fix names the Payload upgrade first. - nodemailer 10.6.1; dev: playwright 1.65.1, vitest 5.1.1, prettier 3.10.1, @swc/cli 0.8, rimraf 6 (clean uses --glob), cross-env 10, open 11, sort-package-json 4, @swc-node/register 1.12.1, vite-tsconfig-paths 6.1.1; reference tailwind 4.3.5, postcss 8.5.33. - Kept back: typescript 7, eslint 10, graphql 17, @types/node 26, lucide-react 1.x. - AGENT.md §4 item 12, ipal-setup, ipal-upgrade, README, PROGRAMISTA §1, forms.md, doctor.md; reference skills copy; CHANGELOG Unreleased. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
13b66413f8
commit
ab51027617
@@ -12,14 +12,15 @@ export const NEXT_RECOMMENDED = '16.4.6'
|
||||
* Packages from Payload's own dependency tree that Payload pins below a security fix (AGENT.md §4 item 12). Only the
|
||||
* project's lockfile can lift them, with a `pnpm.overrides` entry. `major` limits the check to the line Payload uses.
|
||||
*/
|
||||
export const TRANSITIVE_MIN_SAFE: { major?: number; min: string; name: string; override: string; severity: 'error' | 'warning'; why: string }[] = [
|
||||
export const TRANSITIVE_MIN_SAFE: { major?: number; min: string; name: string; override: string; severity: 'error' | 'warning'; upgrade?: string; why: string }[] = [
|
||||
{
|
||||
name: 'mongoose',
|
||||
major: 8,
|
||||
min: '8.24.7',
|
||||
override: '"mongoose@>=8 <8.24.7": "~8.24.10"',
|
||||
severity: 'error',
|
||||
why: 'GHSA-pcrw-h46h-c93h (critical, sanitizeFilter not applied on countDocuments) and four more; @payloadcms/db-mongodb pins 8.24.1',
|
||||
upgrade: 'upgrade payload and every @payloadcms/* to 3.94.1 (@payloadcms/db-mongodb 3.94.0+ ships 8.24.7), or ',
|
||||
why: 'GHSA-pcrw-h46h-c93h (critical, sanitizeFilter not applied on countDocuments) and four more; @payloadcms/db-mongodb 3.90–3.93 pins 8.24.1',
|
||||
},
|
||||
{
|
||||
name: 'happy-dom',
|
||||
@@ -89,7 +90,7 @@ export const versionRules: DoctorRule[] = [
|
||||
if (old.length) {
|
||||
out.push({
|
||||
file: 'package.json',
|
||||
fix: `add ${dep.override} to pnpm.overrides in package.json, then pnpm install (AGENT.md §4 item 12)`,
|
||||
fix: `${dep.upgrade ?? ''}add ${dep.override} to pnpm.overrides in package.json, then pnpm install (AGENT.md §4 item 12)`,
|
||||
message: `${dep.name} ${old.join(', ')} < ${dep.min} — ${dep.why}`,
|
||||
severity: dep.severity,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user