Comparing version
@@ -6,3 +6,3 @@ import { FeatureCollection, Point, Polygon, MultiPolygon } from 'geojson'; | ||
* | ||
* @name tag | ||
* @function | ||
* @param {FeatureCollection<Point>} points input points | ||
@@ -9,0 +9,0 @@ * @param {FeatureCollection<Polygon|MultiPolygon>} polygons input (multi)polygons |
@@ -9,4 +9,3 @@ // index.ts | ||
featureEach(points, function(pt) { | ||
if (!pt.properties) | ||
pt.properties = {}; | ||
if (!pt.properties) pt.properties = {}; | ||
featureEach(polygons, function(poly) { | ||
@@ -13,0 +12,0 @@ if (pt.properties && poly.properties) { |
{ | ||
"name": "@turf/tag", | ||
"version": "7.1.0", | ||
"version": "7.2.0", | ||
"description": "turf tag module", | ||
@@ -59,20 +59,20 @@ "author": "Turf Authors", | ||
"@types/benchmark": "^2.1.5", | ||
"@types/tape": "^4.2.32", | ||
"@types/tape": "^4.13.4", | ||
"benchmark": "^2.1.4", | ||
"load-json-file": "^7.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"tape": "^5.7.2", | ||
"tsup": "^8.0.1", | ||
"tsx": "^4.6.2", | ||
"typescript": "^5.2.2" | ||
"tape": "^5.9.0", | ||
"tsup": "^8.3.5", | ||
"tsx": "^4.19.2", | ||
"typescript": "^5.5.4" | ||
}, | ||
"dependencies": { | ||
"@turf/boolean-point-in-polygon": "^7.1.0", | ||
"@turf/clone": "^7.1.0", | ||
"@turf/helpers": "^7.1.0", | ||
"@turf/meta": "^7.1.0", | ||
"@turf/boolean-point-in-polygon": "^7.2.0", | ||
"@turf/clone": "^7.2.0", | ||
"@turf/helpers": "^7.2.0", | ||
"@turf/meta": "^7.2.0", | ||
"@types/geojson": "^7946.0.10", | ||
"tslib": "^2.6.2" | ||
"tslib": "^2.8.1" | ||
}, | ||
"gitHead": "68915eeebc9278bb40dec3f1034499698a0561ef" | ||
"gitHead": "7b0f0374c4668cd569f8904c71e2ae7d941be867" | ||
} |
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
Sorry, the diff of this file is not supported yet
15643
2.87%85
-2.3%Updated
Updated
Updated
Updated