nuxt-og-image 2.2.2 → 2.2.4
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/client/200.html +5 -5
- package/dist/client/404.html +5 -5
- package/dist/client/_nuxt/IconCSS.4a9d43d0.css +1 -0
- package/dist/client/_nuxt/IconCSS.9c30257a.js +1 -0
- package/dist/client/_nuxt/{ImageLoader.00a03ea3.js → ImageLoader.752b0c7a.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/bb64bb30-cf6f-4625-97ba-06e6a0d3f8d1.json +1 -0
- package/dist/client/_nuxt/{entry.1cf2564c.css → entry.39e39f51.css} +1 -1
- package/dist/client/_nuxt/{entry.d03a462f.js → entry.ac864471.js} +57 -57
- package/dist/client/_nuxt/{error-404.ad1f3aae.js → error-404.407d76a3.js} +1 -1
- package/dist/client/_nuxt/{error-500.745ad9c5.js → error-500.531c4147.js} +1 -1
- package/dist/client/_nuxt/{index.9c8984b5.js → index.dc1538d5.js} +1 -1
- package/dist/client/_nuxt/{options.db552670.js → options.a77f5921.js} +1 -1
- package/dist/client/_nuxt/{png.98e13123.js → png.41e0b446.js} +1 -1
- package/dist/client/_nuxt/{shiki.806984be.js → shiki.d4e62362.js} +1 -1
- package/dist/client/_nuxt/{svg.a002e3e4.js → svg.b8198280.js} +1 -1
- package/dist/client/_nuxt/{vnodes.4f3ec43d.js → vnodes.67720126.js} +1 -1
- package/dist/client/index.html +5 -5
- package/dist/client/options/index.html +5 -5
- package/dist/client/png/index.html +5 -5
- package/dist/client/svg/index.html +5 -5
- package/dist/client/vnodes/index.html +5 -5
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/composables/defineOgImage.mjs +10 -2
- package/dist/runtime/nitro/plugins/prerender.mjs +5 -1
- package/package.json +11 -11
- package/dist/client/_nuxt/IconCSS.d1d053b9.js +0 -1
- package/dist/client/_nuxt/IconCSS.e3ab0ef2.css +0 -1
- package/dist/client/_nuxt/builds/meta/951f430d-b168-4ba1-8f9a-77e148e2fb60.json +0 -1
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-og-image",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.2.
|
|
5
|
-
"packageManager": "pnpm@8.
|
|
4
|
+
"version": "2.2.4",
|
|
5
|
+
"packageManager": "pnpm@8.10.2",
|
|
6
6
|
"description": "Enlightened OG Image generation for Nuxt.",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"funding": "https://github.com/sponsors/harlan-zw",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@nuxt/kit": "^3.8.
|
|
30
|
+
"@nuxt/kit": "^3.8.1",
|
|
31
31
|
"@resvg/resvg-js": "^2.6.0",
|
|
32
32
|
"@resvg/resvg-wasm": "^2.6.0",
|
|
33
|
-
"@twemoji/api": "^14.
|
|
33
|
+
"@twemoji/api": "^14.1.2",
|
|
34
34
|
"@types/fs-extra": "^11.0.3",
|
|
35
35
|
"birpc": "0.2.14",
|
|
36
36
|
"chalk": "^5.3.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"css-inline": "^0.11.0",
|
|
39
39
|
"defu": "^6.1.3",
|
|
40
40
|
"execa": "^8.0.1",
|
|
41
|
-
"fast-glob": "^3.3.
|
|
41
|
+
"fast-glob": "^3.3.2",
|
|
42
42
|
"flatted": "^3.2.9",
|
|
43
43
|
"fs-extra": "^11.1.1",
|
|
44
44
|
"globby": "^13.2.2",
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"yoga-wasm-web": "^0.3.3"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@antfu/eslint-config": "1.
|
|
68
|
+
"@antfu/eslint-config": "1.1.0",
|
|
69
69
|
"@nuxt/devtools": "1.0.0",
|
|
70
|
-
"@nuxt/module-builder": "^0.5.
|
|
71
|
-
"@nuxt/test-utils": "3.8.
|
|
70
|
+
"@nuxt/module-builder": "^0.5.3",
|
|
71
|
+
"@nuxt/test-utils": "3.8.1",
|
|
72
72
|
"@nuxtjs/eslint-config-typescript": "^12.1.0",
|
|
73
73
|
"@types/ws": "^8.5.8",
|
|
74
74
|
"bumpp": "^9.2.0",
|
|
75
|
-
"eslint": "8.
|
|
75
|
+
"eslint": "8.53.0",
|
|
76
76
|
"jest-image-snapshot": "^6.2.0",
|
|
77
|
-
"nuxt": "^3.8.
|
|
78
|
-
"nuxt-icon": "0.6.
|
|
77
|
+
"nuxt": "^3.8.1",
|
|
78
|
+
"nuxt-icon": "0.6.2",
|
|
79
79
|
"playwright": "^1.39.0",
|
|
80
80
|
"sass": "^1.69.5",
|
|
81
81
|
"vitest": "^0.34.6"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as p,H as _,I as f,n as a,o as m,c as I,s as d,_ as x}from"./entry.d03a462f.js";const S=p({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(i){_(e=>({ea3d3e0e:l.value}));const n=f(),t=i,u=a(()=>n.nuxtIcon.aliases&&n.nuxtIcon.aliases[t.name]?n.nuxtIcon.aliases[t.name].replace(/^i-/,""):t.name.replace(/^i-/,"")),l=a(()=>{var s,o;const e=(o=(s=n.nuxtIcon)==null?void 0:s.iconifyApiOptions)==null?void 0:o.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"}/${u.value.replace(":","/")}.svg')`}),r=a(()=>{var c,s,o;if(!t.size&&typeof((c=n.nuxtIcon)==null?void 0:c.size)=="boolean"&&!((s=n.nuxtIcon)!=null&&s.size))return;const e=t.size||((o=n.nuxtIcon)==null?void 0:o.size)||"1em";return String(Number(e))===e?`${e}px`:e});return(e,c)=>(m(),I("span",{style:d({width:r.value,height:r.value})},null,4))}});const v=x(S,[["__scopeId","data-v-e075cefb"]]);export{v as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
span[data-v-e075cefb]{background-color:currentColor;display:inline-block;-webkit-mask-image:var(--ea3d3e0e);mask-image:var(--ea3d3e0e);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;vertical-align:middle}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"951f430d-b168-4ba1-8f9a-77e148e2fb60","timestamp":1698655681154,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|