@turf/interpolate 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.
@@ -84,4 +84,4 @@ export {
84
84
  turf_interpolate_default as default,
85
85
  interpolate
86
86
  };
87
- //# sourceMappingURL=index.mjs.map
87
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/interpolate",
3
- "version": "7.0.0-alpha.113+876702a45",
3
+ "version": "7.0.0-alpha.115+c76e6e96e",
4
4
  "description": "turf interpolate module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -24,27 +24,26 @@
24
24
  "idw",
25
25
  "interpolate"
26
26
  ],
27
- "type": "commonjs",
27
+ "type": "module",
28
28
  "main": "dist/cjs/index.cjs",
29
- "module": "dist/esm/index.mjs",
30
- "types": "dist/cjs/index.d.ts",
29
+ "module": "dist/esm/index.js",
30
+ "types": "dist/esm/index.d.ts",
31
31
  "exports": {
32
32
  "./package.json": "./package.json",
33
33
  ".": {
34
34
  "import": {
35
- "types": "./dist/esm/index.d.mts",
36
- "default": "./dist/esm/index.mjs"
35
+ "types": "./dist/esm/index.d.ts",
36
+ "default": "./dist/esm/index.js"
37
37
  },
38
38
  "require": {
39
- "types": "./dist/cjs/index.d.ts",
39
+ "types": "./dist/cjs/index.d.cts",
40
40
  "default": "./dist/cjs/index.cjs"
41
41
  }
42
42
  }
43
43
  },
44
44
  "sideEffects": false,
45
45
  "files": [
46
- "dist",
47
- "index.d.ts"
46
+ "dist"
48
47
  ],
49
48
  "scripts": {
50
49
  "bench": "tsx bench.ts",
@@ -52,10 +51,12 @@
52
51
  "docs": "tsx ../../scripts/generate-readmes.ts",
53
52
  "test": "npm-run-all --npm-path npm test:*",
54
53
  "test:tape": "tsx test.ts",
55
- "test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
54
+ "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
56
55
  },
57
56
  "devDependencies": {
58
- "@turf/truncate": "^7.0.0-alpha.113+876702a45",
57
+ "@turf/truncate": "^7.0.0-alpha.115+c76e6e96e",
58
+ "@types/benchmark": "^2.1.5",
59
+ "@types/tape": "^4.2.32",
59
60
  "benchmark": "^2.1.4",
60
61
  "chromatism": "^3.0.0",
61
62
  "load-json-file": "^7.0.1",
@@ -66,17 +67,17 @@
66
67
  "write-json-file": "^5.0.0"
67
68
  },
68
69
  "dependencies": {
69
- "@turf/bbox": "^7.0.0-alpha.113+876702a45",
70
- "@turf/centroid": "^7.0.0-alpha.113+876702a45",
71
- "@turf/clone": "^7.0.0-alpha.113+876702a45",
72
- "@turf/distance": "^7.0.0-alpha.113+876702a45",
73
- "@turf/helpers": "^7.0.0-alpha.113+876702a45",
74
- "@turf/hex-grid": "^7.0.0-alpha.113+876702a45",
75
- "@turf/invariant": "^7.0.0-alpha.113+876702a45",
76
- "@turf/meta": "^7.0.0-alpha.113+876702a45",
77
- "@turf/point-grid": "^7.0.0-alpha.113+876702a45",
78
- "@turf/square-grid": "^7.0.0-alpha.113+876702a45",
79
- "@turf/triangle-grid": "^7.0.0-alpha.113+876702a45"
70
+ "@turf/bbox": "^7.0.0-alpha.115+c76e6e96e",
71
+ "@turf/centroid": "^7.0.0-alpha.115+c76e6e96e",
72
+ "@turf/clone": "^7.0.0-alpha.115+c76e6e96e",
73
+ "@turf/distance": "^7.0.0-alpha.115+c76e6e96e",
74
+ "@turf/helpers": "^7.0.0-alpha.115+c76e6e96e",
75
+ "@turf/hex-grid": "^7.0.0-alpha.115+c76e6e96e",
76
+ "@turf/invariant": "^7.0.0-alpha.115+c76e6e96e",
77
+ "@turf/meta": "^7.0.0-alpha.115+c76e6e96e",
78
+ "@turf/point-grid": "^7.0.0-alpha.115+c76e6e96e",
79
+ "@turf/square-grid": "^7.0.0-alpha.115+c76e6e96e",
80
+ "@turf/triangle-grid": "^7.0.0-alpha.115+c76e6e96e"
80
81
  },
81
- "gitHead": "876702a454d5d085d6e1e54ae286c2b5bc08f584"
82
+ "gitHead": "c76e6e96eea2a08d55f670333a085535da5371ce"
82
83
  }
package/index.d.ts DELETED
@@ -1,29 +0,0 @@
1
- import { Point, Polygon, FeatureCollection } from "geojson";
2
- import { Units, Grid } from "@turf/helpers";
3
-
4
- /**
5
- * http://turfjs.org/docs/#interpolate
6
- */
7
- declare function interpolate(
8
- points: FeatureCollection<Point>,
9
- cellSize: number,
10
- options?: {
11
- gridType?: "point";
12
- property?: string;
13
- units?: Units;
14
- weight?: number;
15
- }
16
- ): FeatureCollection<Point>;
17
- declare function interpolate(
18
- points: FeatureCollection<Point>,
19
- cellSize: number,
20
- options?: {
21
- gridType?: Grid;
22
- property?: string;
23
- units?: Units;
24
- weight?: number;
25
- }
26
- ): FeatureCollection<Polygon>;
27
-
28
- export { interpolate };
29
- export default interpolate;
File without changes
File without changes
File without changes