pnpm 10.17
Minor Changes
The minimumReleaseAgeExclude
setting now supports patterns.
The minimumReleaseAgeExclude
setting now supports patterns.
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.
Added the cleanupUnusedCatalogs
configuration. When set to true
, pnpm will remove unused catalog entries during installation #9793.
Declare Node.js, Deno, or Bun in devEngines.runtime
(inside package.json
) and let pnpm download and pin it automatically.
It is the end of the year. 是一個艱難的一年 如你所知道的,我生活在烏克蘭,所以由於俄羅斯對我們的發起的戰爭,比起前些年使得這個項目更難被去領導。 儘管如此,對 pnpm 來說依然是一個好年頭。 我們新增了很多新用戶、貢獻者,而且我們也實現了很多很讚的功能。
(the above illustration was generated by Midjourney. The tiger symolizes the year of the tiger)
對pnpm來說好的一年已經到了尾聲,讓我來看一下我們的進展。
有很多方法可以創建 node_modules 目錄。 目標一定是創建最嚴格的 node_modules,但如果那不可能的話,也有選項讓您可以產生一個鬆散的 node_modules。
新使用者經常問我關於 pnpm 生成出來的奇怪 node_modules
資料夾結構。 為什麼它不是扁平化的? 而且全部的子依賴套件跑去哪了?