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
0
Versions
117
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.0.0-rc.28
to
1.0.0-rc.30
+2
-2
package.json
{
"name": "@leafer/data",
"version": "1.0.0-rc.28",
"version": "1.0.0-rc.30",
"description": "@leafer/data",

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

"devDependencies": {
"@leafer/interface": "1.0.0-rc.28"
"@leafer/interface": "1.0.0-rc.30"
}
}

@@ -1,2 +0,2 @@

import { ILeafData, ILeaf, IObject, IValue, IPathCommandData } from '@leafer/interface'
import { ILeafData, ILeaf, IObject, IValue, IPathCommandData, IJSONOptions } from '@leafer/interface'

@@ -72,3 +72,3 @@

public __getInputData(names?: string[] | IObject): IObject {
public __getInputData(names?: string[] | IObject, options?: IJSONOptions): IObject {
const data: IObject = {}

@@ -103,2 +103,9 @@

if (options) {
if (options.matrix) {
const { a, b, c, d, e, f } = this.__leaf.__localMatrix
data.matrix = { a, b, c, d, e, f }
}
}
return data

@@ -105,0 +112,0 @@ }

@@ -1,2 +0,2 @@

import { IObject, IBooleanMap, ILeafData, ILeaf, IPathCommandData } from '@leafer/interface';
import { IObject, IBooleanMap, ILeafData, ILeaf, IPathCommandData, IJSONOptions } from '@leafer/interface';

@@ -29,3 +29,3 @@ declare const DataHelper: {

__removeInput(name: string): void;
__getInputData(names?: string[] | IObject): IObject;
__getInputData(names?: string[] | IObject, options?: IJSONOptions): IObject;
__setMiddle(name: string, value: any): void;

@@ -32,0 +32,0 @@ __getMiddle(name: string): any;