class Dependabot::Clients::Bitbucket

def compare(repo, previous_tag, new_tag)

def compare(repo, previous_tag, new_tag)
  path = "#{repo}/commits/?include=#{new_tag}&exclude=#{previous_tag}"
  response = get(base_url + path)
  JSON.parse(response.body).fetch("values")
end