@20minutes/tyr 0.1.49 → 0.1.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/articlePage-desktop-critical.css +1 -1
- package/dist/css/articlePage-desktop-no-critical.css +1 -1
- package/dist/css/articlePage-mobile-critical.css +1 -1
- package/dist/css/articlePage-mobile-no-critical.css +1 -1
- package/dist/css/errorPage-desktop-critical.css +1 -1
- package/dist/css/errorPage-desktop-no-critical.css +1 -1
- package/dist/css/errorPage-mobile-critical.css +1 -1
- package/dist/css/errorPage-mobile-no-critical.css +1 -1
- package/dist/css/global.css +1 -1
- package/dist/css/horoscopePage-desktop-critical.css +1 -1
- package/dist/css/horoscopePage-desktop-no-critical.css +1 -1
- package/dist/css/horoscopePage-mobile-critical.css +1 -1
- package/dist/css/horoscopePage-mobile-no-critical.css +1 -1
- package/dist/css/horoscopehomePage-desktop-critical.css +1 -1
- package/dist/css/horoscopehomePage-desktop-no-critical.css +1 -1
- package/dist/css/horoscopehomePage-mobile-critical.css +1 -1
- package/dist/css/horoscopehomePage-mobile-no-critical.css +1 -1
- package/dist/css/searchPage-desktop-critical.css +1 -1
- package/dist/css/searchPage-desktop-no-critical.css +1 -1
- package/dist/css/searchPage-mobile-critical.css +1 -1
- package/dist/css/searchPage-mobile-no-critical.css +1 -1
- package/dist/css/tagPage-desktop-critical.css +1 -1
- package/dist/css/tagPage-desktop-no-critical.css +1 -1
- package/dist/css/tagPage-mobile-critical.css +1 -1
- package/dist/css/tagPage-mobile-no-critical.css +1 -1
- package/dist/index.es.js +13727 -13634
- package/dist/index.umd.js +92 -92
- package/dist/js/ads.min.js +1 -1
- package/dist/js/main.min.js +1 -1
- package/dist/types/ComponentConfig.d.ts +1 -1
- package/package.json +9 -9
package/dist/js/ads.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(A){"use strict";const f={desktop:{divers:{BAN_ATF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250], [1600,1200]]",BAN_BTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",BAN_MTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",INREAD:"[[1,1], [300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v]]",PAVE_ARTICLE:"[[1,1], [300,250]]",PAVE_ATF:"[[1,1], [300,250], [300,600]]",PAVE_BTF:"[[1,1], [300,250], [300,600]]",PAVE_COM:"[[1,1], [300,250]]",PAVE_MTF:"[[1,1], [300,250], [300,600]]"},horoscope:{BAN_ATF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250], [1600,1200]]",BAN_BTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",BAN_MTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",INREAD:"[[1,1], [300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v]]",PAVE_ARTICLE:"[[1,1], [300,250]]",PAVE_ATF:"[[1,1], [300,250], [300,600]]",PAVE_BTF:"[[1,1], [300,250], [300,600]]",PAVE_COM:"[[1,1], [300,250]]",PAVE_MTF:"[[1,1], [300,250], [300,600]]"}},mobile:{divers:{ARTICLE_ATF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_BTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_MTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",HEADER_AD:'[[1,1], [320,50], [320,100], "Fluid"]',INREAD:'[[300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v], "Fluid"]',INTRASTITIEL_GAG:"[[1,1], [320,480]]",INTRASTITIEL_PROG:"[[1,1], [320,480]]",NFB_1:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",NFB_2:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]"},horoscope:{ARTICLE_ATF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_BTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_MTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",HEADER_AD:'[[1,1], [320,50], [320,100], "Fluid"]',INREAD:'[[300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v], "Fluid"]',INTRASTITIEL_GAG:"[[1,1], [320,480]]",INTRASTITIEL_PROG:"[[1,1], [320,480]]",NFB_1:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",NFB_2:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]"}}};var _=(e=>(e[e.divers=0]="divers",e[e.horoscope=1]="horoscope",e))(_||{}),g=(e=>(e.UNKNOWN="Non connu",e.SLIDESHOW_COVER="Slideshow cover",e.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",e.SLIDESHOW_PAGE="Slideshow page",e.ARTICLE="article",e.MISC="divers",e.HOME="home",e.LIVE="live",e.SECTION="section",e.TAG="tag",e))(g||{}),r=(e=>(e.MISC="divers",e.HOME="home",e.LOCAL="local",e.PLANET="plan\xE8te",e))(r||{}),w=(e=>(e.PAGETYPE="pageType",e.TAGS="tags",e))(w||{});const m=e=>{var t,a,o,d;switch(e){case"pageType":return Object.values(g).includes((t=window.datalayer)==null?void 0:t.page_type)?(a=window.datalayer.page_type)==null?void 0:a.toLowerCase():g.MISC;case"tags":return Object.values(r).includes((o=window.datalayer)==null?void 0:o.tags)?(d=window.datalayer.tags)==null?void 0:d.toLowerCase():r.MISC}return window.datalayer[e]},S=()=>{window.dfp=window.dfp||{},window.dfp.targeting=window.dfp.targeting||{},Object.values(w).forEach(e=>{window.dfp.targeting[e]=m(e)})},b=["nfb_1","nfb_2"],y=e=>{var t;const a=e instanceof Array?e:[e];window.dfp.slots=((t=window.dfp)==null?void 0:t.slots)||[],window.dfp.slots=[...window.dfp.slots,...a]},C=e=>{window.dfp.slotsReady=!1,googletag.cmd.push(()=>{const t=[];document.querySelectorAll("div[data-dfp-path]").forEach(a=>{const o=a.getAttribute("data-dfp-name"),d=a.getAttribute("data-dfp-path"),I=a.getAttribute("id"),s=d?.split("/").filter(l=>l!==""),i=(s?.[1]||null)==="20minutes_desktop"?"desktop":"mobile",c=s?.[s.length-1]||null;if(I&&o&&i&&c){let l;if(l=o&&JSON.parse(f[i][c][o.toUpperCase()])||null,d&&l&&googletag){let n=null;if(b.includes(o)?(n=googletag.defineSlot([d,o].join("/"),l),n!=null&&n.getSlotElementId()&&a.setAttribute("id",n.getSlotElementId())):n=googletag.defineSlot([d,o].join("/"),l,I),!n)return;n.addService(googletag.pubads()),t.push({slotElementId:n.getSlotElementId(),path:d,sizes:JSON.stringify(l)}),Object.entries(e).map(([M,B])=>n?.setTargeting(M,B))}}}),window.dfp.slotsReady=!0,y(t)})};let E=!1,T=0;const L=1500,p="renderAd",u=e=>{console.log(`20minDfpCall: adslot with following id has been called: %c${e}`,"color: #0777;font-weight:bold;")},N=()=>E||googletag&&googletag.pubadsReady&&window.dfp.slotsReady&&window.dfp.hubvisorEnd,v=e=>{googletag&&googletag.cmd.push(()=>{const t={};googletag.pubads().getSlots().forEach(o=>{t[o.getSlotElementId()]=o});const a=[];e.forEach(o=>{t[o]&&a.push(t[o])}),a.length&&window.Hubvisor("20minutes:refresh",[...a],()=>{googletag.cmd.push(()=>{googletag.pubads().refresh([...a]),a.forEach(o=>{u(o.getSlotElementId())})})})})},R=()=>{document.addEventListener(p,e=>{if(!e.target)return;const t=e;t&&t.target.closest("[data-dfp-name]")&&t.detail.length&&v([t.detail[0].id])},!0)},F=()=>{const e=document.querySelectorAll('div[data-dfp-name][data-delayed="true"]');Array.prototype.forEach.call(e,t=>{t.addEventListener(t.getAttribute("id"),function a(){t.dispatchEvent(new CustomEvent(p,{detail:[{id:t.getAttribute("id")}]})),u(t.getAttribute("id")),t.removeEventListener(p,a)})})},O=()=>{const e=[],t=document.querySelectorAll('div[data-dfp-name][data-delayed="false"]');t.length>0&&Array.prototype.forEach.call(t,a=>{e.push(a.getAttribute("id")),u(a.getAttribute("id"))}),v(e)},h=()=>{O(),F()},P=()=>{const e=setInterval(()=>{if(!N()&&T<L){T+=100;return}clearInterval(e),E=!0,R(),document.readyState!=="loading"?h():window.addEventListener("DOMContentLoaded",()=>{h()})},100)},D=()=>{googletag.cmd.push(()=>{googletag.pubads().setTargeting("lang","fr"),googletag.pubads().setTargeting("dn",window.location.hostname);try{const t=window.location.href.split("?")[1];t&&t.split("&").forEach(a=>{const o=a.split("=");o[0]==="20minutest"&&googletag.pubads().setTargeting(o[0],o[1])})}catch{}googletag.pubads().enableSingleRequest(),googletag.pubads().disableInitialLoad(),googletag.enableServices(),A.hasCookie("20min_fp")&&window.Didomi.getUserConsentStatusForPurpose("publicite-9qedKJMX")&&googletag.pubads().setPublisherProvidedId(A.getCookieValue("20min_fp"));const e=Math.max(document.documentElement.clientWidth,window.innerWidth||0);e>=1400?googletag.pubads().setTargeting("screen",["1400","1000"]):e>=1e3&&googletag.pubads().setTargeting("screen","1000")})};(()=>{D(),S(),C(window.dfp.targeting),P()})()})(helpers);
|
|
1
|
+
(function(A){"use strict";const f={desktop:{divers:{BAN_ATF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250], [1600,1200]]",BAN_BTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",BAN_MTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",INREAD:"[[1,1], [300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v]]",PAVE_ARTICLE:"[[1,1], [300,250]]",PAVE_ATF:"[[1,1], [300,250], [300,600]]",PAVE_BTF:"[[1,1], [300,250], [300,600]]",PAVE_COM:"[[1,1], [300,250]]",PAVE_MTF:"[[1,1], [300,250], [300,600]]"},horoscope:{BAN_ATF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250], [1600,1200]]",BAN_BTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",BAN_MTF:"[[1,1], [728,90], [970,90], [970,250], [980,250], [1000,90], [1000,250]]",INREAD:"[[1,1], [300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v]]",PAVE_ARTICLE:"[[1,1], [300,250]]",PAVE_ATF:"[[1,1], [300,250], [300,600]]",PAVE_BTF:"[[1,1], [300,250], [300,600]]",PAVE_COM:"[[1,1], [300,250]]",PAVE_MTF:"[[1,1], [300,250], [300,600]]"}},mobile:{divers:{ARTICLE_ATF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_BTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_MTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",HEADER_AD:'[[1,1], [320,50], [320,100], "Fluid"]',INREAD:'[[300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v], "Fluid"]',INTRASTITIEL_GAG:"[[1,1], [320,480]]",INTRASTITIEL_PROG:"[[1,1], [320,480]]",NFB_1:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",NFB_2:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]"},horoscope:{ARTICLE_ATF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_BTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",ARTICLE_MTF:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",HEADER_AD:'[[1,1], [320,50], [320,100], "Fluid"]',INREAD:'[[300,250], [300,250v], [640,380], [640,380v], [640,533], [640,533v], "Fluid"]',INTRASTITIEL_GAG:"[[1,1], [320,480]]",INTRASTITIEL_PROG:"[[1,1], [320,480]]",NFB_1:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]",NFB_2:"[[1,1], [300,50], [300,100], [300,168], [300,250], [320,50], [320,100], [320,480]]"}}};var _=(e=>(e[e.divers=0]="divers",e[e.horoscope=1]="horoscope",e))(_||{}),g=(e=>(e.UNKNOWN="Non connu",e.SLIDESHOW_COVER="Slideshow cover",e.SLIDESHOW_COVER_LISTING_PAGE="Slideshow listing page",e.SLIDESHOW_PAGE="Slideshow page",e.ARTICLE="article",e.MISC="divers",e.HOME="home",e.LIVE="live",e.SECTION="section",e.TAG="tag",e))(g||{}),r=(e=>(e.MISC="divers",e.HOME="home",e.LOCAL="local",e.PLANET="plan\xE8te",e))(r||{}),w=(e=>(e.PAGETYPE="pageType",e.TAGS="tags",e))(w||{});const m=e=>{var t,a,o,d;switch(e){case"pageType":return Object.values(g).includes((t=window.datalayer)==null?void 0:t.page_type)?(a=window.datalayer.page_type)==null?void 0:a.toLowerCase():g.MISC;case"tags":return Object.values(r).includes((o=window.datalayer)==null?void 0:o.tags)?(d=window.datalayer.tags)==null?void 0:d.toLowerCase():r.MISC}return window.datalayer[e]},S=()=>{window.dfp=window.dfp||{},window.dfp.targeting=window.dfp.targeting||{},Object.values(w).forEach(e=>{window.dfp.targeting[e]=m(e)})},b=["nfb_1","nfb_2","article_btf"],y=e=>{var t;const a=e instanceof Array?e:[e];window.dfp.slots=((t=window.dfp)==null?void 0:t.slots)||[],window.dfp.slots=[...window.dfp.slots,...a]},C=e=>{window.dfp.slotsReady=!1,googletag.cmd.push(()=>{const t=[];document.querySelectorAll("div[data-dfp-path]").forEach(a=>{const o=a.getAttribute("data-dfp-name"),d=a.getAttribute("data-dfp-path"),I=a.getAttribute("id"),s=d?.split("/").filter(l=>l!==""),i=(s?.[1]||null)==="20minutes_desktop"?"desktop":"mobile",c=s?.[s.length-1]||null;if(I&&o&&i&&c){let l;if(l=o&&JSON.parse(f[i][c][o.toUpperCase()])||null,d&&l&&googletag){let n=null;if(b.includes(o)?(n=googletag.defineSlot([d,o].join("/"),l),n!=null&&n.getSlotElementId()&&a.setAttribute("id",n.getSlotElementId())):n=googletag.defineSlot([d,o].join("/"),l,I),!n)return;n.addService(googletag.pubads()),t.push({slotElementId:n.getSlotElementId(),path:d,sizes:JSON.stringify(l)}),Object.entries(e).map(([M,B])=>n?.setTargeting(M,B))}}}),window.dfp.slotsReady=!0,y(t)})};let E=!1,T=0;const L=1500,p="renderAd",u=e=>{console.log(`20minDfpCall: adslot with following id has been called: %c${e}`,"color: #0777;font-weight:bold;")},N=()=>E||googletag&&googletag.pubadsReady&&window.dfp.slotsReady&&window.dfp.hubvisorEnd,v=e=>{googletag&&googletag.cmd.push(()=>{const t={};googletag.pubads().getSlots().forEach(o=>{t[o.getSlotElementId()]=o});const a=[];e.forEach(o=>{t[o]&&a.push(t[o])}),a.length&&window.Hubvisor("20minutes:refresh",[...a],()=>{googletag.cmd.push(()=>{googletag.pubads().refresh([...a]),a.forEach(o=>{u(o.getSlotElementId())})})})})},R=()=>{document.addEventListener(p,e=>{if(!e.target)return;const t=e;t&&t.target.closest("[data-dfp-name]")&&t.detail.length&&v([t.detail[0].id])},!0)},F=()=>{const e=document.querySelectorAll('div[data-dfp-name][data-delayed="true"]');Array.prototype.forEach.call(e,t=>{t.addEventListener(t.getAttribute("id"),function a(){t.dispatchEvent(new CustomEvent(p,{detail:[{id:t.getAttribute("id")}]})),u(t.getAttribute("id")),t.removeEventListener(p,a)})})},O=()=>{const e=[],t=document.querySelectorAll('div[data-dfp-name][data-delayed="false"]');t.length>0&&Array.prototype.forEach.call(t,a=>{e.push(a.getAttribute("id")),u(a.getAttribute("id"))}),v(e)},h=()=>{O(),F()},P=()=>{const e=setInterval(()=>{if(!N()&&T<L){T+=100;return}clearInterval(e),E=!0,R(),document.readyState!=="loading"?h():window.addEventListener("DOMContentLoaded",()=>{h()})},100)},D=()=>{googletag.cmd.push(()=>{googletag.pubads().setTargeting("lang","fr"),googletag.pubads().setTargeting("dn",window.location.hostname);try{const t=window.location.href.split("?")[1];t&&t.split("&").forEach(a=>{const o=a.split("=");o[0]==="20minutest"&&googletag.pubads().setTargeting(o[0],o[1])})}catch{}googletag.pubads().enableSingleRequest(),googletag.pubads().disableInitialLoad(),googletag.enableServices(),A.hasCookie("20min_fp")&&window.Didomi.getUserConsentStatusForPurpose("publicite-9qedKJMX")&&googletag.pubads().setPublisherProvidedId(A.getCookieValue("20min_fp"));const e=Math.max(document.documentElement.clientWidth,window.innerWidth||0);e>=1400?googletag.pubads().setTargeting("screen",["1400","1000"]):e>=1e3&&googletag.pubads().setTargeting("screen","1000")})};(()=>{D(),S(),C(window.dfp.targeting),P()})()})(helpers);
|
package/dist/js/main.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){"use strict";const l=e=>document.cookie.indexOf(e)!==-1,m=e=>{const t=document.cookie.split(";").filter(n=>n.indexOf(e)!==-1)[0];return t?t.split("=")[1]:"{}"},u=e=>{const t=[`${e.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];e.domain&&t.push(`domain=${e.domain}`),document.cookie=t.join("; ")},p=(e,t=100)=>{const n=e.getBoundingClientRect(),o=window.pageYOffset||document.documentElement.scrollTop,i=Math.max(document.documentElement.clientHeight,window.innerHeight||0),
|
|
1
|
+
(function(){"use strict";const l=e=>document.cookie.indexOf(e)!==-1,m=e=>{const t=document.cookie.split(";").filter(n=>n.indexOf(e)!==-1)[0];return t?t.split("=")[1]:"{}"},u=e=>{const t=[`${e.name}=`,"expires=Thu, 1 Jan 1970 00:00:01 UTC","path=/"];e.domain&&t.push(`domain=${e.domain}`),document.cookie=t.join("; ")},p=(e,t=100)=>{const n=e.getBoundingClientRect(),o=window.pageYOffset||document.documentElement.scrollTop,i=Math.max(document.documentElement.clientHeight,window.innerHeight||0),L=o+i,C=n.top+o;return L>C-t};let c=[],d;const g=(e,t)=>{let n=!1;return()=>{n||(e(),n=!0,d=setTimeout(()=>{n=!1},t))}},h=e=>e.event&&p(e.elem,Number(e.distance))?(e.elem.dispatchEvent(new Event(e.event)),e.elem.dataset.lazyLoaded="true",!1):!0,r=()=>{g(()=>{c=c.filter(h),c.length<=0&&(clearTimeout(d),window.removeEventListener("scroll",r))},50)()},f=()=>{c.length<=0||window.addEventListener("scroll",r)},w=e=>{c.push(e),f()},a=()=>{document.querySelectorAll('[data-delayed="true"]').forEach(e=>{const t={elem:e,event:e.getAttribute("id"),distance:e.dataset.distanceVisible};w(t)})},E=()=>{document.readyState!=="loading"?a():window.addEventListener("DOMContentLoaded",()=>{a()})},v=(e,t,n=()=>{})=>{performance.mark(`20mn:${e}:Start`);const o=document.getElementsByTagName("script")[0],i=document.createElement("script");i.async=!0,i.src=t,i.onload=()=>{n(),performance.mark(`20mn:${e}:End`)},o&&o.parentNode&&o.parentNode.insertBefore(i,o)},s=()=>{var e;!document.querySelector(".gcse-search")||!((e=window.envVariables)!=null&&e.googleSearchCode)||v("googlesearch",`https://cse.google.com/cse.js?cx=${window.envVariables.googleSearchCode}`)},k=()=>{document.readyState!=="loading"?s():window.addEventListener("DOMContentLoaded",()=>{s()})},y=()=>{if(l("20min_fp")){const e=m("20min_fp");fetch(`https://securepubads.g.doubleclick.net/user_data_deletion?ppid=${e}&iu=49926454`,{referrerPolicy:"strict-origin-when-cross-origin"}).then(t=>{t.ok&&alert("La demande de suppression a bien \xE9t\xE9 prise en compte")}),u({name:"20min_fp"})}},b=()=>{const e=document.getElementById("delete-fingerprint");e&&e.addEventListener("click",y)};(()=>{b(),E(),k()})()})();
|
|
@@ -17,7 +17,7 @@ export declare const enum ComponentNameRubric {
|
|
|
17
17
|
export declare const enum ComponentNameArticle {
|
|
18
18
|
ARTICLE_BREADCRUMB = "article/breadcrumb",
|
|
19
19
|
ARTICLE_HEADER = "article/article-header",
|
|
20
|
-
|
|
20
|
+
ARTICLE_COVER = "article/article-cover",
|
|
21
21
|
ARTICLE_SOCIAL_BAR = "article/social-bar",
|
|
22
22
|
ARTICLE_SUMMARY = "article/article-summary",
|
|
23
23
|
ARTICLE_CONTENT = "article/article-content",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@20minutes/tyr",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.51",
|
|
4
4
|
"repository": "git@github.com:20minutes/tyr.git",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "20 Minutes",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"node": ">=16"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@20minutes/hela": "^0.1.
|
|
44
|
+
"@20minutes/hela": "^0.1.42",
|
|
45
45
|
"aws-rum-web": "^1.12.0",
|
|
46
46
|
"react": "^18.2.0",
|
|
47
47
|
"react-dom": "^18.2.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@20minutes/eslint-config": "^1.2.4",
|
|
51
|
-
"@babel/core": "^7.20.
|
|
51
|
+
"@babel/core": "^7.20.12",
|
|
52
52
|
"@storybook/addon-actions": "^6.5.14",
|
|
53
53
|
"@storybook/addon-essentials": "^6.5.15",
|
|
54
54
|
"@storybook/addon-interactions": "^6.5.15",
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
"@types/jest": "^29.2.5",
|
|
61
61
|
"@types/react": "^18.0.26",
|
|
62
62
|
"@types/react-dom": "^18.0.10",
|
|
63
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
64
|
-
"@typescript-eslint/parser": "^5.
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
64
|
+
"@typescript-eslint/parser": "^5.48.0",
|
|
65
65
|
"@vitejs/plugin-react": "^3.0.0",
|
|
66
|
-
"babel-loader": "^9.1.
|
|
66
|
+
"babel-loader": "^9.1.2",
|
|
67
67
|
"eslint": "^8.31.0",
|
|
68
68
|
"eslint-config-airbnb": "^19.0.4",
|
|
69
|
-
"eslint-config-prettier": "^8.
|
|
69
|
+
"eslint-config-prettier": "^8.6.0",
|
|
70
70
|
"eslint-import-resolver-typescript": "^3.5.2",
|
|
71
71
|
"eslint-plugin-babel": "^5.3.1",
|
|
72
72
|
"eslint-plugin-import": "^2.25.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"eslint-plugin-prettier": "^4.2.1",
|
|
75
75
|
"eslint-plugin-react": "^7.31.11",
|
|
76
76
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
77
|
-
"husky": "^8.0.
|
|
77
|
+
"husky": "^8.0.3",
|
|
78
78
|
"jest": "^29.3.1",
|
|
79
79
|
"lint-staged": "^13.1.0",
|
|
80
80
|
"prettier": "^2.8.1",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"ts-jest": "^29.0.3",
|
|
86
86
|
"ts-node": "^10.9.1",
|
|
87
87
|
"typescript": "^4.9.4",
|
|
88
|
-
"vite": "^4.0.
|
|
88
|
+
"vite": "^4.0.4",
|
|
89
89
|
"vite-plugin-dts": "^1.7.1",
|
|
90
90
|
"vite-tsconfig-paths": "^4.0.2"
|
|
91
91
|
}
|