Update dependencies and fix audit vulnerabilities#1021
Merged
Conversation
Contributor
|
Preview deployment: https://update-packages.preview.avy-fx.org |
Updates @react-email/components, react-email, axios, pino-pretty, and @types/node, @types/react, @types/react-dom to latest compatible versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- sharp: 0.33.5 → 0.34.5 - lucide-react: 0.575.0 → 1.7.0 - @vercel/og: 0.8.5 → 0.11.1 - @vercel/blob: 1.1.1 → 2.3.3 - @libsql/client: 0.15.4 → 0.17.2 - lint-staged: 15.5.0 → 16.4.0 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- typescript: 5.7.2 → 5.7.3 - @types/react: 19.1.8 → 19.2.14 - @types/react-dom: 19.1.6 → 19.2.3 - tailwind-merge: 2.6.0 → 3.5.0 - react: 19.1.0 → 19.2.4 - react-dom: 19.1.0 → 19.2.4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- @eslint/eslintrc: 3.2.0 → 3.3.5 (fixes minimatch ReDoS) - @sentry/nextjs: 9.39.0 → 9.47.1 (fixes minimatch, rollup) - isomorphic-dompurify: 2.26.0 → 2.36.0 (fixes dompurify vulns) - lodash-es: 4.17.23 → 4.18.1 - path-to-regexp: 8.3.0 → 8.4.2 - posthog-js: 1.257.0 → 1.364.7 (fixes preact vuln) - copyfiles: updated for minimatch fix Remaining audit issues are all in transitive deps of next, eslint, tailwindcss, @payloadcms/*, and @sentry/webpack-plugin — require major version upgrades to resolve. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
704a356 to
81d23a9
Compare
busbyk
approved these changes
Apr 17, 2026
Collaborator
busbyk
left a comment
There was a problem hiding this comment.
Looks good to me! Thanks for the thorough description 🙏
This was referenced May 4, 2026
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.
Description
Updates all safely upgradable dependencies, aligns versions with the Payload website template, and fixes audit vulnerabilities in direct dependencies.
Related Issues
N/A
Key Changes
Safe patch/minor updates:
@react-email/components1.0.6 → 1.0.11react-email/@react-email/preview-server5.2.5 → 5.2.10axios1.12.0 → 1.14.0pino-pretty13.1.2 → 13.1.3@types/node22.5.4 → 22.19.17@types/react19.0.1 → 19.2.14@types/react-dom19.0.1 → 19.2.3Medium-risk updates:
sharp0.33.5 → 0.34.5lucide-react0.575.0 → 1.7.0@vercel/og0.8.5 → 0.11.1@vercel/blob1.1.1 → 2.3.3@libsql/client0.15.4 → 0.17.2lint-staged15.5.0 → 16.4.0Template alignment:
typescript5.7.2 → 5.7.3tailwind-merge2.6.0 → 3.5.0react/react-dom19.1.0 → 19.2.4Audit fixes:
@eslint/eslintrc3.2.0 → 3.3.5 (minimatch ReDoS)@sentry/nextjs9.39.0 → 9.47.1 (minimatch, rollup)lodash-es4.17.23 → 4.18.1path-to-regexp8.3.0 → 8.4.2posthog-js1.257.0 → 1.364.7 (preact vuln)Replaced
isomorphic-dompurifywithdompurify:isomorphic-dompurifybundles its own copy ofdompurifyand releases slowly, so we were stuck on older versions with open security advisories. Usingdompurifydirectly lets us get patches as soon as they're published, and drops the heavy JSDOM dependency that the wrapper pulled in for server-side use. Updated the import insrc/blocks/GenericEmbed/Component.tsxaccordingly. Also adjusted Next.js build config so JSDOM isn't bundled, keeping__dirnamecorrect at runtime.Not updated (require dedicated PRs):
How to test
pnpm tsc— passespnpm lint— passespnpm test— 286 tests pass@vercel/blobv2)@vercel/ogupdate)lucide-react1.0)sharp0.34)GenericEmbedblock renders and sanitizes HTML correctly (dompurifyswap)Screenshots / Demo video
N/A — dependency updates only
Migration Explanation
No database migrations needed. All changes are package version bumps.
Future enhancements / Questions
Remaining audit vulnerabilities are all transitive deps blocked by major upgrades:
nextvulns → needs Next.js 16webpack,rollup→ needs Sentry 10flatted,ajv→ needs ESLint 10yaml→ needs Tailwind 4nodemailer,esbuild→ needs Payload upstream fix🤖 Generated with Claude Code