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

dgeoutils

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgeoutils - npm Package Compare versions

Comparing version 2.2.16 to 2.2.17

1

dist/DPolygon.d.ts

@@ -105,2 +105,3 @@ /// <reference types="offscreencanvas" />

bezier(step?: number): DPolygon;
setGrowingHeight(from: number, to: number): DPolygon;
private getBezierPoint;

@@ -107,0 +108,0 @@ private simpleIncludeX;

@@ -818,2 +818,16 @@ "use strict";

}
setGrowingHeight(from, to) {
const { fullLength } = this;
let { first: prevPoint } = this;
const d = to - from;
let currentDistance = 0;
this.loop()
.setZ((p) => {
currentDistance += prevPoint.distance(p);
prevPoint = p;
return from + currentDistance / fullLength * d;
})
.run();
return this;
}
getBezierPoint(v) {

@@ -820,0 +834,0 @@ if (this.length === 1) {

2

package.json
{
"name": "dgeoutils",
"version": "2.2.16",
"version": "2.2.17",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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