<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://pnpm.io/ko/blog</id>
    <title>pnpm Blog</title>
    <updated>2026-05-27T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://pnpm.io/ko/blog"/>
    <subtitle>pnpm Blog</subtitle>
    <icon>https://pnpm.io/ko/img/favicon.png</icon>
    <entry>
        <title type="html"><![CDATA[pnpm 11.4]]></title>
        <id>https://pnpm.io/ko/blog/releases/11.4</id>
        <link href="https://pnpm.io/ko/blog/releases/11.4"/>
        <updated>2026-05-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 11.4 closes a cluster of supply-chain holes around lockfile integrity, credential scoping, git resolutions, patch files, and dependency aliases, makes tarball-integrity mismatches a hard install failure by default (with a narrowly-scoped --update-checksums opt-in), and changes pnpm runtime set to write to devEngines.runtime instead of engines.runtime by default.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 11.4 closes a cluster of supply-chain holes around lockfile integrity, credential scoping, git resolutions, patch files, and dependency aliases, makes tarball-integrity mismatches a hard install failure by default (with a narrowly-scoped <code>--update-checksums</code> opt-in), and changes <code>pnpm runtime set</code> to write to <code>devEngines.runtime</code> instead of <code>engines.runtime</code> by default.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/11.4#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h2>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="tarball-integrity-mismatches-are-now-a-hard-failure">Tarball-integrity mismatches are now a hard failure<a href="https://pnpm.io/ko/blog/releases/11.4#tarball-integrity-mismatches-are-now-a-hard-failure" class="hash-link" aria-label="Direct link to Tarball-integrity mismatches are now a hard failure" title="Direct link to Tarball-integrity mismatches are now a hard failure" translate="no">​</a></h3>
<p>Previously, <code>pnpm install</code> (non-frozen) would log <code>ERR_PNPM_TARBALL_INTEGRITY</code> when a downloaded tarball's hash didn't match the lockfile, silently re-resolve from the registry, and overwrite the locked integrity. A compromised registry, proxy, or republished version could therefore substitute attacker-controlled content on a clean machine even though the project shipped a committed lockfile.</p>
<p><code>pnpm install</code> now exits with <code>ERR_PNPM_TARBALL_INTEGRITY</code> and a hint pointing at the new opt-in flag.</p>
<p>The only opt-in is <strong><code>pnpm install --update-checksums</code></strong> — narrowly scoped to refreshing the locked integrity values from what the registry currently serves. It mirrors yarn's flag of the same name. A warning still prints when the bypass takes effect so the operation is auditable.</p>
<p><code>--force</code> and <code>pnpm update</code> deliberately do <strong>not</strong> bypass the integrity check. They are routine refresh operations; silently overwriting a locked integrity in those flows would erase the protection a committed lockfile is supposed to provide. <code>--frozen-lockfile</code> behavior is unchanged. <code>--fix-lockfile</code> keeps its documented purpose (filling in missing lockfile entries) and is also not a bypass.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-runtime-set-writes-to-devenginesruntime-by-default"><code>pnpm runtime set</code> writes to <code>devEngines.runtime</code> by default<a href="https://pnpm.io/ko/blog/releases/11.4#pnpm-runtime-set-writes-to-devenginesruntime-by-default" class="hash-link" aria-label="Direct link to pnpm-runtime-set-writes-to-devenginesruntime-by-default" title="Direct link to pnpm-runtime-set-writes-to-devenginesruntime-by-default" translate="no">​</a></h3>
<p><a href="https://pnpm.io/ko/cli/runtime"><code>pnpm runtime set &lt;name&gt; &lt;version&gt;</code></a> now saves the runtime to <code>devEngines.runtime</code> by default instead of <code>engines.runtime</code>. Pass <code>--save-prod</code> (or <code>-P</code>) to save it to <code>engines.runtime</code> instead. See <a href="https://github.com/pnpm/pnpm/issues/11948" target="_blank" rel="noopener noreferrer">#11948</a>.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/11.4#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h2>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="security-unscoped-credentials-no-longer-leak-across-registries">Security: unscoped credentials no longer leak across registries<a href="https://pnpm.io/ko/blog/releases/11.4#security-unscoped-credentials-no-longer-leak-across-registries" class="hash-link" aria-label="Direct link to Security: unscoped credentials no longer leak across registries" title="Direct link to Security: unscoped credentials no longer leak across registries" translate="no">​</a></h3>
<p>An unscoped <code>_authToken</code> (or <code>_auth</code>, or <code>username</code> + <code>_password</code>, or <code>tokenHelper</code>) defined in one source — <code>~/.npmrc</code>, <code>~/.config/pnpm/auth.ini</code>, a workspace <code>.npmrc</code>, CLI flags, etc. — would be sent as an <code>Authorization</code> header to whichever registry a different (potentially untrusted) source named. The same exposure extended to client TLS credentials (<code>cert</code>, <code>key</code>).</p>
<p>pnpm now rewrites each unscoped per-registry setting (<code>_authToken</code>, <code>_auth</code>, <code>username</code>, <code>_password</code>, <code>tokenHelper</code>, <code>cert</code>, <code>key</code>) to its URL-scoped form at load time, using the <code>registry=</code> value declared in the same source (or the npmjs default registry if the source declares none). A later layer overriding <code>registry=</code> therefore cannot pull an unscoped credential along, because it is already pinned to the URL its author intended. <code>ca</code> / <code>cafile</code> are intentionally not rescoped — they're trust anchors, not credentials, and corporate MITM-proxy setups rely on them applying globally.</p>
<p>Every rescope emits a deprecation warning telling the user where the setting was pinned and how to write it directly. npm has rejected unscoped credentials outright since <code>npm@9</code>, and pnpm intends to remove support in a future major release. To target a specific registry, write the setting URL-scoped:</p>
<div class="language-ini codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">.npmrc</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-ini codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key attr-name" style="color:#00a4db">//registry.example.com/:_authToken</span><span class="token punctuation" style="color:#393A34">=</span><span class="token value attr-value" style="color:#e3116c">...</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key attr-name" style="color:#00a4db">//registry.example.com/:cert</span><span class="token punctuation" style="color:#393A34">=</span><span class="token value attr-value" style="color:#e3116c">...</span><br></span></code></pre></div></div>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="security-lockfile-entries-without-integrity-are-rejected">Security: lockfile entries without <code>integrity</code> are rejected<a href="https://pnpm.io/ko/blog/releases/11.4#security-lockfile-entries-without-integrity-are-rejected" class="hash-link" aria-label="Direct link to security-lockfile-entries-without-integrity-are-rejected" title="Direct link to security-lockfile-entries-without-integrity-are-rejected" translate="no">​</a></h3>
<p>Previously, the worker that extracts a downloaded tarball skipped hash verification when no integrity was supplied and minted a fresh one from the unverified bytes. An attacker who could both alter the lockfile (e.g. via a pull request that strips <code>integrity:</code>) and serve modified content at the referenced tarball URL could install a tampered package without any error — including under <code>--frozen-lockfile</code>.</p>
<p>pnpm now fails closed at lockfile-read time with <code>ERR_PNPM_MISSING_TARBALL_INTEGRITY</code>. Git-hosted tarballs (<code>gitHosted: true</code> or a URL on <code>codeload.github.com</code> / <code>bitbucket.org</code> / <code>gitlab.com</code>) and <code>file:</code> tarballs are exempt — the commit SHA in a git-host URL and the user-controlled local path already anchor the bytes.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="security-git-resolutions-reject-non-sha-commit-fields">Security: git resolutions reject non-SHA <code>commit</code> fields<a href="https://pnpm.io/ko/blog/releases/11.4#security-git-resolutions-reject-non-sha-commit-fields" class="hash-link" aria-label="Direct link to security-git-resolutions-reject-non-sha-commit-fields" title="Direct link to security-git-resolutions-reject-non-sha-commit-fields" translate="no">​</a></h3>
<p>Git resolutions whose <code>commit</code> field is not a 40-character hexadecimal SHA are rejected before <code>git</code> is invoked. A malicious lockfile could otherwise smuggle a value such as <code>--upload-pack=&lt;command&gt;</code> through <code>git fetch</code> / <code>git checkout</code>, which on SSH or local-file transports executes the supplied command.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="security-patch-files-writing-outside-the-package-directory-are-rejected">Security: patch files writing outside the package directory are rejected<a href="https://pnpm.io/ko/blog/releases/11.4#security-patch-files-writing-outside-the-package-directory-are-rejected" class="hash-link" aria-label="Direct link to Security: patch files writing outside the package directory are rejected" title="Direct link to Security: patch files writing outside the package directory are rejected" translate="no">​</a></h3>
<p>Patch files whose <code>diff --git</code> headers reference paths outside the patched package directory are now rejected. Previously a malicious <code>.patch</code> file added via a pull request could write, delete, or rename arbitrary files reachable by the user running <code>pnpm install</code>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="security-dependency-aliases-with-path-traversal-segments-are-rejected">Security: dependency aliases with path-traversal segments are rejected<a href="https://pnpm.io/ko/blog/releases/11.4#security-dependency-aliases-with-path-traversal-segments-are-rejected" class="hash-link" aria-label="Direct link to Security: dependency aliases with path-traversal segments are rejected" title="Direct link to Security: dependency aliases with path-traversal segments are rejected" translate="no">​</a></h3>
<p>Dependency aliases that contain path-traversal segments (such as <code>@x/../../../../../.git/hooks</code>) are rejected when read from a package manifest or symlinked into <code>node_modules</code>. A malicious registry package could otherwise use a transitive dependency key to make <code>pnpm install</code> create symlinks at attacker-chosen paths outside the intended <code>node_modules</code> directory.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="trusted-publisher-metadata-now-requires-provenance">Trusted-publisher metadata now requires provenance<a href="https://pnpm.io/ko/blog/releases/11.4#trusted-publisher-metadata-now-requires-provenance" class="hash-link" aria-label="Direct link to Trusted-publisher metadata now requires provenance" title="Direct link to Trusted-publisher metadata now requires provenance" translate="no">​</a></h3>
<p>Trusted publisher metadata is only treated as the strongest trust evidence when provenance is also present.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="other-fixes">Other fixes<a href="https://pnpm.io/ko/blog/releases/11.4#other-fixes" class="hash-link" aria-label="Direct link to Other fixes" title="Direct link to Other fixes" translate="no">​</a></h3>
<ul>
<li>Fix <code>pnpm deploy</code> crashing with <code>ENOENT: ... lstat '&lt;deployDir&gt;/node_modules'</code> when <code>configDependencies</code> declares pacquet (<code>pacquet</code> or <code>@pnpm/pacquet</code>). The deploy directory never installs config dependencies, so the install engine they designate isn't on disk to invoke; the nested install now skips them.</li>
<li>Limit concurrent project manifest reads while listing large workspaces to avoid <code>EMFILE</code> errors.</li>
<li>Validate <code>devEngines.runtime</code> and <code>engines.runtime</code> version ranges for <code>node</code>, <code>deno</code>, and <code>bun</code> when <code>onFail</code> is set to <code>error</code> or <code>warn</code>. Previously these settings only had an effect with <code>onFail: 'download'</code> — the <code>error</code> and <code>warn</code> modes silently did nothing <a href="https://github.com/pnpm/pnpm/issues/11818" target="_blank" rel="noopener noreferrer">#11818</a>. Violations now throw <code>ERR_PNPM_BAD_RUNTIME_VERSION</code>.</li>
<li>Improve the log message that pnpm prints after auto-adding entries to <code>minimumReleaseAgeExclude</code> when <code>minimumReleaseAge</code> is set without <code>minimumReleaseAgeStrict</code>. The message previously referred to the internal "loose mode" terminology, which wasn't searchable in the docs; it now tells the user to set <code>minimumReleaseAgeStrict</code> to <code>true</code> if they want these updates gated behind a prompt instead <a href="https://github.com/pnpm/pnpm/issues/11747" target="_blank" rel="noopener noreferrer">#11747</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 11.3]]></title>
        <id>https://pnpm.io/ko/blog/releases/11.3</id>
        <link href="https://pnpm.io/ko/blog/releases/11.3"/>
        <updated>2026-05-24T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 11.3 adds support for npm's staged publishing (pnpm stage), the new trustLockfile setting for skipping the supply-chain verification pass on already-trusted lockfiles, and native implementations of pnpm pkg, pnpm repo, and pnpm set-script. It also adds a --skip-manifest-obfuscation flag for pack / publish and cuts the memory footprint of minimumReleaseAge / trustPolicy verification on large workspaces.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 11.3 adds support for npm's staged publishing (<code>pnpm stage</code>), the new <a href="https://pnpm.io/ko/settings#trustlockfile"><code>trustLockfile</code></a> setting for skipping the supply-chain verification pass on already-trusted lockfiles, and native implementations of <code>pnpm pkg</code>, <code>pnpm repo</code>, and <code>pnpm set-script</code>. It also adds a <code>--skip-manifest-obfuscation</code> flag for <code>pack</code> / <code>publish</code> and cuts the memory footprint of <code>minimumReleaseAge</code> / <code>trustPolicy</code> verification on large workspaces.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/11.3#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h2>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-stage"><code>pnpm stage</code><a href="https://pnpm.io/ko/blog/releases/11.3#pnpm-stage" class="hash-link" aria-label="Direct link to pnpm-stage" title="Direct link to pnpm-stage" translate="no">​</a></h3>
<p>A new <a href="https://pnpm.io/ko/cli/stage"><code>pnpm stage</code></a> command brings npm's <a href="https://docs.npmjs.com/staged-publishing" target="_blank" rel="noopener noreferrer">staged publishing</a> workflow to pnpm. Staged publishing lets you publish a version that's hidden from <code>npm install</code> until you explicitly approve it — useful for verifying release artifacts, smoke-testing CI, or coordinating multi-package releases.</p>
<p>The available subcommands are:</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> stage publish    </span><span class="token comment" style="color:#999988;font-style:italic"># publish a version into staging</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> stage list       </span><span class="token comment" style="color:#999988;font-style:italic"># list staged versions</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> stage view       </span><span class="token comment" style="color:#999988;font-style:italic"># view a staged version</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> stage approve    </span><span class="token comment" style="color:#999988;font-style:italic"># promote a staged version to the registry</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> stage reject     </span><span class="token comment" style="color:#999988;font-style:italic"># discard a staged version</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> stage download   </span><span class="token comment" style="color:#999988;font-style:italic"># download a staged tarball</span><br></span></code></pre></div></div>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="trustlockfile"><code>trustLockfile</code><a href="https://pnpm.io/ko/blog/releases/11.3#trustlockfile" class="hash-link" aria-label="Direct link to trustlockfile" title="Direct link to trustlockfile" translate="no">​</a></h3>
<p>A new <a href="https://pnpm.io/ko/settings#trustlockfile"><code>trustLockfile</code></a> setting controls whether <code>pnpm install</code> re-applies the <a href="https://pnpm.io/ko/settings#minimumreleaseage"><code>minimumReleaseAge</code></a> / <code>trustPolicy: 'no-downgrade'</code> checks to every entry in the loaded lockfile. When <code>true</code>, the install treats the lockfile as already-trusted and skips the verification pass — useful for closed-source projects where every commit comes from a trusted author. The default is <code>false</code>, so verification stays on by default.</p>
<p>Set it in <code>pnpm-workspace.yaml</code>:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">pnpm-workspace.yaml</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">trustLockfile</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><br></span></code></pre></div></div>
<p>This release also cuts the <strong>memory footprint</strong> of the verification pass itself: the per-(registry, name) trust-meta cache previously retained the full packument — dependency graphs, scripts, README, and per-version manifests — for the entire install. On large workspaces (~4k lockfile entries with <code>minimumReleaseAge</code> + <code>trustPolicy: no-downgrade</code> enabled) this could OOM CI runners with a 2 GB heap cap. The cache now stores only the fields the trust check actually reads (<code>time</code>, per-version <code>_npmUser.trustedPublisher</code>, <code>dist.attestations.provenance</code>); the abbreviated-metadata cache is similarly projected to just the package-level <code>modified</code> field and the set of currently-listed version names. Fixes <a href="https://github.com/pnpm/pnpm/issues/11860" target="_blank" rel="noopener noreferrer">#11860</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="native-pnpm-pkg-pnpm-repo-and-pnpm-set-script">Native <code>pnpm pkg</code>, <code>pnpm repo</code>, and <code>pnpm set-script</code><a href="https://pnpm.io/ko/blog/releases/11.3#native-pnpm-pkg-pnpm-repo-and-pnpm-set-script" class="hash-link" aria-label="Direct link to native-pnpm-pkg-pnpm-repo-and-pnpm-set-script" title="Direct link to native-pnpm-pkg-pnpm-repo-and-pnpm-set-script" translate="no">​</a></h3>
<p>Three more commands that previously delegated to (or were missing without) npm are now implemented natively, following the npm command conventions:</p>
<ul>
<li><a href="https://pnpm.io/ko/cli/pkg"><strong><code>pnpm pkg</code></strong></a> — get / set / delete fields in <code>package.json</code>.</li>
<li><a href="https://pnpm.io/ko/cli/repo"><strong><code>pnpm repo</code></strong></a> — open the repository URL of a package in the browser.</li>
<li><a href="https://pnpm.io/ko/cli/set-script"><strong><code>pnpm set-script</code></strong></a> (alias <code>ss</code>) — add or update an entry in the <code>scripts</code> field of the project manifest. Supports <code>package.json</code>, <code>package.json5</code>, and <code>package.yaml</code> formats.</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="--skip-manifest-obfuscation-for-pack-and-publish"><code>--skip-manifest-obfuscation</code> for <code>pack</code> and <code>publish</code><a href="https://pnpm.io/ko/blog/releases/11.3#--skip-manifest-obfuscation-for-pack-and-publish" class="hash-link" aria-label="Direct link to --skip-manifest-obfuscation-for-pack-and-publish" title="Direct link to --skip-manifest-obfuscation-for-pack-and-publish" translate="no">​</a></h3>
<p>A new <a href="https://pnpm.io/ko/cli/publish#--skip-manifest-obfuscation"><code>--skip-manifest-obfuscation</code></a> flag for <a href="https://pnpm.io/ko/cli/pack"><code>pnpm pack</code></a> and <a href="https://pnpm.io/ko/cli/publish"><code>pnpm publish</code></a> keeps the original <code>packageManager</code> field and publish lifecycle scripts in the packed/published manifest instead of stripping them. The pnpm-specific <code>pnpm</code> field continues to be omitted.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/11.3#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h2>
<ul>
<li>Fixed <code>pnpm dlx</code> failing with <code>ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND</code> when the installed package's CAS slot is missing its <code>package.json</code>. Observed in the wild for <code>pnpm dlx node@runtime:&lt;version&gt;</code> when the GVS slot was populated without the synthesized manifest runtime archives need. <code>dlx</code> now falls back to the scopeless package name when the slot's manifest is unreadable — for single-bin packages (the dlx common case, including every <code>runtime:</code> spec) this matches what <code>manifest.bin</code> would have named.</li>
<li>Fixed non-determinism in <code>pnpm dedupe</code> and <code>pnpm install</code> when a dependency graph contains packages with transitive peer dependencies on each other (e.g. <code>@aws-sdk/client-sts</code> and <code>@aws-sdk/client-sso-oidc</code>) and <code>auto-install-peers</code> is enabled. The lockfile no longer flips between two equally-valid forms across consecutive runs. The root cause was that <code>resolveDependencies</code> pushed onto its <code>pkgAddresses</code> / <code>postponedResolutionsQueue</code> arrays from inside <code>Promise.all</code>-spawned callbacks, so completion-order timing leaked into the array order and downstream cyclic-peer suffix assignment. Fixes <a href="https://github.com/pnpm/pnpm/issues/8155" target="_blank" rel="noopener noreferrer">#8155</a>.</li>
<li>Fixed a regression where <code>pnpm add &lt;github-shorthand&gt;</code> (and any other wanted-dependency whose alias can't be parsed from the user-supplied spec, e.g. tarball URLs or <code>pnpm/test-git-fetch#sha</code>) was silently dropped from the manifest update and from <code>pendingBuilds</code>.</li>
<li>Fixed <code>pnpm add --config</code> leaving orphan entries in <code>pnpm-lock.env.yaml</code> (the optional subdependencies of the previously resolved version of the updated config dependency).</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 11.2]]></title>
        <id>https://pnpm.io/ko/blog/releases/11.2</id>
        <link href="https://pnpm.io/ko/blog/releases/11.2"/>
        <updated>2026-05-20T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 11.2 ships an experimental opt-in into pacquet (the Rust port of pnpm) as the install backend, expands config dependencies to install one level of optionalDependencies (so the esbuild/swc platform-binary pattern works for config deps too), wires up the long-documented pnpm login --scope flag, and surfaces runtime entries (Node.js, Deno, Bun) in pnpm outdated and pnpm update --interactive.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 11.2 ships an experimental opt-in into <a href="https://npmx.dev/package/@pnpm/pacquet" target="_blank" rel="noopener noreferrer">pacquet</a> (the Rust port of pnpm) as the install backend, expands <a href="https://pnpm.io/ko/config-dependencies">config dependencies</a> to install one level of <code>optionalDependencies</code> (so the esbuild/swc platform-binary pattern works for config deps too), wires up the long-documented <code>pnpm login --scope</code> flag, and surfaces runtime entries (Node.js, Deno, Bun) in <code>pnpm outdated</code> and <code>pnpm update --interactive</code>.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/11.2#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h2>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="experimental-pacquet-as-the-install-backend">Experimental: pacquet as the install backend<a href="https://pnpm.io/ko/blog/releases/11.2#experimental-pacquet-as-the-install-backend" class="hash-link" aria-label="Direct link to Experimental: pacquet as the install backend" title="Direct link to Experimental: pacquet as the install backend" translate="no">​</a></h3>
<p>Adding <a href="https://npmx.dev/package/@pnpm/pacquet" target="_blank" rel="noopener noreferrer"><code>@pnpm/pacquet</code></a> (the Rust port of pnpm) to <code>configDependencies</code> in <code>pnpm-workspace.yaml</code> now delegates the materialization phase of <code>pnpm install</code> to the pacquet binary. pnpm still owns dependency resolution; pacquet only fetches and imports from the freshly-written lockfile. This is an opt-in preview of the Rust install engine — see <a href="https://github.com/pnpm/pnpm/issues/11723" target="_blank" rel="noopener noreferrer">#11723</a>.</p>
<p>To configure pacquet in a project, run:</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">add</span><span class="token plain"> @pnpm/pacquet </span><span class="token parameter variable" style="color:#36acaa">--config</span><br></span></code></pre></div></div>
<p>You'll see changes in <code>pnpm-workspace.yaml</code> and <code>pnpm-lock.yaml</code> that should be committed. If you experience any issues with pacquet, please let us know in the GitHub issue you create.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="optionaldependencies-for-config-dependencies"><code>optionalDependencies</code> for config dependencies<a href="https://pnpm.io/ko/blog/releases/11.2#optionaldependencies-for-config-dependencies" class="hash-link" aria-label="Direct link to optionaldependencies-for-config-dependencies" title="Direct link to optionaldependencies-for-config-dependencies" translate="no">​</a></h3>
<p><a href="https://pnpm.io/ko/config-dependencies">Config dependencies</a> now resolve and install one level of <code>optionalDependencies</code> declared by the config dependency, with <code>os</code> / <code>cpu</code> / <code>libc</code> platform filtering applied at install time. This unlocks the esbuild/swc-style pattern where a package ships platform-specific binaries via <code>optionalDependencies</code> — a config dependency can now do the same and have the matching binary symlinked next to it in the global virtual store, so <code>require('pkg-platform-arch')</code> from inside the config dependency resolves correctly.</p>
<p>The env lockfile records all platform variants regardless of host platform, so it remains portable across machines. Each entry in a config dependency's <code>optionalDependencies</code> must declare an exact version — ranges and tags are rejected to keep installs reproducible.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-login---scope"><code>pnpm login --scope</code><a href="https://pnpm.io/ko/blog/releases/11.2#pnpm-login---scope" class="hash-link" aria-label="Direct link to pnpm-login---scope" title="Direct link to pnpm-login---scope" translate="no">​</a></h3>
<p>The long-documented <code>pnpm login --scope &lt;scope&gt;</code> flag is now implemented. The scope is normalized (a leading <code>@</code> is added if missing; blank values are ignored) and an <code>@&lt;scope&gt;:registry=&lt;registry&gt;</code> mapping is written to the pnpm auth file alongside the auth token. Subsequent installs of <code>@&lt;scope&gt;/*</code> packages then route to the chosen registry. Previously the documented flag errored with <code>Unknown option: 'scope'</code>. See <a href="https://github.com/pnpm/pnpm/issues/11716" target="_blank" rel="noopener noreferrer">#11716</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="runtimes-in-outdated-and-update---interactive">Runtimes in <code>outdated</code> and <code>update --interactive</code><a href="https://pnpm.io/ko/blog/releases/11.2#runtimes-in-outdated-and-update---interactive" class="hash-link" aria-label="Direct link to runtimes-in-outdated-and-update---interactive" title="Direct link to runtimes-in-outdated-and-update---interactive" translate="no">​</a></h3>
<p><a href="https://pnpm.io/ko/cli/outdated"><code>pnpm outdated</code></a> and <a href="https://pnpm.io/ko/cli/update"><code>pnpm update --interactive</code></a> now report Node.js, Deno, and Bun runtimes installed as project dependencies (<code>runtime:</code> specifiers). Previously these were silently skipped.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/11.2#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h2>
<ul>
<li>Fixed <code>cafile=&lt;relative-path&gt;</code> in <code>.npmrc</code> being read from the wrong directory when pnpm is invoked from a different cwd (e.g. <code>pnpm --dir &lt;project&gt; install</code> from a CI wrapper or monorepo script). The path is now resolved against the directory of the <code>.npmrc</code> that declared it, not <code>process.cwd()</code>. Before this fix, the install proceeded without the configured CA and the user only saw TLS errors against a private registry with no log line tying back to the wrongly resolved path <a href="https://github.com/pnpm/pnpm/issues/11624" target="_blank" rel="noopener noreferrer">#11624</a>.</li>
<li>Fixed <code>config.registry</code> getting a trailing slash appended when <code>registry</code> is set in <code>.npmrc</code> and no <code>registries.default</code> is provided by <code>pnpm-workspace.yaml</code>.</li>
<li>Fixed global add/update to handle <code>minimumReleaseAge</code> policy violations instead of surfacing an internal resolver guardrail error.</li>
<li>Fixed two crashes with <code>injectWorkspacePackages: true</code> when the lockfile has been pruned (e.g. by <code>turbo prune --docker</code>): a <code>Cannot use 'in' operator to search for 'directory' in undefined</code> from peer-dependency-variant injected snapshots whose base <code>packages:</code> entry had been dropped, and an <code>ERR_PNPM_ENOENT</code> on <code>node_modules/.bin/&lt;tool&gt;</code> after <code>prepare</code> / <code>postinstall</code> re-imported each injected workspace package.</li>
<li>Fixed <code>pnpm login</code> and <code>pnpm logout</code> ignoring <code>registries.default</code> from <code>pnpm-workspace.yaml</code> <a href="https://github.com/pnpm/pnpm/issues/10099" target="_blank" rel="noopener noreferrer">#10099</a>.</li>
<li>Fixed the <code>minimumReleaseAge</code> (publishedBy) maturity shortcut to be inclusive at the cutoff. Previously, abbreviated metadata whose <code>modified</code> field equalled the cutoff fell off the fast path and triggered a full-metadata re-fetch (or a <code>MISSING_TIME</code> error when full metadata wasn't permitted).</li>
<li>Honor <code>publishConfig.access</code> when publishing packages.</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="1121">11.2.1<a href="https://pnpm.io/ko/blog/releases/11.2#1121" class="hash-link" aria-label="Direct link to 11.2.1" title="Direct link to 11.2.1" translate="no">​</a></h2>
<ul>
<li>Mark optional subdependency snapshots of config dependencies with <code>optional: true</code> in the env lockfile, matching how optional dependencies are recorded elsewhere in <code>pnpm-lock.yaml</code>. Previously, snapshots for the platform-specific subdeps pulled in via a config dep's <code>optionalDependencies</code> were written as empty objects.</li>
<li>Fixed <code>pickRegistryForPackage</code> returning the wrong registry for an unscoped <code>npm:</code> alias under a scoped local name. A manifest entry like <code>"@private/foo": "npm:lodash@^1"</code> was routing the <code>lodash</code> fetch through <code>registries["@private"]</code>, even though <code>lodash</code> is unscoped.</li>
<li>Don't print <code>Installing config dependencies...</code> when config dependencies are already installed and nothing needs to be fetched, re-linked, or removed.</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="1122">11.2.2<a href="https://pnpm.io/ko/blog/releases/11.2#1122" class="hash-link" aria-label="Direct link to 11.2.2" title="Direct link to 11.2.2" translate="no">​</a></h2>
<ul>
<li>When the install engine is delegated to pacquet via <code>configDependencies</code>, the user's CLI flags passed to <code>pnpm install</code> (e.g. <code>--no-runtime</code>, <code>--prod</code>, <code>--dev</code>, <code>--no-optional</code>, <code>--node-linker</code>, <code>--cpu</code> / <code>--os</code> / <code>--libc</code>, <code>--offline</code>, <code>--prefer-offline</code>) are now forwarded to pacquet's <code>install</code> subcommand verbatim. Previously pacquet was invoked with a fixed argument list, so flags like <code>--no-runtime</code> were silently dropped. Flag forwarding is gated on the command being <code>install</code> / <code>i</code>; <code>add</code>, <code>update</code>, and <code>dedupe</code> still don't forward (their flag surface doesn't line up with pacquet's <code>install</code>).</li>
<li>Fixed <code>pnpm up</code> (and <code>pnpm add</code> / <code>pnpm remove</code>) failing with <code>pacquet_package_manager::outdated_lockfile</code> when pacquet is declared in <code>configDependencies</code>. pnpm now passes <code>--ignore-manifest-check</code> to pacquet so its <code>--frozen-lockfile</code> check doesn't fire against the (pre-mutation) <code>package.json</code> pnpm hasn't written yet <a href="https://github.com/pnpm/pnpm/issues/11797" target="_blank" rel="noopener noreferrer">#11797</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 11.1]]></title>
        <id>https://pnpm.io/ko/blog/releases/11.1</id>
        <link href="https://pnpm.io/ko/blog/releases/11.1"/>
        <updated>2026-05-11T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 11.1 adds a few new commands — pnpm audit signatures, pnpm bugs, and pnpm owner — alongside support for installing from arbitrary named registries (including a built-in alias for the GitHub Packages npm registry), the ability to skip runtime installation in CI, and several fixes.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 11.1 adds a few new commands — <a href="https://pnpm.io/ko/cli/audit#signatures"><code>pnpm audit signatures</code></a>, <a href="https://pnpm.io/ko/cli/bugs"><code>pnpm bugs</code></a>, and <a href="https://pnpm.io/ko/cli/owner"><code>pnpm owner</code></a> — alongside support for installing from arbitrary named registries (including a built-in alias for the GitHub Packages npm registry), the ability to skip runtime installation in CI, and several fixes.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/11.1#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h2>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-audit-signatures"><code>pnpm audit signatures</code><a href="https://pnpm.io/ko/blog/releases/11.1#pnpm-audit-signatures" class="hash-link" aria-label="Direct link to pnpm-audit-signatures" title="Direct link to pnpm-audit-signatures" translate="no">​</a></h3>
<p>A new <a href="https://pnpm.io/ko/cli/audit#signatures"><code>pnpm audit signatures</code></a> subcommand verifies ECDSA registry signatures for installed packages against keys published at <code>/-/npm/v1/keys</code> <a href="https://github.com/pnpm/pnpm/issues/7909" target="_blank" rel="noopener noreferrer">#7909</a>. Scoped registries are respected; registries that don't publish signing keys are skipped.</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> audit signatures</span><br></span></code></pre></div></div>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="named-registries-and-a-built-in-gh-alias">Named registries (and a built-in <code>gh:</code> alias)<a href="https://pnpm.io/ko/blog/releases/11.1#named-registries-and-a-built-in-gh-alias" class="hash-link" aria-label="Direct link to named-registries-and-a-built-in-gh-alias" title="Direct link to named-registries-and-a-built-in-gh-alias" translate="no">​</a></h3>
<p>You can now install packages from the <a href="https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry" target="_blank" rel="noopener noreferrer">GitHub Packages npm registry</a> via a built-in <code>gh:</code> prefix, and — more broadly — from arbitrary named registries in the style of <a href="https://docs.vlt.sh/cli/registries" target="_blank" rel="noopener noreferrer">vlt's named-registry aliases</a>:</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">add</span><span class="token plain"> gh:@acme/private</span><br></span></code></pre></div></div>
<p>Authentication is picked up from existing per-URL <code>.npmrc</code> entries (e.g. <code>//npm.pkg.github.com/:_authToken=...</code>), so no separate auth mechanism is required.</p>
<p>Additional aliases — or an override for the built-in <code>gh</code> alias, for GitHub Enterprise Server — can be configured under <code>namedRegistries</code> in <code>pnpm-workspace.yaml</code>:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">pnpm-workspace.yaml</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">namedRegistries</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">gh</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> https</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain">//npm.pkg.github.example.com/</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">work</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> https</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain">//npm.work.example.com/</span><br></span></code></pre></div></div>
<p>With this, <code>work:@corp/lib@^2.0.0</code> resolves against <code>https://npm.work.example.com/</code>. See <a href="https://github.com/pnpm/pnpm/issues/8941" target="_blank" rel="noopener noreferrer">#8941</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="--sbom-spec-version"><code>--sbom-spec-version</code><a href="https://pnpm.io/ko/blog/releases/11.1#--sbom-spec-version" class="hash-link" aria-label="Direct link to --sbom-spec-version" title="Direct link to --sbom-spec-version" translate="no">​</a></h3>
<p><a href="https://pnpm.io/ko/cli/sbom"><code>pnpm sbom</code></a> now accepts a <code>--sbom-spec-version</code> flag to choose the CycloneDX specification version (<code>1.5</code>, <code>1.6</code>, or <code>1.7</code> — default <code>1.7</code>). The flag is only valid with <code>--sbom-format cyclonedx</code>. See <a href="https://github.com/pnpm/pnpm/pull/11389" target="_blank" rel="noopener noreferrer">#11389</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="--no-runtime-for-ci-matrices"><code>--no-runtime</code> for CI matrices<a href="https://pnpm.io/ko/blog/releases/11.1#--no-runtime-for-ci-matrices" class="hash-link" aria-label="Direct link to --no-runtime-for-ci-matrices" title="Direct link to --no-runtime-for-ci-matrices" translate="no">​</a></h3>
<p>A new <code>--no-runtime</code> flag (config: <code>runtime=false</code>) skips installing runtime entries (e.g. Node.js downloaded via <code>devEngines.runtime</code>) without modifying the lockfile. The lockfile keeps the runtime entry so frozen-lockfile validation still passes; only the runtime fetch and <code>.bin</code> linking are skipped. This is useful in CI matrices where the runtime is provisioned externally (e.g. via <code>pnpm runtime -g set node &lt;version&gt;</code>) before <code>pnpm install</code> runs.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-bugs"><code>pnpm bugs</code><a href="https://pnpm.io/ko/blog/releases/11.1#pnpm-bugs" class="hash-link" aria-label="Direct link to pnpm-bugs" title="Direct link to pnpm-bugs" translate="no">​</a></h3>
<p>The new <a href="https://pnpm.io/ko/cli/bugs"><code>pnpm bugs</code></a> command opens a package's bug tracker URL in the browser. With no arguments, it reads the current project's <code>package.json</code>; with one or more package names, it fetches each package's metadata from the registry and opens its bug tracker. It falls back to <code>&lt;repository&gt;/issues</code> when the <code>bugs</code> field is missing. See <a href="https://github.com/pnpm/pnpm/pull/11279" target="_blank" rel="noopener noreferrer">#11279</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-owner"><code>pnpm owner</code><a href="https://pnpm.io/ko/blog/releases/11.1#pnpm-owner" class="hash-link" aria-label="Direct link to pnpm-owner" title="Direct link to pnpm-owner" translate="no">​</a></h3>
<p>The new <a href="https://pnpm.io/ko/cli/owner"><code>pnpm owner</code></a> command manages package owners on the registry:</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> owner </span><span class="token function" style="color:#d73a49">ls</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">package</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> owner </span><span class="token function" style="color:#d73a49">add</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">package</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">user</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> owner </span><span class="token function" style="color:#d73a49">rm</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">package</span><span class="token operator" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain">user</span><span class="token operator" style="color:#393A34">&gt;</span><br></span></code></pre></div></div>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/11.1#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h2>
<ul>
<li>
<p><code>pnpm view</code> now prints "published X ago by Y" alongside the rest of its output, mirroring <code>npm view</code>. This is useful when comparing against <code>minimumReleaseAge</code>. For example, <code>pnpm view pnpm</code> now shows <code>published 17 hours ago by GitHub Actions</code>.</p>
</li>
<li>
<p><code>pnpm publish</code> now honors the configured HTTP/HTTPS proxy (including the <code>https_proxy</code> / <code>http_proxy</code> / <code>no_proxy</code> environment variables) when polling the registry's <code>doneUrl</code> during the web-based authentication flow. Previously the poll bypassed the proxy, causing the registry to respond <code>403</code> from a different source IP and the login to never complete <a href="https://github.com/pnpm/pnpm/issues/11561" target="_blank" rel="noopener noreferrer">#11561</a>.</p>
</li>
<li>
<p><code>pnpm add -g</code> now installs each space-separated package into its own isolated directory by default. To bundle multiple packages into the same isolated install (so they share dependencies and are removed together), pass them as a comma-separated list. 예시:</p>
<ul>
<li><code>pnpm add -g foo bar</code> installs <code>foo</code> and <code>bar</code> as two independent globals — removing one does not affect the other.</li>
<li><code>pnpm add -g foo,bar qar</code> bundles <code>foo</code> and <code>bar</code> into a single isolated install while <code>qar</code> is installed on its own.</li>
</ul>
<p>Related: <a href="https://github.com/pnpm/pnpm/issues/11587" target="_blank" rel="noopener noreferrer">#11587</a>.</p>
</li>
<li>
<p><code>pnpm runtime set &lt;name&gt; &lt;version&gt;</code> no longer fails in the root of a multi-package workspace with the <code>ADDING_TO_ROOT</code> error. Installing the workspace root is a valid target for a runtime, so the command now bypasses that safety check.</p>
</li>
<li>
<p>Fixed <code>pnpm --version</code> hanging for the lifetime of the worker pool after the version was printed. The CLI entry now runs <code>finishWorkers()</code> from its own <code>finally</code>, so every exit path tears the pool down.</p>
</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 11.0]]></title>
        <id>https://pnpm.io/ko/blog/releases/11.0</id>
        <link href="https://pnpm.io/ko/blog/releases/11.0"/>
        <updated>2026-04-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 11 is here! This release tightens the security defaults introduced throughout the v10 cycle, drops the npm CLI fallback for publishing in favor of a native implementation, replaces the JSON-per-package store index with a single SQLite database, and isolates global installs so they no longer interfere with each other.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 11 is here! This release tightens the security defaults introduced throughout the v10 cycle, drops the npm CLI fallback for publishing in favor of a native implementation, replaces the JSON-per-package store index with a single SQLite database, and isolates global installs so they no longer interfere with each other.</p>
<p>It also requires Node.js 22 or newer — pnpm itself is now pure ESM.</p>
<p>Upgrading from v10? See the <a href="https://pnpm.io/ko/migration">Migrating from v10 to v11</a> guide. Most config changes are mechanical and can be applied by the <code>pnpm-v10-to-v11</code> codemod.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="highlights">Highlights<a href="https://pnpm.io/ko/blog/releases/11.0#highlights" class="hash-link" aria-label="Direct link to Highlights" title="Direct link to Highlights" translate="no">​</a></h2>
<ul>
<li><strong>Node.js 22+ required.</strong> Support for Node 18, 19, 20, and 21 is dropped. The standalone executable requires glibc 2.27 or newer.</li>
<li><strong>Supply-chain protection on by default.</strong> <a href="https://pnpm.io/ko/settings#minimumreleaseage"><code>minimumReleaseAge</code></a> defaults to <code>1440</code> (1 day) and <a href="https://pnpm.io/ko/settings#blockexoticsubdeps"><code>blockExoticSubdeps</code></a> defaults to <code>true</code>.</li>
<li><strong><code>allowBuilds</code> replaces the legacy build-dependency settings.</strong> <code>onlyBuiltDependencies</code>, <code>onlyBuiltDependenciesFile</code>, <code>neverBuiltDependencies</code>, <code>ignoredBuiltDependencies</code>, and <code>ignoreDepScripts</code> are gone.</li>
<li><strong>Global installs are isolated and use the global virtual store by default.</strong> Each <code>pnpm add -g</code> gets its own directory with its own <code>package.json</code>, <code>node_modules</code>, and lockfile.</li>
<li><strong>New SQLite-backed store index</strong> (store v11), with bundled manifests and hex digests for fewer syscalls and faster installs.</li>
<li><strong>Native publish flow.</strong> <a href="https://pnpm.io/ko/cli/publish"><code>pnpm publish</code></a>, <a href="https://pnpm.io/ko/cli/login"><code>login</code></a>, <a href="https://pnpm.io/ko/cli/logout"><code>logout</code></a>, <a href="https://pnpm.io/ko/cli/view"><code>view</code></a>, <a href="https://pnpm.io/ko/cli/deprecate"><code>deprecate</code></a>, <a href="https://pnpm.io/ko/cli/unpublish"><code>unpublish</code></a>, <a href="https://pnpm.io/ko/cli/dist-tag"><code>dist-tag</code></a>, and <a href="https://pnpm.io/ko/cli/version"><code>version</code></a> no longer delegate to the npm CLI.</li>
<li><strong><code>.npmrc</code> is auth/registry only.</strong> Other settings must live in <code>pnpm-workspace.yaml</code> or the new global <code>config.yaml</code>. Environment variables use the <code>pnpm_config_*</code> prefix.</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="breaking-changes">Breaking changes<a href="https://pnpm.io/ko/blog/releases/11.0#breaking-changes" class="hash-link" aria-label="Direct link to Breaking changes" title="Direct link to Breaking changes" translate="no">​</a></h2>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="requirements">Requirements<a href="https://pnpm.io/ko/blog/releases/11.0#requirements" class="hash-link" aria-label="Direct link to Requirements" title="Direct link to Requirements" translate="no">​</a></h3>
<ul>
<li>Drops Node.js 18, 19, 20, and 21.</li>
<li>pnpm is now distributed as pure ESM.</li>
<li>The standalone exe requires glibc 2.27+.</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="security--build-defaults">Security &amp; build defaults<a href="https://pnpm.io/ko/blog/releases/11.0#security--build-defaults" class="hash-link" aria-label="Direct link to Security &amp; build defaults" title="Direct link to Security &amp; build defaults" translate="no">​</a></h3>
<p>Several defaults have flipped to safer values:</p>
<table><thead><tr><th>Setting</th><th>New default</th></tr></thead><tbody><tr><td><code>minimumReleaseAge</code></td><td><code>1440</code> (1 day)</td></tr><tr><td><code>minimumReleaseAgeStrict</code></td><td><code>false</code></td></tr><tr><td><code>blockExoticSubdeps</code></td><td><code>true</code></td></tr><tr><td><code>strictDepBuilds</code></td><td><code>true</code></td></tr><tr><td><code>optimisticRepeatInstall</code></td><td><code>true</code></td></tr><tr><td><code>verifyDepsBeforeRun</code></td><td><code>install</code></td></tr></tbody></table>
<p>Newly published packages won't be resolved until they're at least 1 day old. To opt out, set <code>minimumReleaseAge: 0</code> in <code>pnpm-workspace.yaml</code>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="allowbuilds-replaces-the-old-build-settings"><code>allowBuilds</code> replaces the old build settings<a href="https://pnpm.io/ko/blog/releases/11.0#allowbuilds-replaces-the-old-build-settings" class="hash-link" aria-label="Direct link to allowbuilds-replaces-the-old-build-settings" title="Direct link to allowbuilds-replaces-the-old-build-settings" translate="no">​</a></h3>
<p><code>onlyBuiltDependencies</code>, <code>onlyBuiltDependenciesFile</code>, <code>neverBuiltDependencies</code>, <code>ignoredBuiltDependencies</code>, and <code>ignoreDepScripts</code> have all been removed. Use <a href="https://pnpm.io/ko/settings#allowbuilds"><code>allowBuilds</code></a> instead — a map from package name patterns to booleans:</p>
<p>Before:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">onlyBuiltDependencies</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> electron</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">onlyBuiltDependenciesFile</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"allowed-builds.json"</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">neverBuiltDependencies</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> core</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">js</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">ignoredBuiltDependencies</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> esbuild</span><br></span></code></pre></div></div>
<p>After:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">allowBuilds</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">electron</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">core-js</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">false</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">esbuild</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">false</span><br></span></code></pre></div></div>
<p>Also removed: <code>allowNonAppliedPatches</code> (use <code>allowUnusedPatches</code>) and <code>ignorePatchFailures</code> (patch failures now throw).</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="npmrc-is-authregistry-only"><code>.npmrc</code> is auth/registry only<a href="https://pnpm.io/ko/blog/releases/11.0#npmrc-is-authregistry-only" class="hash-link" aria-label="Direct link to npmrc-is-authregistry-only" title="Direct link to npmrc-is-authregistry-only" translate="no">​</a></h3>
<p>pnpm no longer reads non-auth settings from <code>.npmrc</code>. Configuration is split into two categories:</p>
<ul>
<li><strong>Registry and auth settings</strong> — INI files (<code>.npmrc</code>, the global <code>rc</code> file, <code>~/.config/pnpm/auth.ini</code>).</li>
<li><strong>pnpm-specific settings</strong> — YAML files (<code>pnpm-workspace.yaml</code>, the new global <code>~/.config/pnpm/config.yaml</code>).</li>
</ul>
<p>Other related changes:</p>
<ul>
<li>
<p>pnpm no longer reads <code>npm_config_*</code> environment variables. Use <code>pnpm_config_*</code> instead (e.g. <code>pnpm_config_registry</code>).</p>
</li>
<li>
<p>pnpm no longer reads the <code>pnpm</code> field in <code>package.json</code>.</p>
</li>
<li>
<p>pnpm no longer reads npm's global config at <code>$PREFIX/etc/npmrc</code>.</p>
</li>
<li>
<p>Network settings (<code>httpProxy</code>, <code>httpsProxy</code>, <code>noProxy</code>, <code>localAddress</code>, <code>strictSsl</code>, <code>gitShallowHosts</code>) are now written to <code>config.yaml</code> / <code>pnpm-workspace.yaml</code> (still readable from <code>.npmrc</code> to ease migration).</p>
</li>
<li>
<p>A new <code>registries</code> setting in <code>pnpm-workspace.yaml</code> replaces <code>@scope:registry=</code> lines:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">registries</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">default</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> https</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain">//registry.npmjs.org/</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">"@my-org"</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> https</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain">//private.example.com/</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">"@internal"</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> https</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain">//nexus.corp.com/</span><br></span></code></pre></div></div>
</li>
<li>
<p>Per-project <code>.npmrc</code> is replaced by <code>packageConfigs</code> in <code>pnpm-workspace.yaml</code>:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">packages</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"packages/project-1"</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"packages/project-2"</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">packageConfigs</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">"project-1"</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token key atrule" style="color:#00a4db">saveExact</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">"project-2"</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token key atrule" style="color:#00a4db">savePrefix</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"~"</span><br></span></code></pre></div></div>
</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="native-publish-flow-no-more-npm-cli-fallback">Native publish flow, no more npm CLI fallback<a href="https://pnpm.io/ko/blog/releases/11.0#native-publish-flow-no-more-npm-cli-fallback" class="hash-link" aria-label="Direct link to Native publish flow, no more npm CLI fallback" title="Direct link to Native publish flow, no more npm CLI fallback" translate="no">​</a></h3>
<p>Commands previously implemented by passing through to the <code>npm</code> CLI have either been <strong>reimplemented natively</strong> or <strong>removed</strong>.</p>
<p>Reimplemented: <a href="https://pnpm.io/ko/cli/publish"><code>publish</code></a>, <a href="https://pnpm.io/ko/cli/view"><code>view</code></a> (<code>info</code>, <code>show</code>, <code>v</code>), <a href="https://pnpm.io/ko/cli/login"><code>login</code></a> (<code>adduser</code>), <a href="https://pnpm.io/ko/cli/logout"><code>logout</code></a>, <a href="https://pnpm.io/ko/cli/deprecate"><code>deprecate</code></a>, <a href="https://pnpm.io/ko/cli/unpublish"><code>unpublish</code></a>, <a href="https://pnpm.io/ko/cli/dist-tag"><code>dist-tag</code></a>, <a href="https://pnpm.io/ko/cli/version"><code>version</code></a>, <a href="https://pnpm.io/ko/cli/search"><code>search</code></a>, <a href="https://pnpm.io/ko/cli/star"><code>star</code>/<code>unstar</code>/<code>stars</code></a>, <a href="https://pnpm.io/ko/cli/whoami"><code>whoami</code></a>, <a href="https://pnpm.io/ko/cli/ping"><code>ping</code></a>, <a href="https://pnpm.io/ko/cli/docs"><code>docs</code>/<code>home</code></a>.</p>
<p>Removed (now throw "not implemented"): <code>access</code>, <code>bugs</code>, <code>edit</code>, <code>issues</code>, <code>owner</code>, <code>prefix</code>, <code>profile</code>, <code>pkg</code>, <code>repo</code>, <code>set-script</code>, <code>team</code>, <code>token</code>, <code>xmas</code>.</p>
<p>A few notes on the new native <code>pnpm publish</code>:</p>
<ul>
<li>The OTP environment variable is now <code>PNPM_CONFIG_OTP</code> (was <code>NPM_CONFIG_OTP</code>).</li>
<li>If the registry asks for OTP and none is provided, pnpm prompts for it interactively.</li>
<li>Web-based authentication shows a scannable QR code and URL.</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-audit-uses-the-bulk-advisories-endpoint"><code>pnpm audit</code> uses the bulk advisories endpoint<a href="https://pnpm.io/ko/blog/releases/11.0#pnpm-audit-uses-the-bulk-advisories-endpoint" class="hash-link" aria-label="Direct link to pnpm-audit-uses-the-bulk-advisories-endpoint" title="Direct link to pnpm-audit-uses-the-bulk-advisories-endpoint" translate="no">​</a></h3>
<p>The legacy <code>/-/npm/v1/security/audits{,/quick}</code> endpoints have been retired by the registry. <code>pnpm audit</code> now calls <code>/-/npm/v1/security/advisories/bulk</code>, which doesn't return CVE identifiers — so CVE-based filtering has been replaced with <strong>GHSA-based filtering</strong>:</p>
<ul>
<li><code>auditConfig.ignoreCves</code> → <code>auditConfig.ignoreGhsas</code></li>
<li><code>pnpm audit --ignore &lt;id&gt;</code> and <code>--ignore-unfixable</code> read and write GHSAs</li>
</ul>
<p>To migrate, replace each <code>CVE-YYYY-NNNNN</code> entry under <code>ignoreCves</code> with the matching <code>GHSA-xxxx-xxxx-xxxx</code> (visible in the <code>More info</code> column of <code>pnpm audit</code>) and move it to <code>ignoreGhsas</code>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="isolated-global-virtual-store-global-installs">Isolated, global-virtual-store global installs<a href="https://pnpm.io/ko/blog/releases/11.0#isolated-global-virtual-store-global-installs" class="hash-link" aria-label="Direct link to Isolated, global-virtual-store global installs" title="Direct link to Isolated, global-virtual-store global installs" translate="no">​</a></h3>
<p><code>pnpm add -g &lt;pkg&gt;</code> and <code>pnx</code> now use the global virtual store, and <strong>each install gets its own isolated directory</strong> at <code>{pnpmHomeDir}/global/v11/{hash}/</code> with its own <code>package.json</code>, <code>node_modules/</code>, and lockfile. This stops global packages from interfering with each other through peer-dependency conflicts, hoisting changes, or version drift.</p>
<ul>
<li><code>pnpm remove -g &lt;pkg&gt;</code> removes the entire installation group containing the package.</li>
<li><code>pnpm update -g [pkg]</code> re-installs into a new isolated directory.</li>
<li><code>pnpm list -g</code> scans isolated directories.</li>
<li><code>pnpm install -g</code> (no args) is no longer supported — use <code>pnpm add -g &lt;pkg&gt;</code>.</li>
</ul>
<p>Globally installed binaries now live in a <code>bin</code> subdirectory of <code>PNPM_HOME</code> (rather than directly in <code>PNPM_HOME</code>), so internal directories like <code>global/</code> and <code>store/</code> don't pollute shell autocompletion. <strong>Run <code>pnpm setup</code> after upgrading</strong> to update your shell configuration.</p>
<p><code>pnpm link</code> has been tightened too: only relative or absolute paths are accepted, <code>--global</code> is removed (use <code>pnpm add -g .</code>), and <code>pnpm link</code> with no arguments is removed.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="other-removals">Other removals<a href="https://pnpm.io/ko/blog/releases/11.0#other-removals" class="hash-link" aria-label="Direct link to Other removals" title="Direct link to Other removals" translate="no">​</a></h3>
<ul>
<li>
<p><code>pnpm server</code>.</p>
</li>
<li>
<p><code>useNodeVersion</code> and <code>executionEnv.nodeVersion</code> — use <code>devEngines.runtime</code> / <code>engines.runtime</code>.</p>
</li>
<li>
<p><code>hooks.fetchers</code> — replaced by the new <code>fetchers</code> field in pnpmfile.</p>
</li>
<li>
<p><code>managePackageManagerVersions</code>, <code>packageManagerStrict</code>, and <code>packageManagerStrictVersion</code>. These all derived the <code>onFail</code> behavior of the legacy <code>packageManager</code> field; the new <code>pmOnFail</code> setting subsumes them:</p>
<table><thead><tr><th>Removed</th><th>Replace with</th></tr></thead><tbody><tr><td><code>managePackageManagerVersions: true</code></td><td><code>pmOnFail: download</code> (default)</td></tr><tr><td><code>managePackageManagerVersions: false</code></td><td><code>pmOnFail: ignore</code></td></tr><tr><td><code>packageManagerStrict: false</code></td><td><code>pmOnFail: warn</code></td></tr><tr><td><code>packageManagerStrictVersion: true</code></td><td><code>pmOnFail: error</code></td></tr><tr><td><code>COREPACK_ENABLE_STRICT=0</code></td><td><code>pmOnFail: warn</code></td></tr></tbody></table>
</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="new-commands">New commands<a href="https://pnpm.io/ko/blog/releases/11.0#new-commands" class="hash-link" aria-label="Direct link to New commands" title="Direct link to New commands" translate="no">​</a></h2>
<table><thead><tr><th>명령어</th><th>What it does</th></tr></thead><tbody><tr><td><a href="https://pnpm.io/ko/cli/ci"><code>pnpm ci</code></a></td><td>Runs <code>pnpm clean</code> followed by <code>pnpm install --frozen-lockfile</code>. Aliases: <code>clean-install</code>, <code>ic</code>, <code>install-clean</code>.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/clean"><code>pnpm clean</code></a></td><td>Removes <code>node_modules</code> from all workspace projects. <code>--lockfile</code> also removes <code>pnpm-lock.yaml</code>.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/sbom"><code>pnpm sbom</code></a></td><td>Generates a Software Bill of Materials in CycloneDX 1.7 or SPDX 2.3 JSON.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/peers"><code>pnpm peers check</code></a></td><td>Reports unmet/missing peers from the lockfile.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/runtime"><code>pnpm runtime set</code></a></td><td>Installs a runtime; deprecates <code>pnpm env use</code>.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/docs"><code>pnpm docs</code></a> / <code>home</code></td><td>Opens the package homepage.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/ping"><code>pnpm ping</code></a></td><td>Pings the registry.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/with"><code>pnpm with</code></a></td><td>Runs pnpm at a specific (or current) version for a single invocation, bypassing <code>packageManager</code> pins.</td></tr><tr><td><a href="https://pnpm.io/ko/cli/pack-app"><code>pnpm pack-app</code></a></td><td>Packs a CommonJS entry into a standalone executable for one or more target platforms via <a href="https://nodejs.org/api/single-executable-applications.html" target="_blank" rel="noopener noreferrer">Node.js SEA</a>.</td></tr></tbody></table>
<p>Plus the natively reimplemented commands listed under "Native publish flow" above, and short aliases <a href="https://pnpm.io/ko/cli/pn"><code>pn</code></a> for <code>pnpm</code> and <a href="https://pnpm.io/ko/cli/pnx"><code>pnx</code></a> for <code>pnpx</code>/<code>pnpm dlx</code>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-audit---fixupdate"><code>pnpm audit --fix=update</code><a href="https://pnpm.io/ko/blog/releases/11.0#pnpm-audit---fixupdate" class="hash-link" aria-label="Direct link to pnpm-audit---fixupdate" title="Direct link to pnpm-audit---fixupdate" translate="no">​</a></h3>
<p>Fix vulnerabilities by <strong>updating packages in the lockfile</strong> instead of adding overrides. For more granular control, the new <code>--interactive</code> / <code>-i</code> flag lets you select which advisories to fix:</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> audit </span><span class="token parameter variable" style="color:#36acaa">--fix</span><span class="token operator" style="color:#393A34">=</span><span class="token plain">update </span><span class="token parameter variable" style="color:#36acaa">--interactive</span><br></span></code></pre></div></div>
<p><code>pnpm audit --fix</code> also adds the minimum patched version for each advisory to <code>minimumReleaseAgeExclude</code> in <code>pnpm-workspace.yaml</code>, so security fixes can be installed without waiting for <code>minimumReleaseAge</code>.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="esm-pnpmfiles">ESM pnpmfiles<a href="https://pnpm.io/ko/blog/releases/11.0#esm-pnpmfiles" class="hash-link" aria-label="Direct link to ESM pnpmfiles" title="Direct link to ESM pnpmfiles" translate="no">​</a></h2>
<p>Pnpmfiles can now be written in ESM, using the <code>.mjs</code> extension. When <code>.pnpmfile.mjs</code> exists, it takes priority over <code>.pnpmfile.cjs</code>, and only one is loaded.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="store-v11">Store v11<a href="https://pnpm.io/ko/blog/releases/11.0#store-v11" class="hash-link" aria-label="Direct link to Store v11" title="Direct link to Store v11" translate="no">​</a></h2>
<p>The store has been rebuilt around two ideas: read less, do fewer syscalls.</p>
<ul>
<li>The package index is now a single <strong>SQLite database</strong> at <code>$STORE/index.db</code> (with MessagePack values, WAL mode for concurrent access), instead of millions of JSON files under <code>$STORE/index/</code>. Packages missing from the new index are re-fetched on demand.</li>
<li>The <strong>bundled manifest</strong> (name, version, bin, engines, scripts, etc.) is stored directly in the package index, eliminating the need to read <code>package.json</code> from the CAS during resolution and installation.</li>
<li>Index entries store <strong>hex digests</strong> instead of full integrity strings (<code>&lt;algo&gt;-&lt;digest&gt;</code>), and the hash algorithm is recorded once per file instead of per entry. This avoids base64 → hex conversion on every CAS path lookup.</li>
<li>When the global virtual store is enabled, packages that aren't allowed to build (and don't transitively depend on packages that are) get hashes that <strong>don't include the engine name</strong> (platform, arch, Node.js major). ~95% of GVS packages now survive Node.js upgrades and architecture changes without re-import.</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="performance">Performance<a href="https://pnpm.io/ko/blog/releases/11.0#performance" class="hash-link" aria-label="Direct link to Performance" title="Direct link to Performance" translate="no">​</a></h2>
<p>A lot of small wins add up to a noticeably faster install:</p>
<ul>
<li><strong><code>undici</code> replaces <code>node-fetch</code></strong> for all HTTP, with Happy Eyeballs (dual-stack), better keep-alive, and an optimized global dispatcher.</li>
<li>Tarball downloads with known size <strong>pre-allocate memory</strong> to avoid double-copy overhead.</li>
<li>The metadata cache is now <strong>NDJSON</strong>, with <code>If-Modified-Since</code> for conditional fetches.</li>
<li><code>minimumReleaseAge</code> checks use the <strong>abbreviated metadata</strong> endpoint to fetch less.</li>
<li>CAS files are written <strong>directly to their content-addressed path</strong> instead of via a temp file + rename — saving ~30k rename syscalls per cold install.</li>
<li>The staging directory is <strong>gone</strong> when importing into <code>node_modules</code>.</li>
<li>Hot-path string operations in the CAS were tightened, and <code>gunzipSync</code> runs with a larger chunk size for fewer buffer allocations during tarball decompression.</li>
<li>During GVS warm reinstalls, redundant internal linking is skipped when no packages were added.</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="slimmer-runtime-installs">Slimmer runtime installs<a href="https://pnpm.io/ko/blog/releases/11.0#slimmer-runtime-installs" class="hash-link" aria-label="Direct link to Slimmer runtime installs" title="Direct link to Slimmer runtime installs" translate="no">​</a></h2>
<p>Installing a Node.js runtime via <code>node@runtime:&lt;version&gt;</code> (including <code>pnpm env use</code> and <code>pnpm runtime set node</code>) <strong>no longer extracts the bundled <code>npm</code>, <code>npx</code>, and <code>corepack</code></strong> from the Node.js archive. That cuts roughly half of the files pnpm has to hash, write to the CAS, and link. If you still need <code>npm</code>, install it as a separate package.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="other-notable-changes">Other notable changes<a href="https://pnpm.io/ko/blog/releases/11.0#other-notable-changes" class="hash-link" aria-label="Direct link to Other notable changes" title="Direct link to Other notable changes" translate="no">​</a></h2>
<ul>
<li>
<p><strong>Cleaner script output.</strong> <code>pnpm</code> now prints <code>$ command</code> (to stderr, so stdout stays pipe-friendly) instead of <code>&gt; pkg@version stage path\n&gt; command</code>. Project name and path are shown only when running in a different directory.</p>
</li>
<li>
<p><strong>Peer dependency issues</strong> are no longer rendered as a tree during install — pnpm suggests running <code>pnpm peers check</code> to view them.</p>
</li>
<li>
<p><strong>Lifecycle scripts</strong> no longer get <code>npm_config_*</code> env vars from the pnpm config; only well-known <code>npm_*</code> env vars are set, matching Yarn.</p>
</li>
<li>
<p><strong><code>pnpm init</code></strong> writes <code>devEngines.packageManager</code> instead of <code>packageManager</code> when <code>init-package-manager</code> is enabled, and the default <code>type</code> is now <code>"module"</code>.</p>
</li>
<li>
<p><strong><code>devEngines.packageManager</code></strong> now supports version ranges; the resolved version is stored in <code>pnpm-lock.yaml</code> and reused if it still satisfies the range.</p>
</li>
<li>
<p><strong><code>dedupePeers</code></strong> is a new setting that uses version-only suffixes (<code>name@version</code>) instead of full dep paths, eliminating nested suffixes like <code>(foo@1.0.0(bar@2.0.0))</code> for projects with many recursive peers.</p>
</li>
<li>
<p><strong><code>pnpm approve-builds</code></strong> now accepts positional arguments for non-interactive use; prefix a name with <code>!</code> to deny it.</p>
</li>
<li>
<p><strong>Hidden scripts</strong> — scripts starting with <code>.</code> can only be called from other scripts and don't show up in <code>pnpm run</code>.</p>
</li>
<li>
<p><strong><code>-F</code></strong> is a new short alias for <code>--filter</code>.</p>
</li>
<li>
<p><strong><code>pnpm add</code> short flags</strong> — <code>-d</code> is now <code>--save-dev</code>, <code>-p</code> is <code>--save-prod</code>, <code>-o</code> is <code>--save-optional</code>, <code>-e</code> is <code>--save-exact</code> (only inside <code>pnpm add</code>).</p>
</li>
<li>
<p><strong><code>virtualStoreOnly</code></strong> populates the virtual store without creating importer symlinks, hoisting, bin links, or running lifecycle scripts. Useful for pre-populating a store in Nix builds. <code>pnpm fetch</code> now uses this internally.</p>
</li>
<li>
<p><strong><code>nodeDownloadMirrors</code></strong> in <code>pnpm-workspace.yaml</code> replaces the <code>node-mirror:&lt;channel&gt;</code> <code>.npmrc</code> setting:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">nodeDownloadMirrors</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">release</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> https</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain">//my</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">mirror.example.com/download/release/</span><br></span></code></pre></div></div>
</li>
<li>
<p><strong>Config dependencies</strong> are now installed into <code>{storeDir}/links/</code> and symlinked into <code>node_modules/.pnpm-config/</code>, so they're shared across projects using the same store. Resolved versions and integrity hashes have moved from <code>pnpm-workspace.yaml</code> to a separate document in <code>pnpm-lock.yaml</code>; old inline-hash projects are migrated automatically.</p>
</li>
</ul>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="upgrading">Upgrading<a href="https://pnpm.io/ko/blog/releases/11.0#upgrading" class="hash-link" aria-label="Direct link to Upgrading" title="Direct link to Upgrading" translate="no">​</a></h2>
<p>See the full <a href="https://pnpm.io/ko/migration">Migrating from v10 to v11</a> guide for the codemod and manual follow-ups. The short version:</p>
<ul>
<li>Bump your CI and dev environments to <strong>Node.js 22+</strong> before upgrading.</li>
<li>Move pnpm settings out of <code>.npmrc</code> into <code>pnpm-workspace.yaml</code> (or the global <code>~/.config/pnpm/config.yaml</code>).</li>
<li>Migrate <code>onlyBuiltDependencies</code> and friends to <code>allowBuilds</code>.</li>
<li>Migrate <code>auditConfig.ignoreCves</code> to <code>auditConfig.ignoreGhsas</code>.</li>
<li>After installing v11, run <code>pnpm setup</code> to update your shell so the new <code>bin</code> subdirectory is on <code>PATH</code>.</li>
</ul>
<p>The full list of changes is in the <a href="https://github.com/pnpm/pnpm/blob/main/pnpm/CHANGELOG.md" target="_blank" rel="noopener noreferrer">changelog</a>. If something you relied on is missing or broken, please open an issue at <a href="https://github.com/pnpm/pnpm/issues" target="_blank" rel="noopener noreferrer">github.com/pnpm/pnpm/issues</a>.</p><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.32]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.32</id>
        <link href="https://pnpm.io/ko/blog/releases/10.32"/>
        <updated>2026-03-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.32 adds an --all flag to pnpm approve-builds for approving all pending builds without interactive prompts.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.32 adds an <code>--all</code> flag to <code>pnpm approve-builds</code> for approving all pending builds without interactive prompts.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.32#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="--all-flag-for-pnpm-approve-builds"><code>--all</code> Flag for <code>pnpm approve-builds</code><a href="https://pnpm.io/ko/blog/releases/10.32#--all-flag-for-pnpm-approve-builds" class="hash-link" aria-label="Direct link to --all-flag-for-pnpm-approve-builds" title="Direct link to --all-flag-for-pnpm-approve-builds" translate="no">​</a></h4>
<p>Added <code>--all</code> flag to <code>pnpm approve-builds</code> that approves all pending builds without interactive prompts <a href="https://github.com/pnpm/pnpm/issues/10136" target="_blank" rel="noopener noreferrer">#10136</a>.</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> approve-builds </span><span class="token parameter variable" style="color:#36acaa">--all</span><br></span></code></pre></div></div>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.32#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Reverted change related to setting explicitly the npm config file path, which caused regressions.</li>
<li>Reverted fix related to <code>lockfile-include-tarball-url</code>. Fixes <a href="https://github.com/pnpm/pnpm/issues/10915" target="_blank" rel="noopener noreferrer">#10915</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.31]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.31</id>
        <link href="https://pnpm.io/ko/blog/releases/10.31"/>
        <updated>2026-03-07T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.31 preserves comments and formatting when updating pnpm-workspace.yaml, and includes numerous bug fixes.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.31 preserves comments and formatting when updating <code>pnpm-workspace.yaml</code>, and includes numerous bug fixes.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.31#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="preserving-comments-in-pnpm-workspaceyaml">Preserving Comments in <code>pnpm-workspace.yaml</code><a href="https://pnpm.io/ko/blog/releases/10.31#preserving-comments-in-pnpm-workspaceyaml" class="hash-link" aria-label="Direct link to preserving-comments-in-pnpm-workspaceyaml" title="Direct link to preserving-comments-in-pnpm-workspaceyaml" translate="no">​</a></h4>
<p>When pnpm updates the <code>pnpm-workspace.yaml</code>, comments, string formatting, and whitespace will be preserved.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.31#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Added <code>-F</code> as a short alias for the <code>--filter</code> option in the help output.</li>
<li>Handle undefined pkgSnapshot in <code>pnpm why -r</code> <a href="https://github.com/pnpm/pnpm/issues/10700" target="_blank" rel="noopener noreferrer">#10700</a>.</li>
<li>Fix headless install not being used when a project has an injected self-referencing <code>file:</code> dependency that resolves to <code>link:</code> in the lockfile.</li>
<li>Fixed a race condition when multiple worker threads import the same package to the global virtual store concurrently. The rename operation now tolerates <code>ENOTEMPTY</code>/<code>EEXIST</code> errors if another thread already completed the import.</li>
<li>When <code>lockfile-include-tarball-url</code> is set to <code>false</code>, tarball URLs are now always excluded from the lockfile. Previously, tarball URLs could still appear for packages hosted under non-standard URLs <a href="https://github.com/pnpm/pnpm/issues/6667" target="_blank" rel="noopener noreferrer">#6667</a>.</li>
<li>Fixed <code>optimisticRepeatInstall</code> skipping install when <code>overrides</code>, <code>packageExtensions</code>, <code>ignoredOptionalDependencies</code>, <code>patchedDependencies</code>, or <code>peersSuffixMaxLength</code> changed.</li>
<li>Fixed <code>pnpm patch-commit</code> failing with "unable to access '/.config/git/attributes': Permission denied" error in environments where HOME is unset or non-standard (Docker containers, CI systems) <a href="https://github.com/pnpm/pnpm/issues/6537" target="_blank" rel="noopener noreferrer">#6537</a>.</li>
<li>Fix <code>pnpm why -r --parseable</code> missing dependents when multiple workspace packages share the same dependency <a href="https://github.com/pnpm/pnpm/issues/8100" target="_blank" rel="noopener noreferrer">#8100</a>.</li>
<li>Fix <code>link-workspace-packages=true</code> incorrectly linking workspace packages when the requested version doesn't match the workspace package's version <a href="https://github.com/pnpm/pnpm/issues/10173" target="_blank" rel="noopener noreferrer">#10173</a>.</li>
<li>Fixed <code>pnpm update --interactive</code> table breaking with long version strings by dynamically calculating column widths instead of using hardcoded values <a href="https://github.com/pnpm/pnpm/issues/10316" target="_blank" rel="noopener noreferrer">#10316</a>.</li>
<li>The parameter set by the <code>--allow-build</code> flag is written to <code>allowBuilds</code>.</li>
<li>Fix a bug in which specifying <code>filter</code> on <code>pnpm-workspace.yaml</code> would cause pnpm to not detect any projects.</li>
<li>Print help message on running <code>pnpm dlx</code> without arguments and exit.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.30]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.30</id>
        <link href="https://pnpm.io/ko/blog/releases/10.30"/>
        <updated>2026-02-17T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.30 redesigns pnpm why to show a reverse dependency tree, making it much easier to understand why a package is installed.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.30 redesigns <code>pnpm why</code> to show a reverse dependency tree, making it much easier to understand why a package is installed.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.30#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="reverse-dependency-tree-in-pnpm-why">Reverse Dependency Tree in <code>pnpm why</code><a href="https://pnpm.io/ko/blog/releases/10.30#reverse-dependency-tree-in-pnpm-why" class="hash-link" aria-label="Direct link to reverse-dependency-tree-in-pnpm-why" title="Direct link to reverse-dependency-tree-in-pnpm-why" translate="no">​</a></h4>
<p><code>pnpm why</code> now shows a reverse dependency tree. The searched package appears at the root with its dependents as branches, walking back to workspace roots. This replaces the previous forward-tree output which was noisy and hard to read for deeply nested dependencies.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.30#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Optimize <code>pnpm why</code> and <code>pnpm list</code> performance in workspaces with many importers by sharing the dependency graph and materialization cache across all importers instead of rebuilding them independently for each one <a href="https://github.com/pnpm/pnpm/pull/10596" target="_blank" rel="noopener noreferrer">#10596</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.29]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.29</id>
        <link href="https://pnpm.io/ko/blog/releases/10.29"/>
        <updated>2026-02-07T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.29 adds catalog specifier, and includes several bug fixes.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.29 adds <code>catalog:</code> protocol support to <code>pnpm dlx</code>, allows configuring <code>auditLevel</code> in <code>pnpm-workspace.yaml</code>, supports a bare <code>workspace:</code> specifier, and includes several bug fixes.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.29#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="catalog-protocol-in-pnpm-dlx"><code>catalog:</code> Protocol in <code>pnpm dlx</code><a href="https://pnpm.io/ko/blog/releases/10.29#catalog-protocol-in-pnpm-dlx" class="hash-link" aria-label="Direct link to catalog-protocol-in-pnpm-dlx" title="Direct link to catalog-protocol-in-pnpm-dlx" translate="no">​</a></h4>
<p>The <code>pnpm dlx</code> / <code>pnpx</code> command now supports the <code>catalog:</code> protocol, allowing you to reference versions defined in your workspace catalogs:</p>
<div class="language-sh codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-sh codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> dlx shx@catalog:</span><br></span></code></pre></div></div>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="auditlevel-setting"><code>auditLevel</code> Setting<a href="https://pnpm.io/ko/blog/releases/10.29#auditlevel-setting" class="hash-link" aria-label="Direct link to auditlevel-setting" title="Direct link to auditlevel-setting" translate="no">​</a></h4>
<p><code>auditLevel</code> can now be configured in the <code>pnpm-workspace.yaml</code> file, so you don't need to pass <code>--audit-level</code> on every <code>pnpm audit</code> invocation <a href="https://github.com/pnpm/pnpm/pull/10540" target="_blank" rel="noopener noreferrer">#10540</a>:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">pnpm-workspace.yaml</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">auditLevel</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> high</span><br></span></code></pre></div></div>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="bare-workspace-protocol">Bare <code>workspace:</code> Protocol<a href="https://pnpm.io/ko/blog/releases/10.29#bare-workspace-protocol" class="hash-link" aria-label="Direct link to bare-workspace-protocol" title="Direct link to bare-workspace-protocol" translate="no">​</a></h4>
<p>A bare <code>workspace:</code> specifier without a version range is now supported. It is treated as <code>workspace:*</code> and resolves to the concrete version during publish <a href="https://github.com/pnpm/pnpm/pull/10436" target="_blank" rel="noopener noreferrer">#10436</a>:</p>
<div class="language-json codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-json codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"dependencies"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token property" style="color:#36acaa">"foo"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"workspace:"</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.29#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Fixed an out-of-memory error in <code>pnpm list</code> (and <code>pnpm why</code>) on large dependency graphs by replacing the recursive tree builder with a two-phase approach: a BFS dependency graph followed by cached tree materialization. Duplicate subtrees are now deduplicated in the output <a href="https://github.com/pnpm/pnpm/pull/10586" target="_blank" rel="noopener noreferrer">#10586</a>.</li>
<li>Fixed <code>allowBuilds</code> not working when set via <code>.pnpmfile.cjs</code> <a href="https://github.com/pnpm/pnpm/issues/10516" target="_blank" rel="noopener noreferrer">#10516</a>.</li>
<li>When <code>enableGlobalVirtualStore</code> is set, <code>pnpm deploy</code> now ignores it and always creates a localized virtual store within the deploy directory to keep it self-contained.</li>
<li>Fixed <code>minimumReleaseAgeExclude</code> not being respected by <code>pnpm dlx</code> <a href="https://github.com/pnpm/pnpm/issues/10338" target="_blank" rel="noopener noreferrer">#10338</a>.</li>
<li>Fixed <code>pnpm list --json</code> returning incorrect paths when using global virtual store <a href="https://github.com/pnpm/pnpm/issues/10187" target="_blank" rel="noopener noreferrer">#10187</a>.</li>
<li>Fixed <code>pnpm store path</code> and <code>pnpm store status</code> using workspace root for path resolution when <code>storeDir</code> is relative <a href="https://github.com/pnpm/pnpm/issues/10290" target="_blank" rel="noopener noreferrer">#10290</a>.</li>
<li>Fixed <code>catalogMode: strict</code> writing the literal string <code>catalog:</code> to <code>pnpm-workspace.yaml</code> instead of the resolved version specifier when re-adding an existing catalog dependency <a href="https://github.com/pnpm/pnpm/issues/10176" target="_blank" rel="noopener noreferrer">#10176</a>.</li>
<li>Skip local <code>file:</code> protocol dependencies during <code>pnpm fetch</code>, fixing Docker builds when local directory dependencies are not available <a href="https://github.com/pnpm/pnpm/issues/10460" target="_blank" rel="noopener noreferrer">#10460</a>.</li>
<li>Fixed <code>pnpm audit --json</code> to respect the <code>--audit-level</code> setting for both exit code and output filtering <a href="https://github.com/pnpm/pnpm/pull/10540" target="_blank" rel="noopener noreferrer">#10540</a>.</li>
<li>Updated <code>tar</code> to version 7.5.7 to fix a security vulnerability (<a href="https://www.cve.org/CVERecord?id=CVE-2026-24842" target="_blank" rel="noopener noreferrer">CVE-2026-24842</a>).</li>
<li>Fixed <code>pnpm audit --fix</code> replacing reference overrides (e.g. <code>$foo</code>) with concrete versions <a href="https://github.com/pnpm/pnpm/issues/10325" target="_blank" rel="noopener noreferrer">#10325</a>.</li>
<li>Fixed <code>shamefullyHoist</code> set via <code>updateConfig</code> in <code>.pnpmfile.cjs</code> not being converted to <code>publicHoistPattern</code> <a href="https://github.com/pnpm/pnpm/issues/10271" target="_blank" rel="noopener noreferrer">#10271</a>.</li>
<li><code>pnpm help</code> now correctly reports if the currently running pnpm CLI is bundled with Node.js <a href="https://github.com/pnpm/pnpm/issues/10561" target="_blank" rel="noopener noreferrer">#10561</a>.</li>
<li>Added a warning when the current directory contains the PATH delimiter character, which can break <code>node_modules/.bin</code> path injection <a href="https://github.com/pnpm/pnpm/issues/10457" target="_blank" rel="noopener noreferrer">#10457</a>.</li>
<li>Fixed the documentation URL shown in <code>pnpm completion --help</code> to point to the correct page <a href="https://github.com/pnpm/pnpm/issues/10281" target="_blank" rel="noopener noreferrer">#10281</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.28]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.28</id>
        <link href="https://pnpm.io/ko/blog/releases/10.28"/>
        <updated>2026-01-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.28 introduces a new beforePacking hook to customize package.json at publish time, improves filtered install performance, and includes several bug fixes.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.28 introduces a new <code>beforePacking</code> hook to customize package.json at publish time, improves filtered install performance, and includes several bug fixes.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.28#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="beforepacking-hook"><code>beforePacking</code> Hook<a href="https://pnpm.io/ko/blog/releases/10.28#beforepacking-hook" class="hash-link" aria-label="Direct link to beforepacking-hook" title="Direct link to beforepacking-hook" translate="no">​</a></h4>
<p>Added support for a new hook called <code>beforePacking</code> that allows you to customize the <code>package.json</code> contents at publish time <a href="https://github.com/pnpm/pnpm/issues/3816" target="_blank" rel="noopener noreferrer">#3816</a>.</p>
<p>This hook is called just before creating the tarball when running <code>pnpm pack</code> or <code>pnpm publish</code>. It gives you the opportunity to modify the package manifest that will be included in the published package without affecting your local <code>package.json</code> file.</p>
<p>Example usage in <code>.pnpmfile.cjs</code>:</p>
<div class="language-js codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-js codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token plain">module</span><span class="token punctuation" style="color:#393A34">.</span><span class="token property-access">exports</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token literal-property property" style="color:#36acaa">hooks</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token function" style="color:#d73a49">beforePacking</span><span class="token punctuation" style="color:#393A34">(</span><span class="token parameter">pkg</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token comment" style="color:#999988;font-style:italic">// Remove development-only fields</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token keyword" style="color:#00009f">delete</span><span class="token plain"> pkg</span><span class="token punctuation" style="color:#393A34">.</span><span class="token property-access">devDependencies</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token keyword" style="color:#00009f">delete</span><span class="token plain"> pkg</span><span class="token punctuation" style="color:#393A34">.</span><span class="token property-access">scripts</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token comment" style="color:#999988;font-style:italic">// Add publication metadata</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      pkg</span><span class="token punctuation" style="color:#393A34">.</span><span class="token property-access">publishedAt</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">new</span><span class="token plain"> </span><span class="token class-name">Date</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">.</span><span class="token method function property-access" style="color:#d73a49">toISOString</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token keyword control-flow" style="color:#00009f">return</span><span class="token plain"> pkg</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<p>See the <a href="https://pnpm.io/ko/pnpmfile#hooksbeforepackingpkg-pkg--promisepkg">.pnpmfile.cjs documentation</a> for more details.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="filtered-install-performance">Filtered Install Performance<a href="https://pnpm.io/ko/blog/releases/10.28#filtered-install-performance" class="hash-link" aria-label="Direct link to Filtered Install Performance" title="Direct link to Filtered Install Performance" translate="no">​</a></h4>
<p>In some cases, a filtered install (i.e. <code>pnpm install --filter ...</code>) was slower than running <code>pnpm install</code> without any filter arguments. This performance regression is now fixed. Filtered installs should be as fast or faster than a full install <a href="https://github.com/pnpm/pnpm/pull/10408" target="_blank" rel="noopener noreferrer">#10408</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.28#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Do not add a symlink to the project into the store's project registry if the store is in a subdirectory of the project <a href="https://github.com/pnpm/pnpm/issues/10411" target="_blank" rel="noopener noreferrer">#10411</a>.</li>
<li>It should be possible to declare the <code>requiredScripts</code> setting in <code>pnpm-workspace.yaml</code> <a href="https://github.com/pnpm/pnpm/issues/10261" target="_blank" rel="noopener noreferrer">#10261</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.27]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.27</id>
        <link href="https://pnpm.io/ko/blog/releases/10.27"/>
        <updated>2025-12-30T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.27 adds a new setting to ignore trust policy checks for older package versions, introduces a project registry for global virtual store pruning, and includes several bug fixes.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.27 adds a new setting to ignore trust policy checks for older package versions, introduces a project registry for global virtual store pruning, and includes several bug fixes.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.27#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="trustpolicyignoreafter"><code>trustPolicyIgnoreAfter</code><a href="https://pnpm.io/ko/blog/releases/10.27#trustpolicyignoreafter" class="hash-link" aria-label="Direct link to trustpolicyignoreafter" title="Direct link to trustpolicyignoreafter" translate="no">​</a></h4>
<p>Adding <code>trustPolicyIgnoreAfter</code> allows you to ignore trust policy checks for packages published more than a specified time ago <a href="https://github.com/pnpm/pnpm/issues/10352" target="_blank" rel="noopener noreferrer">#10352</a>.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="global-virtual-store-improvements">Global Virtual Store Improvements<a href="https://pnpm.io/ko/blog/releases/10.27#global-virtual-store-improvements" class="hash-link" aria-label="Direct link to Global Virtual Store Improvements" title="Direct link to Global Virtual Store Improvements" translate="no">​</a></h4>
<p>Added project registry for global virtual store prune support.</p>
<p>Projects using the store are now registered via symlinks in <code>{storeDir}/v10/projects/</code>. This enables <code>pnpm store prune</code> to track which packages are still in use by active projects and safely remove unused packages from the global virtual store.</p>
<p><strong>Semi-breaking.</strong> Changed the location of unscoped packages in the virtual global store. They will now be stored under a directory named <code>@</code> to maintain a uniform 4-level directory depth.</p>
<p>Added mark-and-sweep garbage collection for global virtual store.</p>
<p><code>pnpm store prune</code> now removes unused packages from the global virtual store's <code>links/</code> directory. The algorithm:</p>
<ol>
<li>Scans all registered projects for symlinks pointing to the store</li>
<li>Walks transitive dependencies to mark reachable packages</li>
<li>Removes any package directories not marked as reachable</li>
</ol>
<p>This includes support for workspace monorepos - all <code>node_modules</code> directories within a project (including those in workspace packages) are scanned.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.27#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Throw an error if the value of the <code>tokenHelper</code> or <code>&lt;url&gt;:tokenHelper</code> setting contains an environment variable.</li>
<li>Git dependencies with build scripts should respect the <code>dangerouslyAllowAllBuilds</code> settings <a href="https://github.com/pnpm/pnpm/issues/10376" target="_blank" rel="noopener noreferrer">#10376</a>.</li>
<li>Skip the package manager check when running with --global and a project packageManager is configured, and warn that the check is skipped.</li>
<li><code>pnpm store prune</code> should not fail if the dlx cache directory has files, not only directories <a href="https://github.com/pnpm/pnpm/pull/10384" target="_blank" rel="noopener noreferrer">#10384</a></li>
<li>Fixed a bug (<a href="https://github.com/pnpm/pnpm/issues/9759" target="_blank" rel="noopener noreferrer">#9759</a>) where <code>pnpm add</code> would incorrectly modify a catalog entry in <code>pnpm-workspace.yaml</code> to its exact version.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[🚀 pnpm in 2025]]></title>
        <id>https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025</id>
        <link href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025"/>
        <updated>2025-12-29T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[2025 has been a transformative year for pnpm. While our primary focus was redefining the security model of package management, we also delivered significant improvements in performance and developer experience.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>2025 has been a transformative year for pnpm. While our primary focus was redefining the security model of package management, we also delivered significant improvements in performance and developer experience.</p>
<p>From blocking lifecycle scripts by default to introducing a global virtual store, here is a look back at the major features shipped in 2025.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="사용">사용<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#%EC%82%AC%EC%9A%A9" class="hash-link" aria-label="Direct link to 사용" title="Direct link to 사용" translate="no">​</a></h2>
<p>According to <a href="https://npm-stat.com/charts.html?package=pnpm&amp;from=2016-12-01&amp;to=2025-12-29" target="_blank" rel="noopener noreferrer">download stats</a> pnpm was downloaded 2 times more than in 2024!</p>
<p><img decoding="async" loading="lazy" src="https://pnpm.io/ko/assets/images/download-stats-2025-bc5a6c1e5b99cc9ed041229899d563f7.png" width="1990" height="758" class="img_M8jV"></p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="redesign-of-the-homepage">Redesign of the Homepage<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#redesign-of-the-homepage" class="hash-link" aria-label="Direct link to Redesign of the Homepage" title="Direct link to Redesign of the Homepage" translate="no">​</a></h2>
<p>You may have noticed that we have redesigned our homepage! This redesign was made possible by our most prominent sponsor, <a href="https://bit.cloud/" target="_blank" rel="noopener noreferrer">Bit.cloud</a>.</p>
<p>The new homepage is now built with <a href="https://bit.cloud/pnpm/website" target="_blank" rel="noopener noreferrer">Bit components</a> and much of the work was done using Bit's AI agent: <a href="https://bit.cloud/products/hope-ai" target="_blank" rel="noopener noreferrer">Hope AI</a>. We even have our own <a href="https://bit.cloud/pnpm/design" target="_blank" rel="noopener noreferrer">design system now</a>.</p>
<div class="theme-admonition theme-admonition-info admonition_g_IF alert alert--info"><div class="admonitionHeading_Ll6V"><span class="admonitionIcon_pyky"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"></path></svg></span>info</div><div class="admonitionContent_e01q"><p>I work full time at Bit on dependency management. Under the hood Bit <a href="https://github.com/teambit/bit/blob/9de9a2bce5183d79ee805c4fba3c3386e9384eac/workspace.jsonc#L52-L80" target="_blank" rel="noopener noreferrer">uses pnpm for installation</a>.</p></div></div>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="presentation-at-jsnation">Presentation at JSNation<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#presentation-at-jsnation" class="hash-link" aria-label="Direct link to Presentation at JSNation" title="Direct link to Presentation at JSNation" translate="no">​</a></h2>
<p>This year was a huge milestone for me personally as I had my first ever live presentation at a big international conference: JSNation in June in Amsterdam. I would like to thank the JSNation team for this great opportunity!</p>
<p><img decoding="async" loading="lazy" src="https://pnpm.io/ko/assets/images/jsnation-2025-e3a119ab673869a6dc5a2e2cd172487e.jpg" width="2048" height="1366" class="img_M8jV"></p>
<p>I was pleasantly surprised how well known pnpm is in the community and how many people use it at their work!</p>
<p>My presentation was about <a href="https://pnpm.io/ko/config-dependencies">config dependencies</a> and you can see the recording <a href="https://gitnation.com/contents/configurational-dependencies-in-pnpm" target="_blank" rel="noopener noreferrer">here</a>.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="주요-기능">주요 기능<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#%EC%A3%BC%EC%9A%94-%EA%B8%B0%EB%8A%A5" class="hash-link" aria-label="Direct link to 주요 기능" title="Direct link to 주요 기능" translate="no">​</a></h2>
<p>Now, let’s dive into the most significant changes shipped in pnpm v10 throughout 2025.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="security-by-default">Security by Default<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#security-by-default" class="hash-link" aria-label="Direct link to Security by Default" title="Direct link to Security by Default" translate="no">​</a></h3>
<p>The most significant shift this year was pnpm's move to "Security by Default." In pnpm v10.0, we stopped implicitly trusting installed packages.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="blocking-lifecycle-scripts-v100">Blocking Lifecycle Scripts (<a href="https://github.com/pnpm/pnpm/releases/tag/v10.0.0" target="_blank" rel="noopener noreferrer">v10.0</a>)<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#blocking-lifecycle-scripts-v100" class="hash-link" aria-label="Direct link to blocking-lifecycle-scripts-v100" title="Direct link to blocking-lifecycle-scripts-v100" translate="no">​</a></h4>
<p>For years, <code>pnpm install</code> meant trusting the entire dependency tree to execute arbitrary code. In v10, we turned this off. pnpm no longer runs <code>preinstall</code> or <code>postinstall</code> scripts by default, eliminating a massive class of supply chain attack vectors.</p>
<p>To refine this control, we introduced <a href="https://pnpm.io/ko/settings#allowbuilds"><code>allowBuilds</code></a> in <a href="https://pnpm.io/ko/blog/releases/10.26">v10.26</a>, replacing the earlier <code>onlyBuiltDependencies</code> with a more flexible configuration:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">allowBuilds</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">esbuild</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token comment" style="color:#999988;font-style:italic"># Only allow specific versions</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">nx@21.6.4</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><br></span></code></pre></div></div>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="defense-in-depth-v1016--v1021">Defense in Depth (<a href="https://pnpm.io/ko/blog/releases/10.16">v10.16</a> &amp; <a href="https://pnpm.io/ko/blog/releases/10.21">v10.21</a>)<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#defense-in-depth-v1016--v1021" class="hash-link" aria-label="Direct link to defense-in-depth-v1016--v1021" title="Direct link to defense-in-depth-v1016--v1021" translate="no">​</a></h4>
<p>We didn't stop at scripts. We added layers of defense to catch malicious packages <em>before</em> they even reach your disk:</p>
<ul>
<li><strong><a href="https://pnpm.io/ko/settings#minimumreleaseage"><code>minimumReleaseAge</code></a></strong>: Blocks "zero-day" releases (e.g., packages younger than 24 hours), giving the community time to flag malicious updates.</li>
<li><strong><a href="https://pnpm.io/ko/settings#trustpolicy"><code>trustPolicy: no-downgrade</code></a></strong>: Prevents installing updates that have weaker provenance than previous versions (e.g., a version published without CI/CD verification).</li>
<li><strong><a href="https://pnpm.io/ko/settings#blockexoticsubdeps"><code>blockExoticSubdeps</code></a></strong>: Prevents trusted dependencies from pulling in transitive dependencies from untrusted sources.</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="global-virtual-store-v1012">Global Virtual Store (<a href="https://github.com/pnpm/pnpm/releases/tag/v10.12.1" target="_blank" rel="noopener noreferrer">v10.12</a>)<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#global-virtual-store-v1012" class="hash-link" aria-label="Direct link to global-virtual-store-v1012" title="Direct link to global-virtual-store-v1012" translate="no">​</a></h3>
<p>One of pnpm's original innovations was the content-addressable store, which saved disk space by deduplicating files. In v10.12, we took this a step further with the <strong><a href="https://pnpm.io/ko/settings#enableglobalvirtualstore">Global Virtual Store</a></strong>.</p>
<p>Previously, projects had their own <code>node_modules</code> structure. With <code>enableGlobalVirtualStore: true</code>, pnpm can now link dependencies from a central location on disk directly into your project. This means:</p>
<ol>
<li><strong>Massive Disk Savings</strong>: Identical dependency graphs are shared across projects.</li>
<li><strong>Faster Installs</strong>: If you have 10 projects using <code>react@19</code>, pnpm only needs to link it once globally.</li>
</ol>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="native-jsr-support-v109">Native JSR Support (<a href="https://github.com/pnpm/pnpm/releases/tag/v10.9.0" target="_blank" rel="noopener noreferrer">v10.9</a>)<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#native-jsr-support-v109" class="hash-link" aria-label="Direct link to native-jsr-support-v109" title="Direct link to native-jsr-support-v109" translate="no">​</a></h3>
<p>We embraced the new JSR registry with native support. You can now install packages directly from <a href="https://pnpm.io/ko/package-sources#jsr-registry">JSR</a> using the <code>jsr:</code> protocol:</p>
<div class="language-bash codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-bash codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">pnpm</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">add</span><span class="token plain"> jsr:@std/collections</span><br></span></code></pre></div></div>
<p>This maps correctly in <code>package.json</code> and handles the unique resolution rules of JSR packages seamlessly alongside your npm dependencies.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="config-dependencies-v100">Config Dependencies (v10.0)<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#config-dependencies-v100" class="hash-link" aria-label="Direct link to Config Dependencies (v10.0)" title="Direct link to Config Dependencies (v10.0)" translate="no">​</a></h3>
<p>For monorepos and complex setups, we introduced <strong><a href="https://pnpm.io/ko/config-dependencies">Config Dependencies</a></strong>. This feature allows you to share and centralize pnpm configuration—like hooks, patches, and build permissions—across multiple projects.</p>
<p>Config dependencies are installed into <code>node_modules/.pnpm-config</code> <em>before</em> the main dependency graph is resolved. This means you can use them to:</p>
<ul>
<li>Share <code>.pnpmfile.cjs</code> hooks across repositories.</li>
<li>Centralize patch files for <code>patchedDependencies</code>.</li>
<li>Maintain a shared list of packages that are allowed to execute build scripts for <code>allowBuilds</code>.</li>
</ul>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">pnpm-workspace.yaml</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">configDependencies</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">pnpm-plugin-my-company</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"1.0.0+sha512-..."</span><br></span></code></pre></div></div>
<p>This ensures your pnpm configuration is versioned, consistent, and available exactly when the package manager needs it.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="automatic-javascript-runtime-management-v1014--v1021">Automatic JavaScript Runtime Management (v10.14 &amp; v10.21)<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#automatic-javascript-runtime-management-v1014--v1021" class="hash-link" aria-label="Direct link to Automatic JavaScript Runtime Management (v10.14 &amp; v10.21)" title="Direct link to Automatic JavaScript Runtime Management (v10.14 &amp; v10.21)" translate="no">​</a></h3>
<p>We have supported Node.js runtime management for a while now. In 2025, we extended this to support other runtimes like Deno and Bun.</p>
<p>You can now specify the required runtime in <code>package.json</code> via <a href="https://pnpm.io/ko/package_json#devenginesruntime"><code>devEngines.runtime</code></a>:</p>
<div class="language-json codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">package.json</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-json codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"devEngines"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token property" style="color:#36acaa">"runtime"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token property" style="color:#36acaa">"name"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"node"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token property" style="color:#36acaa">"version"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"24.6.0"</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<p>pnpm will automatically download and use that specific version of the runtime for running scripts in that project. This makes "Works on my machine" a thing of the past—everyone on the team uses the exact same runtime, managed entirely by pnpm.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="looking-ahead">Looking Ahead<a href="https://pnpm.io/ko/blog/2025/12/29/pnpm-in-2025#looking-ahead" class="hash-link" aria-label="Direct link to Looking Ahead" title="Direct link to Looking Ahead" translate="no">​</a></h2>
<p>We have already started working on pnpm v11.0, which has some noticeable performance improvements. The global virtual store will not yet be enabled by default. We will work on bug fixes and missing features to potentially enable it by default in a future major release.</p><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="recap" term="recap"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.26]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.26</id>
        <link href="https://pnpm.io/ko/blog/releases/10.26"/>
        <updated>2025-12-15T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.26 introduces stricter security defaults for git-hosted dependencies, adds allowBuilds for granular script permissions, and includes a new setting to block exotic transitive dependencies.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.26 introduces stricter security defaults for git-hosted dependencies, adds <code>allowBuilds</code> for granular script permissions, and includes a new setting to block exotic transitive dependencies.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.26#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="stricter-git-dependency-security">Stricter Git Dependency Security<a href="https://pnpm.io/ko/blog/releases/10.26#stricter-git-dependency-security" class="hash-link" aria-label="Direct link to Stricter Git Dependency Security" title="Direct link to Stricter Git Dependency Security" translate="no">​</a></h4>
<p><strong>Semi-breaking.</strong> Git-hosted dependencies are now blocked from running <code>prepare</code> scripts during installation unless they are explicitly allowed in <code>onlyBuiltDependencies</code> (or <code>allowBuilds</code>) <a href="https://github.com/pnpm/pnpm/pull/10288" target="_blank" rel="noopener noreferrer">#10288</a>. This change prevents malicious code execution from untrusted git repositories.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="allowbuilds"><code>allowBuilds</code><a href="https://pnpm.io/ko/blog/releases/10.26#allowbuilds" class="hash-link" aria-label="Direct link to allowbuilds" title="Direct link to allowbuilds" translate="no">​</a></h4>
<p>Added a new setting <code>allowBuilds</code> which provides a flexible way to manage build scripts. It accepts a map of package matchers to explicitly allow (<code>true</code>) or disallow (<code>false</code>) script execution. This replaces <code>onlyBuiltDependencies</code> and <code>ignoredBuiltDependencies</code> as the preferred configuration method <a href="https://github.com/pnpm/pnpm/pull/10311" target="_blank" rel="noopener noreferrer">#10311</a>.</p>
<p>예시:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">allowBuilds</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">esbuild</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">core-js</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">false</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token key atrule" style="color:#00a4db">nx@21.6.4 || 21.6.5</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><br></span></code></pre></div></div>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="blockexoticsubdeps"><code>blockExoticSubdeps</code><a href="https://pnpm.io/ko/blog/releases/10.26#blockexoticsubdeps" class="hash-link" aria-label="Direct link to blockexoticsubdeps" title="Direct link to blockexoticsubdeps" translate="no">​</a></h4>
<p>Added a new setting <code>blockExoticSubdeps</code> to improve supply chain security. When set to <code>true</code>, it prevents the resolution of exotic protocols (like <code>git+ssh:</code> or direct <code>https:</code> tarballs) in transitive dependencies. Only direct dependencies are allowed to use exotic sources <a href="https://github.com/pnpm/pnpm/pull/10265" target="_blank" rel="noopener noreferrer">#10265</a>.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="integrity-hash-for-http-tarballs">Integrity Hash for HTTP Tarballs<a href="https://pnpm.io/ko/blog/releases/10.26#integrity-hash-for-http-tarballs" class="hash-link" aria-label="Direct link to Integrity Hash for HTTP Tarballs" title="Direct link to Integrity Hash for HTTP Tarballs" translate="no">​</a></h4>
<p><strong>Semi-breaking.</strong> pnpm now computes the integrity hash for HTTP tarball dependencies when fetching them and stores it in the lockfile. This ensures that servers cannot serve altered content on subsequent installs without detection <a href="https://github.com/pnpm/pnpm/pull/10287" target="_blank" rel="noopener noreferrer">#10287</a>.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-pack---dry-run"><code>pnpm pack --dry-run</code><a href="https://pnpm.io/ko/blog/releases/10.26#pnpm-pack---dry-run" class="hash-link" aria-label="Direct link to pnpm-pack---dry-run" title="Direct link to pnpm-pack---dry-run" translate="no">​</a></h4>
<p>Added support for <code>--dry-run</code> to the <code>pack</code> command. This allows you to verify which files would be included in the tarball without actually creating it <a href="https://github.com/pnpm/pnpm/issues/10301" target="_blank" rel="noopener noreferrer">#10301</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.26#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Show deprecation in table/list formats when latest version is deprecated <a href="https://github.com/pnpm/pnpm/issues/8658" target="_blank" rel="noopener noreferrer">#8658</a>.</li>
<li>Remove the <code>injectWorkspacePackages</code> setting from the lockfile on the <code>deploy</code> command <a href="https://github.com/pnpm/pnpm/pull/10294" target="_blank" rel="noopener noreferrer">#10294</a>.</li>
<li>Normalize the tarball URLs before saving them to the lockfile <a href="https://github.com/pnpm/pnpm/pull/10273" target="_blank" rel="noopener noreferrer">#10273</a>.</li>
<li>Fix URL normalization for redirected immutable dependencies <a href="https://github.com/pnpm/pnpm/pull/10197" target="_blank" rel="noopener noreferrer">#10197</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.25]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.25</id>
        <link href="https://pnpm.io/ko/blog/releases/10.25"/>
        <updated>2025-12-08T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm 10.25 improves certificate handling, adds a bare pnpm init, and ships several quality-of-life fixes.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm 10.25 improves certificate handling, adds a bare <code>pnpm init</code>, and ships several quality-of-life fixes.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.25#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="per-registry-certificates">Per-registry certificates<a href="https://pnpm.io/ko/blog/releases/10.25#per-registry-certificates" class="hash-link" aria-label="Direct link to Per-registry certificates" title="Direct link to Per-registry certificates" translate="no">​</a></h4>
<p>You can now load inline certificates from the <code>cert</code>, <code>ca</code>, and <code>key</code> settings for specific registry URLs (for example, <code>//registry.example.com/:ca=-----BEGIN CERTIFICATE-----...</code>). Previously, pnpm only respected the <code>certfile</code>, <code>cafile</code>, and <code>keyfile</code> entries. This aligns pnpm with npm's <code>.npmrc</code> behavior <a href="https://github.com/pnpm/pnpm/pull/10230" target="_blank" rel="noopener noreferrer">#10230</a>.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-init---bare"><code>pnpm init --bare</code><a href="https://pnpm.io/ko/blog/releases/10.25#pnpm-init---bare" class="hash-link" aria-label="Direct link to pnpm-init---bare" title="Direct link to pnpm-init---bare" translate="no">​</a></h4>
<p>Added a <code>--bare</code> flag to <code>pnpm init</code> for creating a <code>package.json</code> with only the required fields <a href="https://github.com/pnpm/pnpm/issues/10226" target="_blank" rel="noopener noreferrer">#10226</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.25#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Improved reporting of ignored dependency scripts <a href="https://github.com/pnpm/pnpm/pull/10276" target="_blank" rel="noopener noreferrer">#10276</a>.</li>
<li><code>pnpm install</code> now builds any dependencies that were added to <code>onlyBuiltDependencies</code> but have not run their builds yet <a href="https://github.com/pnpm/pnpm/pull/10256" target="_blank" rel="noopener noreferrer">#10256</a>.</li>
<li><code>pnpm publish -r --force</code> will publish even if the version already exists in the registry, matching the intent of the flag <a href="https://github.com/pnpm/pnpm/issues/10272" target="_blank" rel="noopener noreferrer">#10272</a>.</li>
<li>Avoid <code>ERR_PNPM_MISSING_TIME</code> errors when a package excluded from trust policy checks lacks the <code>time</code> field in its metadata.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[How We're Protecting Our Newsroom from npm Supply Chain Attacks]]></title>
        <id>https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security</id>
        <link href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security"/>
        <updated>2025-12-05T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[We got lucky with Shai-Hulud 2.0.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>We got lucky with Shai-Hulud 2.0.</p>
<p>In November 2025, a self-replicating npm worm <a href="https://securitylabs.datadoghq.com/articles/shai-hulud-2.0-npm-worm/" target="_blank" rel="noopener noreferrer">compromised 796 packages</a> with 132 million monthly downloads. The attack used preinstall scripts to steal credentials, install persistent backdoors, and in some cases wipe entire developer environments. We weren't affected—not because we had robust defenses, but because we didn't run <code>npm install</code> or <code>npm update</code> during the attack window.</p>
<p>Luck isn't a security strategy.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="who-we-are">Who We Are<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#who-we-are" class="hash-link" aria-label="Direct link to Who We Are" title="Direct link to Who We Are" translate="no">​</a></h2>
<p>I'm Ryan Sobol, Principal Software Engineer at the Seattle Times. We've been using npm as our default package manager for years, with some brief experimentation with Yarn that never gained traction. Now we're piloting pnpm specifically for its client-side security controls that complement the registry-level improvements npm has been rolling out.</p>
<p>Trust is paramount for news organizations, especially these days. A supply chain compromise could expose customer data, employee credentials, production infrastructure, and source code—all things that could take weeks to recover from and potentially require breach notifications to our readers. We understand how expensive these incidents can be in both time and money. That's a path we don't want to go down.</p>
<p>Despite the organizational inertia that comes with sticking to npm, we think pnpm has a real chance here. It's a true drop-in replacement—same commands, same workflows, same registry. That makes the transition achievable in a way previous alternatives weren't.</p>
<p>This isn't a polished case study. It's a real-world data point from a team that's just starting to figure out supply chain security. The challenges we're encountering and how we're thinking about these controls might be useful as you consider implementing them yourself.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="why-client-side-controls-matter">Why Client-Side Controls Matter<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#why-client-side-controls-matter" class="hash-link" aria-label="Direct link to Why Client-Side Controls Matter" title="Direct link to Why Client-Side Controls Matter" translate="no">​</a></h2>
<p>npm has made tremendous progress on supply chain security. <a href="https://docs.npmjs.com/trusted-publishers/" target="_blank" rel="noopener noreferrer">Trusted publishing</a>, <a href="https://docs.npmjs.com/generating-provenance-statements/" target="_blank" rel="noopener noreferrer">provenance attestations</a>, and <a href="https://docs.npmjs.com/about-access-tokens/" target="_blank" rel="noopener noreferrer">granular access tokens</a> are all significant improvements that make it substantially harder to publish malicious packages after compromising maintainer accounts.</p>
<p>But here's the gap: these registry improvements protect the <em><strong>publishing</strong></em> side. They don't prevent <em><strong>consuming</strong></em> malicious packages.</p>
<p>When you run <code>npm install</code> or <code>npm update</code>, lifecycle scripts (e.g., preinstall and postinstall) execute arbitrary code from the internet with full developer privileges—before the package has been evaluated for safety. These scripts can access your credentials (npm, GitHub, AWS, databases), your source code, your cloud infrastructure, and your entire filesystem.</p>
<p>This is the fundamental vulnerability that attacks like Shai-Hulud exploit. Even with these registry improvements, if a legitimate maintainer's account is compromised, attackers can publish a version with malicious lifecycle scripts that execute immediately upon installation—before the community detects the compromise.</p>
<p>That's why we felt we needed defense on both sides: npm's improvements make it harder to <em><strong>publish</strong></em> malicious packages; pnpm's client-side controls make it harder to <em><strong>consume</strong></em> them. These approaches are complementary, not competitive. pnpm uses npm's registry and benefits from all of npm's security improvements while adding an additional layer of protection on the client side.</p>
<p>This is defense-in-depth.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="the-three-layers-were-using">The Three Layers We're Using<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#the-three-layers-were-using" class="hash-link" aria-label="Direct link to The Three Layers We're Using" title="Direct link to The Three Layers We're Using" translate="no">​</a></h2>
<p>For our pilot, we're using three pnpm security controls that work together. Each control addresses a different attack vector, and each has escape hatches for legitimate exceptions. We knew going in that we'd need those exceptions—the real world is messy.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="control-1-lifecycle-script-management">Control 1: Lifecycle Script Management<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#control-1-lifecycle-script-management" class="hash-link" aria-label="Direct link to Control 1: Lifecycle Script Management" title="Direct link to Control 1: Lifecycle Script Management" translate="no">​</a></h3>
<p>One of the main reasons we considered pnpm was learning that it <strong>blocks lifecycle scripts by default</strong>. Unlike other package managers, it doesn't implicitly trust and execute arbitrary code from packages.</p>
<p>In practice, when a package has preinstall or postinstall scripts, pnpm blocks them but installation continues with a warning. This already provides significant protection—malicious scripts won't execute without you explicitly allowing them. However, we were concerned that warnings would be too easy to ignore, especially since installation appears to succeed. We wanted stricter control with <code>strictDepBuilds: true</code>:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">pnpm-workspace.yaml</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">strictDepBuilds</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> </span><span class="token boolean important" style="color:#36acaa">true</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">onlyBuiltDependencies</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> package</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">with</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">necessary</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">build</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">scripts</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">ignoredBuiltDependencies</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> package</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">with</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">unnecessary</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">build</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">scripts</span><br></span></code></pre></div></div>
<p>By "necessary," we mean packages that genuinely need their lifecycle scripts to function—things like native extensions that compile from source or database drivers that link against platform-specific libraries. By "unnecessary," we mean scripts that are optional optimizations or setup steps that don't affect whether the package functions in our use case.</p>
<p>With <code>strictDepBuilds: true</code>, installation fails immediately when it encounters lifecycle scripts, forcing us to:</p>
<ol>
<li>Identify which packages have lifecycle scripts—pnpm tells you exactly which ones</li>
<li>Research what each script does, which can be as easy as feeding the self-contained preinstall or postinstall script into a generative AI for interpretation</li>
<li>Use human judgment to make a conscious, documented decision about whether to allow or block it</li>
</ol>
<p>For our team, this ensures we're making deliberate choices upfront rather than potentially discovering issues later.</p>
<p><strong>Note:</strong> The pnpm team is considering making <code>strictDepBuilds: true</code> the default behavior in v11, and is also exploring clearer naming for the allow/deny syntax based on feedback from teams implementing these controls in practice.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="control-2-release-cooldown">Control 2: Release Cooldown<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#control-2-release-cooldown" class="hash-link" aria-label="Direct link to Control 2: Release Cooldown" title="Direct link to Control 2: Release Cooldown" translate="no">​</a></h3>
<p>This control blocks installation of package versions published within a cooldown period. The idea is to give the community time to detect and remove malicious packages before they reach your environment.</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">pnpm-workspace.yaml</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">minimumReleaseAge</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> &lt;duration</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">in</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">minutes</span><span class="token punctuation" style="color:#393A34">&gt;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">minimumReleaseAgeExclude</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> package</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">with</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">critical</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">hotfix@1.2.3</span><br></span></code></pre></div></div>
<p><strong>Our mindset shift:</strong> We had to retrain ourselves to stop thinking "newest is best." What we're learning is that from a supply chain security perspective, that's not always the case—slightly older can often be safer. A package that's been available for a period of time gives the community and security researchers time to detect potential issues.</p>
<p>Looking at recent attacks, malicious packages have been detected and removed in varying timeframes. The <a href="https://www.wiz.io/blog/widespread-npm-supply-chain-attack-breaking-down-impact-scope-across-debug-chalk" target="_blank" rel="noopener noreferrer">September 2025 npm supply chain attack</a> that compromised debug, chalk, and 16 other packages saw removal within about 2.5 hours, while <a href="https://securitylabs.datadoghq.com/articles/shai-hulud-2.0-npm-worm/" target="_blank" rel="noopener noreferrer">Shai-Hulud 2.0</a> (November 2025) took about 12 hours. Every attack is different and every recovery timeline will vary, but the appropriate cooldown period depends on your organization's risk tolerance—it could be measured in hours, days, or weeks. Either way, a cooldown period would have blocked these attacks.</p>
<p><strong>The trade-off we accepted:</strong> Given the scale of our organization and our priorities, we're not always on the absolute latest versions of packages—despite best efforts. So this cooldown policy aligns more with our reality than it disrupts it. When we genuinely need a newer version (critical security patches, breaking bugs), we can temporarily exempt it after review.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="control-3-trust-policy">Control 3: Trust Policy<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#control-3-trust-policy" class="hash-link" aria-label="Direct link to Control 3: Trust Policy" title="Direct link to Control 3: Trust Policy" translate="no">​</a></h3>
<p>This control blocks installation when a package version has weaker authentication than previously published versions—often a sign that an attacker compromised maintainer credentials and published from their own machine instead of the official CI/CD pipeline.</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockTitle_KdeV">pnpm-workspace.yaml</div><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">trustPolicy</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> no</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">downgrade</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">trustPolicyExclude</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> package</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">that</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">migrated</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">cicd@1.2.3</span><br></span></code></pre></div></div>
<p><strong>How it works:</strong> npm tracks three trust levels for published packages (strongest to weakest):</p>
<ol>
<li><strong>Trusted Publisher:</strong> Published via GitHub Actions with OIDC tokens and npm provenance</li>
<li><strong>Provenance:</strong> Signed attestation from a CI/CD system</li>
<li><strong>No Trust Evidence:</strong> Published with username/password or token authentication</li>
</ol>
<p>If a newer version has weaker authentication than an older version, installation fails. For example, if v1.0.0 was published with Trusted Publisher but v1.0.1 was published with basic auth, pnpm blocks v1.0.1.</p>
<p>In the <a href="https://www.wiz.io/blog/s1ngularity-supply-chain-attack" target="_blank" rel="noopener noreferrer">s1ngularity attack</a> in August 2025, attackers compromised maintainer credentials and published malicious versions from their own machines. Because they didn't have CI/CD access, the malicious versions had no provenance—a clear trust downgrade. This control would have blocked installation.</p>
<p><strong>When trust downgrades might be legitimate:</strong> New maintainer who hasn't set up provenance yet, CI/CD system migration, emergency hotfix published manually while CI/CD was down. In these cases, we'd investigate why the trust level decreased, verify it's safe, then add to <code>trustPolicyExclude</code>.</p>
<p><strong>Note:</strong> This feature was added to pnpm in November 2025 and is quite new. We're still learning how often legitimate trust downgrades occur in practice.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="how-they-work-together-the-react-example">How They Work Together: The React Example<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#how-they-work-together-the-react-example" class="hash-link" aria-label="Direct link to How They Work Together: The React Example" title="Direct link to How They Work Together: The React Example" translate="no">​</a></h2>
<p>We don't see any of these controls as a silver bullet. They work as layers of defense—when we need to make an exception for one control, the other layers continue protecting us.</p>
<p>Let's look at a real scenario: the <a href="https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components" target="_blank" rel="noopener noreferrer">critical React vulnerability</a> disclosed in December 2025.</p>
<p>This was a serious security issue that required immediate patching. Normally, our release cooldown would prevent us from installing a package version published so recently. But this was a critical security patch—we couldn't wait.</p>
<p>Here's how the layered defense would work in this scenario:</p>
<p><strong>What you'd do:</strong> Add the specific React version to <code>minimumReleaseAgeExclude</code> after reviewing the vulnerability disclosure and verifying the patch was legitimate.</p>
<p><strong>What still protects you:</strong></p>
<ul>
<li><strong>Lifecycle Script Management</strong> is still active—if an attacker had injected malicious lifecycle scripts into the React patch, they would be blocked (React normally has no lifecycle scripts, so any scripts would be immediately suspicious)</li>
<li><strong>Trust Policy</strong> is still active—if an attacker had compromised React's publishing credentials and pushed a malicious "patch" from their own machine, the trust downgrade would be blocked</li>
</ul>
<p>This is why we think exceptions are expected and okay. You make a conscious, documented decision to bypass one control for a legitimate reason, but you still have robust protection from the other layers. No single point of failure.</p>
<p>This is what defense-in-depth looks like in practice for us.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="our-pilot-experience">Our Pilot Experience<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#our-pilot-experience" class="hash-link" aria-label="Direct link to Our Pilot Experience" title="Direct link to Our Pilot Experience" translate="no">​</a></h2>
<p>We implemented all three security controls in one of our backend services as a proof of concept. Total setup time: a few hours to research, understand, and define our approach.</p>
<p>During setup, pnpm identified three packages with lifecycle scripts:</p>
<ul>
<li><strong>esbuild:</strong> Optimizes CLI tool startup by milliseconds—not needed since we only use the JavaScript API</li>
<li><strong>@firebase/util:</strong> Auto-configures client SDK—not needed since we only use the server SDK</li>
<li><strong>protobufjs:</strong> Checks version schema compatibility—not needed since it's a transitive dependency</li>
</ul>
<p>We researched what each script did (reading documentation and feeding the scripts to AI for interpretation), determined none were necessary for our use case, and blocked them. Zero impact on functionality.</p>
<p>That was it. A few hours of initial investment for ongoing protection against Shai-Hulud-style attacks.</p>
<p><strong>What the friction feels like:</strong> These controls create friction by design—and for us, that's a feature, not a bug. The friction forces conscious decisions about what code runs in our environment rather than implicitly trusting everything. When new dependencies have scripts, we anticipate it will take around 15 minutes to review and document the decision.</p>
<p>We expect that the friction will become more intuitive with practice as we get more familiar with the process.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="what-were-learning">What We're Learning<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#what-were-learning" class="hash-link" aria-label="Direct link to What We're Learning" title="Direct link to What We're Learning" translate="no">​</a></h2>
<p>A few things we've learned from our pilot:</p>
<p><strong>The defense-in-depth model actually works.</strong> Having multiple layers on the client side—plus the benefits from npm's publishing-side improvements—means we can be pragmatic about exceptions. When we need to bypass one control for a legitimate reason, the others are still protecting us. This removes the anxiety of making exceptions—they're not security failures, they're the system working as designed.</p>
<p><strong>The mental model takes time.</strong> There's a learning curve to thinking "security-first" rather than "convenience-first." But once the mental model clicks—that slightly older packages are safer, that explicit decisions are better than implicit trust—the workflow feels natural.</p>
<p><strong>These controls are practical for mid-sized teams.</strong> We're not a large tech company with a dedicated security team. We're a mid-sized news media organization with limited engineering resources. If we can implement these controls successfully, they're accessible to most teams.</p>
<p><strong>We're still learning.</strong> The threat landscape evolves, and our approach will too. The trust policy feature is only a few weeks old, and we don't yet know how often legitimate trust downgrades will occur in practice. We're planning to expand these controls to other codebases in the near future, which will give us more data on how they scale with applications with different dependency graphs.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="for-other-teams-considering-this">For Other Teams Considering This<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#for-other-teams-considering-this" class="hash-link" aria-label="Direct link to For Other Teams Considering This" title="Direct link to For Other Teams Considering This" translate="no">​</a></h2>
<p>If you're considering pnpm's security controls, here's what worked for us:</p>
<p><strong>Start with one project.</strong> Piloting on a single codebase first let us get comfortable with the workflow, understand the friction points, and build confidence before considering a broader rollout.</p>
<p><strong>Plan for exceptions upfront.</strong> Go in expecting you'll need exceptions for lifecycle scripts (packages that need compilation), release cooldowns (critical security patches), and trust downgrades (CI/CD migrations). This isn't failure—it's how the system is designed to work.</p>
<p><strong>Use <code>strictDepBuilds: true</code> from day one.</strong> Relying on warnings felt too risky for us. We wanted installation to fail immediately and force the decision. This prevents packages from potentially misbehaving later and ensures deliberate choices.</p>
<p><strong>Document every exception.</strong> Write down why you allowed a lifecycle script or exempted a package. This creates an audit trail, helps future team members understand the reasoning, and makes it easy to clean up exceptions later.</p>
<p><strong>Trust the layers.</strong> When you make an exception for one control, remember the other two are still protecting you. The defense-in-depth model gives you room to be pragmatic.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="share-your-experience">Share Your Experience<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#share-your-experience" class="hash-link" aria-label="Direct link to Share Your Experience" title="Direct link to Share Your Experience" translate="no">​</a></h2>
<p>We'd love to hear from other teams implementing these controls or considering them. What's working? What's challenging? What have you learned? Join the conversation in the <a href="https://github.com/orgs/pnpm/discussions" target="_blank" rel="noopener noreferrer">pnpm GitHub Discussions</a> or share your experiences on social media—we're all learning together.</p>
<h2 class="anchor anchorWithStickyNavbar_VHH3" id="thank-you">Thank You<a href="https://pnpm.io/ko/blog/2025/12/05/newsroom-npm-supply-chain-security#thank-you" class="hash-link" aria-label="Direct link to Thank You" title="Direct link to Thank You" translate="no">​</a></h2>
<p>Thanks to the pnpm team for building these controls and for the thoughtful way they've approached making them both powerful and practical. And thanks for inviting us to share our story.</p>
<p>The work you're doing matters. These controls provide real protection that complements npm's registry improvements. Together, they give teams like ours a fighting chance against increasingly sophisticated supply chain attacks.</p>
<hr>
<p><em>Ryan Sobol is a Principal Software Engineer at the Seattle Times, where he works on mobile and web development, cloud infrastructure, and developer tooling. The views expressed here are his own and based on the Seattle Times' pilot implementation of pnpm's security controls.</em></p><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Ryan Sobol</name>
        </author>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.24]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.24</id>
        <link href="https://pnpm.io/ko/blog/releases/10.24"/>
        <updated>2025-11-27T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[pnpm now scales network concurrency automatically on high-core machines and ships several reliability fixes.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>pnpm now scales network concurrency automatically on high-core machines and ships several reliability fixes.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.24#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="adaptive-network-concurrency">Adaptive network concurrency<a href="https://pnpm.io/ko/blog/releases/10.24#adaptive-network-concurrency" class="hash-link" aria-label="Direct link to Adaptive network concurrency" title="Direct link to Adaptive network concurrency" translate="no">​</a></h4>
<p>Network concurrency now scales automatically between 16 and 64 based on the number of pnpm workers (workers × 3). This increases throughput on machines with many CPU cores while keeping resource usage predictable on smaller setups <a href="https://github.com/pnpm/pnpm/issues/10068" target="_blank" rel="noopener noreferrer">#10068</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.24#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li><code>trustPolicy</code> now ignores trust evidences from prerelease versions when you install a non-prerelease version, so a trusted prerelease cannot block installing a stable release that lacks trust evidence.</li>
<li>Handle <code>ENOENT</code> errors thrown by <code>fs.linkSync()</code>, which can occur in containerized environments (OverlayFS) instead of <code>EXDEV</code>. pnpm now gracefully falls back to <code>fs.copyFileSync()</code> in these cases <a href="https://github.com/pnpm/pnpm/issues/10217" target="_blank" rel="noopener noreferrer">#10217</a>.</li>
<li>Reverted: <code>pnpm self-update</code> downloading pnpm from the configured npm registry <a href="https://github.com/pnpm/pnpm/pull/10205" target="_blank" rel="noopener noreferrer">#10205</a>.</li>
<li>Packages that don't have a <code>package.json</code> file (like Node.js) are no longer reimported from the store on every install. pnpm now checks an additional file to verify the package in <code>node_modules</code>.</li>
<li>Correctly read auth tokens for URLs that contain underscores <a href="https://github.com/pnpm/npm-conf/pull/17" target="_blank" rel="noopener noreferrer">#17</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.23]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.23</id>
        <link href="https://pnpm.io/ko/blog/releases/10.23"/>
        <updated>2025-11-20T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Added --lockfile-only option to pnpm list and various improvements to pnpm self-update.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>Added <code>--lockfile-only</code> option to <code>pnpm list</code> and various improvements to <code>pnpm self-update</code>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.23#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-list---lockfile-only"><code>pnpm list --lockfile-only</code><a href="https://pnpm.io/ko/blog/releases/10.23#pnpm-list---lockfile-only" class="hash-link" aria-label="Direct link to pnpm-list---lockfile-only" title="Direct link to pnpm-list---lockfile-only" translate="no">​</a></h4>
<p>Added <code>--lockfile-only</code> option to <code>pnpm list</code> <a href="https://github.com/pnpm/pnpm/issues/10020" target="_blank" rel="noopener noreferrer">#10020</a>.</p>
<p>When specified, <code>pnpm list</code> will read package information from the lockfile instead of checking the actual <code>node_modules</code> directory. This is useful for quickly inspecting what would be installed without requiring a full installation.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.23#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li><code>pnpm self-update</code> should download pnpm from the configured npm registry <a href="https://github.com/pnpm/pnpm/pull/10205" target="_blank" rel="noopener noreferrer">#10205</a>.</li>
<li><code>pnpm self-update</code> should always install the non-executable pnpm package (pnpm in the registry) and never the <code>@pnpm/exe</code> package, when installing v11 or newer. We currently cannot ship <code>@pnpm/exe</code> as <code>pkg</code> doesn't work with ESM <a href="https://github.com/pnpm/pnpm/pull/10190" target="_blank" rel="noopener noreferrer">#10190</a>.</li>
<li>Node.js runtime is not added to "dependencies" on <code>pnpm add</code>, if there's a <code>engines.runtime</code> setting declared in <code>package.json</code> <a href="https://github.com/pnpm/pnpm/issues/10209" target="_blank" rel="noopener noreferrer">#10209</a>.</li>
<li>The installation should fail if an optional dependency cannot be installed due to a trust policy check failure <a href="https://github.com/pnpm/pnpm/issues/10208" target="_blank" rel="noopener noreferrer">#10208</a>.</li>
<li><code>pnpm list</code> and <code>pnpm why</code> now display npm: protocol for aliased packages (e.g., <code>foo npm:is-odd@3.0.1</code>) <a href="https://github.com/pnpm/pnpm/issues/8660" target="_blank" rel="noopener noreferrer">#8660</a>.</li>
<li>Don't add an extra slash to the Node.js mirror URL <a href="https://github.com/pnpm/pnpm/pull/10204" target="_blank" rel="noopener noreferrer">#10204</a>.</li>
<li><code>pnpm store prune</code> should not fail if the store contains Node.js packages <a href="https://github.com/pnpm/pnpm/issues/10131" target="_blank" rel="noopener noreferrer">#10131</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.22]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.22</id>
        <link href="https://pnpm.io/ko/blog/releases/10.22"/>
        <updated>2025-11-12T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Added support for excluding packages from trust policy and overriding the engines field on publish.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>Added support for excluding packages from trust policy and overriding the <code>engines</code> field on publish.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.22#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="trust-policy-exclusions">Trust policy exclusions<a href="https://pnpm.io/ko/blog/releases/10.22#trust-policy-exclusions" class="hash-link" aria-label="Direct link to Trust policy exclusions" title="Direct link to Trust policy exclusions" translate="no">​</a></h4>
<p>Added support for <a href="https://pnpm.io/ko/settings#trustpolicyexclude"><code>trustPolicyExclude</code></a>.</p>
<p>You can now list one or more specific packages or versions that pnpm should allow to install, even if those packages don't satisfy the trust policy requirement. 예시:</p>
<div class="language-yaml codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-yaml codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">trustPolicy</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> no</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">downgrade</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token key atrule" style="color:#00a4db">trustPolicyExclude</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> chokidar@4.0.3</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> webpack@4.47.0 </span><span class="token punctuation" style="color:#393A34">|</span><span class="token punctuation" style="color:#393A34">|</span><span class="token plain"> 5.102.1</span><br></span></code></pre></div></div>
<p>Related issue: <a href="https://github.com/pnpm/pnpm/issues/10164" target="_blank" rel="noopener noreferrer">#10164</a></p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="override-engines-field-on-publish">Override engines field on publish<a href="https://pnpm.io/ko/blog/releases/10.22#override-engines-field-on-publish" class="hash-link" aria-label="Direct link to Override engines field on publish" title="Direct link to Override engines field on publish" translate="no">​</a></h4>
<p>Allow to override the <code>engines</code> field on publish by the <code>publishConfig.engines</code> field.</p>
<p>This allows you to specify different engine requirements for your published package than what you use during development.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.22#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>Don't crash when two processes of pnpm are hardlinking the contents of a directory to the same destination simultaneously <a href="https://github.com/pnpm/pnpm/issues/10179" target="_blank" rel="noopener noreferrer">#10179</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.21]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.21</id>
        <link href="https://pnpm.io/ko/blog/releases/10.21"/>
        <updated>2025-11-10T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Added support for Node.js runtime installation for dependencies and a setting for configuring trust policy.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>Added support for Node.js runtime installation for dependencies and a setting for configuring trust policy.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.21#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="nodejs-runtime-installation-for-dependencies">Node.js runtime installation for dependencies<a href="https://pnpm.io/ko/blog/releases/10.21#nodejs-runtime-installation-for-dependencies" class="hash-link" aria-label="Direct link to Node.js runtime installation for dependencies" title="Direct link to Node.js runtime installation for dependencies" translate="no">​</a></h4>
<p>Added support for automatic Node.js runtime installation for dependencies. pnpm will now install the Node.js version required by a dependency if that dependency declares a Node.js runtime in the <a href="https://pnpm.io/ko/package_json#enginesruntime"><code>engines.runtime</code></a> field. 예시:</p>
<div class="language-json codeBlockContainer_pbKI theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_cWnm"><pre tabindex="0" class="prism-code language-json codeBlock_dUJW thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_wqoa"><span class="token-line" style="color:#393A34"><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token property" style="color:#36acaa">"engines"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"runtime"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token property" style="color:#36acaa">"name"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"node"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token property" style="color:#36acaa">"version"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"^24.11.0"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token property" style="color:#36acaa">"onFail"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"download"</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<p>If the package with the Node.js runtime dependency is a CLI app, pnpm will bind the CLI app to the required Node.js version. This ensures that, regardless of the globally installed Node.js instance, the CLI will use the compatible version of Node.js.</p>
<p>If the package has a <code>postinstall</code> script, that script will be executed using the specified Node.js version.</p>
<p>Related PR: <a href="https://github.com/pnpm/pnpm/pull/10141" target="_blank" rel="noopener noreferrer">#10141</a></p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="trust-policy">Trust policy<a href="https://pnpm.io/ko/blog/releases/10.21#trust-policy" class="hash-link" aria-label="Direct link to Trust policy" title="Direct link to Trust policy" translate="no">​</a></h4>
<p>Added a new setting: <a href="https://pnpm.io/ko/settings#trustpolicy"><code>trustPolicy</code></a>.</p>
<p>When set to <code>no-downgrade</code>, pnpm will fail if a package's trust level has decreased compared to previous releases. For example, if a package was previously published by a trusted publisher but now only has provenance or no trust evidence, installation will fail. This helps prevent installing potentially compromised versions.</p>
<p>Related issue: <a href="https://github.com/pnpm/pnpm/issues/8889" target="_blank" rel="noopener noreferrer">#8889</a>.</p>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="other-features">Other features<a href="https://pnpm.io/ko/blog/releases/10.21#other-features" class="hash-link" aria-label="Direct link to Other features" title="Direct link to Other features" translate="no">​</a></h4>
<ul>
<li>Added support for <code>pnpm config get globalconfig</code> to retrieve the global config file path <a href="https://github.com/pnpm/pnpm/issues/9977" target="_blank" rel="noopener noreferrer">#9977</a>.</li>
</ul>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.21#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>When a user runs <code>pnpm update</code> on a dependency that is not directly listed in <code>package.json</code>, none of the direct dependencies should be updated <a href="https://github.com/pnpm/pnpm/pull/10155" target="_blank" rel="noopener noreferrer">#10155</a>.</li>
<li>Don't crash when two processes of pnpm are hardlinking the contents of a directory to the same destination simultaneously <a href="https://github.com/pnpm/pnpm/pull/10160" target="_blank" rel="noopener noreferrer">#10160</a>.</li>
<li>Setting <code>gitBranchLockfile</code> and related settings via <code>pnpm-workspace.yaml</code> should work <a href="https://github.com/pnpm/pnpm/issues/9651" target="_blank" rel="noopener noreferrer">#9651</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[pnpm 10.20]]></title>
        <id>https://pnpm.io/ko/blog/releases/10.20</id>
        <link href="https://pnpm.io/ko/blog/releases/10.20"/>
        <updated>2025-10-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[This release adds a --all flag for the pnpm help command to print all commands.]]></summary>
        <content type="html"><![CDATA[<div id="bsa-custom-01" class="bsa-standard"></div><p>This release adds a <code>--all</code> flag for the <code>pnpm help</code> command to print all commands.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="minor-changes">Minor Changes<a href="https://pnpm.io/ko/blog/releases/10.20#minor-changes" class="hash-link" aria-label="Direct link to Minor Changes" title="Direct link to Minor Changes" translate="no">​</a></h3>
<h4 class="anchor anchorWithStickyNavbar_VHH3" id="pnpm-help---all"><code>pnpm help --all</code><a href="https://pnpm.io/ko/blog/releases/10.20#pnpm-help---all" class="hash-link" aria-label="Direct link to pnpm-help---all" title="Direct link to pnpm-help---all" translate="no">​</a></h4>
<p>Added support for <code>--all</code> option in <code>pnpm help</code> to list all commands <a href="https://github.com/pnpm/pnpm/pull/8628" target="_blank" rel="noopener noreferrer">#8628</a>.</p>
<h3 class="anchor anchorWithStickyNavbar_VHH3" id="patch-changes">Patch Changes<a href="https://pnpm.io/ko/blog/releases/10.20#patch-changes" class="hash-link" aria-label="Direct link to Patch Changes" title="Direct link to Patch Changes" translate="no">​</a></h3>
<ul>
<li>When the <code>latest</code> version doesn't satisfy the maturity requirement configured by <code>minimumReleaseAge</code>, pick the highest version that is mature enough, even if it has a different major version <a href="https://github.com/pnpm/pnpm/issues/10100" target="_blank" rel="noopener noreferrer">#10100</a>.</li>
<li><code>create</code> command should not verify patch info.</li>
<li>Set <code>managePackageManagerVersions</code> to <code>false</code>, when switching to a different version of pnpm CLI, in order to avoid subsequent switches <a href="https://github.com/pnpm/pnpm/issues/10063" target="_blank" rel="noopener noreferrer">#10063</a>.</li>
</ul><script src="//m.servedby-buysellads.com/monetization.custom.js"></script><script>"undefined"!=typeof _bsa&&_bsa&&_bsa.init("custom","CWYI4K7E","placement:pnpmio",{target:"#bsa-custom-01",template:`
<a href="##link##" class="native-banner" style="background: ##backgroundColor##" rel="sponsored noopener" target="_blank" title="##company## — ##tagline##">
<img class="native-img" width="125" src="##logo##" />
<div class="native-main">
  <div class="native-details" style="
      color: ##textColor##;
      border-left: solid 1px ##textColor##;
    ">
    <span class="native-desc">##description##</span>
  </div>
  <span class="native-cta" style="
      color: ##ctaTextColor##;
      background-color: ##ctaBackgroundColor##;
    ">##callToAction##</span>
</div>
</a>
`})</script>]]></content>
        <author>
            <name>Zoltan Kochan</name>
            <uri>https://x.com/ZoltanKochan</uri>
        </author>
        <category label="release" term="release"/>
    </entry>
</feed>