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

@turf/boolean-disjoint

Package Overview
Dependencies
Maintainers
0
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/boolean-disjoint - npm Package Compare versions

Comparing version 7.0.0 to 7.1.0-alpha.7

11

dist/esm/index.js

@@ -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 {

14

package.json
{
"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

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