nuxt-og-image 2.0.0-beta.0 → 2.0.0-beta.1

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": "2.0.0-beta.0"
8
+ "version": "2.0.0-beta.1"
9
9
  }
package/dist/module.mjs CHANGED
@@ -504,7 +504,7 @@ export async function useProvider(provider) {
504
504
  }
505
505
  const generateTimeMS = Date.now() - start;
506
506
  nitro.logger.log(chalk[hasError ? "red" : "gray"](
507
- ` ${Number(k) === screenshotQueue.length - 1 ? "\u2514\u2500" : "\u251C\u2500"} ${relative(nitro.options.output.publicDir, filename)} (${generateTimeMS}ms) ${Math.round((Number(k) + 1) / screenshotQueue.length * 100)}%`
507
+ ` ${Number(k) === screenshotQueue.length - 1 ? "\u2514\u2500" : "\u251C\u2500"} /${relative(nitro.options.output.publicDir, filename)} (${generateTimeMS}ms) ${Math.round((Number(k) + 1) / screenshotQueue.length * 100)}%`
508
508
  ));
509
509
  }
510
510
  } else {
@@ -9,6 +9,7 @@ import emojis from "./plugins/emojis.mjs";
9
9
  import encoding from "./plugins/encoding.mjs";
10
10
  import loadSvg2png from "#nuxt-og-image/svg2png";
11
11
  import loadSatori from "#nuxt-og-image/satori";
12
+ import { useRuntimeConfig } from "#internal/nitro";
12
13
  const satoriFonts = [];
13
14
  let fontLoadPromise = null;
14
15
  function loadFonts(fonts) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-og-image",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.0",
4
+ "version": "2.0.0-beta.1",
5
5
  "packageManager": "pnpm@7.8.0",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",