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

@turf/tag

Package Overview
Dependencies
Maintainers
2
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 3.7.3 to 3.7.5

12

index.js

@@ -13,5 +13,5 @@ var inside = require('@turf/inside');

* @example
* var pt1 = point([-77, 44]);
* var pt2 = point([-77, 38]);
* var poly1 = polygon([[
* var pt1 = turf.point([-77, 44]);
* var pt2 = turf.point([-77, 38]);
* var poly1 = turf.polygon([[
* [-81, 41],

@@ -23,3 +23,3 @@ * [-81, 47],

* ]], {pop: 3000});
* var poly2 = polygon([[
* var poly2 = turf.polygon([[
* [-81, 35],

@@ -32,4 +32,4 @@ * [-81, 41],

*
* var points = featureCollection([pt1, pt2]);
* var polygons = featureCollection([poly1, poly2]);
* var points = turf.featureCollection([pt1, pt2]);
* var polygons = turf.featureCollection([poly1, poly2]);
*

@@ -36,0 +36,0 @@ * var tagged = turf.tag(points, polygons,

{
"name": "@turf/tag",
"version": "3.7.3",
"version": "3.7.5",
"description": "turf tag module",

@@ -30,3 +30,3 @@ "main": "index.js",

"dependencies": {
"@turf/inside": "^3.7.3"
"@turf/inside": "^3.7.5"
},

@@ -33,0 +33,0 @@ "devDependencies": {

@@ -17,5 +17,5 @@ # @turf/tag

```javascript
var pt1 = point([-77, 44]);
var pt2 = point([-77, 38]);
var poly1 = polygon([[
var pt1 = turf.point([-77, 44]);
var pt2 = turf.point([-77, 38]);
var poly1 = turf.polygon([[
[-81, 41],

@@ -27,3 +27,3 @@ [-81, 47],

]], {pop: 3000});
var poly2 = polygon([[
var poly2 = turf.polygon([[
[-81, 35],

@@ -36,4 +36,4 @@ [-81, 41],

var points = featureCollection([pt1, pt2]);
var polygons = featureCollection([poly1, poly2]);
var points = turf.featureCollection([pt1, pt2]);
var polygons = turf.featureCollection([poly1, poly2]);

@@ -40,0 +40,0 @@ var tagged = turf.tag(points, polygons,

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