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

@leafer/layouter

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

Comparing version
1.0.0-rc.12
to
1.0.0-rc.16
+3
-3
package.json
{
"name": "@leafer/layouter",
"version": "1.0.0-rc.12",
"version": "1.0.0-rc.16",
"description": "@leafer/layouter",

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

"dependencies": {
"@leafer/core": "1.0.0-rc.12"
"@leafer/core": "1.0.0-rc.16"
},
"devDependencies": {
"@leafer/interface": "1.0.0-rc.12"
"@leafer/interface": "1.0.0-rc.16"
}
}

@@ -166,5 +166,7 @@ import { ILayouter, ILeaf, ILayoutBlockData, IEventListenerId, ILayouterConfig, ILeafList } from '@leafer/interface'

public addExtra(leaf: ILeaf): void {
const block = this.extraBlock || (this.extraBlock = new LayoutBlockData([]))
block.updatedList.add(leaf)
block.beforeBounds.add(leaf.__world)
if (!this.__updatedList.has(leaf)) {
const { updatedList, beforeBounds } = this.extraBlock || (this.extraBlock = new LayoutBlockData([]))
updatedList.length ? beforeBounds.add(leaf.__world) : beforeBounds.set(leaf.__world)
updatedList.add(leaf)
}
}

@@ -171,0 +173,0 @@