anchor.diff:      end.
   
   find_highest_matching_(Dep, Constraint, #{name := Repo}, Table, State) ->
  -    try resolve_version_(Dep, Constraint, Repo, Table, State)
  +    try get_package_versions(Dep, Constraint, Repo, Table, State)
       catch
           error:badarg ->
               none
       end.
   
  +handle_vsns([]) -> none;
   handle_vsns(Vsns) ->
       Vsn =
           lists:foldl(
  
positive.code:             Result
      end.
  
  resolve_version_(Dep, DepVsn, Repo, HexRegistry, State) ->
      case get_package_versions(Dep, DepVsn, Repo, HexRegistry, State) of
          none ->
              none;
          [] ->
              none;
          Vsns ->
              handle_vsns(Vsns)
      end.
  
  valid_vsn(Vsn) ->
      case r3_verl:parse_requirement(Vsn) of
          {error, _} -> false;
  
negative.code:     case r3_verl:parse_requirement(DepVsn, AllowPreRelease) of
          {error, _} ->
              none;
          {ok, #{matchspec := [{Head, [Match], _}]}} ->
              ?MODULE:verify_table(State),
              Vsns = ets:select(Table, [{#package{key={Dep, Head, Repo}, _='_'},
                                         [Match], [{Head}]}]),
              handle_vsns(Vsns)
      end.
  
  -spec get_package(unicode:unicode_binary(), unicode:unicode_binary(),
                    binary() | undefined | '_',
  