mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-23 14:13:09 -04:00
Adds `CafsStreamWriter` to the crate — a class-based NAPI interface that accepts gunzipped chunks via push() and dispatches each completed file to rayon's global pool, letting disk writes overlap with the remainder of the download. The buffered writeFiles() remains the primary entry point because on real-install workloads the streaming path performed within noise of it (lock churn per chunk offset the overlap benefit). Also: - copy-artifact.js now ad-hoc codesigns the .node on macOS; unsigned dylibs get SIGKILLed silently on load, which was painful to debug. - crossbeam-channel added for the streaming writer's result pipe.