@turf/boolean-disjoint
Advanced tools
Comparing version 7.0.0 to 7.1.0-alpha.7
@@ -1,4 +0,1 @@ | ||
var __defProp = Object.defineProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
// index.ts | ||
@@ -21,3 +18,2 @@ import { booleanPointInPolygon } from "@turf/boolean-point-in-polygon"; | ||
} | ||
__name(booleanDisjoint, "booleanDisjoint"); | ||
function disjoint(geom1, geom2) { | ||
@@ -57,3 +53,2 @@ switch (geom1.type) { | ||
} | ||
__name(disjoint, "disjoint"); | ||
function isPointOnLine(lineString, pt) { | ||
@@ -71,3 +66,2 @@ for (let i = 0; i < lineString.coordinates.length - 1; i++) { | ||
} | ||
__name(isPointOnLine, "isPointOnLine"); | ||
function isLineOnLine(lineString1, lineString2) { | ||
@@ -80,3 +74,2 @@ const doLinesIntersect = lineIntersect(lineString1, lineString2); | ||
} | ||
__name(isLineOnLine, "isLineOnLine"); | ||
function isLineInPoly(polygon, lineString) { | ||
@@ -94,3 +87,2 @@ for (const coord of lineString.coordinates) { | ||
} | ||
__name(isLineInPoly, "isLineInPoly"); | ||
function isPolyInPoly(feature1, feature2) { | ||
@@ -116,3 +108,2 @@ for (const coord1 of feature1.coordinates[0]) { | ||
} | ||
__name(isPolyInPoly, "isPolyInPoly"); | ||
function isPointOnLineSegment(lineSegmentStart, lineSegmentEnd, pt) { | ||
@@ -139,7 +130,5 @@ const dxc = pt[0] - lineSegmentStart[0]; | ||
} | ||
__name(isPointOnLineSegment, "isPointOnLineSegment"); | ||
function compareCoords(pair1, pair2) { | ||
return pair1[0] === pair2[0] && pair1[1] === pair2[1]; | ||
} | ||
__name(compareCoords, "compareCoords"); | ||
var turf_boolean_disjoint_default = booleanDisjoint; | ||
@@ -146,0 +135,0 @@ export { |
{ | ||
"name": "@turf/boolean-disjoint", | ||
"version": "7.0.0", | ||
"version": "7.1.0-alpha.7+0ce6ecca0", | ||
"description": "turf boolean-disjoint module", | ||
@@ -70,10 +70,10 @@ "author": "Turf Authors", | ||
"dependencies": { | ||
"@turf/boolean-point-in-polygon": "^7.0.0", | ||
"@turf/helpers": "^7.0.0", | ||
"@turf/line-intersect": "^7.0.0", | ||
"@turf/meta": "^7.0.0", | ||
"@turf/polygon-to-line": "^7.0.0", | ||
"@turf/boolean-point-in-polygon": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/line-intersect": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/meta": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/polygon-to-line": "^7.1.0-alpha.7+0ce6ecca0", | ||
"tslib": "^2.6.2" | ||
}, | ||
"gitHead": "3d3a7917025fbabe191dbddbc89754b86f9c7739" | ||
"gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
30804
276
1
1