@turf/line-intersect
Advanced tools
Comparing version
@@ -1,13 +0,6 @@ | ||
import { | ||
Points, | ||
LineString, | ||
LineStrings, | ||
MultiLineString, | ||
MultiLineStrings, | ||
Polygon, | ||
Polygons, | ||
MultiPolygon, | ||
MultiPolygons} from '@turf/helpers'; | ||
/// <reference types="geojson" /> | ||
type Line = LineString | LineStrings | MultiLineString | MultiLineStrings | Polygon | Polygons | MultiPolygon | MultiPolygon | ||
type LineTypes = GeoJSON.LineString | GeoJSON.MultiLineString | GeoJSON.Polygon | GeoJSON.MultiPolygon; | ||
type Line = GeoJSON.Feature<LineTypes> | GeoJSON.FeatureCollection<LineTypes>; | ||
type Points = GeoJSON.FeatureCollection<GeoJSON.Point>; | ||
@@ -18,3 +11,3 @@ /** | ||
declare function lineIntersect(line1: Line, line2: Line): Points; | ||
declare namespace lineIntersect { } | ||
declare namespace lineIntersect {} | ||
export = lineIntersect; |
{ | ||
"name": "@turf/line-intersect", | ||
"version": "3.14.3", | ||
"version": "4.0.0", | ||
"description": "turf line-intersect module", | ||
@@ -33,3 +33,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@turf/truncate": "^3.13.0", | ||
"@turf/truncate": "^4.0.0", | ||
"benchmark": "^2.1.3", | ||
@@ -41,8 +41,8 @@ "load-json-file": "^2.0.0", | ||
"dependencies": { | ||
"@turf/helpers": "^3.13.0", | ||
"@turf/invariant": "^3.13.0", | ||
"@turf/line-segment": "^3.14.3", | ||
"@turf/meta": "^3.14.0", | ||
"@turf/helpers": "^4.0.0", | ||
"@turf/invariant": "^4.0.0", | ||
"@turf/line-segment": "^4.0.0", | ||
"@turf/meta": "^4.0.0", | ||
"geojson-rbush": "^1.0.1" | ||
} | ||
} |
8276
-0.5%110
-5.98%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated