Repository navigation
Upgrade Payload to 3.94.2 and add noopener to window.open - #16
Merged
Merged
Conversation
Clears both React Doctor findings: known advisories in payload@3.75.0 and a window.open call that left window.opener exposed. The Payload bump pulls Lexical 0.50.0, Next 16.4.6 and React 19.3.1 with it, and the markdown paste handler now ignores non-clipboard paste events. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
This branch was successfully deployed
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.
What
payloadand every@payloadcms/*package from 3.75.0 to 3.94.2.noopener,noreferrertowindow.openinlib/hooks.ts:3.features/markdown-paste/plugin.tsx:52.Why
payload@3.75.0, and awindow.opencall that leftwindow.openerexposed to the opened page. Both are gone, score is 100.payload,@payloadcms/*email-resend3.85.1)lexical,@lexical/*nextreact,react-domChange
Lexical 0.50 types
PASTE_COMMANDasClipboardEvent | InputEvent | KeyboardEvent, so the handler narrows before reading the clipboard:Review notes
pnpm-lock.yaml. The hand-written changes are the three files above pluspackage.json./adminon the preview deploy before merging.