From f6f2da90006eb837c2a1751e33f6757c1b86264e Mon Sep 17 00:00:00 2001 From: nobody Date: Mon, 20 Sep 2021 06:29:35 +0200 Subject: [PATCH] alpinejs v3.3.4 -> v3.3.5 (#679) --- THIRD_PARTY.txt | 2 +- modules/internal/targets.js | 2 +- pages/updates/updates.html | 2 +- resources/alpinejs/{3.3.4 => 3.3.5}/alpine.jsm | 2 +- resources/alpinejs/{3.3.4 => 3.3.5}/note | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename resources/alpinejs/{3.3.4 => 3.3.5}/alpine.jsm (63%) rename resources/alpinejs/{3.3.4 => 3.3.5}/note (100%) diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index f6a13432..b9005f21 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -49,7 +49,7 @@ https://cdnjs.cloudflare.com/ajax/libs/ajax-bootstrap-select/1.4.5/js/ajax-boots https://cdnjs.cloudflare.com/ajax/libs/algoliasearch/3.35.1/algoliasearch.min.js https://cdnjs.cloudflare.com/ajax/libs/algoliasearch/4.10.5/algoliasearch.umd.min.js https://cdnjs.cloudflare.com/ajax/libs/alpinejs/2.8.2/alpine.js -https://cdnjs.cloudflare.com/ajax/libs/alpinejs/3.3.4/cdn.min.js +https://cdnjs.cloudflare.com/ajax/libs/alpinejs/3.3.5/cdn.min.js https://cdnjs.cloudflare.com/ajax/libs/angucomplete-alt/3.0.0/angucomplete-alt.min.js https://cdnjs.cloudflare.com/ajax/libs/angular-animate/1.8.2/angular-animate.min.js https://cdnjs.cloudflare.com/ajax/libs/angular-aria/1.8.2/angular-aria.min.js diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 1678db32..70b84c6a 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -84,7 +84,7 @@ targets.setLastVersion = function (type, version) { } else if (type.startsWith('/alpinejs/2.')) { return '2.8.2'; } else if (type.startsWith('/alpinejs/3.')) { - return '3.3.4'; + return '3.3.5'; } else if (type.startsWith('/anchor-js/3.')) { return '3.2.2'; } else if (type.startsWith('/anchor-js/4.')) { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 5d6ec897..8340a75a 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -30,7 +30,7 @@
  • Google Material Icons v98 -> v99 (#676)
  • flv.js v1.6.1 -> v1.6.2 (#677)
  • vue-i18n v8.25.0 -> v8.25.1 (#678)
  • -
  • alpinejs v3.3.3 -> v3.3.4 (#679)
  • +
  • alpinejs v3.3.3 -> v3.3.5 (#679)
  • Swiper v7.0.5 -> v7.0.6 (#680)
  • instantsearch.js v4.30.0 -> v4.30.1 (#681)
  • libphonenumber-js v1.9.32 -> v1.9.34 (#682)
  • diff --git a/resources/alpinejs/3.3.4/alpine.jsm b/resources/alpinejs/3.3.5/alpine.jsm similarity index 63% rename from resources/alpinejs/3.3.4/alpine.jsm rename to resources/alpinejs/3.3.5/alpine.jsm index fd98b991..1d454d46 100644 --- a/resources/alpinejs/3.3.4/alpine.jsm +++ b/resources/alpinejs/3.3.5/alpine.jsm @@ -2,4 +2,4 @@ Expression: "${t}" -`,e),i}}var We="x-";function A(e=""){return We+e}function Mt(e){We=e}var Nt={};function p(e,t){Nt[e]=t}function ee(e,t,r){let n={};return Array.from(t).map(kt((o,s)=>n[o]=s)).filter(Dt).map(Kr(n,r)).sort(zr).map(o=>jr(e,o))}function Pt(e){return Array.from(e).map(kt()).filter(t=>!Dt(t))}var Ge=!1,te=new Map,It=Symbol();function Lt(e){Ge=!0;let t=Symbol();It=t,te.set(t,[]);let r=()=>{for(;te.get(t).length;)te.get(t).shift()();te.delete(t)},n=()=>{Ge=!1,r()};e(r),n()}function jr(e,t){let r=()=>{},n=Nt[t.type]||r,i=[],o=d=>i.push(d),[s,a]=_t(e);i.push(a);let c={Alpine:S,effect:s,cleanup:o,evaluateLater:g.bind(g,e),evaluate:b.bind(b,e)},l=()=>i.forEach(d=>d());St(e,t.original,l);let u=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,c),n=n.bind(n,e,t,c),Ge?te.get(It).push(n):n())};return u.runCleanups=l,u}var he=(e,t)=>({name:r,value:n})=>(r.startsWith(e)&&(r=r.replace(e,t)),{name:r,value:n}),ge=e=>e;function kt(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:i}=$t.reduce((o,s)=>s(o),{name:t,value:r});return n!==t&&e(n,t),{name:n,value:i}}}var $t=[];function H(e){$t.push(e)}function Dt({name:e}){return Ft().test(e)}var Ft=()=>new RegExp(`^${We}([^:^.]+)\\b`);function Kr(e,t){return({name:r,value:n})=>{let i=r.match(Ft()),o=r.match(/:([a-zA-Z0-9\-:]+)/),s=r.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[r]||r;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:s.map(c=>c.replace(".","")),expression:n,original:a}}}var Ye="DEFAULT",_e=["ignore","ref","data","bind","init","for","model","transition","show","if",Ye,"element"];function zr(e,t){let r=_e.indexOf(e.type)===-1?Ye:e.type,n=_e.indexOf(t.type)===-1?Ye:t.type;return _e.indexOf(r)-_e.indexOf(n)}function $(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}var Je=[],Ze=!1;function B(e){Je.push(e),queueMicrotask(()=>{Ze||setTimeout(()=>{ye()})})}function ye(){for(Ze=!1;Je.length;)Je.shift()()}function jt(){Ze=!0}function N(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>N(i,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let n=e.firstElementChild;for(;n;)N(n,t,!1),n=n.nextElementSibling}function xe(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}function zt(){document.body||xe("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `