modern-canvas 0.4.36 → 0.4.37
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.cjs +0 -4
- package/dist/index.js +11 -11
- package/dist/index.mjs +0 -4
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -5655,10 +5655,6 @@ class GradientTexture extends Texture2D {
|
|
|
5655
5655
|
return this.regExp.test(value);
|
|
5656
5656
|
}
|
|
5657
5657
|
constructor(value, width, height) {
|
|
5658
|
-
if (width === Infinity)
|
|
5659
|
-
width = 0;
|
|
5660
|
-
if (height === Infinity)
|
|
5661
|
-
height = 0;
|
|
5662
5658
|
super(
|
|
5663
5659
|
LinearGradient.from(value).parse(width, height)
|
|
5664
5660
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "modern-canvas",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.37",
|
|
5
5
|
"packageManager": "pnpm@9.15.1",
|
|
6
6
|
"description": "A JavaScript WebGL rendering engine.",
|
|
7
7
|
"author": "wxm",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"earcut": "^3.0.1",
|
|
72
72
|
"modern-font": "^0.4.1",
|
|
73
73
|
"modern-idoc": "^0.5.4",
|
|
74
|
-
"modern-path2d": "^1.
|
|
74
|
+
"modern-path2d": "^1.3.0",
|
|
75
75
|
"modern-text": "^1.3.10",
|
|
76
76
|
"yoga-layout": "^3.2.1"
|
|
77
77
|
},
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"bumpp": "^10.1.0",
|
|
83
83
|
"conventional-changelog-cli": "^5.0.0",
|
|
84
84
|
"eslint": "^9.26.0",
|
|
85
|
-
"lint-staged": "^
|
|
85
|
+
"lint-staged": "^16.0.0",
|
|
86
86
|
"lottie-web": "^5.12.2",
|
|
87
87
|
"modern-gif": "^2.0.4",
|
|
88
88
|
"simple-git-hooks": "^2.13.0",
|