@turf/line-slice
Advanced tools
Comparing version 6.5.0 to 7.0.0-alpha.0
@@ -1,2 +0,3 @@ | ||
import { Feature, LineString, Coord } from "@turf/helpers"; | ||
import { Feature, LineString } from "geojson"; | ||
import { Coord } from "@turf/helpers"; | ||
@@ -3,0 +4,0 @@ /** |
{ | ||
"name": "@turf/line-slice", | ||
"version": "6.5.0", | ||
"version": "7.0.0-alpha.0", | ||
"description": "turf line-slice module", | ||
@@ -51,3 +51,3 @@ "author": "Turf Authors", | ||
"devDependencies": { | ||
"@turf/truncate": "^6.5.0", | ||
"@turf/truncate": "^7.0.0-alpha.0", | ||
"benchmark": "*", | ||
@@ -61,7 +61,7 @@ "load-json-file": "*", | ||
"dependencies": { | ||
"@turf/helpers": "^6.5.0", | ||
"@turf/invariant": "^6.5.0", | ||
"@turf/nearest-point-on-line": "^6.5.0" | ||
"@turf/helpers": "^7.0.0-alpha.0", | ||
"@turf/invariant": "^7.0.0-alpha.0", | ||
"@turf/nearest-point-on-line": "^7.0.0-alpha.0" | ||
}, | ||
"gitHead": "5375941072b90d489389db22b43bfe809d5e451e" | ||
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189" | ||
} |
@@ -13,9 +13,9 @@ # @turf/line-slice | ||
**Parameters** | ||
### Parameters | ||
- `startPt` **[Coord][3]** starting point | ||
- `stopPt` **[Coord][3]** stopping point | ||
- `line` **([Feature][4]<[LineString][5]> | [LineString][5])** line to slice | ||
* `startPt` **[Coord][3]** starting point | ||
* `stopPt` **[Coord][3]** stopping point | ||
* `line` **([Feature][4]<[LineString][5]> | [LineString][5])** line to slice | ||
**Examples** | ||
### Examples | ||
@@ -40,3 +40,3 @@ ```javascript | ||
Returns **[Feature][4]<[LineString][5]>** sliced line | ||
Returns **[Feature][4]<[LineString][5]>** sliced line | ||
@@ -43,0 +43,0 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3.1.4 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9065
128
1
+ Added@turf/distance@7.2.0(transitive)
+ Added@turf/invariant@7.2.0(transitive)
+ Added@turf/nearest-point-on-line@7.2.0(transitive)
- Removed@turf/bbox@7.2.0(transitive)
- Removed@turf/bearing@6.5.0(transitive)
- Removed@turf/destination@6.5.0(transitive)
- Removed@turf/distance@6.5.0(transitive)
- Removed@turf/helpers@6.5.0(transitive)
- Removed@turf/invariant@6.5.0(transitive)
- Removed@turf/line-intersect@6.5.0(transitive)
- Removed@turf/line-segment@6.5.0(transitive)
- Removed@turf/meta@6.5.0(transitive)
- Removed@turf/nearest-point-on-line@6.5.0(transitive)
- Removed@types/geojson@7946.0.8(transitive)
- Removedgeojson-rbush@3.2.0(transitive)
- Removedquickselect@2.0.0(transitive)
- Removedrbush@3.0.1(transitive)
Updated@turf/helpers@^7.0.0-alpha.0