New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@turf/tin

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/tin - npm Package Compare versions

Comparing version 7.1.0 to 7.2.0

2

dist/esm/index.d.ts

@@ -23,3 +23,3 @@ import { FeatureCollection, Point, Polygon } from 'geojson';

*
* @name tin
* @function
* @param {FeatureCollection<Point>} points input points

@@ -26,0 +26,0 @@ * @param {String} [z] name of the property from which to pull z values

@@ -71,18 +71,17 @@ // index.ts

let n;
outer:
while (j) {
b = edges[--j];
a = edges[--j];
i = j;
while (i) {
n = edges[--i];
m = edges[--i];
if (a === m && b === n || a === n && b === m) {
edges.splice(j, 2);
edges.splice(i, 2);
j -= 2;
continue outer;
}
outer: while (j) {
b = edges[--j];
a = edges[--j];
i = j;
while (i) {
n = edges[--i];
m = edges[--i];
if (a === m && b === n || a === n && b === m) {
edges.splice(j, 2);
edges.splice(i, 2);
j -= 2;
continue outer;
}
}
}
}

@@ -89,0 +88,0 @@ function triangulate(vertices) {

{
"name": "@turf/tin",
"version": "7.1.0",
"version": "7.2.0",
"description": "turf tin module",

@@ -55,16 +55,16 @@ "author": "Turf Authors",

"@types/benchmark": "^2.1.5",
"@types/tape": "^4.2.32",
"@types/tape": "^4.13.4",
"benchmark": "^2.1.4",
"npm-run-all": "^4.1.5",
"tape": "^5.7.2",
"tsup": "^8.0.1",
"tsx": "^4.6.2",
"typescript": "^5.2.2"
"tape": "^5.9.0",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.5.4"
},
"dependencies": {
"@turf/helpers": "^7.1.0",
"@turf/helpers": "^7.2.0",
"@types/geojson": "^7946.0.10",
"tslib": "^2.6.2"
"tslib": "^2.8.1"
},
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
"gitHead": "7b0f0374c4668cd569f8904c71e2ae7d941be867"
}

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 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