Перейти к основному содержимому

pnpm 10.18

· Одна мин. чтения
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

· Одна мин. чтения
Zoltan Kochan
Lead maintainer of pnpm

Minor Changes

The minimumReleaseAgeExclude setting now supports patterns.

pnpm 10.16

· 3 мин. читать
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

· 2 мин. читать
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

· 2 мин. читать
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.

The year 2022 for pnpm

· 4 мин. читать
Zoltan Kochan
Lead maintainer of pnpm

It is the end of the year. A really hard year. As you may know, I live in Ukraine, so due to Russia's war against us, it was harder to lead this project than in previous years. Nevertheless, it was a good year for pnpm. We've got a lot of new users, contributors, and we have implemented many great features.

(the above illustration was generated by Midjourney. The tiger symolizes the year of the tiger)

2021 год для pnpm

· 4 мин. читать
Zoltan Kochan
Lead maintainer of pnpm

Уже конец года, и он был хорошим для pnpm, так что давайте посмотрим каким он был.

Node-Modules configuration options with pnpm

· 2 мин. читать
Zoltan Kochan
Lead maintainer of pnpm

There are many ways to create a node_modules directory. Your goal must be to create the most strict one but if that is not possible, there are options to make a loose node_modules as well.

Плоская структура node_modules не является единственным способом

· 3 мин. читать
Zoltan Kochan
Lead maintainer of pnpm

Новые пользователи pnpm часто спрашивают меня о странной структуре node_modules которую создает pnpm. Почему она не плоская? Где находятся все под-зависимости?