er, registryInfo, crate, params.version, readme, owners));
    });
  }

  function renderCrate(currentUser, registryInfo, crate, version, readme, owners) {
    const currentVersion = version === undefined ? crate.versions[crate.versions.length - 1] : crate.versions.find(meta => meta.index.vers === version);
    if (currentVersion.depsHasOutdated || currentVersion.depsHasCVEs) {
      document.getElementById("header-dependencies-warn").style.display = "inline-block";
      if (currentVersion.depsHasCVEs) {
 