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

    Function needsInvalidation

    • Whether the stored version differs from the one now shipping.

      A missing stored version is not an upgrade (older databases have no key); the first read records the shipped version and invalidates nothing.

      Parameters

      • stored: string | null
      • shipped: string

      Returns boolean