You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@turf/square

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

Comparing version

to
6.2.0-alpha.0

dist/es/index.js

53

package.json
{
"name": "@turf/square",
"version": "5.1.5",
"version": "6.2.0-alpha.0",
"description": "turf square module",
"main": "main.js",
"module": "main.es.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"main.js",
"main.es.js"
],
"scripts": {
"pretest": "rollup -c ../../rollup.config.js",
"test": "node -r @std/esm test.js",
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js",
"bench": "node -r @std/esm bench.js",
"docs": "node ../../scripts/generate-readmes"
"author": "Turf Authors",
"license": "MIT",
"bugs": {
"url": "https://github.com/Turfjs/turf/issues"
},
"homepage": "https://github.com/Turfjs/turf",
"repository": {

@@ -31,10 +21,20 @@ "type": "git",

],
"author": "Turf Authors",
"license": "MIT",
"bugs": {
"url": "https://github.com/Turfjs/turf/issues"
"main": "dist/js/index.js",
"module": "dist/es/index.js",
"types": "index.d.ts",
"sideEffects": false,
"files": [
"dist",
"index.d.ts"
],
"scripts": {
"bench": "npm-run-all prepare bench:run",
"bench:run": "node bench.js",
"docs": "node ../../scripts/generate-readmes",
"posttest": "node -r esm ../../scripts/validate-es5-dependencies.js",
"prepare": "rollup -c ../../rollup.config.js",
"test": "npm-run-all prepare test:*",
"test:tape": "node -r esm test.js"
},
"homepage": "https://github.com/Turfjs/turf",
"devDependencies": {
"@std/esm": "*",
"benchmark": "*",

@@ -45,9 +45,6 @@ "rollup": "*",

"dependencies": {
"@turf/distance": "^5.1.5",
"@turf/helpers": "^5.1.5"
"@turf/distance": "^6.2.0-alpha.0",
"@turf/helpers": "^6.2.0-alpha.0"
},
"@std/esm": {
"esm": "js",
"cjs": true
}
"gitHead": "23b651deaa1ca6a0960d0142aea620b7cc6a076d"
}

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

- `bbox` **[BBox](https://tools.ietf.org/html/rfc7946#section-5)** extent in [west, south, east, north] order
- `bbox` **[BBox][1]** extent in [west, south, east, north] order

@@ -25,4 +25,6 @@ **Examples**

Returns **[BBox](https://tools.ietf.org/html/rfc7946#section-5)** a square surrounding `bbox`
Returns **[BBox][1]** a square surrounding `bbox`
[1]: https://tools.ietf.org/html/rfc7946#section-5
<!-- This file is automatically generated. Please don't edit it directly:

@@ -29,0 +31,0 @@ if you find an error, edit the source file (likely index.js), and re-run