bun

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin implements ecosystems.SCAPlugin for Bun projects. It uses `bun why '*' --top` to resolve the full dependency graph without bespoke lockfile parsing, requiring bun >= 1.2.19.

func (Plugin) BuildDepGraphsFromDir

func (p Plugin) BuildDepGraphsFromDir(
	ctx context.Context,
	log logger.Logger,
	dir string,
	options *ecosystems.SCAPluginOptions,
) (*ecosystems.PluginResult, error)

BuildDepGraphsFromDir discovers bun.lock files under dir and produces dep graphs for each one. Workspace projects yield one SCAResult per workspace package plus one for the root; non-workspace projects yield a single result.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL