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

@leafer/data

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer/data - npm Package Compare versions

Comparing version
1.0.0-beta.4
to
1.0.0-beta.5
+2
-2
package.json
{
"name": "@leafer/data",
"version": "1.0.0-beta.4",
"version": "1.0.0-beta.5",
"description": "@leafer/data",

@@ -22,4 +22,4 @@ "author": "Chao (Leafer) Wan",

"devDependencies": {
"@leafer/interface": "1.0.0-beta.4"
"@leafer/interface": "1.0.0-beta.5"
}
}

@@ -10,2 +10,4 @@ import { ILeafData, ILeaf, IObject, __Value } from '@leafer/interface'

public __single: boolean
constructor(leaf: ILeaf) {

@@ -65,2 +67,14 @@ this.__leaf = leaf

public __checkSingle(): void {
if ((this as ILeafData).blendMode === 'pass-through') {
if (this.__leaf.__hasEraser || (this as ILeafData).isEraser) {
this.__single = true
} else if (this.__single) {
this.__single = false
}
} else {
this.__single = true
}
}
public destroy(): void {

@@ -67,0 +81,0 @@ this.__leaf = null