v7.27.0
Minor Changes
- A new
resolution-mode
added:lowest-direct
. With this resolution mode direct dependencies will be resolved to their lowest versions. So if there isfoo@^1.1.0
in the dependencies, then1.1.0
will be installed, even if the latest version offoo
is1.2.0
. - Support script selector with RegExp such as
pnpm run /build:.*/
and execute the matched scripts with the RegExp #5871.
Patch Changes
-
Fix version number replacing for namespaced workspace packages.
workspace:@foo/bar@*
should be replaced withnpm:@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 hasfoo@1.0.0
in the dependencies while another one hasfoo@^1.0.0
in the dependencies. In this case,foo@1.0.0
should be installed to both projects as satisfies the version specs of both projects. -
Use Map rather than Object in
createPackageExtender
to prevent read the prototype property to native function
Our Gold Sponsors
|
|
|
Our Silver Sponsors
|
|
|
|