@vercel/og 0.5.8 → 0.5.9

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.
@@ -18676,6 +18676,7 @@ var Resvg2 = class extends Resvg {
18676
18676
  import { Readable } from "stream";
18677
18677
  import fs from "fs";
18678
18678
  import { fileURLToPath } from "url";
18679
+ import { join } from "path";
18679
18680
 
18680
18681
  // src/emoji/index.ts
18681
18682
  var U200D = String.fromCharCode(8205);
@@ -18809,9 +18810,9 @@ async function render(satori2, resvg, opts, defaultFonts, element) {
18809
18810
 
18810
18811
  // src/index.node.ts
18811
18812
  var satori = Cl.default || Cl;
18812
- var fontData = fs.readFileSync(fileURLToPath(`${import.meta.url}/../noto-sans-v27-latin-regular.ttf`));
18813
- var yoga_wasm = fs.readFileSync(fileURLToPath(`${import.meta.url}/../yoga.wasm`));
18814
- var resvg_wasm = fs.readFileSync(fileURLToPath(`${import.meta.url}/../resvg.wasm`));
18813
+ var fontData = fs.readFileSync(fileURLToPath(join(import.meta.url, "../noto-sans-v27-latin-regular.ttf")));
18814
+ var yoga_wasm = fs.readFileSync(fileURLToPath(join(import.meta.url, "../yoga.wasm")));
18815
+ var resvg_wasm = fs.readFileSync(fileURLToPath(join(import.meta.url, "../resvg.wasm")));
18815
18816
  var initializedResvg = initWasm(resvg_wasm);
18816
18817
  var initializedYoga = initYoga(yoga_wasm).then((yoga2) => Ll(yoga2));
18817
18818
  var ImageResponse = class {