You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@leafer-ui/bounds

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer-ui/bounds - npm Package Compare versions

Comparing version
2.0.2
to
2.0.3
+3
-3
package.json
{
"name": "@leafer-ui/bounds",
"version": "2.0.2",
"version": "2.0.3",
"description": "@leafer-ui/bounds",

@@ -25,7 +25,7 @@ "author": "Chao (Leafer) Wan",

"dependencies": {
"@leafer/core": "2.0.2"
"@leafer/core": "2.0.3"
},
"devDependencies": {
"@leafer-ui/interface": "2.0.2"
"@leafer-ui/interface": "2.0.3"
}
}

@@ -19,3 +19,3 @@ import { IFourNumber } from '@leafer/interface'

if (!data.__boxStroke) {
if (!data.__boxStroke || data.__useArrow) {
const miterLimitAddWidth = data.__isLinePath ? 0 : 10 * spread // = Math.sin((miterLimit = 10) * OneRadian / 2) * Math.sqrt(strokeWidth) - width 后期需继续精确优化

@@ -22,0 +22,0 @@ const storkeCapAddWidth = data.strokeCap === 'none' ? 0 : strokeWidth