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

@leafer-ui/export

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer-ui/export - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+4
-4
package.json
{
"name": "@leafer-ui/export",
"version": "1.0.0",
"version": "1.0.1",
"description": "@leafer-ui/export",

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

"dependencies": {
"@leafer/core": "1.0.0"
"@leafer/core": "1.0.1"
},
"devDependencies": {
"@leafer/interface": "1.0.0",
"@leafer-ui/interface": "1.0.0"
"@leafer/interface": "1.0.1",
"@leafer-ui/interface": "1.0.1"
}
}

@@ -107,3 +107,7 @@ import { IExportFileType, IFunction, IRenderOptions, IBoundsData, IBounds, ILocationType, ILeaf } from '@leafer/interface'

let sliceLeaf: IUI
if (slice) {
sliceLeaf = leaf
sliceLeaf.__worldOpacity = 0 // hide slice
leaf = leafer // render all in bounds

@@ -128,2 +132,4 @@ renderOptions.bounds = canvas.bounds

if (sliceLeaf) sliceLeaf.__updateWorldOpacity() // show slice
if (trim) {

@@ -130,0 +136,0 @@ trimBounds = getTrimBounds(canvas)