@shotstack/shotstack-studio 2.1.4 → 2.1.5

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.
@@ -10,7 +10,7 @@ import "pixi.js/text-html";
10
10
  import "pixi.js/sprite-tiling";
11
11
  import "pixi.js/filters";
12
12
  import "pixi.js/mesh";
13
- const WC = "2.1.4", HC = {
13
+ const WC = "2.1.5", HC = {
14
14
  version: WC
15
15
  };
16
16
  class GC {
@@ -47743,14 +47743,8 @@ var Oo = class kt {
47743
47743
  async registerWithCanvas(e, i) {
47744
47744
  if (!this.registeredCanvasFonts.has(e) && !(typeof window < "u"))
47745
47745
  try {
47746
- const s = (await import(
47747
- /* @vite-ignore */
47748
- "canvas"
47749
- )).GlobalFonts;
47750
- if (s && typeof s.register == "function") {
47751
- const r = Buffer.from(i);
47752
- s.register(r, e), this.registeredCanvasFonts.add(e);
47753
- }
47746
+ const s = { GlobalFonts: void 0 }.GlobalFonts;
47747
+ s && s.register;
47754
47748
  } catch {
47755
47749
  }
47756
47750
  }