IFClite TypeScript API
    Preparing search index...

    Function satisfiesCaretRange

    • Minimal ^x.y.z caret-range check: same major, and host >= required. Not a general semver implementation, and intentionally so — manifests use exactly one range shape, and a real semver dependency would break this package's dependency-free guarantee.

      Lives here rather than in the host so that host and provider can never disagree about what a range means.

      Parameters

      • hostVersion: string
      • requiredRange: string

      Returns boolean