- A new
lowest-direct. With this resolution mode direct dependencies will be resolved to their lowest versions. So if there is
foo@^1.1.0in the dependencies, then
1.1.0will be installed, even if the latest version of
- Support script selector with RegExp such as
pnpm run /build:.*/and execute the matched scripts with the RegExp #5871.
Fix version number replacing for namespaced workspace packages.
workspace:@foo/bar@*should be replaced with
npm:@foo/bar@<version>on publish #6052.
When resolving dependencies, prefer versions that are already used in the root of the project. This is important to minimize the number of packages that will be nested during hoisting #6054.
Deduplicate direct dependencies.
Let's say there are two projects in the workspace that dependend on
foo. One project has
email@example.com the dependencies while another one has
foo@^1.0.0in the dependencies. In this case,
firstname.lastname@example.org be installed to both projects as satisfies the version specs of both projects.
Use Map rather than Object in
createPackageExtenderto prevent read the prototype property to native function
Our Gold Sponsors
Our Silver Sponsors