You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tracking issue documenting the overrides block added to package.json in #212, so the rationale isn't buried in a commit message and each pin has a clear removal condition.
All three are transitive packages flagged by npm audit (was 8 advisories: 7 low, 1 high → now 0). Overrides are resolver-level pins — pure lockfile changes, no source/runtime behaviour change (with one documented caveat for cookie, below).
The fix in cookie 0.7+ is itself a breaking change: strict character validation (cookie names must be ASCII; out-of-bounds chars now throw instead of being silently accepted). Bumping it inside a kit 2.x minor would break apps using non-ASCII cookie names, so they deferred it to a major — breaking: upgrade to cookie v1 sveltejs/kit#13386 (breaking: upgrade to cookie v1) is merged into the version-3 branch and ships in SvelteKit 3.0.0-next.0.
Caveat / why it's safe here: the override opts us into that stricter validation early. genug-da only sets ASCII, constant, non-user-controlled cookie names — session_token (src/lib/server/db/auth/utils.ts) and the theme cookie — all path: '/'. The edge case SvelteKit was cautious about does not exist in this app.
Removal condition: drop this override when we upgrade to SvelteKit 3 (kit will depend on cookie v1 natively; leaving the override could even hold cookie back at 0.7.x).
Path: transitive via jsdom — test-only, not shipped in the production build.
Why the override:7.28.0 already satisfies jsdom's own range (^7.24.5), so this is a low-risk nudge to the top of the allowed range. Renovate's weekly lockFileMaintenance would also pull this eventually; the override makes it deterministic now.
Removal condition: safe to drop once jsdom (or whatever pulls undici) resolves to a fixed undici on its own. Low urgency — harmless to keep.
Path: a nested copy under vite (0.27.7). Dev-server + Windows-only file-read; not a production concern (and we develop on darwin).
What $esbuild means: the $-reference pins every nested esbuild to whatever we declare at the top level (^0.28.1), deduping vite's private copy up to match. Self-maintaining — it follows our own esbuild bump automatically.
Removal condition: drop once vite ships an esbuild >=0.28.1 in its own dependency range.
Renovate note: the overrides act as a floor Renovate respects going forward, so these three can't silently regress. Optionally enabling transitiveRemediation in renovate.json would let Renovate auto-author overrides for future transitive advisories. See also the Renovate Dependency Dashboard (Dependency Dashboard #173).
Tracking issue documenting the
overridesblock added topackage.jsonin #212, so the rationale isn't buried in a commit message and each pin has a clear removal condition.All three are transitive packages flagged by
npm audit(was 8 advisories: 7 low, 1 high → now 0). Overrides are resolver-level pins — pure lockfile changes, no source/runtime behaviour change (with one documented caveat forcookie, below).cookie— 0.6.0 → 0.7.2 (7× low, GHSA-pxg6-pf52-xh8x)@sveltejs/kit(this one ships in the production server runtime — kit usescookie'sparse/serializeon every request).@sveltejs/kit@latest(2.70.1) still pinscookie ^0.6.0. This is deliberate on SvelteKit's part, not neglect:cookielib sveltejs/kit#13089, #12903).cookie0.7+ is itself a breaking change: strict character validation (cookie names must be ASCII; out-of-bounds chars now throw instead of being silently accepted). Bumping it inside a kit 2.x minor would break apps using non-ASCII cookie names, so they deferred it to a major — breaking: upgrade to cookie v1 sveltejs/kit#13386 (breaking: upgrade to cookie v1) is merged into theversion-3branch and ships in SvelteKit 3.0.0-next.0.session_token(src/lib/server/db/auth/utils.ts) and the theme cookie — allpath: '/'. The edge case SvelteKit was cautious about does not exist in this app.cookiev1 natively; leaving the override could even holdcookieback at 0.7.x).undici— 7.24.7 → 7.28.0 (1× high, multiple advisories)jsdom— test-only, not shipped in the production build.7.28.0already satisfies jsdom's own range (^7.24.5), so this is a low-risk nudge to the top of the allowed range. Renovate's weeklylockFileMaintenancewould also pull this eventually; the override makes it deterministic now.jsdom(or whatever pulls undici) resolves to a fixedundicion its own. Low urgency — harmless to keep.esbuild—$esbuild(1× low, GHSA-g7r4-m6w7-qqqr)vite(0.27.7). Dev-server + Windows-only file-read; not a production concern (and we develop on darwin).$esbuildmeans: the$-reference pins every nested esbuild to whatever we declare at the top level (^0.28.1), deduping vite's private copy up to match. Self-maintaining — it follows our own esbuild bump automatically.viteships an esbuild>=0.28.1in its own dependency range.Related
transitiveRemediationinrenovate.jsonwould let Renovate auto-author overrides for future transitive advisories. See also the Renovate Dependency Dashboard (Dependency Dashboard #173).