Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 3, 2025

This PR contains the following updates:

Package Change Age Confidence
pnpm (source) 10.15.1 -> 10.16.1 age confidence

Release Notes

pnpm/pnpm (pnpm)

v10.16.1

Compare Source

Patch Changes
  • The full metadata cache should be stored not at the same location as the abbreviated metadata. This fixes a bug where pnpm was loading the abbreviated metadata from cache and couldn't find the "time" field as a result #​9963.
  • Forcibly disable ANSI color codes when generating patch diff #​9914.

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, setting minimumReleaseAge: 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 the minimumReleaseAgeExclude setting. For instance, with the following configuration pnpm will always install the latest version of webpack, regardless of its release time:

    minimumReleaseAgeExclude:
      - webpack

    Related issue: #​9921.

  • Added support for finders #​9946.

    In the past, pnpm list and pnpm why could only search for dependencies by name (and optionally version). For example:

    pnpm why minimist
    

    prints the chain of dependencies to any installed instance of minimist:

    verdaccio 5.20.1
    ├─┬ handlebars 4.7.7
    │ └── minimist 1.2.8
    └─┬ mv 2.1.1
      └─┬ mkdirp 0.5.6
        └── minimist 1.2.8
    

    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 running pnpm list or pnpm 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:

    module.exports = {
      finders: {
        react17: (ctx) => {
          return ctx.readManifest().peerDependencies?.react === "^17.0.0";
        },
      },
    };

    Now we can use this finder function by running:

    pnpm why --find-by=react17
    

    pnpm will find all dependencies that have this React in peer dependencies and print their exact locations in the dependency graph.

    @&#8203;apollo/client 4.0.4
    ├── @&#8203;graphql-typed-document-node/core 3.2.0
    └── graphql-tag 2.12.6
    

    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:

    module.exports = {
      finders: {
        react17: (ctx) => {
          const manifest = ctx.readManifest();
          if (manifest.peerDependencies?.react === "^17.0.0") {
            return `license: ${manifest.license}`;
          }
          return false;
        },
      },
    };

    Every matched package will also print out the license from its package.json:

    @&#8203;apollo/client 4.0.4
    ├── @&#8203;graphql-typed-document-node/core 3.2.0
    │   license: MIT
    └── graphql-tag 2.12.6
        license: MIT
    
Patch Changes
  • Fix deprecation warning printed when executing pnpm with Node.js 24 #​9529.
  • Throw an error if nodeVersion is not set to an exact semver version #​9934.
  • pnpm publish should be able to publish a .tar.gz file #​9927.
  • Canceling a running process with Ctrl-C should make pnpm run return a non-zero exit code #​9626.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

changeset-bot bot commented Feb 3, 2025

⚠️ No Changeset found

Latest commit: 4399eda

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from 0598334 to d5f3810 Compare February 11, 2025 01:45
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from c0bad66 to 074efad Compare February 16, 2025 23:03
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 4 times, most recently from 898cc08 to 0436068 Compare February 27, 2025 02:59
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 6 times, most recently from 2abbe88 to acdbcd7 Compare March 13, 2025 14:38
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from deacb97 to 0fa4933 Compare March 19, 2025 16:54
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from 9affe94 to 28e8e63 Compare April 1, 2025 13:10
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from 8efc7bb to 1f2b7c7 Compare April 14, 2025 12:52
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from 7f8103d to ce2df37 Compare April 28, 2025 04:08
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from ce2df37 to 19d628f Compare May 13, 2025 17:11
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from 229ef55 to 125f0b7 Compare June 8, 2025 18:31
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 3 times, most recently from c9e6baa to 2fd2830 Compare June 26, 2025 19:06
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from 2fd2830 to fc2c56b Compare July 9, 2025 14:11
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from fc2c56b to 55c19ce Compare July 31, 2025 14:12
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from 55c19ce to 66b10e6 Compare August 10, 2025 14:20
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from 66b10e6 to 4957e93 Compare August 19, 2025 22:07
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch 2 times, most recently from 820ca9a to 07c4438 Compare September 3, 2025 04:17
@renovate renovate bot changed the title chore(deps): update pnpm to v10 chore(deps): update pnpm to v10 - autoclosed Sep 10, 2025
@renovate renovate bot closed this Sep 10, 2025
@renovate renovate bot deleted the renovate/pnpm-10.x branch September 10, 2025 02:45
@renovate renovate bot changed the title chore(deps): update pnpm to v10 - autoclosed chore(deps): update pnpm to v10 Sep 13, 2025
@renovate renovate bot reopened this Sep 13, 2025
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from 9a9fd6b to 07c4438 Compare September 13, 2025 16:14
@renovate renovate bot changed the title chore(deps): update pnpm to v10 chore(deps): update pnpm to v10.16.0 Sep 13, 2025
@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from 07c4438 to 57a57cb Compare September 13, 2025 16:15
Copy link
Contributor

github-actions bot commented Sep 13, 2025

Try the Instant Preview in Online Playground

ESLint Online Playground

Install the Instant Preview to Your Local

npm i https://pkg.pr.new/eslint-plugin-svelte@4399eda

Published Instant Preview Packages:

View Commit

@renovate renovate bot force-pushed the renovate/pnpm-10.x branch from 57a57cb to 4399eda Compare September 14, 2025 01:02
@renovate renovate bot changed the title chore(deps): update pnpm to v10.16.0 chore(deps): update pnpm to v10.16.1 Sep 14, 2025
@renovate renovate bot merged commit 44d2ccb into main Sep 14, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants