New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@turf/tag

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/tag - npm Package Compare versions

Comparing version

to
5.1.5

@@ -49,6 +49,6 @@ 'use strict';

meta.featureEach(points, function (pt) {
if (!pt.properties) { pt.properties = {}; }
if (!pt.properties) pt.properties = {};
meta.featureEach(polygons, function (poly) {
if (pt.properties[outField] === undefined) {
if (booleanPointInPolygon(pt, poly)) { pt.properties[outField] = poly.properties[field]; }
if (booleanPointInPolygon(pt, poly)) pt.properties[outField] = poly.properties[field];
}

@@ -55,0 +55,0 @@ });

{
"name": "@turf/tag",
"version": "5.1.0",
"version": "5.1.5",
"description": "turf tag module",
"main": "main.js",
"module": "main.mjs",
"module": "main.es.js",
"types": "index.d.ts",

@@ -12,3 +12,3 @@ "files": [

"main.js",
"main.mjs"
"main.es.js"
],

@@ -18,2 +18,3 @@ "scripts": {

"test": "node -r @std/esm test.js",
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js",
"bench": "node -r @std/esm bench.js",

@@ -47,10 +48,9 @@ "docs": "node ../../scripts/generate-readmes"

"rollup": "*",
"rollup-plugin-buble": "*",
"tape": "*"
},
"dependencies": {
"@turf/boolean-point-in-polygon": "^5.1.0",
"@turf/clone": "^5.1.0",
"@turf/helpers": "^5.1.0",
"@turf/meta": "^5.1.0"
"@turf/boolean-point-in-polygon": "^5.1.5",
"@turf/clone": "^5.1.5",
"@turf/helpers": "^5.1.5",
"@turf/meta": "^5.1.5"
},

@@ -57,0 +57,0 @@ "@std/esm": {