concaveman
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -6,4 +6,9 @@ 'use strict'; | ||
var pointInPolygon = require('point-in-polygon'); | ||
const orient = require('robust-predicates/umd/orient2d.min.js').orient2d; | ||
var orient = require('robust-predicates/umd/orient2d.min.js').orient2d; | ||
// Fix for require issue in webpack https://github.com/mapbox/concaveman/issues/18 | ||
if (Queue.default) { | ||
Queue = Queue.default; | ||
} | ||
module.exports = concaveman; | ||
@@ -10,0 +15,0 @@ module.exports.default = concaveman; |
{ | ||
"name": "concaveman", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Fast 2D concave hull algorithm in JavaScript (generates an outline of a point set)", | ||
"main": "index.js", | ||
"dependencies": { | ||
"point-in-polygon": "^1.0.1", | ||
"rbush": "^3.0.0", | ||
"point-in-polygon": "^1.1.0", | ||
"rbush": "^3.0.1", | ||
"robust-predicates": "^2.0.4", | ||
@@ -13,5 +13,5 @@ "tinyqueue": "^2.0.3" | ||
"devDependencies": { | ||
"eslint": "^7.0.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-mourner": "^2.0.1", | ||
"tape": "^5.0.0" | ||
"tape": "^5.3.1" | ||
}, | ||
@@ -18,0 +18,0 @@ "scripts": { |
@@ -29,3 +29,3 @@ ## concaveman | ||
The algorithm is based on ideas from the paper [A New Concave Hull Algorithm and Concaveness Measure | ||
for n-dimensional Datasets, 2012](http://www.iis.sinica.edu.tw/page/jise/2012/201205_10.pdf) | ||
for n-dimensional Datasets, 2012](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.676.6258&rep=rep1&type=pdf) | ||
by Jin-Seo Park and Se-Jong Oh. | ||
@@ -41,3 +41,3 @@ | ||
[TypeScript type definitions](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/concaveman) | ||
are available trough `npm install --save @types/concaveman`. | ||
are available through `npm install --save @types/concaveman`. | ||
@@ -44,0 +44,0 @@ ### Dependencies |
Sorry, the diff of this file is not supported yet
15030
317
Updatedpoint-in-polygon@^1.1.0
Updatedrbush@^3.0.1