nuxt-og-image 0.5.2 → 0.5.3

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/module.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "bridge": false
6
6
  },
7
7
  "configKey": "ogImage",
8
- "version": "0.5.2"
8
+ "version": "0.5.3"
9
9
  }
package/dist/module.mjs CHANGED
@@ -147,8 +147,9 @@ declare module 'nitropack' {
147
147
  nitroConfig.virtual["#nuxt-og-image/constants"] = constScript;
148
148
  nitroConfig.virtual["#nuxt-og-image/browser"] = `export { createBrowser } from '${runtimeDir}/browsers/${isEdge ? "lambda" : "default"}'`;
149
149
  if (isEdge) {
150
- nitroConfig.alias.puppeteer = "unenv/runtime/mock/proxy-cjs";
151
- nitroConfig.alias.ws = "unenv/runtime/mock/proxy-cjs";
150
+ ["puppeteer", "bufferutil", "utf-8-validate"].forEach((name) => {
151
+ nitroConfig.alias[name] = "unenv/runtime/mock/proxy";
152
+ });
152
153
  }
153
154
  });
154
155
  nuxt.hooks.hook("nitro:init", async (nitro) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-og-image",
3
3
  "type": "module",
4
- "version": "0.5.2",
4
+ "version": "0.5.3",
5
5
  "packageManager": "pnpm@7.8.0",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",