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
59
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 6.2.0-alpha.2 to 6.2.0-alpha.3

dist/es/package.json

2

dist/es/index.js

@@ -23,5 +23,5 @@ import bbox from '@turf/bbox';

function envelope(geojson) {
return bboxPolygon(bbox(geojson));
return bboxPolygon(bbox(geojson));
}
export default envelope;

@@ -27,6 +27,5 @@ 'use strict';

function envelope(geojson) {
return bboxPolygon(bbox(geojson));
return bboxPolygon(bbox(geojson));
}
module.exports = envelope;
module.exports.default = envelope;

@@ -1,2 +0,2 @@

import { Feature, AllGeoJSON, Polygon } from '@turf/helpers'
import { Feature, AllGeoJSON, Polygon } from "@turf/helpers";

@@ -6,4 +6,2 @@ /**

*/
export default function envelope(
features: AllGeoJSON
): Feature<Polygon>;
export default function envelope(features: AllGeoJSON): Feature<Polygon>;
{
"name": "@turf/envelope",
"version": "6.2.0-alpha.2",
"version": "6.2.0-alpha.3",
"description": "turf envelope module",

@@ -27,2 +27,6 @@ "author": "Turf Authors",

"module": "dist/es/index.js",
"exports": {
"import": "./dist/es/index.js",
"require": "./dist/js/index.js"
},
"types": "index.d.ts",

@@ -35,8 +39,7 @@ "sideEffects": false,

"scripts": {
"bench": "npm-run-all prepare bench:run",
"bench:run": "node bench.js",
"bench": "node -r esm bench.js",
"build": "rollup -c ../../rollup.config.js && echo '{\"type\":\"module\"}' > dist/es/package.json",
"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": "npm-run-all test:*",
"test:tape": "node -r esm test.js"

@@ -52,7 +55,7 @@ },

"dependencies": {
"@turf/bbox": "^6.2.0-alpha.2",
"@turf/bbox-polygon": "^6.2.0-alpha.2",
"@turf/helpers": "^6.2.0-alpha.2"
"@turf/bbox": "^6.2.0-alpha.3",
"@turf/bbox-polygon": "^6.2.0-alpha.3",
"@turf/helpers": "^6.2.0-alpha.3"
},
"gitHead": "23d5cb91d77e0c1e2e903a2252f525797f1d0d09"
"gitHead": "dce9edfc705352e8cb9e0083c9330ba0e8d77409"
}
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