@turf/line-split 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.
@@ -141,4 +141,4 @@ export {
141
141
  turf_line_split_default as default,
142
142
  lineSplit
143
143
  };
144
- //# sourceMappingURL=index.mjs.map
144
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/line-split",
3
- "version": "7.0.0-alpha.113+876702a45",
3
+ "version": "7.0.0-alpha.115+c76e6e96e",
4
4
  "description": "turf line-split module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -26,27 +26,26 @@
26
26
  "line",
27
27
  "split"
28
28
  ],
29
- "type": "commonjs",
29
+ "type": "module",
30
30
  "main": "dist/cjs/index.cjs",
31
- "module": "dist/esm/index.mjs",
32
- "types": "dist/cjs/index.d.ts",
31
+ "module": "dist/esm/index.js",
32
+ "types": "dist/esm/index.d.ts",
33
33
  "exports": {
34
34
  "./package.json": "./package.json",
35
35
  ".": {
36
36
  "import": {
37
- "types": "./dist/esm/index.d.mts",
38
- "default": "./dist/esm/index.mjs"
37
+ "types": "./dist/esm/index.d.ts",
38
+ "default": "./dist/esm/index.js"
39
39
  },
40
40
  "require": {
41
- "types": "./dist/cjs/index.d.ts",
41
+ "types": "./dist/cjs/index.d.cts",
42
42
  "default": "./dist/cjs/index.cjs"
43
43
  }
44
44
  }
45
45
  },
46
46
  "sideEffects": false,
47
47
  "files": [
48
- "dist",
49
- "index.d.ts"
48
+ "dist"
50
49
  ],
51
50
  "scripts": {
52
51
  "bench": "tsx bench.ts",
@@ -56,6 +55,8 @@
56
55
  "test:tape": "tsx test.ts"
57
56
  },
58
57
  "devDependencies": {
58
+ "@types/benchmark": "^2.1.5",
59
+ "@types/tape": "^4.2.32",
59
60
  "benchmark": "^2.1.4",
60
61
  "load-json-file": "^7.0.1",
61
62
  "npm-run-all": "^4.1.5",
@@ -65,16 +66,16 @@
65
66
  "write-json-file": "^5.0.0"
66
67
  },
67
68
  "dependencies": {
68
- "@turf/bbox": "^7.0.0-alpha.113+876702a45",
69
- "@turf/geojson-rbush": "^7.0.0-alpha.113+876702a45",
70
- "@turf/helpers": "^7.0.0-alpha.113+876702a45",
71
- "@turf/invariant": "^7.0.0-alpha.113+876702a45",
72
- "@turf/line-intersect": "^7.0.0-alpha.113+876702a45",
73
- "@turf/line-segment": "^7.0.0-alpha.113+876702a45",
74
- "@turf/meta": "^7.0.0-alpha.113+876702a45",
75
- "@turf/nearest-point-on-line": "^7.0.0-alpha.113+876702a45",
76
- "@turf/square": "^7.0.0-alpha.113+876702a45",
77
- "@turf/truncate": "^7.0.0-alpha.113+876702a45"
69
+ "@turf/bbox": "^7.0.0-alpha.115+c76e6e96e",
70
+ "@turf/geojson-rbush": "^7.0.0-alpha.115+c76e6e96e",
71
+ "@turf/helpers": "^7.0.0-alpha.115+c76e6e96e",
72
+ "@turf/invariant": "^7.0.0-alpha.115+c76e6e96e",
73
+ "@turf/line-intersect": "^7.0.0-alpha.115+c76e6e96e",
74
+ "@turf/line-segment": "^7.0.0-alpha.115+c76e6e96e",
75
+ "@turf/meta": "^7.0.0-alpha.115+c76e6e96e",
76
+ "@turf/nearest-point-on-line": "^7.0.0-alpha.115+c76e6e96e",
77
+ "@turf/square": "^7.0.0-alpha.115+c76e6e96e",
78
+ "@turf/truncate": "^7.0.0-alpha.115+c76e6e96e"
78
79
  },
79
- "gitHead": "876702a454d5d085d6e1e54ae286c2b5bc08f584"
80
+ "gitHead": "c76e6e96eea2a08d55f670333a085535da5371ce"
80
81
  }
package/index.d.ts DELETED
@@ -1,25 +0,0 @@
1
- import {
2
- Feature,
3
- FeatureCollection,
4
- Point,
5
- MultiPoint,
6
- LineString,
7
- MultiLineString,
8
- Polygon,
9
- MultiPolygon,
10
- } from "geojson";
11
-
12
- declare type Splitter = Feature<
13
- Point | MultiPoint | LineString | MultiLineString | Polygon | MultiPolygon
14
- >;
15
-
16
- /**
17
- * http://turfjs.org/docs/#linesplit
18
- */
19
- declare function lineSplit<T extends LineString>(
20
- line: Feature<T> | T,
21
- splitter: Splitter
22
- ): FeatureCollection<T>;
23
-
24
- export { Splitter, lineSplit };
25
- export default lineSplit;
File without changes
File without changes
File without changes