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

@leafer/math

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

Comparing version
1.0.0-rc.25
to
1.0.0-rc.26
+2
-2
package.json
{
"name": "@leafer/math",
"version": "1.0.0-rc.25",
"version": "1.0.0-rc.26",
"description": "@leafer/math",

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

"devDependencies": {
"@leafer/interface": "1.0.0-rc.25"
"@leafer/interface": "1.0.0-rc.26"
}
}

@@ -117,2 +117,7 @@ import { IBounds, IBoundsData, IMatrixData, IPointData, IBoundsDataFn, IObject, IMatrix, IRadiusPointData, IMatrixWithLayoutData, IFourNumber } from '@leafer/interface'

public setPoint(point: IPointData): IBounds {
B.setPoint(this, point)
return this
}
public setPoints(points: IPointData[]): IBounds {

@@ -119,0 +124,0 @@ B.setPoints(this, points)

@@ -267,2 +267,6 @@ import { IPointData, IBoundsData, IMatrixData, IFourNumber, IBoundsDataFn, IObject, IMatrix, IOffsetBoundsData, IRadiusPointData, IMatrixWithScaleData } from '@leafer/interface'

setPoint(t: IBoundsData, point: IPointData): void {
B.set(t, point.x, point.y)
},
addPoint(t: IBoundsData, point: IPointData): void {

@@ -269,0 +273,0 @@ add(t, point as IBoundsData, true)

@@ -66,2 +66,3 @@ import { INumberMap, IPoint, IPointData, IMatrixData, IBounds, IBoundsData, IMatrix, IFourNumber, IObject, IBoundsDataFn, IRadiusPointData, IMatrixWithLayoutData, IAutoBounds, IAutoBoundsData, ISizeData, IMatrixWithScaleData, ILayoutData, IUnitPointData, IAround, IAlign, IOffsetBoundsData, ITwoPointBoundsData, IMatrixWithOptionScaleData, IScaleData, IScrollPointData } from '@leafer/interface';

setListWithFn(list: IObject[], boundsDataFn: IBoundsDataFn): IBounds;
setPoint(point: IPointData): IBounds;
setPoints(points: IPointData[]): IBounds;

@@ -211,2 +212,3 @@ addPoint(point: IPointData): IBounds;

setPoints(t: IBoundsData, points: IPointData[]): void;
setPoint(t: IBoundsData, point: IPointData): void;
addPoint(t: IBoundsData, point: IPointData): void;

@@ -213,0 +215,0 @@ getPoints(t: IBoundsData): IPointData[];