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

@turf/tag

Package Overview
Dependencies
Maintainers
6
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/tag - npm Package Compare versions

Comparing version 6.2.0-alpha.3 to 6.2.0

4

dist/es/index.js

@@ -6,7 +6,7 @@ import booleanPointInPolygon from '@turf/boolean-point-in-polygon';

/**
* Takes a set of {@link Point|points} and a set of {@link Polygon|polygons} and performs a spatial join.
* Takes a set of {@link Point|points} and a set of {@link Polygon|polygons} and/or {@link MultiPolygon|multipolygons} and performs a spatial join.
*
* @name tag
* @param {FeatureCollection<Point>} points input points
* @param {FeatureCollection<Polygon>} polygons input polygons
* @param {FeatureCollection<Polygon|MultiPolygon>} polygons input (multi)polygons
* @param {string} field property in `polygons` to add to joined {<Point>} features

@@ -13,0 +13,0 @@ * @param {string} outField property in `points` in which to store joined property from `polygons`

@@ -10,7 +10,7 @@ 'use strict';

/**
* Takes a set of {@link Point|points} and a set of {@link Polygon|polygons} and performs a spatial join.
* Takes a set of {@link Point|points} and a set of {@link Polygon|polygons} and/or {@link MultiPolygon|multipolygons} and performs a spatial join.
*
* @name tag
* @param {FeatureCollection<Point>} points input points
* @param {FeatureCollection<Polygon>} polygons input polygons
* @param {FeatureCollection<Polygon|MultiPolygon>} polygons input (multi)polygons
* @param {string} field property in `polygons` to add to joined {<Point>} features

@@ -17,0 +17,0 @@ * @param {string} outField property in `points` in which to store joined property from `polygons`

@@ -1,2 +0,2 @@

import { Point, FeatureCollection, Polygon } from "@turf/helpers";
import { Point, FeatureCollection, Polygon, MultiPolygon } from "@turf/helpers";

@@ -8,5 +8,5 @@ /**

points: FeatureCollection<Point>,
polygons: FeatureCollection<Polygon>,
polygons: FeatureCollection<Polygon | MultiPolygon>,
field: string,
outField: string
): FeatureCollection<Point>;
{
"name": "@turf/tag",
"version": "6.2.0-alpha.3",
"version": "6.2.0",
"description": "turf tag module",

@@ -44,3 +44,2 @@ "author": "Turf Authors",

"docs": "node ../../scripts/generate-readmes",
"posttest": "node -r esm ../../scripts/validate-es5-dependencies.js",
"test": "npm-run-all test:*",

@@ -57,8 +56,8 @@ "test:tape": "node -r esm test.js"

"dependencies": {
"@turf/boolean-point-in-polygon": "^6.2.0-alpha.3",
"@turf/clone": "^6.2.0-alpha.3",
"@turf/helpers": "^6.2.0-alpha.3",
"@turf/meta": "^6.2.0-alpha.3"
"@turf/boolean-point-in-polygon": "^6.2.0",
"@turf/clone": "^6.2.0",
"@turf/helpers": "^6.2.0",
"@turf/meta": "^6.2.0"
},
"gitHead": "dce9edfc705352e8cb9e0083c9330ba0e8d77409"
"gitHead": "c277baf2b967a35efec75de9ae54869d20da5288"
}
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