chore(deps): upgrade to pnpm 11 and harden supply-chain config - #157
Merged
Conversation
- Add packageManager pnpm@11.3.0 (was unpinned); require Node >= 22.13 - Move 15 security override pins from package.json#pnpm.overrides into pnpm-workspace.yaml (pnpm v11 no longer reads the package.json pnpm field) - Add trustPolicy no-downgrade, blockExoticSubdeps, minimumReleaseAge (10d) - trustPolicyExclude: undici-types, semver - allowBuilds: bigint-buffer-fixed, bufferutil, utf-8-validate (true); es5-ext (false; install script is a donation notice, not functional) - No CI changes (Python CI workflow, no pnpm steps) Part of PE-1866.
There was a problem hiding this comment.
Pull request overview
Upgrades the repo’s JavaScript toolchain to a pinned pnpm 11.x version and centralizes pnpm configuration to support supply-chain hardening and ensure dependency override pins continue to apply.
Changes:
- Pin the package manager to
pnpm@11.3.0and declare a Node engine floor of>=22.13. - Add pnpm supply-chain policies (release-age gating, trust policy behavior, exotic subdep blocking).
- Move dependency security override pins out of
package.jsonintopnpm-workspace.yaml.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Adds pnpm v11-oriented configuration, supply-chain hardening policies, override pins, and build-script allow/deny rules. |
| package.json | Pins pnpm via packageManager and sets a Node engines minimum; removes the legacy pnpm.overrides block. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ari-ethena
approved these changes
Jun 1, 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.
What
Onboard to pnpm
11.3.0+ supply-chain hardening. Part of PE-1866.Changes
packageManager: pnpm@11.3.0(was unpinned); addengines.node: ">=22.13"package.json#pnpm.overrides→pnpm-workspace.yaml(verbatim).minimumReleaseAge: 14400(10d),trustPolicy: no-downgrade,blockExoticSubdeps: truetrustPolicyExclude
undici-types,semver— vetted benign provenance gapsallowBuilds
bigint-buffer-fixed(native, replacesbigint-buffervia override),bufferutil,utf-8-validate(ws perf addons)es5-ext— install script is a donation notice, not a buildTest plan
pnpm installunder pnpm 11.3.0 / Node 22.22 succeeds; build scripts as configured.Security & Data Impact
Security impact: Adds install-time supply-chain protections; preserves override pins (notably
bigint-buffer→bigint-buffer-fixedsecurity override).Data classification affected: None.
Rollback
Revert commit — no state migration.