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/platform

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

Comparing version
1.8.0
to
1.9.0
+4
-4
package.json
{
"name": "@leafer/platform",
"version": "1.8.0",
"version": "1.9.0",
"description": "@leafer/platform",

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

"dependencies": {
"@leafer/layouter": "1.8.0",
"@leafer/debug": "1.8.0"
"@leafer/data": "1.9.0",
"@leafer/debug": "1.9.0"
},
"devDependencies": {
"@leafer/interface": "1.8.0"
"@leafer/interface": "1.9.0"
}
}
import { IEvent, IObject } from '@leafer/interface'
import { isString } from '@leafer/data'
import { Debug } from '@leafer/debug'

@@ -15,3 +16,3 @@

name = Event[key]
if (typeof name === 'string') nameList[name] && debug.repeat(name), nameList[name] = Event
if (isString(name)) nameList[name] && debug.repeat(name), nameList[name] = Event
})

@@ -18,0 +19,0 @@ },

import { ILeaf, IObject } from '@leafer/interface'
import { isUndefined } from '@leafer/data'
import { Debug } from '@leafer/debug'

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

const ui = new list[tag](data)
if (x !== undefined) {
if (!isUndefined(x)) {
ui.x = x

@@ -23,0 +24,0 @@ if (y) ui.y = y