Flarum (2.x)
    Preparing search index...
    • Whether a requirement admits exactly one version.

      This is the difference between "press Update and it updates" and "press Update and nothing happens, forever". A forum that requires 3.5.1 cannot be moved to 3.6.0 by any resolve — the constraint forbids it — so the card must offer to raise the requirement rather than pretending a resolve will do it.

      A range is left alone: ^3.5 genuinely can be already-newest, and rewriting it would change a decision nobody asked to change.

      Parameters

      • constraint: string | null | undefined

      Returns boolean