@turf/polygonize
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 | ||
@@ -13,3 +10,2 @@ import { featureCollection } from "@turf/helpers"; | ||
} | ||
__name(mathSign, "mathSign"); | ||
function orientationIndex(p1, p2, q) { | ||
@@ -19,3 +15,2 @@ const dx1 = p2[0] - p1[0], dy1 = p2[1] - p1[1], dx2 = q[0] - p2[0], dy2 = q[1] - p2[1]; | ||
} | ||
__name(orientationIndex, "orientationIndex"); | ||
function envelopeIsEqual(env1, env2) { | ||
@@ -25,3 +20,2 @@ const envX1 = env1.geometry.coordinates[0].map((c) => c[0]), envY1 = env1.geometry.coordinates[0].map((c) => c[1]), envX2 = env2.geometry.coordinates[0].map((c) => c[0]), envY2 = env2.geometry.coordinates[0].map((c) => c[1]); | ||
} | ||
__name(envelopeIsEqual, "envelopeIsEqual"); | ||
function envelopeContains(self, env) { | ||
@@ -32,10 +26,8 @@ return env.geometry.coordinates[0].every( | ||
} | ||
__name(envelopeContains, "envelopeContains"); | ||
function coordinatesEqual(coord1, coord2) { | ||
return coord1[0] === coord2[0] && coord1[1] === coord2[1]; | ||
} | ||
__name(coordinatesEqual, "coordinatesEqual"); | ||
// lib/Node.ts | ||
var _Node = class _Node { | ||
var Node = class _Node { | ||
static buildId(coordinates) { | ||
@@ -121,8 +113,6 @@ return coordinates.join(","); | ||
}; | ||
__name(_Node, "Node"); | ||
var Node = _Node; | ||
// lib/Edge.ts | ||
import { lineString } from "@turf/helpers"; | ||
var _Edge = class _Edge { | ||
var Edge = class _Edge { | ||
/** | ||
@@ -201,4 +191,2 @@ * Creates or get the symetric Edge. | ||
}; | ||
__name(_Edge, "Edge"); | ||
var Edge = _Edge; | ||
@@ -209,3 +197,3 @@ // lib/EdgeRing.ts | ||
import { booleanPointInPolygon as booleanPointInPolygon2 } from "@turf/boolean-point-in-polygon"; | ||
var _EdgeRing = class _EdgeRing { | ||
var EdgeRing = class { | ||
constructor() { | ||
@@ -388,4 +376,2 @@ this.edges = []; | ||
}; | ||
__name(_EdgeRing, "EdgeRing"); | ||
var EdgeRing = _EdgeRing; | ||
@@ -403,4 +389,3 @@ // lib/Graph.ts | ||
} | ||
__name(validateGeoJson, "validateGeoJson"); | ||
var _Graph = class _Graph { | ||
var Graph = class _Graph { | ||
/** | ||
@@ -656,4 +641,2 @@ * Creates a graph from a GeoJSON. | ||
}; | ||
__name(_Graph, "Graph"); | ||
var Graph = _Graph; | ||
@@ -678,3 +661,2 @@ // index.ts | ||
} | ||
__name(polygonize, "polygonize"); | ||
var turf_polygonize_default = polygonize; | ||
@@ -681,0 +663,0 @@ export { |
{ | ||
"name": "@turf/polygonize", | ||
"version": "7.0.0", | ||
"version": "7.1.0-alpha.7+0ce6ecca0", | ||
"description": "turf polygonize module", | ||
@@ -71,10 +71,10 @@ "author": "Turf Authors", | ||
"dependencies": { | ||
"@turf/boolean-point-in-polygon": "^7.0.0", | ||
"@turf/envelope": "^7.0.0", | ||
"@turf/helpers": "^7.0.0", | ||
"@turf/invariant": "^7.0.0", | ||
"@turf/meta": "^7.0.0", | ||
"@turf/boolean-point-in-polygon": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/envelope": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/invariant": "^7.1.0-alpha.7+0ce6ecca0", | ||
"@turf/meta": "^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
126096
1312
1
1