Fast, disk space efficient package manager Sponsor us: GH: github.com/sponsors/pnpm OC: opencollective.com/pnpm We don't endorse any memecoins!

blockExoticSubdeps will be actually true by default in v11
The axios breach is a good opportunity to review your package manager settings I recommend pnpm @pnpmjs Default: postinstall scripts are blocked, protects against axios vector Also try: - minimumReleaseAge: 10080 (pkgs must be min 7 days old) - trustPolicy - blockExoticSubdeps
3
19
179
53,467
A popular npm package has been attacked
🚨 CRITICAL: Active supply chain attack on axios -- one of npm's most depended-on packages. The latest axios@1.14.1 now pulls in plain-crypto-js@4.2.1, a package that did not exist before today. This is a live compromise. This is textbook supply chain installer malware. axios has 100M+ weekly downloads. Every npm install pulling the latest version is potentially compromised right now. Socket AI analysis confirms this is malware. plain-crypto-js is an obfuscated dropper/loader that: • Deobfuscates embedded payloads and operational strings at runtime • Dynamically loads fs, os, and execSync to evade static analysis • Executes decoded shell commands • Stages and copies payload files into OS temp and Windows ProgramData directories • Deletes and renames artifacts post-execution to destroy forensic evidence If you use axios, pin your version immediately and audit your lockfiles. Do not upgrade.
3
5
121
14,240
Now that pn will be the official short alias for pnpm CLI, it kinda makes sense to have "pn pm clean" as a way to force a builtin command😁
This was raised in our repository yesterday and "pnpm clean" will run the local script, when present. "pnpm deploy" and "pnpm setup" too. So, nothing to worry about
2
1
88
10,545
With pnpm v11 you will be able to type "pn" instead of "pnpm" and "pnx" instead of "pnpx"/"pnpm dlx". Of course, "pnpm" will be still available if you want to type the 4 letters instead.
63
60
821
262,234
A subtle change but frequently asked for. pnpm run in v11 will print just: $ echo "foo" && pnpm run bar foo $ echo "bar" bar instead of: > test@1.0.0 foo /private/tmp/test > echo "foo" && pnpm run bar foo > test@1.0.0 bar /private/tmp/test > echo "bar" bar
3
3
65
6,487
This was raised in our repository yesterday and "pnpm clean" will run the local script, when present. "pnpm deploy" and "pnpm setup" too. So, nothing to worry about
FYI pnpm will ship a built-in command named “pnpm clean” in the next major. If you have an npm script named clean, you will have to use “pnpm run clean” instead. This is why we don’t ship implicit script fallback in Vite+.
9
9
418
77,252
Should pnpm have a preapproved list of packages that are allowed to run scripts?
1,628
Last summer the same poll had opposite results
Should pnpm have a preapproved list of packages that are allowed to run scripts?
5
25
7,957
Should pnpm have a preapproved list of packages that are allowed to run scripts?
47% yes
53% no
564 votes • Final results
18
1
17
15,739
pnpm retweeted
I've been travelling alot recently in countries with poor 4G/5G cellular, or in Planes with no WiFi. I can still remember how to code by hand, but offline NPM package discovery was a real blocker. Lot's of Package Managers support offline install, but the packages themselves were hard to discover. So I built an npmjs.com style experience that's backed entirely by the @pnpmjs cache. - Copies the entire `pnpm` cache to an SQLite DB with version number, dependency graph, and Readme.md (with incremental update) - Full text search via FTS5 extension - Readme rendering with `marked` and @vercel_dev Sugar High syntax highlighting Et Voila, offline NPM Registry where I can search for keywords to find packages I may want to use.
5
17
3,081
pnpm retweeted
Monorepo+Git Worktrees+pnpm Global Virtual Store is the perfect dev stack for multi-agent development. about the pnpm global virtual store: pnpm.io/settings#enablegloba… in pnpm v11 it will work more reliably but I think in v10 it is also good
1
6
66
7,385
Round 2: How to name a new small lockfile for storing pnpm version integrities, plugin dependencies, config dependencies?
44% pnpm-lock.pm.yaml
56% pnpm-lock.env.yaml
221 votes • Final results
9
1
9
3,202
How to name a new small lockfile for storing pnpm version integrities, plugin dependencies, config dependencies?
28% pnpm-lock.pm.yaml
40% pnpm-lock.env.yaml
12% pnpm-lock.boot.yaml
21% pnpm-lock.init.yaml
251 votes • Final results
6
3
9
4,703
Instead of "pnpm env" we will have a "pnpm runtime set" command, which can install not only node but also deno and bun. This command will also use the global virtual store and be much faster.
1
16
1,428
We have completely redesigned how global install and pnpx works. They will be faster and more deterministic. They will both use the global virtual store now. Installation with the global virtual store is much faster!
1
30
2,469
We use SQLite now for storing the content-addressable store index. It seems to be a bit faster sometimes.
1
5
52
4,612