Socket
Socket
Sign inDemoInstall

delaunator

Package Overview
Dependencies
Maintainers
183
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

delaunator - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

delaunator.js

4

index.js
'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"

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