@turf/planepoint 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.
@@ -34,4 +34,4 @@ export {
34
34
  turf_planepoint_default as default,
35
35
  planepoint
36
36
  };
37
- //# sourceMappingURL=index.mjs.map
37
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/planepoint",
3
- "version": "7.0.0-alpha.113+876702a45",
3
+ "version": "7.0.0-alpha.114+e0bdd0add",
4
4
  "description": "turf planepoint module",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -23,27 +23,26 @@
23
23
  "point",
24
24
  "interpolation"
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",
@@ -51,7 +50,7 @@
51
50
  "docs": "tsx ../../scripts/generate-readmes.ts",
52
51
  "test": "npm-run-all --npm-path npm test:*",
53
52
  "test:tape": "tsx test.ts",
54
- "test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
53
+ "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
55
54
  },
56
55
  "devDependencies": {
57
56
  "benchmark": "^2.1.4",
@@ -61,8 +60,8 @@
61
60
  "tsx": "^4.6.2"
62
61
  },
63
62
  "dependencies": {
64
- "@turf/helpers": "^7.0.0-alpha.113+876702a45",
65
- "@turf/invariant": "^7.0.0-alpha.113+876702a45"
63
+ "@turf/helpers": "^7.0.0-alpha.114+e0bdd0add",
64
+ "@turf/invariant": "^7.0.0-alpha.114+e0bdd0add"
66
65
  },
67
- "gitHead": "876702a454d5d085d6e1e54ae286c2b5bc08f584"
66
+ "gitHead": "e0bdd0add87f21a4430f8884736096d1ac6fe4cd"
68
67
  }
package/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import { Feature, Polygon } from "geojson";
2
- import { Coord } from "@turf/helpers";
3
-
4
- /**
5
- * http://turfjs.org/docs/#planepoint
6
- */
7
- declare function planepoint(
8
- point: Coord,
9
- triangle: Feature<Polygon> | Polygon
10
- ): number;
11
-
12
- export { planepoint };
13
- export default planepoint;
File without changes
File without changes
File without changes