modern-canvas 0.1.9 → 0.1.10

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/index.mjs CHANGED
@@ -3588,7 +3588,8 @@ class FontLoader extends Loader {
3588
3588
  };
3589
3589
  [
3590
3590
  "woff",
3591
- "ttf"
3591
+ "ttf",
3592
+ "otf"
3592
3593
  ].forEach((mimeType) => {
3593
3594
  assets.register(mimeType, handler);
3594
3595
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-canvas",
3
3
  "type": "module",
4
- "version": "0.1.9",
4
+ "version": "0.1.10",
5
5
  "packageManager": "pnpm@9.15.1",
6
6
  "description": "A JavaScript WebGL rendering engine.",
7
7
  "author": "wxm",
@@ -69,10 +69,10 @@
69
69
  "dependencies": {
70
70
  "colord": "^2.9.3",
71
71
  "earcut": "^3.0.1",
72
- "modern-font": "^0.3.5",
72
+ "modern-font": "^0.4.0",
73
73
  "modern-idoc": "^0.1.5",
74
74
  "modern-path2d": "^1.2.6",
75
- "modern-text": "^1.2.1"
75
+ "modern-text": "^1.2.2"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@antfu/eslint-config": "^3.12.2",
@@ -85,7 +85,7 @@
85
85
  "lottie-web": "^5.12.2",
86
86
  "modern-gif": "^2.0.4",
87
87
  "simple-git-hooks": "^2.11.1",
88
- "typescript": "^5.7.2",
88
+ "typescript": "^5.7.3",
89
89
  "unbuild": "^3.2.0",
90
90
  "vite": "^6.0.7",
91
91
  "vitest": "^2.1.8"