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

@leafer/renderer

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

Comparing version
1.6.2
to
1.6.3
+3
-3
package.json
{
"name": "@leafer/renderer",
"version": "1.6.2",
"version": "1.6.3",
"description": "@leafer/renderer",

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

"dependencies": {
"@leafer/core": "1.6.2"
"@leafer/core": "1.6.3"
},
"devDependencies": {
"@leafer/interface": "1.6.2"
"@leafer/interface": "1.6.3"
}
}

@@ -276,8 +276,9 @@ import { ILeaf, ILeaferBase, ILeaferCanvas, IRenderer, IRendererConfig, IEventListenerId, IBounds, IFunction, IRenderOptions } from '@leafer/interface'

protected __listenEvents(): void {
const { target } = this
this.__eventIds = [
target.on_(RenderEvent.REQUEST, this.update, this),
target.on_(LayoutEvent.END, this.__onLayoutEnd, this),
target.on_(RenderEvent.AGAIN, this.renderAgain, this),
target.on_(ResizeEvent.RESIZE, this.__onResize, this)
this.target.on_([
[RenderEvent.REQUEST, this.update, this],
[LayoutEvent.END, this.__onLayoutEnd, this],
[RenderEvent.AGAIN, this.renderAgain, this],
[ResizeEvent.RESIZE, this.__onResize, this]
])
]

@@ -284,0 +285,0 @@ }