@turf/midpoint 7.0.0-alpha.113 → 7.0.0-alpha.114

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.
@@ -17,4 +17,4 @@ export {
17
17
  turf_midpoint_default as default,
18
18
  midpoint
19
19
  };
20
- //# sourceMappingURL=index.mjs.map
20
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/midpoint",
3
- "version": "7.0.0-alpha.113+876702a45",
3
+ "version": "7.0.0-alpha.114+e0bdd0add",
4
4
  "description": "turf midpoint module",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -23,27 +23,26 @@
23
23
  "geojson",
24
24
  "line"
25
25
  ],
26
- "type": "commonjs",
26
+ "type": "module",
27
27
  "main": "dist/cjs/index.cjs",
28
- "module": "dist/esm/index.mjs",
29
- "types": "dist/cjs/index.d.ts",
28
+ "module": "dist/esm/index.js",
29
+ "types": "dist/esm/index.d.ts",
30
30
  "exports": {
31
31
  "./package.json": "./package.json",
32
32
  ".": {
33
33
  "import": {
34
- "types": "./dist/esm/index.d.mts",
35
- "default": "./dist/esm/index.mjs"
34
+ "types": "./dist/esm/index.d.ts",
35
+ "default": "./dist/esm/index.js"
36
36
  },
37
37
  "require": {
38
- "types": "./dist/cjs/index.d.ts",
38
+ "types": "./dist/cjs/index.d.cts",
39
39
  "default": "./dist/cjs/index.cjs"
40
40
  }
41
41
  }
42
42
  },
43
43
  "sideEffects": false,
44
44
  "files": [
45
- "dist",
46
- "index.d.ts"
45
+ "dist"
47
46
  ],
48
47
  "scripts": {
49
48
  "bench": "tsx bench.ts",
@@ -53,6 +52,7 @@
53
52
  "test:tape": "tsx test.ts"
54
53
  },
55
54
  "devDependencies": {
55
+ "@types/benchmark": "^2.1.5",
56
56
  "benchmark": "^2.1.4",
57
57
  "npm-run-all": "^4.1.5",
58
58
  "tape": "^5.7.2",
@@ -60,10 +60,10 @@
60
60
  "tsx": "^4.6.2"
61
61
  },
62
62
  "dependencies": {
63
- "@turf/bearing": "^7.0.0-alpha.113+876702a45",
64
- "@turf/destination": "^7.0.0-alpha.113+876702a45",
65
- "@turf/distance": "^7.0.0-alpha.113+876702a45",
66
- "@turf/helpers": "^7.0.0-alpha.113+876702a45"
63
+ "@turf/bearing": "^7.0.0-alpha.114+e0bdd0add",
64
+ "@turf/destination": "^7.0.0-alpha.114+e0bdd0add",
65
+ "@turf/distance": "^7.0.0-alpha.114+e0bdd0add",
66
+ "@turf/helpers": "^7.0.0-alpha.114+e0bdd0add"
67
67
  },
68
- "gitHead": "876702a454d5d085d6e1e54ae286c2b5bc08f584"
68
+ "gitHead": "e0bdd0add87f21a4430f8884736096d1ac6fe4cd"
69
69
  }
package/index.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import { Feature, Point } from "geojson";
2
- import { Coord } from "@turf/helpers";
3
-
4
- /**
5
- * http://turfjs.org/docs/#midpoint
6
- */
7
- declare function midpoint(point1: Coord, point2: Coord): Feature<Point>;
8
-
9
- export { midpoint };
10
- export default midpoint;
File without changes
File without changes
File without changes