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

@leafer-ui/display

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/display - npm Package Compare versions

Comparing version
1.9.0
to
1.9.1
+8
-8
package.json
{
"name": "@leafer-ui/display",
"version": "1.9.0",
"version": "1.9.1",
"description": "@leafer-ui/display",

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

"dependencies": {
"@leafer/core": "1.9.0",
"@leafer-ui/data": "1.9.0",
"@leafer-ui/display-module": "1.9.0",
"@leafer-ui/decorator": "1.9.0",
"@leafer-ui/external": "1.9.0"
"@leafer/core": "1.9.1",
"@leafer-ui/data": "1.9.1",
"@leafer-ui/display-module": "1.9.1",
"@leafer-ui/decorator": "1.9.1",
"@leafer-ui/external": "1.9.1"
},
"devDependencies": {
"@leafer/interface": "1.9.0",
"@leafer-ui/interface": "1.9.0"
"@leafer/interface": "1.9.1",
"@leafer-ui/interface": "1.9.1"
}
}

@@ -118,3 +118,3 @@ import { ILeaferCanvas, IBoolean, INumber, IString, IBoundsData, IUnitData, IRenderOptions } from '@leafer/interface'

data.__baseLine = data.__lineHeight - (data.__lineHeight - fontSize * 0.7) / 2 // 基线位置
data.__font = `${italic ? 'italic ' : ''}${textCase === 'small-caps' ? 'small-caps ' : ''}${fontWeight !== 'normal' ? fontWeight + ' ' : ''}${fontSize}px ${fontFamily}`
data.__font = `${italic ? 'italic ' : ''}${textCase === 'small-caps' ? 'small-caps ' : ''}${fontWeight !== 'normal' ? fontWeight + ' ' : ''}${fontSize || 12}px ${fontFamily || 'caption'}`
data.__clipText = textOverflow !== 'show' && !data.__autoSize

@@ -121,0 +121,0 @@