delaunator
Advanced tools
Comparing version 1.0.4 to 1.0.5
'use strict'; | ||
module.exports = Delaunator; | ||
module.exports.default = Delaunator; | ||
@@ -232,3 +233,2 @@ function Delaunator(points, getX, getY) { | ||
var ar = a0 + (a + 2) % 3; | ||
var br = b0 + (b + 1) % 3; | ||
var bl = b0 + (b + 2) % 3; | ||
@@ -255,2 +255,4 @@ | ||
var br = b0 + (b + 1) % 3; | ||
this._legalize(a); | ||
@@ -257,0 +259,0 @@ return this._legalize(br); |
{ | ||
"name": "delaunator", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "A really fast JavaScript library for Delaunay triangulation of 2D points", | ||
"main": "index.js", | ||
"jsdelivr": "delaunator.js", | ||
"unpkg": "delaunator.js", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"browserify": "^14.5.0", | ||
"eslint": "^4.0.0", | ||
"eslint-config-mourner": "^2.0.1", | ||
"tape": "^4.6.3" | ||
"tape": "^4.6.3", | ||
"uglify-js": "^3.2.0" | ||
}, | ||
@@ -19,4 +23,11 @@ "repository": { | ||
"pretest": "npm run lint", | ||
"test": "tape test.js" | ||
"test": "tape test.js", | ||
"build": "browserify index.js -s delaunator -o delaunator.js", | ||
"build-min": "browserify index.js -s delaunator | uglifyjs -c -m > delaunator.min.js", | ||
"prepare": "npm run build && npm run build-min" | ||
}, | ||
"files": [ | ||
"delaunator.js", | ||
"delaunator.min.js" | ||
], | ||
"eslintConfig": { | ||
@@ -23,0 +34,0 @@ "extends": "mourner" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
736
35553
5
6
2
4