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-rc.23
to
1.0.0-rc.24
+2
-2
package.json
{
"name": "@leafer/data",
"version": "1.0.0-rc.23",
"version": "1.0.0-rc.24",
"description": "@leafer/data",

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

"devDependencies": {
"@leafer/interface": "1.0.0-rc.23"
"@leafer/interface": "1.0.0-rc.24"
}
}

@@ -18,2 +18,6 @@ import { ILeafData, ILeaf, IObject, IValue, IPathCommandData } from '@leafer/interface'

public get __useNaturalRatio() { return true }
public get __isLinePath(): boolean { return (this as ILeafData).path && (this as ILeafData).path.length === 6 }
public get __blendMode(): string {

@@ -20,0 +24,0 @@ if ((this as ILeafData).eraser && (this as ILeafData).eraser !== 'path') return 'destination-out'

@@ -20,2 +20,4 @@ import { IObject, IBooleanMap, ILeafData, ILeaf, IPathCommandData } from '@leafer/interface';

__pathForRender?: IPathCommandData;
get __useNaturalRatio(): boolean;
get __isLinePath(): boolean;
get __blendMode(): string;

@@ -22,0 +24,0 @@ constructor(leaf: ILeaf);