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

@flatten-js/core

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatten-js/core - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

2

package.json
{
"name": "@flatten-js/core",
"version": "1.5.0",
"version": "1.5.1",
"description": "Javascript library for 2d geometry",

@@ -5,0 +5,0 @@ "main": "dist/main.cjs",

@@ -530,14 +530,3 @@ /**

for (let resp_edge of resp_edges) {
if (resp_edge.isSegment) {
ip = [...ip, ...intersectSegment2Polygon(resp_edge, polygon)]
}
else if (resp_edge.isArc) {
ip = [...ip, ...intersectArc2Polygon(resp_edge, polygon)]
}
else if (resp_edge.isLine) {
ip = [...ip, ...intersectLine2Polygon(resp_edge, polygon)]
}
else if (resp_edge.isRay) {
ip = [...ip, ...intersectRay2Polygon(resp_edge, polygon)]
}
ip = [...ip, ...intersectEdge2Edge(edge, resp_edge)]
}

@@ -556,5 +545,3 @@

for (let edge of multiline) {
let ip_edge = intersectEdge2Polygon(edge, polygon);
let ip_sorted = edge.shape.sortPoints(ip_edge); // TODO: support arc edge
ip = [...ip, ...ip_sorted];
ip = [...ip, ...intersectEdge2Polygon(edge, polygon)];
}

@@ -577,5 +564,3 @@

for (let edge1 of polygon1.edges) {
for (let pt of intersectEdge2Polygon(edge1, polygon2)) {
ip.push(pt);
}
ip = [...ip, ...intersectEdge2Polygon(edge1, polygon2)]
}

@@ -582,0 +567,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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