drupflare/worker - v1.0.4
    Preparing search index...

    Function checkRequirements

    • Checks a requirement map against what this site provides.

      An unknown from the constraint checker becomes an unverifiable conflict, so the verdict degrades instead of reading as installable. A requirement met only by POLYFILLED_PLATFORM degrades the same way; installed wins over both maps.

      Parameters

      • require: Record<string, string>
      • installed: Record<string, string>
      • platform: PlatformVersions = DEFAULT_PLATFORM
      • provides: Record<string, string> = SHIPPED_PROVIDES

      Returns { conflicts: Conflict[]; satisfied: string[] }