nuxt-og-image 3.0.0-rc.42 → 3.0.0-rc.43

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.
@@ -4,7 +4,7 @@ import type { ResvgRenderOptions } from '@resvg/resvg-js';
4
4
  import type { SatoriOptions } from 'satori';
5
5
  import type { AllowedComponentProps, Component, ComponentCustomProps, VNodeProps } from '@vue/runtime-core';
6
6
  import type { SharpOptions } from 'sharp';
7
- import type { NitroApp, WasmOptions } from 'nitropack';
7
+ import type { NitroApp, NitroOptions } from 'nitropack';
8
8
  import type { OgImageComponents } from '#nuxt-og-image/components';
9
9
  export interface OgImageRenderEventContext {
10
10
  e: H3Event;
@@ -131,7 +131,7 @@ export interface RuntimeCompatibilitySchema {
131
131
  resvg: 'node' | 'wasm' | 'wasm-fs' | false;
132
132
  satori: 'node' | 'wasm' | 'wasm-fs' | false;
133
133
  sharp: 'node' | false;
134
- wasm?: WasmOptions;
134
+ wasm?: NitroOptions['wasm'];
135
135
  }
136
136
  export type CompatibilityFlags = Partial<Omit<RuntimeCompatibilitySchema, 'wasm'>>;
137
137
  export interface CompatibilityFlagEnvOverrides {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-og-image",
3
3
  "type": "module",
4
- "version": "3.0.0-rc.42",
4
+ "version": "3.0.0-rc.43",
5
5
  "packageManager": "pnpm@8.15.4",
6
6
  "description": "Enlightened OG Image generation for Nuxt.",
7
7
  "author": {
@@ -33,9 +33,8 @@
33
33
  "virtual.d.ts"
34
34
  ],
35
35
  "dependencies": {
36
- "@css-inline/css-inline": "0.13.0",
37
- "@css-inline/css-inline-wasm": "0.13.0",
38
- "@iconify-json/noto": "^1.1.18",
36
+ "@css-inline/css-inline": "0.13.1",
37
+ "@css-inline/css-inline-wasm": "0.13.1",
39
38
  "@nuxt/devtools-kit": "^1.0.8",
40
39
  "@nuxt/kit": "^3.10.3",
41
40
  "@resvg/resvg-js": "^2.6.0",
@@ -50,16 +49,16 @@
50
49
  "floating-vue": "5.2.2",
51
50
  "image-size": "^1.1.1",
52
51
  "json-editor-vue": "^0.12.0",
53
- "nuxt-icon": "^0.6.8",
54
- "nuxt-site-config": "^2.2.10",
55
- "nuxt-site-config-kit": "^2.2.10",
52
+ "nuxt-icon": "^0.6.9",
53
+ "nuxt-site-config": "^2.2.11",
54
+ "nuxt-site-config-kit": "^2.2.11",
56
55
  "nypm": "^0.3.8",
57
56
  "ofetch": "^1.3.3",
58
57
  "ohash": "^1.1.3",
59
58
  "pathe": "^1.1.2",
60
59
  "pkg-types": "^1.0.3",
61
60
  "playwright-core": "^1.42.1",
62
- "radix3": "^1.1.0",
61
+ "radix3": "^1.1.1",
63
62
  "satori": "0.10.13",
64
63
  "satori-html": "^0.3.2",
65
64
  "shiki": "^1.1.7",
@@ -72,19 +71,20 @@
72
71
  "yoga-wasm-web": "^0.3.3"
73
72
  },
74
73
  "devDependencies": {
75
- "@antfu/eslint-config": "2.7.0",
74
+ "@antfu/eslint-config": "2.8.1",
76
75
  "@headlessui/vue": "^1.7.19",
77
76
  "@iconify-json/carbon": "^1.1.31",
78
77
  "@iconify-json/logos": "^1.1.42",
78
+ "@iconify-json/noto": "^1.1.18",
79
79
  "@iconify-json/ri": "^1.1.20",
80
- "@iconify-json/tabler": "^1.1.106",
80
+ "@iconify-json/tabler": "^1.1.107",
81
81
  "@img/sharp-linux-x64": "0.33.2",
82
- "@nuxt/content": "^2.12.0",
82
+ "@nuxt/content": "^2.12.1",
83
83
  "@nuxt/devtools": "1.0.8",
84
84
  "@nuxt/devtools-ui-kit": "^1.0.8",
85
85
  "@nuxt/module-builder": "^0.5.5",
86
86
  "@nuxt/test-utils": "3.11.0",
87
- "@nuxt/ui": "^2.14.1",
87
+ "@nuxt/ui": "^2.14.2",
88
88
  "@nuxtjs/color-mode": "^3.3.2",
89
89
  "@nuxtjs/eslint-config-typescript": "^12.1.0",
90
90
  "@nuxtjs/i18n": "8.1.1",
@@ -94,15 +94,15 @@
94
94
  "@unocss/preset-uno": "^0.58.5",
95
95
  "@unocss/runtime": "^0.58.5",
96
96
  "@vueuse/nuxt": "^10.9.0",
97
- "bumpp": "^9.3.1",
97
+ "bumpp": "^9.4.0",
98
98
  "eslint": "8.57.0",
99
99
  "jest-image-snapshot": "^6.4.0",
100
100
  "nuxt": "^3.10.3",
101
- "nuxt-icon": "0.6.8",
101
+ "nuxt-icon": "0.6.9",
102
102
  "playwright": "^1.42.1",
103
103
  "sass": "^1.71.1",
104
104
  "sharp": "^0.33.2",
105
- "typescript": "^5.3.3",
105
+ "typescript": "^5.4.2",
106
106
  "unocss": "^0.58.5",
107
107
  "vitest": "^1.3.1"
108
108
  },
@@ -1 +0,0 @@
1
- span[data-v-535f10ad]{background-color:currentColor;display:inline-block;-webkit-mask-image:var(--35de456f);mask-image:var(--35de456f);-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
- import{g as f,h as m,i as I,j as r,r as d,o as x,c as v,n as _,_ as S}from"./entry.oPKsLfvz.js";const g=f({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(u){m(e=>({"35de456f":p.value}));const t=I(),s=u,l=r(()=>{var e,n;return(n=(e=t.nuxtIcon)==null?void 0:e.aliases)!=null&&n[s.name]?t.nuxtIcon.aliases[s.name]:s.name}),c=r(()=>d(l.value)),p=r(()=>{var o,a;const e=(a=(o=t.nuxtIcon)==null?void 0:o.iconifyApiOptions)==null?void 0:a.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"}/${c.value.prefix}/${c.value.name}.svg')`}),i=r(()=>{var n,o,a;if(!s.size&&typeof((n=t.nuxtIcon)==null?void 0:n.size)=="boolean"&&!((o=t.nuxtIcon)!=null&&o.size))return;const e=s.size||((a=t.nuxtIcon)==null?void 0:a.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-535f10ad"]]);export{h as default};
@@ -1 +0,0 @@
1
- {"id":"83cf3782-c523-46d6-b55d-e73a8e91b45d","timestamp":1709559841276,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}