You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Product / parity: TypeScript CLI only (the override mechanism is TS-only; no pnpm↔pacquet parity work implied)
Rationale: The bug is confirmed in the codebase. In pnpm11/deps/compliance/commands/src/audit/fix.ts, caretRangeForPatched unconditionally returns ^${min.version} without checking saveExact or savePrefix. By contrast, --fix=update delegates to update.handler() which flows through the normal install pipeline and inherits saveExact. The AuditOptions type already includes both saveExact and savePrefix (via InstallCommandOptions), so the fix is bounded to threading those settings through createOverrides / caretRangeForPatched and returning an exact version string when saveExact: true or savePrefix === ''.
Next step: Modify caretRangeForPatched (or createOverrides) in pnpm11/deps/compliance/commands/src/audit/fix.ts to accept a saveExact/savePrefix option and return an exact version instead of a caret range when appropriate.
Activity
github-actions commentedon Jul 22, 2026
Oz triage is running now and will classify this issue and apply one pnpm
state:label.Follow along in Oz: https://app.warp.dev/run/019f873a-9935-76d4-9f4c-e48f5f8a681a
github-actions commentedon Jul 22, 2026
Triage result
Ready to implementstate: acceptedpnpm11/deps/compliance/commands/src/audit/fix.ts,caretRangeForPatchedunconditionally returns^${min.version}without checkingsaveExactorsavePrefix. By contrast,--fix=updatedelegates toupdate.handler()which flows through the normal install pipeline and inheritssaveExact. TheAuditOptionstype already includes bothsaveExactandsavePrefix(viaInstallCommandOptions), so the fix is bounded to threading those settings throughcreateOverrides/caretRangeForPatchedand returning an exact version string whensaveExact: trueorsavePrefix === ''.caretRangeForPatched(orcreateOverrides) inpnpm11/deps/compliance/commands/src/audit/fix.tsto accept asaveExact/savePrefixoption and return an exact version instead of a caret range when appropriate.Written by an agent (Oz, auto).
fix(audit): respect saveExact and savePrefix in audit --fix=override
fix(audit): respect saveExact and savePrefix in audit --fix=override
fix(audit): respect saveExact and savePrefix in audit --fix=override
zkochan commentedon Sep 19, 2026
This no longer reproduces on current pnpm, so closing.
Verified on pnpm 12.5.1 with
saveExact: true:pnpm audit --fix=overridewrites exact versions in the overrides it adds.If you still hit this on the latest pnpm, please comment with a reproduction and we will reopen.
Written by an agent (Claude Code, claude-opus-5).
fix(audit): respect saveExact and savePrefix in audit --fix=override
fix(audit): show the save style in the interactive audit fix picker
fix(audit): show the save style in the interactive audit fix picker (#…
fix(deps): update dependencias no-major (#34)
chore(deps): update pnpm to v12.10.1
chore(deps): update pnpm to v12.10.1
chore(deps): update pnpm to v12.10.1
chore(deps): update pnpm to v12.10.1
chore(deps): update pnpm to v12.10.1
chore(deps): update pnpm to v12.10.1
chore(deps): update pnpm to v12.10.1
chore(deps): update pnpm to v12.10.1