@turf/clusters-dbscan 6.2.0-alpha.3 → 6.5.0

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/dist/es/index.js CHANGED
File without changes
@@ -1,9 +1,9 @@
1
1
  import { Properties, Units, FeatureCollection, Point } from "@turf/helpers";
2
2
  export declare type Dbscan = "core" | "edge" | "noise";
3
- export interface DbscanProps extends Properties {
3
+ export declare type DbscanProps = Properties & {
4
4
  dbscan?: Dbscan;
5
5
  cluster?: number;
6
- }
6
+ };
7
7
  /**
8
8
  * Takes a set of {@link Point|points} and partition them into clusters according to {@link DBSCAN's|https://en.wikipedia.org/wiki/DBSCAN} data clustering algorithm.
9
9
  *
package/dist/js/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/clusters-dbscan",
3
- "version": "6.2.0-alpha.3",
3
+ "version": "6.5.0",
4
4
  "description": "turf clusters-dbscan module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -17,6 +17,7 @@
17
17
  "type": "git",
18
18
  "url": "git://github.com/Turfjs/turf.git"
19
19
  },
20
+ "funding": "https://opencollective.com/turf",
20
21
  "publishConfig": {
21
22
  "access": "public"
22
23
  },
@@ -32,8 +33,11 @@
32
33
  "main": "dist/js/index.js",
33
34
  "module": "dist/es/index.js",
34
35
  "exports": {
35
- "import": "./dist/es/index.js",
36
- "require": "./dist/js/index.js"
36
+ "./package.json": "./package.json",
37
+ ".": {
38
+ "import": "./dist/es/index.js",
39
+ "require": "./dist/js/index.js"
40
+ }
37
41
  },
38
42
  "types": "dist/js/index.d.ts",
39
43
  "sideEffects": false,
@@ -51,8 +55,9 @@
51
55
  "test:types": "tsc --esModuleInterop --noEmit types.ts"
52
56
  },
53
57
  "devDependencies": {
54
- "@turf/centroid": "^6.2.0-alpha.3",
55
- "@turf/clusters": "^6.2.0-alpha.3",
58
+ "@turf/centroid": "^6.5.0",
59
+ "@turf/clusters": "^6.5.0",
60
+ "@types/density-clustering": "^1.3.0",
56
61
  "@types/tape": "*",
57
62
  "benchmark": "*",
58
63
  "chromatism": "*",
@@ -66,11 +71,11 @@
66
71
  "write-json-file": "*"
67
72
  },
68
73
  "dependencies": {
69
- "@turf/clone": "^6.2.0-alpha.3",
70
- "@turf/distance": "^6.2.0-alpha.3",
71
- "@turf/helpers": "^6.2.0-alpha.3",
72
- "@turf/meta": "^6.2.0-alpha.3",
74
+ "@turf/clone": "^6.5.0",
75
+ "@turf/distance": "^6.5.0",
76
+ "@turf/helpers": "^6.5.0",
77
+ "@turf/meta": "^6.5.0",
73
78
  "density-clustering": "1.3.0"
74
79
  },
75
- "gitHead": "dce9edfc705352e8cb9e0083c9330ba0e8d77409"
80
+ "gitHead": "5375941072b90d489389db22b43bfe809d5e451e"
76
81
  }