@shotstack/shotstack-canvas 2.0.16 → 2.1.0
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/entry.web.js +1 -4
- package/package.json +1 -1
package/dist/entry.web.js
CHANGED
|
@@ -32091,10 +32091,7 @@ var _FontRegistry = class _FontRegistry {
|
|
|
32091
32091
|
return;
|
|
32092
32092
|
}
|
|
32093
32093
|
try {
|
|
32094
|
-
const canvasMod =
|
|
32095
|
-
/* @vite-ignore */
|
|
32096
|
-
"canvas"
|
|
32097
|
-
);
|
|
32094
|
+
const canvasMod = { GlobalFonts: void 0 };
|
|
32098
32095
|
const GlobalFonts = canvasMod.GlobalFonts;
|
|
32099
32096
|
if (GlobalFonts && typeof GlobalFonts.register === "function") {
|
|
32100
32097
|
const buffer = Buffer.from(bytes);
|
package/package.json
CHANGED