resolver

package
v0.0.19-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveNPMV1

func ResolveNPMV1(lockFile schemas.NPMLockFileV1) (types.LockFileInformation, error)

func ResolveNPMV2

func ResolveNPMV2(lockFile schemas.NPMLockFileV2) (types.LockFileInformation, error)

func ResolvePNPMV9

func ResolvePNPMV9(lockFile schemas.PNPMLockFileV9) (types.LockFileInformation, error)

func ResolveYarnv1

func ResolveYarnv1(lockFile schemas.YarnV1LockFile) (types.LockFileInformation, error)

ResolveYarnDependencies resolves the dependencies in a Yarn lock file and returns a resolved lock file. It takes a lockFile parameter of type schemas.UnversionedYarnLockFile and returns a resolved lock file of type schemas.LockFileInformation. The resolved lock file contains information about the resolved dependencies, including their versions, names, and dependencies. The function iterates over the dependencies in the lock file, creates a resolved file package for each dependency, and adds it to the resolved lock file. It also resolves the dependencies between the packages and adds them to the corresponding resolved file packages. Finally, it sets the lock file version and package manager in the resolved lock file and returns it.

func ResolveYarnv2

func ResolveYarnv2(lockFile schemas.YarnV2LockFile) (types.LockFileInformation, error)

ResolveYarnDependencies resolves the dependencies in a Yarn lock file and returns a resolved lock file. It takes a lockFile parameter of type schemas.UnversionedYarnLockFile and returns a resolved lock file of type schemas.LockFileInformation. The resolved lock file contains information about the resolved dependencies, including their versions, names, and dependencies. The function iterates over the dependencies in the lock file, creates a resolved file package for each dependency, and adds it to the resolved lock file. It also resolves the dependencies between the packages and adds them to the corresponding resolved file packages. Finally, it sets the lock file version and package manager in the resolved lock file and returns it.

func ResolveYarnv3

func ResolveYarnv3(lockFile schemas.YarnV3LockFile) (types.LockFileInformation, error)

ResolveYarnDependencies resolves the dependencies in a Yarn lock file and returns a resolved lock file. It takes a lockFile parameter of type schemas.UnversionedYarnLockFile and returns a resolved lock file of type schemas.LockFileInformation. The resolved lock file contains information about the resolved dependencies, including their versions, names, and dependencies. The function iterates over the dependencies in the lock file, creates a resolved file package for each dependency, and adds it to the resolved lock file. It also resolves the dependencies between the packages and adds them to the corresponding resolved file packages. Finally, it sets the lock file version and package manager in the resolved lock file and returns it.

func ResolveYarnv4

func ResolveYarnv4(lockFile schemas.YarnV4LockFile) (types.LockFileInformation, error)

ResolveYarnDependencies resolves the dependencies in a Yarn lock file and returns a resolved lock file. It takes a lockFile parameter of type schemas.UnversionedYarnLockFile and returns a resolved lock file of type schemas.LockFileInformation. The resolved lock file contains information about the resolved dependencies, including their versions, names, and dependencies. The function iterates over the dependencies in the lock file, creates a resolved file package for each dependency, and adds it to the resolved lock file. It also resolves the dependencies between the packages and adds them to the corresponding resolved file packages. Finally, it sets the lock file version and package manager in the resolved lock file and returns it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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