Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@leafer/data

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

Comparing version
1.0.5
to
1.0.6
+2
-2
package.json
{
"name": "@leafer/data",
"version": "1.0.5",
"version": "1.0.6",
"description": "@leafer/data",

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

"devDependencies": {
"@leafer/interface": "1.0.5"
"@leafer/interface": "1.0.6"
}
}

@@ -15,3 +15,2 @@ import { ILeafData, ILeaf, IObject, IValue, IPathCommandData, IJSONOptions } from '@leafer/interface'

public __pathInputed?: number
public __pathForRender?: IPathCommandData

@@ -21,3 +20,6 @@

public get __isLinePath(): boolean { return (this as ILeafData).path && (this as ILeafData).path.length === 6 }
public get __isLinePath(): boolean {
const { path } = this as ILeafData
return path && path.length === 6 && path[0] === 1 // M = 1
}

@@ -65,3 +67,3 @@ public get __blendMode(): string {

if (name === 'path' && !this.__pathInputed) return // no path mode
if (name === 'path' && !(this as ILeafData).__pathInputed) return // no path mode

@@ -95,3 +97,3 @@ return (this as IObject)['_' + name]

if (key === 'path' && !this.__pathInputed) continue // no path mode
if (key === 'path' && !(this as ILeafData).__pathInputed) continue // no path mode

@@ -98,0 +100,0 @@ inputValue = __input ? __input[key] : undefined

@@ -18,3 +18,2 @@ import { IObject, IBooleanMap, ILeafData, ILeaf, IPathCommandData, IJSONOptions } from '@leafer/interface';

__naturalHeight?: number;
__pathInputed?: number;
__pathForRender?: IPathCommandData;

@@ -21,0 +20,0 @@ get __useNaturalRatio(): boolean;