Repository navigation
chore(deps): override dev-only transitive dependencies with audit advisories - #56
Merged
Merged
Conversation
…isories Adds pnpm overrides for happy-dom, esbuild, file-type, @eslint/plugin-kit and minimatch, whose parents pin versions with known advisories. All five are reachable only through devDependencies; pnpm audit --prod was already clean. The overrides live in pnpm-workspace.yaml so package.json, which is published, stays unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0122PV8TJ7ELGdAX7H2hdrRU
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code |
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.
pnpm auditreported 7 advisories (2 high, 4 moderate, 1 low), all in packages reached only through devDependencies.pnpm audit --prodwas already clean, so the published plugin was never affected. After this PRpnpm auditreports none.@payloadcms/richtext-lexical>@lexical/headless@payloadcms/db-*>drizzle-kit>@esbuild-kit/*@swc/cli>@xhmikosr/downloader@payloadcms/eslint-config>eslint@payloadcms/eslint-config>typescript-eslintThe overrides go in a new
pnpm-workspace.yaml, not inpackage.json: the manifest is published and stays byte-identical, and YAML allows a comment per entry saying which parent to watch. The file is not in the npm tarball.onlyBuiltDependenciesinpackage.jsonis still honoured.Checked locally
pnpm lint(0 errors), bothtsc --noEmitruns,pnpm test:int(133 passed),pnpm build,test:published-exports,test:declarations.next dev devon a fresh SQLite file (schema push goes through drizzle-kit and esbuild): admin and API answer 200.withDOMfrom@lexical/headless/domparses HTML.@xhmikosr/downloaderand@xhmikosr/archive-typeload and detect a gzip buffer.Not checked: an actual
@swc/clibinary download (the only code path that calls file-type), which only runs when no prebuilt@swc/corebinary is installed.🤖 Generated with Claude Code
https://claude.ai/code/session_0122PV8TJ7ELGdAX7H2hdrRU