This is a read-only interface to the FlowrAnalyzerDependenciesContext. It prevents you from modifying the dependencies, but allows you to inspect them (which is probably what you want when using the FlowrAnalyzer). If you are a FlowrAnalyzerPackageVersionsPlugin and want to modify the dependencies, you can use the FlowrAnalyzerDependenciesContext directly.

interface ReadOnlyFlowrAnalyzerDependenciesContext {
    getDependency(name: string): undefined | Package;
    name: string;
}

Implemented by

Properties

Methods

Properties

name: string

The name of this context.

Methods

  • Get the dependency with the given name, if it exists.

    If the static dependencies have not yet been loaded, this may trigger a resolution step.

    Parameters

    • name: string

      The name of the dependency to get.

    Returns undefined | Package

    The dependency with the given name, or undefined if it does not exist.