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

@turf/bbox

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/bbox - npm Package Compare versions

Comparing version 3.7.3 to 3.7.4-alpha.d120ccf4

12

index.js

@@ -10,8 +10,8 @@ var each = require('@turf/meta').coordEach;

* @example
* var pt1 = point([114.175329, 22.2524])
* var pt2 = point([114.170007, 22.267969])
* var pt3 = point([114.200649, 22.274641])
* var pt4 = point([114.200649, 22.274641])
* var pt5 = point([114.186744, 22.265745])
* var features = featureCollection([pt1, pt2, pt3, pt4, pt5])
* var pt1 = turf.point([114.175329, 22.2524])
* var pt2 = turf.point([114.170007, 22.267969])
* var pt3 = turf.point([114.200649, 22.274641])
* var pt4 = turf.point([114.200649, 22.274641])
* var pt5 = turf.point([114.186744, 22.265745])
* var features = turf.featureCollection([pt1, pt2, pt3, pt4, pt5])
*

@@ -18,0 +18,0 @@ * var bbox = turf.bbox(features);

{
"name": "@turf/bbox",
"version": "3.7.3",
"version": "3.7.4-alpha.d120ccf4",
"description": "turf bbox module",

@@ -32,5 +32,5 @@ "main": "index.js",

"dependencies": {
"@turf/meta": "^3.7.3"
"@turf/meta": "^3.7.4-alpha.d120ccf4"
},
"types": "index.d.ts"
}

@@ -14,8 +14,8 @@ # @turf/bbox

```javascript
var pt1 = point([114.175329, 22.2524])
var pt2 = point([114.170007, 22.267969])
var pt3 = point([114.200649, 22.274641])
var pt4 = point([114.200649, 22.274641])
var pt5 = point([114.186744, 22.265745])
var features = featureCollection([pt1, pt2, pt3, pt4, pt5])
var pt1 = turf.point([114.175329, 22.2524])
var pt2 = turf.point([114.170007, 22.267969])
var pt3 = turf.point([114.200649, 22.274641])
var pt4 = turf.point([114.200649, 22.274641])
var pt5 = turf.point([114.186744, 22.265745])
var features = turf.featureCollection([pt1, pt2, pt3, pt4, pt5])

@@ -22,0 +22,0 @@ var bbox = turf.bbox(features);

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