Repository navigation
chore(deps): update vulnerable dependencies; pnpm audit clean (#313) - #314
Merged
Merged
Conversation
pnpm audit: 138 advisories (79 prod) -> 0. - pnpm up -r for everything in range (fastify 5.12.8, undici 7.30.2, fast-uri 3.1.9, sharp 0.35.5, fast-xml-parser 5.12, newrelic 14.12, react-router-dom 7.18.5, vite 8.3.8, ...) - @fastify/static 9 -> 10, vitest 3 -> 4 - drop node-upnp (unmaintained; got / ip / fast-xml-parser 3 advisories, ip has no patched release): the DLNA HTTP integration test now uses an in-file control point on fetch + fast-xml-parser - pnpm override: typescript-estree > minimatch ^11.0.1 - frontend: add node types (vitest 4 no longer pulls them in), fix three new eslint-plugin-react-hooks 7.1 errors, import.meta.dirname in vite configs Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M98ML9i5X7crjKVomscTNt
) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M98ML9i5X7crjKVomscTNt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #313. SECURITY.md H4.
pnpm audit: 138 advisories (79 in prod deps) → 0, prod and dev.Changes
pnpm up -rfor everything in range: fastify 5.12.8, undici 7.30.2, fast-uri 3.1.9, sharp 0.35.5, fast-xml-parser 5.12, newrelic 14.12 (@grpc/grpc-js), react-router-dom 7.18.5, vite 8.3.8, and the rest of the lockfile.@fastify/static9 → 10,vitest3 → 4.node-upnp(dev dep, unmaintained): itsgot/ip/fast-xml-parser3 deps carry advisories andiphas no patched release.hub/test/dlna-http.integration.test.tsnow uses a small in-fileControlPoint(fetch +fast-xml-parser) that still discovers control URLs fromdevice.xml.pnpm.overrides:@typescript-eslint/typescript-estree>minimatch→^11.0.1(parent still pins^10).frontend/tsconfig.app.jsonlistsnodetypes — vitest 4 no longer pulls them in transitively.eslint-plugin-react-hooks7.1 errors fixed in code:InvitePage(token read in auseStateinitializer instead of set in an effect),useDocumentTitle(helper declared before the effects),PlayerBar(memo on a hoisted local).import.meta.dirnamein the vite/vitest configs (vite 8.3 warning).docs/dlna.md/docs/sonos.md, threedocs/pitfalls.mdrows.Not upgraded (no advisory, larger majors): undici 8, fast-uri 4, pino 10, eslint 10, TypeScript 7, vitest 5.
Testing
pnpm audit/pnpm audit --prod: no known vulnerabilities.pnpm verifylocally: typecheck, lint (zero output), hub unit 1033/1033, frontend 193/193, integration 19 passed.dlna-ssdp.integration.test.ts— the dev Mac cannot send UDP multicast at all (baredgram.sendto 239.255.255.250 →EHOSTUNREACH, the known reboot-to-fix condition). CI runs them on Linux.pnpm --filter frontend buildgreen...%2ftraversal (falls back to index, no file leak), API 404,/admin/logincookies, owner-gated route 200 with cookie / 401 without, Subsonicping.pnpm test:federationnot run locally: the host runs two live hubs on a 2 GB Docker VM (the OOM pitfall from Restrict /proxy/* to signed peers and a read-only endpoint allowlist #308). Relying on the CIfederationjob.🤖 Generated with Claude Code
https://claude.ai/code/session_01M98ML9i5X7crjKVomscTNt