nuxt-og-image 3.0.0-rc.49 → 3.0.0-rc.50
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/README.md +1 -6
- package/dist/client/200.html +4 -4
- package/dist/client/404.html +4 -4
- package/dist/client/_nuxt/{ebvWIJct.js → 1PhbusK7.js} +1 -1
- package/dist/client/_nuxt/{B1evB4c7.js → B1oDq3oi.js} +40 -40
- package/dist/client/_nuxt/{DNij9pI-.js → DE2vi0a_.js} +1 -1
- package/dist/client/_nuxt/{DFjJH_O7.js → GYW2pyXg.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/00641375-8e8c-44ba-9041-bba25cf56aef.json +1 -0
- package/dist/client/index.html +4 -4
- package/dist/module.json +1 -1
- package/dist/runtime/nitro/og-image/cache.mjs +2 -2
- package/package.json +1 -1
- package/dist/client/_nuxt/builds/meta/f6fdbbc9-f6de-42de-bf6e-896e851c221e.json +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as i,u as a,o as r,c as n,a as e,t as s,p as l,f as d}from"./
|
|
1
|
+
import{_ as i,u as a,o as r,c as n,a as e,t as s,p as l,f as d}from"./B1oDq3oi.js";const c=t=>(l("data-v-c967d9a9"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),f={class:"max-w-520px text-center"},g=["textContent"],m=["textContent"],x={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(b,u)=>(r(),n("div",p,[h,e("div",f,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,g),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,m)])]))}},_=i(x,[["__scopeId","data-v-c967d9a9"]]);export{_ as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as m,h as f,i as d,j as a,r as I,o as x,c as v,n as _,_ as S}from"./
|
|
1
|
+
import{g as m,h as f,i as d,j as a,r as I,o as x,c as v,n as _,_ as S}from"./B1oDq3oi.js";const g=m({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){f(e=>({"1d1d32c4":p.value}));const t=d(),s=u,l=a(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[s.name]?t.nuxtIcon.aliases[s.name]:s.name}),r=a(()=>I(l.value)),p=a(()=>{var o,c;const e=(c=(o=t.nuxtIcon)==null?void 0:o.iconifyApiOptions)==null?void 0:c.url;if(e)try{new URL(e)}catch{console.warn("Nuxt IconCSS: Invalid custom Iconify API URL");return}return`url('${e||"https://api.iconify.design"}/${r.value.prefix}/${r.value.name}.svg')`}),i=a(()=>{var n,o,c;if(!s.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((o=t.nuxtIcon)!=null&&o.size))return;const e=s.size||((c=t.nuxtIcon)==null?void 0:c.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,n)=>(x(),v("span",{style:_({width:i.value,height:i.value})},null,4))}}),h=S(g,[["__scopeId","data-v-ca2bcd0c"]]);export{h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"00641375-8e8c-44ba-9041-bba25cf56aef","timestamp":1712196714804}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"00641375-8e8c-44ba-9041-bba25cf56aef","timestamp":1712196714804,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
package/dist/client/index.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__nuxt-og-image/_nuxt/entry.DSfe2lIv.css">
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-og-image/_nuxt/B1oDq3oi.js">
|
|
5
5
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/DXFkqnOI.js">
|
|
6
6
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/D6NljDpC.js">
|
|
7
7
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/CowR2XfX.js">
|
|
@@ -231,9 +231,9 @@
|
|
|
231
231
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/A1WiD9SJ.js">
|
|
232
232
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/DFF-wSSt.js">
|
|
233
233
|
<link rel="prefetch" as="style" href="/__nuxt-og-image/_nuxt/error-404.ORekjfyJ.css">
|
|
234
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/
|
|
234
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/1PhbusK7.js">
|
|
235
235
|
<link rel="prefetch" as="style" href="/__nuxt-og-image/_nuxt/error-500.BIuFL0tW.css">
|
|
236
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/
|
|
237
|
-
<script type="module" src="/__nuxt-og-image/_nuxt/
|
|
236
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-og-image/_nuxt/DE2vi0a_.js">
|
|
237
|
+
<script type="module" src="/__nuxt-og-image/_nuxt/B1oDq3oi.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
238
238
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
239
239
|
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-og-image",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.json
CHANGED
|
@@ -2,8 +2,8 @@ import { createStorage } from "unstorage";
|
|
|
2
2
|
import lruCacheDriver from "unstorage/drivers/lru-cache";
|
|
3
3
|
export const htmlPayloadCache = createStorage({
|
|
4
4
|
// short cache time so we don't need many entries at runtime
|
|
5
|
-
driver: lruCacheDriver({ max: import.meta.prerender ?
|
|
5
|
+
driver: lruCacheDriver({ max: import.meta.prerender ? 1e4 : 50 })
|
|
6
6
|
});
|
|
7
7
|
export const prerenderOptionsCache = import.meta.prerender ? createStorage({
|
|
8
|
-
driver: lruCacheDriver({ max:
|
|
8
|
+
driver: lruCacheDriver({ max: 1e4 })
|
|
9
9
|
}) : void 0;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"f6fdbbc9-f6de-42de-bf6e-896e851c221e","timestamp":1712066095171,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|