nodejs

package
v0.0.0-...-05c0f54 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScannerName = "node-js"
)

Options

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

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

Scanner implements the Scanner interface for Node.js projects

func NewScanner

func NewScanner() *Scanner

NewScanner creates a new scanner instance.

func (*Scanner) Configs

func (scanner *Scanner) Configs(sshKeyActivation models.SSHKeyActivation) (models.BitriseConfigMap, error)

Configs returns the default configurations for the scanner

func (*Scanner) DefaultConfigs

func (scanner *Scanner) DefaultConfigs() (models.BitriseConfigMap, error)

func (*Scanner) DefaultOptions

func (scanner *Scanner) DefaultOptions() models.OptionNode

DefaultOptions returns the default options for the scanner

func (*Scanner) DetectPlatform

func (scanner *Scanner) DetectPlatform(searchDir string) (bool, error)

DetectPlatform checks if the given search directory contains a Node.js project

func (*Scanner) ExcludedScannerNames

func (scanner *Scanner) ExcludedScannerNames() []string

func (*Scanner) Name

func (scanner *Scanner) Name() string

Name returns the name of the scanner

func (*Scanner) Options

func (scanner *Scanner) Options() (models.OptionNode, models.Warnings, models.Icons, error)

Options returns the options for the scanner

Jump to

Keyboard shortcuts

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