Skip to content

PluginDependency.apiVersionRange

PluginDependency › apiVersionRange

Type: string

The semver range of API contract versions the dependent compiled against, e.g. '^2'.

A dependency whose published API falls outside the range counts as UNSATISFIED, which is what turns a silent behavioral mismatch between two independently released plugins into a visible "update this one" message. Spell "any version" as '>=0.0.0'compare-versions rejects a bare *.