Langsung ke konten utama

pnpm 10.18

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Minor Changes

Added network performance monitoring to pnpm by implementing warnings for slow network requests, including both metadata fetches and tarball downloads.

Added configuration options for warning thresholds: fetchWarnTimeoutMs and fetchMinSpeedKiBps. Warning messages are displayed when requests exceed time thresholds or fall below speed minimums

Related PR: #10025.

Patch Changes

  • Retry filesystem operations on EAGAIN errors #9959.
  • Outdated command respects minimumReleaseAge configuration #10030.
  • Correctly apply the cleanupUnusedCatalogs configuration when removing dependent packages.
  • Don't fail with a meaningless error when scriptShell is set to false #8748.
  • pnpm dlx should not fail when minimumReleaseAge is set #10037.

pnpm 10.17

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Minor Changes

The minimumReleaseAgeExclude setting now supports patterns.

pnpm 10.16

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Minor Changes

New setting for delayed dependency updates

There have been several incidents recently where popular packages were successfully attacked. To reduce the risk of installing a compromised version, we are introducing a new setting that delays the installation of newly released dependencies. In most cases, such attacks are discovered quickly and the malicious versions are removed from the registry within an hour.

pnpm 10.15

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Minor Changes

New setting for catalogs

Added the cleanupUnusedCatalogs configuration. When set to true, pnpm will remove unused catalog entries during installation #9793.

pnpm 10.14

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Added support for JavaScript runtime installation

Declare Node.js, Deno, or Bun in devEngines.runtime (inside package.json) and let pnpm download and pin it automatically.

pnpm di tahun 2022

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Ini adalah akhir tahun. Tahun yang sangat berat. Seperti yang anda ketahui, saya tinggal di Ukraina, karena perang Rusia melawan kami, sehingga lebih sulit untuk memimpin proyek ini dibandingkan tahun-tahun sebelumnya. Namun demikian, itu adalah tahun yang baik untuk pnpm. Kami mendapatkan banyak pengguna baru, kontributor, dan kami telah menerapkan banyak fitur hebat.

(ilustrasi di atas dihasilkan oleh Midjourney. Harimau melambangkan tahun harimau)

Tahun 2021 untuk pnpm

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Di penghujung tahun ini dan tahun ini merupakan sebuah tahun yang baik untuk pnpm, mari kita lihat bagaimana kelanjutannya.

Opsi konfigurasi Node-Modules dengan pnpm

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Ada banyak cara untuk membuat direktori node_modules. Tujuan anda adalah untuk membuat direktori dengan mode strict semaksimal mungkin, medkipun demikian ada opsi untuk membuat node_modules yang lebih longgar.

Flat node_modules bukan satu-satunya cara

· Satu menit membaca
Zoltan Kochan
Lead maintainer of pnpm

Pengguna baru pnpm sering bertanya kepada saya tentang struktur aneh node_modules yang dibuat pnpm. Kenapa tidak flat? Di mana semua sub-dependensi?