Dependicus API Reference
    Preparing search index...

    Type Alias ComplianceStatus

    ComplianceStatus:
        | { status: "compliant" }
        | { status: "not-applicable" }
        | {
            daysOverdue: number;
            status: "non-compliant";
            thresholdDays: number;
            updateType: "major" | "minor" | "patch";
        }

    Whether a dependency version meets its update threshold.

    • compliant — the version is current, or the update hasn't exceeded its threshold yet.
    • not-applicable — no threshold was provided, or the version can't be evaluated (e.g. malformed version, prerelease latest).
    • non-compliant — an update has been available longer than the threshold allows. Includes the update type, days overdue, and the threshold that was exceeded.