PnpmLockFileDependencyScanner Class

Scans pnpm lockfiles (pnpm-lock.yaml) for the installed npm packages.

public sealed class PnpmLockFileDependencyScanner : DependencyScanner

Remarks

The entries of packages are reported once per name and version, as pnpm writes one entry per set of peer dependencies in lockfile versions 5 and 6. Lockfile versions 5 (/name/1.0.0_peer@2.0.0), 6 (/name@1.0.0(peer@2.0.0)) and 9 (name@1.0.0) are supported. The versions are not updatable, as the integrity of each package would no longer match. The packages installed from a local folder are not reported.

Inheritance
DependencyScanner PnpmLockFileDependencyScanner

Constructors

NameDescription
PnpmLockFileDependencyScanner()

PnpmLockFileDependencyScanner()

PnpmLockFileDependencyScanner.cs
public PnpmLockFileDependencyScanner()

No documentation is available.

Methods

NameDescription
ScanAsync(ScanFileContext)

ScanAsync(ScanFileContext)

PnpmLockFileDependencyScanner.cs
public override ValueTask ScanAsync(ScanFileContext context)

Parameters

context ScanFileContext

Returns

ValueTask

No documentation is available.