@turf/line-slice 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.
@@ -30,4 +30,4 @@ export {
30
30
  turf_line_slice_default as default,
31
31
  lineSlice
32
32
  };
33
- //# sourceMappingURL=index.mjs.map
33
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/line-slice",
3
- "version": "7.0.0-alpha.113+876702a45",
3
+ "version": "7.0.0-alpha.114+e0bdd0add",
4
4
  "description": "turf line-slice module",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -25,27 +25,26 @@
25
25
  "line",
26
26
  "distance"
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",
@@ -55,7 +54,9 @@
55
54
  "test:tape": "tsx test.ts"
56
55
  },
57
56
  "devDependencies": {
58
- "@turf/truncate": "^7.0.0-alpha.113+876702a45",
57
+ "@turf/truncate": "^7.0.0-alpha.114+e0bdd0add",
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,9 +66,9 @@
65
66
  "write-json-file": "^5.0.0"
66
67
  },
67
68
  "dependencies": {
68
- "@turf/helpers": "^7.0.0-alpha.113+876702a45",
69
- "@turf/invariant": "^7.0.0-alpha.113+876702a45",
70
- "@turf/nearest-point-on-line": "^7.0.0-alpha.113+876702a45"
69
+ "@turf/helpers": "^7.0.0-alpha.114+e0bdd0add",
70
+ "@turf/invariant": "^7.0.0-alpha.114+e0bdd0add",
71
+ "@turf/nearest-point-on-line": "^7.0.0-alpha.114+e0bdd0add"
71
72
  },
72
- "gitHead": "876702a454d5d085d6e1e54ae286c2b5bc08f584"
73
+ "gitHead": "e0bdd0add87f21a4430f8884736096d1ac6fe4cd"
73
74
  }
package/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- import { Feature, LineString } from "geojson";
2
- import { Coord } from "@turf/helpers";
3
-
4
- /**
5
- * http://turfjs.org/docs/#lineslice
6
- */
7
- declare function lineSlice(
8
- startPt: Coord,
9
- stopPt: Coord,
10
- line: Feature<LineString> | LineString
11
- ): Feature<LineString>;
12
-
13
- export { lineSlice };
14
- export default lineSlice;
File without changes
File without changes
File without changes