Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@turf/line-intersect

Package Overview
Dependencies
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/line-intersect - npm Package Compare versions

Comparing version 3.14.3 to 4.0.0

17

index.d.ts

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc