@visactor/vgrammar-util
Advanced tools
Comparing version 0.14.0 to 0.14.1
@@ -15,3 +15,5 @@ "use strict"; | ||
height: 1 | ||
}).getContext("2d"); | ||
}).getContext("2d", { | ||
willReadFrequently: !0 | ||
}); | ||
bctx.fillStyle = backgroundColor, bctx.fillRect(0, 0, 1, 1); | ||
@@ -32,3 +34,5 @@ const bgPixel = bctx.getImageData(0, 0, 1, 1).data; | ||
dpr: 1 | ||
}), tempContext = maskCanvas.getContext("2d"); | ||
}), tempContext = maskCanvas.getContext("2d", { | ||
willReadFrequently: !0 | ||
}); | ||
if (cacheCanvas) { | ||
@@ -35,0 +39,0 @@ const prevWidth = cacheCanvas.width, prevHeight = cacheCanvas.height; |
@@ -15,3 +15,5 @@ import { vglobal } from "@visactor/vrender-core"; | ||
height: 1 | ||
}).getContext("2d"); | ||
}).getContext("2d", { | ||
willReadFrequently: !0 | ||
}); | ||
bctx.fillStyle = backgroundColor, bctx.fillRect(0, 0, 1, 1); | ||
@@ -30,3 +32,5 @@ const bgPixel = bctx.getImageData(0, 0, 1, 1).data; | ||
dpr: 1 | ||
}), tempContext = maskCanvas.getContext("2d"); | ||
}), tempContext = maskCanvas.getContext("2d", { | ||
willReadFrequently: !0 | ||
}); | ||
if (cacheCanvas) { | ||
@@ -33,0 +37,0 @@ const prevWidth = cacheCanvas.width, prevHeight = cacheCanvas.height; |
{ | ||
"name": "@visactor/vgrammar-util", | ||
"version": "0.14.0", | ||
"version": "0.14.1", | ||
"description": "The common utils functions of VGrammar", | ||
@@ -27,4 +27,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@visactor/vutils": "~0.18.14", | ||
"@visactor/vrender-core": "0.20.0" | ||
"@visactor/vutils": "~0.18.15", | ||
"@visactor/vrender-core": "0.20.1" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
164360
1205
+ Added@visactor/vrender-core@0.20.1(transitive)
- Removed@visactor/vrender-core@0.20.0(transitive)
Updated@visactor/vutils@~0.18.15