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

    Function pickVersion

    • Picks a version from a composer p2 document: newest stable unless the constraint says otherwise. Both registries list newest first, so the first match wins without sorting.

      Parameters

      • doc: unknown
      • name: string
      • Optionalconstraint: string
      • core: string = SHIPPED_CORE_VERSION
      • stability: string = 'stable'

      Returns Record<string, unknown> | undefined