Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mathigon/euclid

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mathigon/euclid - npm Package Compare versions

Comparing version 1.1.5 to 1.1.6

1

dist/bounds.d.ts

@@ -21,2 +21,3 @@ import { Point } from './point';

get yRange(): [number, number];
extend(top: number, right?: number, bottom?: number, left?: number): Bounds;
get rect(): Rectangle;

@@ -23,0 +24,0 @@ get center(): Point;

@@ -1750,2 +1750,5 @@ "use strict";

}
extend(top, right = top, bottom = top, left = right) {
return new Bounds(this.xMin - left, this.xMax + right, this.yMin - top, this.yMax + bottom);
}
get rect() {

@@ -1752,0 +1755,0 @@ return new Rectangle(new Point(this.xMin, this.yMin), this.dx, this.dy);

@@ -1685,2 +1685,5 @@ // src/angle.ts

}
extend(top, right = top, bottom = top, left = right) {
return new Bounds(this.xMin - left, this.xMax + right, this.yMin - top, this.yMax + bottom);
}
get rect() {

@@ -1687,0 +1690,0 @@ return new Rectangle(new Point(this.xMin, this.yMin), this.dx, this.dy);

2

package.json
{
"name": "@mathigon/euclid",
"version": "1.1.5",
"version": "1.1.6",
"license": "MIT",

@@ -5,0 +5,0 @@ "homepage": "https://mathigon.io/euclid",

@@ -61,2 +61,6 @@ // =============================================================================

extend(top: number, right = top, bottom = top, left = right) {
return new Bounds(this.xMin - left, this.xMax + right, this.yMin - top, this.yMax + bottom);
}
get rect() {

@@ -63,0 +67,0 @@ return new Rectangle(new Point(this.xMin, this.yMin), this.dx, this.dy);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc