Files
Zoltan Kochan 6c0f2940c3 fix: fail by default when a tarball does not match the locked integrity (#11985)
Backport of #11968 to release/10. Treats tarball-integrity mismatches
against the lockfile as a hard failure by default; `--update-checksums`
is the only opt-in. `--force` and `pnpm update` deliberately do not
bypass the integrity check.

🤖 Written by an agent (Claude Code, claude-opus-4-7).
2026-05-27 14:25:11 +02:00
..
2026-05-06 15:00:18 +02:00
2026-05-06 15:00:18 +02:00

@pnpm/resolver-base

Types for pnpm-compatible resolvers

npm version

Installation

pnpm add @pnpm/resolver-base

Usage

Here's a template of a resolver using types from @pnpm/resolver-base:

import {
  ResolveOptions,
  ResolveResult,
  WantedDependency,
} from '@pnpm/resolver-base'

export async function testResolver (
  wantedDependency: WantedDependency,
  opts: ResolveOptions,
): Promise<ResolveResult> {
  // ...
  return {
    id,
    resolution,
    package,
    latest,
    normalizedBareSpecifier,
  }
}

License

MIT