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

@turf/square

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/square - npm Package Compare versions

Comparing version 3.3.3 to 3.5.2-alpha.d2c36ee7

2

index.js

@@ -8,3 +8,3 @@ var distance = require('@turf/distance');

* @name square
* @param {Array<number>} bbox a bounding box
* @param {Array<number>} bbox extent in [minX, minY, maxX, maxY] order
* @return {Array<number>} a square surrounding `bbox`

@@ -11,0 +11,0 @@ * @example

{
"name": "@turf/square",
"version": "3.3.3",
"version": "3.5.2-alpha.d2c36ee7",
"description": "turf square module",

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

"dependencies": {
"@turf/distance": "^3.3.3",
"@turf/helpers": "^3.3.3"
"@turf/distance": "^3.5.2-alpha.d2c36ee7",
"@turf/helpers": "^3.5.2-alpha.d2c36ee7"
}
}

@@ -10,3 +10,3 @@ # @turf/square

- `bbox` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>** a bounding box
- `bbox` **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>** extent in [minX, minY, maxX, maxY] order

@@ -33,2 +33,6 @@ **Examples**

<!-- This file is automatically generated. Please don't edit it directly:
if you find an error, edit the source file (likely index.js), and re-run
./scripts/generate-readmes in the turf project. -->
---

@@ -35,0 +39,0 @@

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