-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix: update pnpm to v10.16.1 #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/pnpm-10.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+1
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8504e70
to
7ab10f1
Compare
e20faa0
to
a60db67
Compare
b8a89d1
to
8d32ba6
Compare
6d1c523
to
26ca1fc
Compare
3e2a150
to
23669a6
Compare
81ecd0e
to
1917969
Compare
96ee0dc
to
a8a08b3
Compare
f250ff1
to
bd7af0c
Compare
bd7af0c
to
88b06a8
Compare
472bf54
to
88b06a8
Compare
5f8af35
to
4e4d447
Compare
4e4d447
to
f64965d
Compare
f64965d
to
2d6c04c
Compare
2d6c04c
to
84043cf
Compare
84043cf
to
5772eaa
Compare
5772eaa
to
2c15b1d
Compare
4b1ca09
to
c8c68cb
Compare
c8c68cb
to
952942f
Compare
952942f
to
c895207
Compare
c895207
to
7b9a880
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977
->10.16.1
Release Notes
pnpm/pnpm (pnpm)
v10.16.1
Compare Source
Patch Changes
v10.16.0
Compare Source
Minor Changes
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.
The new setting is called
minimumReleaseAge
. It specifies the number of minutes that must pass after a version is published before pnpm will install it. For example, settingminimumReleaseAge: 1440
ensures that only packages released at least one day ago can be installed.If you set
minimumReleaseAge
but need to disable this restriction for certain dependencies, you can list them under theminimumReleaseAgeExclude
setting. For instance, with the following configuration pnpm will always install the latest version of webpack, regardless of its release time:Related issue: #9921.
Added support for
finders
#9946.In the past,
pnpm list
andpnpm why
could only search for dependencies by name (and optionally version). For example:prints the chain of dependencies to any installed instance of
minimist
:What if we want to search by other properties of a dependency, not just its name? For instance, find all packages that have
react@17
in their peer dependencies?This is now possible with "finder functions". Finder functions can be declared in
.pnpmfile.cjs
and invoked with the--find-by=<function name>
flag when runningpnpm list
orpnpm why
.Let's say we want to find any dependencies that have React 17 in peer dependencies. We can add this finder to our
.pnpmfile.cjs
:Now we can use this finder function by running:
pnpm will find all dependencies that have this React in peer dependencies and print their exact locations in the dependency graph.
It is also possible to print out some additional information in the output by returning a string from the finder. For example, with the following finder:
Every matched package will also print out the license from its
package.json
:Patch Changes
nodeVersion
is not set to an exact semver version #9934.pnpm publish
should be able to publish a.tar.gz
file #9927.pnpm run
return a non-zero exit code #9626.v10.15.1
Compare Source
Patch Changes
.pnp.cjs
crash when importing subpath #9904.v10.15.0
Compare Source
Minor Changes
cleanupUnusedCatalogs
configuration. When set totrue
, pnpm will remove unused catalog entries during installation #9793.@*/pnpm-plugin-*
#9780.pnpm config get
now prints an INI string for an object value #9797.pnpm config get
now accepts property paths (e.g.pnpm config get catalog.react
,pnpm config get .catalog.react
,pnpm config get 'packageExtensions["@​babel/parser"].peerDependencies["@​babel/types"]'
), andpnpm config set
now accepts dot-leading or subscripted keys (e.g.pnpm config set .ignoreScripts true
).pnpm config get --json
now prints a JSON serialization of config value, andpnpm config set --json
now parses the input value as JSON.Patch Changes
pnpm create
command, must verify whether the node version is supported even if a cache already exists #9775.*/*
to theAccept
header to avoid getting a 406 error on AWS CodeArtifact #9862.pnpm dlx pkg --help
doesn't pass--help
topkg
#9823.v10.14.0
Compare Source
Minor Changes
Added support for JavaScript runtime resolution
Declare Node.js, Deno, or Bun in
devEngines.runtime
(insidepackage.json
) and let pnpm download and pin it automatically.Usage example:
How it works:
pnpm install
resolves your specified range to the latest matching runtime version.Why this is better:
useNodeVersion
andexecutionEnv.nodeVersion
)executionEnv.nodeVersion
). So, different projects in a workspace can use different runtimes.devEngines.runtime
setting will install the runtime locally, which we will improve in future versions of pnpm by using a shared location on the computer.Related PR: #9755.
Add
--cpu
,--libc
, and--os
topnpm install
,pnpm add
, andpnpm dlx
to customizesupportedArchitectures
via the CLI #7510.Patch Changes
pnpm add
downloads packages whoselibc
differ frompnpm.supportedArchitectures.libc
.dlx
to parse CLI flags and options between thedlx
command and the command to run or between thedlx
command and--
#9719.pnpm install --prod
should removing hoisted dev dependencies #9782.pnpm install
to incorrectly assume the lockfile is up to date after changing a local tarball that has peers dependencies.v10.13.1
Compare Source
Patch Changes
v10.13.0
Compare Source
Minor Changes
Added the possibility to load multiple pnpmfiles. The
pnpmfile
setting can now accept a list of pnpmfile locations #9702.pnpm will now automatically load the
pnpmfile.cjs
file from any config dependency named@pnpm/plugin-*
orpnpm-plugin-*
#9729.The order in which config dependencies are initialized should not matter — they are initialized in alphabetical order. If a specific order is needed, the paths to the
pnpmfile.cjs
files in the config dependencies can be explicitly listed using thepnpmfile
setting inpnpm-workspace.yaml
.Patch Changes
pkg.pr.new
, treat them as Git tarball URLs #9694.dangerouslyAllowAllBuilds
,onlyBuiltDependencies
,onlyBuiltDependenciesFile
, andneverBuiltDependencies
#9628.pnpm-workspace.yaml
with deep #9701.pnpm rebuild
command should not add pkgs included inignoredBuiltDependencies
toignoredBuilds
innode_modules/.modules.yaml
#9338.shell-quote
withshlex
for quoting command arguments #9381.v10.12.4
Compare Source
Patch Changes
Fix
pnpm licenses
command for local dependencies #9583.Fix a bug in which
pnpm ls --filter=not-exist --json
prints nothing instead of an empty array #9672.Fix a deadlock that sometimes happens during peer dependency resolution #9673.
Running
pnpm install
afterpnpm fetch
should hoist all dependencies that need to be hoisted.Fixes a regression introduced in [v10.12.2] by [#9648]; resolves [#9689].
[v10.12.2]: https://redirect.github.com/pnpm/pnpm/releases/tag/v10.12.2Add commentMore actions
[#9648]: https://github.com/pnpm/pnpm/pull/9648
[#9689]: https://github.com/pnpm/pnpm/issues/9689
v10.12.3
Compare Source
Patch Changes
Regression introduced in v10.12.2 by #9648; resolves #9685.
v10.12.2
Compare Source
Patch Changes
enableGlobalVirtualStore
set totrue
#9648.--help
and-h
flags not working as expected for thepnpm create
command.pnpm licenses list --json
command is incorrect.pnpm deploy
fails due to overridden dependencies having peer dependencies causingERR_PNPM_OUTDATED_LOCKFILE
#9595.v10.12.1
Minor Changes
Experimental. Added support for global virtual stores. When enabled,
node_modules
contains only symlinks to a central virtual store, rather tonode_modules/.pnpm
. By default, this central store is located at<store-path>/links
(you can find the store path by runningpnpm store path
).In the central virtual store, each package is hard linked into a directory whose name is the hash of its dependency graph. This allows multiple projects on the system to symlink shared dependencies from this central location, significantly improving installation speed when a warm cache is available.
To enable the global virtual store, set
enableGlobalVirtualStore: true
in your rootpnpm-workspace.yaml
, or globally via:NOTE: In CI environments, where caches are typically cold, this setting may slow down installation. pnpm automatically disables the global virtual store when running in CI.
Related PR: #8190
pnpm update
command now supports updatingcatalog:
protocol dependencies and writes new specifiers topnpm-workspace.yaml
.--save-catalog
and--save-catalog-name=<name>
) topnpm add
to save new dependencies as catalog entries.catalog:
orcatalog:<name>
will be added topackage.json
and the package specifier will be added to thecatalogs
orcatalog[<name>]
object inpnpm-workspace.yaml
#9425.ci
for explicitly telling pnpm if the current environment is a CI or not.Patch Changes
pnpm patch
using semantic versioning rules.v10.11.1
Compare Source
Patch Changes
pnpm deploy --legacy
creates unexpected directories when the rootpackage.json
has a workspace package as a peer dependency #9550.strictPeerDependencies
istrue
but all issues are ignored bypeerDependencyRules
#9505.pnpm_config_
env variables instead ofnpm_config_
#9571.--lockfile-only
flag onpnpm update
to produce a differentpnpm-lock.yaml
than an update without the flag.pnpm deploy
work in repos withoverrides
wheninject-workspace-packages=true
#9283.pnpm -r --silent run
should not print out section #9563.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.