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

@turf/envelope

Package Overview
Dependencies
Maintainers
6
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/envelope - npm Package Compare versions

Comparing version 5.1.5 to 6.2.0-alpha.0

dist/es/index.js

55

package.json
{
"name": "@turf/envelope",
"version": "5.1.5",
"version": "6.2.0-alpha.0",
"description": "turf envelope 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": {

@@ -32,10 +22,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": "*",

@@ -47,10 +47,7 @@ "load-json-file": "*",

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

@@ -7,7 +7,7 @@ # @turf/envelope

Takes any number of features and returns a rectangular [Polygon](https://tools.ietf.org/html/rfc7946#section-3.1.6) that encompasses all vertices.
Takes any number of features and returns a rectangular [Polygon][1] that encompasses all vertices.
**Parameters**
- `geojson` **[GeoJSON](https://tools.ietf.org/html/rfc7946#section-3)** input features
- `geojson` **[GeoJSON][2]** input features

@@ -29,4 +29,12 @@ **Examples**

Returns **[Feature](https://tools.ietf.org/html/rfc7946#section-3.2)<[Polygon](https://tools.ietf.org/html/rfc7946#section-3.1.6)>** a rectangular Polygon feature that encompasses all vertices
Returns **[Feature][3]<[Polygon][4]>** a rectangular Polygon feature that encompasses all vertices
[1]: https://tools.ietf.org/html/rfc7946#section-3.1.6
[2]: https://tools.ietf.org/html/rfc7946#section-3
[3]: https://tools.ietf.org/html/rfc7946#section-3.2
[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6
<!-- This file is automatically generated. Please don't edit it directly:

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

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