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

@leafer/display

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer/display - npm Package Compare versions

Comparing version
1.3.2
to
1.3.3
+11
-11
package.json
{
"name": "@leafer/display",
"version": "1.3.2",
"version": "1.3.3",
"description": "@leafer/display",

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

"dependencies": {
"@leafer/math": "1.3.2",
"@leafer/data": "1.3.2",
"@leafer/layout": "1.3.2",
"@leafer/display-module": "1.3.2",
"@leafer/event": "1.3.2",
"@leafer/decorator": "1.3.2",
"@leafer/helper": "1.3.2",
"@leafer/debug": "1.3.2",
"@leafer/platform": "1.3.2"
"@leafer/math": "1.3.3",
"@leafer/data": "1.3.3",
"@leafer/layout": "1.3.3",
"@leafer/display-module": "1.3.3",
"@leafer/event": "1.3.3",
"@leafer/decorator": "1.3.3",
"@leafer/helper": "1.3.3",
"@leafer/debug": "1.3.3",
"@leafer/platform": "1.3.3"
},
"devDependencies": {
"@leafer/interface": "1.3.2"
"@leafer/interface": "1.3.3"
}
}

@@ -89,3 +89,3 @@ import { ILeaferBase, ILeaf, ILeafInputData, ILeafData, ILeaferCanvas, IRenderOptions, IBoundsType, ILocationType, IMatrixWithBoundsData, ILayoutBoundsData, IValue, ILeafLayout, InnerId, IHitCanvas, IRadiusPointData, IEventListenerMap, IEventListener, IEventListenerId, IEvent, IObject, IFunction, IPointData, IBoundsData, IBranch, IFindMethod, IMatrixData, IAttrDecorator, IMatrixWithBoundsScaleData, IMatrixWithScaleData, IAlign, IJSONOptions, IEventMap, IEventOption, IAxis, IMotionPathData, IUnitData, IRotationPointData } from '@leafer/interface'

public get __ignoreHitWorld(): boolean { return (this.__hasMask || this.__hasEraser) && this.__.hitChildren }
public get __inLazyBounds(): boolean { const { leafer } = this; return leafer && leafer.created && leafer.lazyBounds.hit(this.__world) }
public get __inLazyBounds(): boolean { return this.leaferIsCreated && this.leafer.lazyBounds.hit(this.__world) }

@@ -258,2 +258,6 @@ public get pathInputed(): boolean { return this.__.__pathInputed as unknown as boolean }

public __extraUpdate(): void {
if (this.leaferIsReady) this.leafer.layouter.addExtra(this) // add part 额外更新元素
}
// LeafMatrix rewrite

@@ -260,0 +264,0 @@

@@ -87,2 +87,3 @@ import { ILeaf, InnerId, ILeaferBase, ILeafData, ILeafLayout, IMatrixWithBoundsScaleData, IMatrixWithBoundsData, IMatrixData, IBoundsData, IMatrixWithScaleData, IHitCanvas, IEventMap, IEventListenerMap, ILeafInputData, IFunction, IObject, IValue, IJSONOptions, IFindMethod, ILeaferCanvas, IRenderOptions, ILocationType, IBoundsType, ILayoutBoundsData, IPointData, IAlign, IAxis, IRadiusPointData, IMotionPathData, IUnitData, IRotationPointData, IEventListener, IEventOption, IEventListenerId, IEvent, IAttrDecorator } from '@leafer/interface';

forceRender(_bounds?: IBoundsData, _sync?: boolean): void;
__extraUpdate(): void;
__updateWorldMatrix(): void;

@@ -89,0 +90,0 @@ __updateLocalMatrix(): void;