@turf/envelope
Advanced tools
Comparing version 6.4.0 to 6.5.0
'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var bbox = require('@turf/bbox'); | ||
var bboxPolygon = require('@turf/bbox-polygon'); | ||
var bbox = _interopDefault(require('@turf/bbox')); | ||
var bboxPolygon = _interopDefault(require('@turf/bbox-polygon')); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var bbox__default = /*#__PURE__*/_interopDefaultLegacy(bbox); | ||
var bboxPolygon__default = /*#__PURE__*/_interopDefaultLegacy(bboxPolygon); | ||
/** | ||
@@ -27,5 +30,6 @@ * Takes any number of features and returns a rectangular {@link Polygon} that encompasses all vertices. | ||
function envelope(geojson) { | ||
return bboxPolygon(bbox(geojson)); | ||
return bboxPolygon__default['default'](bbox__default['default'](geojson)); | ||
} | ||
module.exports = envelope; | ||
module.exports.default = envelope; |
{ | ||
"name": "@turf/envelope", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"description": "turf envelope module", | ||
@@ -15,2 +15,3 @@ "author": "Turf Authors", | ||
}, | ||
"funding": "https://opencollective.com/turf", | ||
"publishConfig": { | ||
@@ -56,7 +57,7 @@ "access": "public" | ||
"dependencies": { | ||
"@turf/bbox": "^6.4.0", | ||
"@turf/bbox-polygon": "^6.4.0", | ||
"@turf/helpers": "^6.4.0" | ||
"@turf/bbox": "^6.5.0", | ||
"@turf/bbox-polygon": "^6.5.0", | ||
"@turf/helpers": "^6.5.0" | ||
}, | ||
"gitHead": "1e62773cfc88c627cca8effcb5c14cfb65a905ac" | ||
"gitHead": "5375941072b90d489389db22b43bfe809d5e451e" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6237
58
0
Updated@turf/bbox@^6.5.0
Updated@turf/bbox-polygon@^6.5.0
Updated@turf/helpers@^6.5.0