You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign 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.5.1
to
1.5.2
+2
-2
package.json
{
"name": "@leafer/data",
"version": "1.5.1",
"version": "1.5.2",
"description": "@leafer/data",

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

"devDependencies": {
"@leafer/interface": "1.5.1"
"@leafer/interface": "1.5.2"
}
}

@@ -17,2 +17,6 @@ import { IObject } from '@leafer/interface'

return value === undefined || value === null
}
export function isEmptyData(value: any): boolean {
return JSON.stringify(value) === '{}'
}

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

declare function isNull(value: any): boolean;
declare function isEmptyData(value: any): boolean;
export { Answer, DataHelper, LeafData, emptyData, isNull };
export { Answer, DataHelper, LeafData, emptyData, isEmptyData, isNull };