BunLockFileDependencyScanner Class

Scans Bun text lockfiles (bun.lock) for the npm packages installed from a registry.

public sealed class BunLockFileDependencyScanner : DependencyScanner

Remarks

The versions are not updatable, as the integrity of each package would no longer match. A package installed under another name is reported as the installed package, with the install folder name in Dependency.Metadata under the alias key. The workspaces, the packages installed from a local folder, a Git repository or a tarball URL, which have no version in the lockfile, and the binary lockfile bun.lockb are not scanned.

Inheritance
DependencyScanner BunLockFileDependencyScanner

Constructors

NameDescription
BunLockFileDependencyScanner()

BunLockFileDependencyScanner()

BunLockFileDependencyScanner.cs
public BunLockFileDependencyScanner()

No documentation is available.

Methods

NameDescription
ScanAsync(ScanFileContext)

ScanAsync(ScanFileContext)

BunLockFileDependencyScanner.cs

net10.0

public override ValueTask ScanAsync(ScanFileContext context)

net11.0

public override ValueTask ScanAsync(ScanFileContext context)

Parameters

context ScanFileContext

Returns

ValueTask

No documentation is available.