PnpmLockFileDependencyScanner Class
Scans pnpm lockfiles (pnpm-lock.yaml) for the installed npm packages.
public sealed class PnpmLockFileDependencyScanner : DependencyScannerRemarks
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
DependencyScannerPnpmLockFileDependencyScanner
Constructors
| Name | Description |
|---|---|
| PnpmLockFileDependencyScanner() |
PnpmLockFileDependencyScanner()
PnpmLockFileDependencyScanner.cspublic PnpmLockFileDependencyScanner()No documentation is available.
Methods
| Name | Description |
|---|---|
| ScanAsync(ScanFileContext) |
ScanAsync(ScanFileContext)
PnpmLockFileDependencyScanner.cspublic override ValueTask ScanAsync(ScanFileContext context)No documentation is available.