@turf/line-slice 7.1.0-alpha.7 → 7.1.0

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.
Files changed (2) hide show
  1. package/README.md +2 -4
  2. package/package.json +7 -6
package/README.md CHANGED
@@ -14,7 +14,7 @@ This can be useful for extracting only the part of a route between waypoints.
14
14
 
15
15
  * `startPt` **[Coord][3]** starting point
16
16
  * `stopPt` **[Coord][3]** stopping point
17
- * `line` **([Feature][4]<[LineString][5]> | [LineString][5])** line to slice
17
+ * `line` **([Feature][4]<[LineString][1]> | [LineString][1])** line to slice
18
18
 
19
19
  ### Examples
20
20
 
@@ -36,7 +36,7 @@ var sliced = turf.lineSlice(start, stop, line);
36
36
  var addToMap = [start, stop, line]
37
37
  ```
38
38
 
39
- Returns **[Feature][4]<[LineString][5]>** sliced line
39
+ Returns **[Feature][4]<[LineString][1]>** sliced line
40
40
 
41
41
  [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4
42
42
 
@@ -46,8 +46,6 @@ Returns **[Feature][4]<[LineString][5]>** sliced line
46
46
 
47
47
  [4]: https://tools.ietf.org/html/rfc7946#section-3.2
48
48
 
49
- [5]: https://tools.ietf.org/html/rfc7946#section-3.1.4
50
-
51
49
  <!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->
52
50
 
53
51
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/line-slice",
3
- "version": "7.1.0-alpha.7+0ce6ecca0",
3
+ "version": "7.1.0",
4
4
  "description": "turf line-slice module",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -54,7 +54,7 @@
54
54
  "test:tape": "tsx test.ts"
55
55
  },
56
56
  "devDependencies": {
57
- "@turf/truncate": "^7.1.0-alpha.7+0ce6ecca0",
57
+ "@turf/truncate": "^7.1.0",
58
58
  "@types/benchmark": "^2.1.5",
59
59
  "@types/tape": "^4.2.32",
60
60
  "benchmark": "^2.1.4",
@@ -66,9 +66,10 @@
66
66
  "write-json-file": "^5.0.0"
67
67
  },
68
68
  "dependencies": {
69
- "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
70
- "@turf/invariant": "^7.1.0-alpha.7+0ce6ecca0",
71
- "@turf/nearest-point-on-line": "^7.1.0-alpha.7+0ce6ecca0"
69
+ "@turf/helpers": "^7.1.0",
70
+ "@turf/invariant": "^7.1.0",
71
+ "@turf/nearest-point-on-line": "^7.1.0",
72
+ "@types/geojson": "^7946.0.10"
72
73
  },
73
- "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
74
+ "gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef"
74
75
  }