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

    Function readOracle

    • Reads a verdict from the oracle, or null to mean "ask Packagist".

      A parse failure, a missing binding and a core-version mismatch are all null. Never throws: the fallback is a working code path, so an oracle problem must degrade to a slower answer rather than an error.

      Parameters

      • env: OracleEnv | null | undefined
      • name: string
      • shippedCore: string

      Returns Promise<{ entry: OracleEntry; stale: boolean } | null>