bundler

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

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

func NewScanner

func NewScanner() *Scanner

func (*Scanner) Detect

func (s *Scanner) Detect(pkgName string, pkgVer *version.Version) ([]types.DetectedVulnerability, error)

func (*Scanner) ParseLockfile

func (s *Scanner) ParseLockfile(f *os.File) ([]ptypes.Library, error)

func (*Scanner) Type

func (s *Scanner) Type() string

type VulnSrc

type VulnSrc interface {
	Get(pkgName string) ([]bundlerSrc.Advisory, error)
}

Jump to

Keyboard shortcuts

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