[Backport release-26.05] doc/javascript.section: recommend fetcherVersion 4 (#538803)

This commit is contained in:
Sizhe Zhao 2026-07-05 23:08:40 +00:00 committed by GitHub
commit 4de9882a7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -493,7 +493,7 @@ In this example, `prePnpmInstall` will be run by both `pnpmConfigHook` and by th
#### pnpm `fetcherVersion` {#javascript-pnpm-fetcherVersion}
This is the version of the output of `fetchPnpmDeps`. New packages should use `3`:
This is the version of the output of `fetchPnpmDeps`. New packages should use `4`:
```nix
{