Overrides for Payload's mongoose and happy-dom advisories; doctor rule transitive-min

@payloadcms/db-mongodb pins mongoose 8.24.1 (one critical, two high, two moderate
advisories, fixed by 8.24.7) and @lexical/headless 0.50 brings happy-dom 20.x (two
high, fixed by 21.0.4). Payload 3.93.0 fixes neither.

- reference/package.json (and so the starter): pnpm.overrides for mongoose
  (~8.24.10) and happy-dom (^21.0.4); pnpm audit --prod on the reference is clean
- root package.json: the happy-dom override for the plugin's own dev tree
- ipal-doctor: transitive-min reports mongoose 8.x < 8.24.7 (error) and
  happy-dom < 21.0.4 (warning) from the lockfile and prints the override line;
  DoctorContext.installedAll(name)
- AGENT.md §4 item 12, ipal-setup, ipal-upgrade, doctor.md, README, CHANGELOG

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-17 00:01:58 +01:00
co-authored by Claude Fable 5.2
parent 7c034a07ef
commit de8362820f
15 changed files with 209 additions and 36 deletions
+20 -18
View File
@@ -15,6 +15,8 @@ overrides:
'@payloadcms/ui': 3.90.2
dompurify@<3.4.17: ^3.4.17
graphql-scalars@<2.0.1: ^2.0.1
happy-dom@<21.0.4: ^21.0.4
mongoose@>=8 <8.24.7: ~8.24.10
undici@>=7 <7.30.1: ^7.30.1
importers:
@@ -1641,8 +1643,8 @@ packages:
resolution: {integrity: sha512-Chq1s4CY7jmh8gO2qvLIJyfCDIN+EHLFW/9iShnp1z8FjBQMoodWP1kDC36VAMXXIvAjj4ARa7ntfAV2BrjsbA==}
engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0}
happy-dom@20.14.6:
resolution: {integrity: sha512-5DDsf4QmEIlRL6NkCv/fxSjYHHkZceL/IaYQdJc2h3G7DRTEai++VTjbfL0LB9geW2VrA3+vrjF3Efx+OTtX0Q==}
happy-dom@21.0.4:
resolution: {integrity: sha512-tFm+GaLBgo6o0awHnvHaNoraVo27qJ+2tZEtZ+cIa08hXbeitrxAJajLI05hsUy/2/YTKcUjQYzHe5mCcraLBw==}
engines: {node: '>=20.0.0'}
[email protected]:
@@ -2080,14 +2082,14 @@ packages:
resolution: {integrity: sha512-8chOqpVE3bcoWT2pIgcJeIZlXaOfQCavZgQZF4qytUtjRBqsNMyzUoR16qdw9XL2kC478N8iA8z0AA+NSS0d1A==}
engines: {node: '>=16.20.1'}
peerDependencies:
mongoose: '>=5.11.10'
mongoose: ~8.24.10
[email protected]:
resolution: {integrity: sha512-0LOsVEQmjrbJKVDi/IvFEhIezmuRjUE4loGgslv57j9nK/NMC+mbKT0QnaPSPpib4lByKVBcy3VbDa1TvlHZjA==}
engines: {node: '>=4.0.0'}
[email protected]:
resolution: {integrity: sha512-UpHBA0l5kHyKJQFjmBaFYQFo5sgz1DK0TRqDkOyBLYbqiIbKKhIvBpHWBXqeo0rgW4kGI1UhhAw+kTQZoj1BdA==}
[email protected]0:
resolution: {integrity: sha512-mvIBeudAZjSXteYMl66KA/2SJoTPAYqkkFLiZK5mzrquNDbDwmtvnK9azSRXKz0TWcCcc5ATG6WiOU0qsp2xNw==}
engines: {node: '>=16.20.1'}
[email protected]:
@@ -2098,8 +2100,8 @@ packages:
resolution: {integrity: sha512-ikJRQTk8hw5DEoFVxHG1Gn9T/xcjtdnOKIU1JTmGjZZlg9LST2mBLmcX3/ICIbgJydT2GOc15RnNy5mHmzfSew==}
engines: {node: '>=4.0.0'}
[email protected].0:
resolution: {integrity: sha512-iQMncpmEK8R8ncT8HJGsGc9Dsp8xcgYMVSbs5jgnm1lFHTZqMJTUWTDx1LBO8+mK3tPNZWFLBghQEIOULSTHZg==}
[email protected].1:
resolution: {integrity: sha512-C99lWV0TFI34pS008jBsi3JrE2xZPnTgUw5yApQR71nRP0hxLy8D5m1Lbbk83c8AQWJwdJ0329HzFtZ1MRTUIw==}
engines: {node: '>=14.0.0'}
[email protected]:
@@ -3405,7 +3407,7 @@ snapshots:
'@lexical/[email protected]([email protected])':
dependencies:
'@lexical/internal': 0.50.0([email protected])
happy-dom: 20.14.6
happy-dom: 21.0.4
lexical: 0.50.0([email protected])
optionalDependencies:
typescript: 5.9.3
@@ -3624,8 +3626,8 @@ snapshots:
'@payloadcms/[email protected]([email protected]([email protected])([email protected]))':
dependencies:
mongoose: 8.24.1
mongoose-paginate-v2: 1.9.4([email protected])
mongoose: 8.24.10
mongoose-paginate-v2: 1.9.4([email protected]0)
payload: 3.90.2([email protected])([email protected])
prompts: 2.4.2
uuid: 13.0.2
@@ -4368,7 +4370,7 @@ snapshots:
[email protected]: {}
happy-dom@20.14.6:
happy-dom@21.0.4:
dependencies:
'@types/node': 22.20.5
'@types/whatwg-mimetype': 3.0.2
@@ -4877,24 +4879,24 @@ snapshots:
bson: 6.10.4
mongodb-connection-string-url: 3.0.2
[email protected]([email protected]):
[email protected]([email protected]0):
dependencies:
mongoose: 8.24.1
mongoose: 8.24.10
mpath: 0.8.4
[email protected]([email protected]):
[email protected]([email protected]0):
dependencies:
mongoose-lean-virtuals: 1.1.1([email protected])
mongoose-lean-virtuals: 1.1.1([email protected]0)
transitivePeerDependencies:
- mongoose
[email protected]:
[email protected]0:
dependencies:
bson: 6.10.4
kareem: 2.6.3
mongodb: 6.20.0
mpath: 0.9.0
mquery: 5.0.0
mquery: 5.0.1
ms: 2.1.3
sift: 17.1.3
transitivePeerDependencies:
@@ -4911,7 +4913,7 @@ snapshots:
[email protected]: {}
[email protected].0:
[email protected].1:
dependencies:
debug: 4.4.3
transitivePeerDependencies: