@turf/standard-deviational-ellipse 7.0.0-alpha.113 → 7.0.0-alpha.115

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.
@@ -88,4 +88,4 @@ export {
88
88
  turf_standard_deviational_ellipse_default as default,
89
89
  standardDeviationalEllipse
90
90
  };
91
- //# sourceMappingURL=index.mjs.map
91
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/standard-deviational-ellipse",
3
- "version": "7.0.0-alpha.113+876702a45",
3
+ "version": "7.0.0-alpha.115+c76e6e96e",
4
4
  "description": "turf standard-deviational-ellipse module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -25,27 +25,26 @@
25
25
  "geostatistics",
26
26
  "directional distribution"
27
27
  ],
28
- "type": "commonjs",
28
+ "type": "module",
29
29
  "main": "dist/cjs/index.cjs",
30
- "module": "dist/esm/index.mjs",
31
- "types": "dist/cjs/index.d.ts",
30
+ "module": "dist/esm/index.js",
31
+ "types": "dist/esm/index.d.ts",
32
32
  "exports": {
33
33
  "./package.json": "./package.json",
34
34
  ".": {
35
35
  "import": {
36
- "types": "./dist/esm/index.d.mts",
37
- "default": "./dist/esm/index.mjs"
36
+ "types": "./dist/esm/index.d.ts",
37
+ "default": "./dist/esm/index.js"
38
38
  },
39
39
  "require": {
40
- "types": "./dist/cjs/index.d.ts",
40
+ "types": "./dist/cjs/index.d.cts",
41
41
  "default": "./dist/cjs/index.cjs"
42
42
  }
43
43
  }
44
44
  },
45
45
  "sideEffects": false,
46
46
  "files": [
47
- "dist",
48
- "index.d.ts"
47
+ "dist"
49
48
  ],
50
49
  "scripts": {
51
50
  "bench": "tsx bench.ts",
@@ -53,11 +52,13 @@
53
52
  "docs": "tsx ../../scripts/generate-readmes.ts",
54
53
  "test": "npm-run-all --npm-path npm test:*",
55
54
  "test:tape": "tsx test.ts",
56
- "test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
55
+ "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
57
56
  },
58
57
  "devDependencies": {
59
- "@turf/random": "^7.0.0-alpha.113+876702a45",
60
- "@turf/truncate": "^7.0.0-alpha.113+876702a45",
58
+ "@turf/random": "^7.0.0-alpha.115+c76e6e96e",
59
+ "@turf/truncate": "^7.0.0-alpha.115+c76e6e96e",
60
+ "@types/benchmark": "^2.1.5",
61
+ "@types/tape": "^4.2.32",
61
62
  "benchmark": "^2.1.4",
62
63
  "load-json-file": "^7.0.1",
63
64
  "npm-run-all": "^4.1.5",
@@ -67,12 +68,12 @@
67
68
  "write-json-file": "^5.0.0"
68
69
  },
69
70
  "dependencies": {
70
- "@turf/center-mean": "^7.0.0-alpha.113+876702a45",
71
- "@turf/ellipse": "^7.0.0-alpha.113+876702a45",
72
- "@turf/helpers": "^7.0.0-alpha.113+876702a45",
73
- "@turf/invariant": "^7.0.0-alpha.113+876702a45",
74
- "@turf/meta": "^7.0.0-alpha.113+876702a45",
75
- "@turf/points-within-polygon": "^7.0.0-alpha.113+876702a45"
71
+ "@turf/center-mean": "^7.0.0-alpha.115+c76e6e96e",
72
+ "@turf/ellipse": "^7.0.0-alpha.115+c76e6e96e",
73
+ "@turf/helpers": "^7.0.0-alpha.115+c76e6e96e",
74
+ "@turf/invariant": "^7.0.0-alpha.115+c76e6e96e",
75
+ "@turf/meta": "^7.0.0-alpha.115+c76e6e96e",
76
+ "@turf/points-within-polygon": "^7.0.0-alpha.115+c76e6e96e"
76
77
  },
77
- "gitHead": "876702a454d5d085d6e1e54ae286c2b5bc08f584"
78
+ "gitHead": "c76e6e96eea2a08d55f670333a085535da5371ce"
78
79
  }
package/index.d.ts DELETED
@@ -1,40 +0,0 @@
1
- import {
2
- FeatureCollection,
3
- Feature,
4
- Position,
5
- Polygon,
6
- GeoJsonProperties,
7
- Point,
8
- } from "geojson";
9
-
10
- /**
11
- * http://turfjs.org/docs/#standarddeviational-ellipse
12
- */
13
-
14
- declare interface SDEProps {
15
- meanCenterCoordinates: Position;
16
- semiMajorAxis: number;
17
- semiMinorAxis: number;
18
- numberOfFeatures: number;
19
- angle: number;
20
- percentageWithinEllipse: number;
21
- }
22
-
23
- declare interface StandardDeviationalEllipse extends Feature<Polygon> {
24
- properties: {
25
- standardDeviationalEllipse: SDEProps;
26
- [key: string]: any;
27
- };
28
- }
29
-
30
- declare function standardDeviationalEllipse(
31
- points: FeatureCollection<Point>,
32
- options?: {
33
- properties?: GeoJsonProperties;
34
- weight?: string;
35
- steps?: number;
36
- }
37
- ): StandardDeviationalEllipse;
38
-
39
- export { SDEProps, StandardDeviationalEllipse, standardDeviationalEllipse };
40
- export default standardDeviationalEllipse;
File without changes
File without changes
File without changes