allowlists

package
v0.0.0-...-47e0bda Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

allowlist package contains utilities for dealing with allowlists in the config file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllowlistWithDeps

func GetAllowlistWithDeps(allowlist []config.PackagesAllowList, httpClient *http.Client) ([]*config.PackagesAllowList, error)

GetAllowlistWithDeps returns a slice of packages that contains all packages explicitly specified in the config file and all of their dependencies. Note: This can only find dependencies of packages that use exact versions, else we will not know which version to use when querying the global NPM registry for dependencies. In other words, packages that use "~,^,-,*" in their versions will not have their dependencies added.

Types

This section is empty.

Jump to

Keyboard shortcuts

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