Skip to content

chore(deps): update dependency pnpm to v10.31.0#2958

Merged
fro-bot[bot] merged 1 commit intomainfrom
renovate/pnpm-10.x
Mar 8, 2026
Merged

chore(deps): update dependency pnpm to v10.31.0#2958
fro-bot[bot] merged 1 commit intomainfrom
renovate/pnpm-10.x

Conversation

@fro-bot
Copy link
Contributor

@fro-bot fro-bot bot commented Mar 8, 2026

This PR contains the following updates:

Package Change Age Confidence OpenSSF Code Search
pnpm (source) 10.30.1 -> 10.31.0 age confidence OpenSSF Scorecard GitHub Code Search for "pnpm"

Release Notes

pnpm/pnpm (pnpm)

v10.31.0: pnpm 10.31

Compare Source

Minor Changes

  • When pnpm updates the pnpm-workspace.yaml, comments, string formatting, and whitespace will be preserved.

Patch Changes

  • Added -F as a short alias for the --filter option in the help output.

  • Handle undefined pkgSnapshot in pnpm why -r #​10700.

  • Fix headless install not being used when a project has an injected self-referencing file: dependency that resolves to link: in the lockfile.

  • Fixed a race condition when multiple worker threads import the same package to the global virtual store concurrently. The rename operation now tolerates ENOTEMPTY/EEXIST errors if another thread already completed the import.

  • When lockfile-include-tarball-url is set to false, tarball URLs are now always excluded from the lockfile. Previously, tarball URLs could still appear for packages hosted under non-standard URLs, making the behavior flaky and inconsistent #​6667.

  • Fixed optimisticRepeatInstall skipping install when overrides, packageExtensions, ignoredOptionalDependencies, patchedDependencies, or peersSuffixMaxLength changed.

  • Fixed pnpm patch-commit failing with "unable to access '/.config/git/attributes': Permission denied" error in environments where HOME is unset or non-standard (Docker containers, CI systems).

    The issue occurred because pnpm was setting HOME and the Windows user profile env var to empty strings to suppress user git configuration when running git diff. This caused git to resolve the home directory (~) as root (/), leading to permission errors when attempting to access /.config/git/attributes.

    Now uses GIT_CONFIG_GLOBAL: os.devNull instead, which is git's proper mechanism for bypassing user-level configuration without corrupting the home directory path resolution.

    Fixes #​6537

  • Fix pnpm why -r --parseable missing dependents when multiple workspace packages share the same dependency #​8100.

  • Fix link-workspace-packages=true incorrectly linking workspace packages when the requested version doesn't match the workspace package's version. Previously, on fresh installs the version constraint is overridden to * in the fallback resolution paths, causing any workspace package with a matching name to be linked regardless of version #​10173.

  • Fixed pnpm update --interactive table breaking with long version strings (e.g., prerelease versions like 7.0.0-dev.20251209.1) by dynamically calculating column widths instead of using hardcoded values #​10316.

  • Explicitly tell npm the path to the global rc config file.

  • The parameter set by the --allow-build flag is written to allowBuilds.

  • Fix a bug in which specifying filter on pnpm-workspace.yaml would cause pnpm to not detect any projects.

  • Print help message on running pnpm dlx without arguments and exit.

Platinum Sponsors

Bit

Gold Sponsors

Sanity Discord Vite
SerpApi CodeRabbit Stackblitz
Workleap Nx

v10.30.3: pnpm 10.30.3

Compare Source

Patch Changes

  • Fixed version switching via packageManager field failing when pnpm is installed as a standalone executable in environments without a system Node.js #​10687.

Platinum Sponsors

Bit

Gold Sponsors

Sanity Discord Vite
SerpApi CodeRabbit Workleap
Stackblitz Nx

v10.30.2: pnpm 10.30.2

Compare Source

Patch Changes

  • Fix auto-installed peer dependencies ignoring overrides when a stale version exists in the lockfile.
  • Fixed "input line too long" error on Windows when running lifecycle scripts with the global virtual store enabled #​10673.
  • Update @​zkochan/js-yaml to fix moderate vulnerability.

Platinum Sponsors

Bit

Gold Sponsors

Sanity Discord Vite
SerpApi CodeRabbit Workleap
Stackblitz Nx

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@fro-bot fro-bot bot requested a review from fro-bot as a code owner March 8, 2026 01:18
@fro-bot fro-bot bot added the automerge label Mar 8, 2026
@fro-bot fro-bot bot requested a review from marcusrbrown as a code owner March 8, 2026 01:18
@fro-bot fro-bot bot added dependencies Dependency updates or security alerts minor renovate Universal dependency update tool <https://mend.io/renovate> labels Mar 8, 2026
@fro-bot fro-bot bot enabled auto-merge (squash) March 8, 2026 01:18
@fro-bot fro-bot bot force-pushed the renovate/pnpm-10.x branch from a050d9f to 00118d1 Compare March 8, 2026 15:04
@fro-bot fro-bot bot force-pushed the renovate/pnpm-10.x branch from 00118d1 to 8b693ca Compare March 8, 2026 20:43
@fro-bot fro-bot bot merged commit e695bca into main Mar 8, 2026
6 checks passed
@fro-bot fro-bot bot deleted the renovate/pnpm-10.x branch March 8, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Dependency updates or security alerts minor renovate Universal dependency update tool <https://mend.io/renovate>

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant