CoreFiles by mySites.guru
extensionupdatecheck.min.js4 lines, 1,194 bytes, from Joomla_5.4.10-Stable-Full_Package.zip
Raw History Compare with 5.4.9
md5
cbefabc7645b708cbfe00ce6779336ef
sha1
410ec235fd78a98b74a161d0d0de4934c62f7a86
sha256
25eb411cd4d86ca3ee597f649a67a610399cbc9707b24b2cf6c3614e7f8761e2
/**
 * @copyright  (C) 2018 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */(()=>{const l=()=>{if(Joomla.getOptions("js-extensions-update")){const i=Joomla.getOptions("js-extensions-update"),t=(o,n)=>{const e=document.getElementById("plg_quickicon_extensionupdate");e&&e.classList.add(o),e.querySelectorAll("span.j-links-link").forEach(s=>{s.innerHTML=Joomla.sanitizeHtml(n)})};Joomla.enqueueRequest({url:i.ajaxUrl,method:"GET",promise:!0}).then(o=>{const n=o.responseText,e=JSON.parse(n);if(Array.isArray(e))if(e.length===0)t("success",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPTODATE"));else{let s=Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_UPDATEFOUND").replace("%s",`<span class="badge text-dark bg-light">${e.length}</span>`);e.filter(a=>a.security>0).forEach(a=>s+="<div>"+Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_SECURITY_UPDATEFOUND").replace("%s",a.name)+"</div>"),t("danger",s)}else t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))}).catch(()=>{t("danger",Joomla.Text._("PLG_QUICKICON_EXTENSIONUPDATE_ERROR"))})}};window.addEventListener("load",()=>setTimeout(l,330))})();

The same content is in 16 releases, Joomla 5.4.9-rc1 to 6.3.0-alpha1. See them all, or every version of this file.