@thi.ng/geom-hull 2.1.126 → 2.1.127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-04-23T07:02:18Z
3
+ - **Last updated**: 2024-05-08T18:24:32Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/graham-scan.js CHANGED
@@ -2,8 +2,7 @@ import { EPS } from "@thi.ng/math/api";
2
2
  const atan2 = Math.atan2;
3
3
  const grahamScan2 = (pts, eps = EPS) => {
4
4
  const num = pts.length;
5
- if (num <= 3)
6
- return pts.slice();
5
+ if (num <= 3) return pts.slice();
7
6
  let h = 1;
8
7
  let i;
9
8
  let p;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-hull",
3
- "version": "2.1.126",
3
+ "version": "2.1.127",
4
4
  "description": "Fast 2D convex hull (Graham Scan)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,14 +36,14 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/math": "^5.10.12",
40
- "@thi.ng/vectors": "^7.10.30"
39
+ "@thi.ng/math": "^5.10.13",
40
+ "@thi.ng/vectors": "^7.10.31"
41
41
  },
42
42
  "devDependencies": {
43
- "@microsoft/api-extractor": "^7.43.0",
44
- "esbuild": "^0.20.2",
45
- "typedoc": "^0.25.12",
46
- "typescript": "^5.4.3"
43
+ "@microsoft/api-extractor": "^7.43.2",
44
+ "esbuild": "^0.21.1",
45
+ "typedoc": "^0.25.13",
46
+ "typescript": "^5.4.5"
47
47
  },
48
48
  "keywords": [
49
49
  "2d",
@@ -77,5 +77,5 @@
77
77
  "parent": "@thi.ng/geom",
78
78
  "year": 2013
79
79
  },
80
- "gitHead": "aed3421c21044c005fbcb7cc37965ccf85a870d2\n"
80
+ "gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
81
81
  }