Files
pnpm/fetching/tarball-fetcher
Zoltan Kochan 6b3d87a4ca perf: optimize undici connection settings and tarball buffering (#11151)
- Enable Happy Eyeballs (`autoSelectFamily`) for faster dual-stack (IPv4/IPv6) connection establishment
- Increase keep-alive timeouts (30s idle, 10min max) to reduce connection churn during install
- Set optimized global dispatcher so requests without custom options still benefit
- Pre-allocate `SharedArrayBuffer` for tarball downloads when `Content-Length` is known, avoiding intermediate chunk array and double-copy
2026-03-31 00:33:42 +02:00
..
2025-10-21 15:30:20 +02:00

@pnpm/tarball-fetcher

Fetcher for packages hosted as tarballs

npm version

Installation

pnpm add @pnpm/tarball-fetcher

License

MIT