Skip to content
Discussion options

You must be logged in to vote

Thanks for the detailed report and repro. Confirmed: #1022 kept the declared patch applied during a fresh re-resolution, but the pnpm writer still replaced pnpm 11 hash metadata with the manifest path and omitted the (patch_hash=...) identities from importer and snapshot references.

The fix is ready for review in #1035. It now preserves existing pnpm patch hashes or derives pnpm-compatible SHA-256 hashes from current patch files (including CRLF normalization), then emits the hash consistently on direct, transitive, snapshot, and peer-context references.

Validation includes the full Rust test suite, clippy, the focused patch BATS suite, and the supplied pnpm-patch-reresolve-drop repro. The…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mwolson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants