YarnLockFileDependencyScanner Class
Scans Yarn lockfiles (yarn.lock) for the installed npm packages, in the Yarn 1 format and in the YAML format of Yarn 2 and later.
public sealed class YarnLockFileDependencyScanner : DependencyScannerRemarks
The versions are not updatable, as the checksum of each package would no longer match. A package installed under another name is reported as the installed package, with the name it is installed under in Dependency.Metadata under the alias key. The workspaces, the packages installed from a local folder (file:, link:, portal:) and the patched copies of packages are not reported.
- Inheritance
DependencyScannerYarnLockFileDependencyScanner
Constructors
| Name | Description |
|---|---|
| YarnLockFileDependencyScanner() |
YarnLockFileDependencyScanner()
YarnLockFileDependencyScanner.cspublic YarnLockFileDependencyScanner()No documentation is available.
Methods
| Name | Description |
|---|---|
| ScanAsync(ScanFileContext) |
ScanAsync(ScanFileContext)
YarnLockFileDependencyScanner.csnet10.0
public override ValueTask ScanAsync(ScanFileContext context)net11.0
public override ValueTask ScanAsync(ScanFileContext context)No documentation is available.