@turf/simplify
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 cleanCoords = _interopDefault(require('@turf/clean-coords')); | ||
var clone = _interopDefault(require('@turf/clone')); | ||
var cleanCoords = require('@turf/clean-coords'); | ||
var clone = require('@turf/clone'); | ||
var meta = require('@turf/meta'); | ||
var helpers = require('@turf/helpers'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var cleanCoords__default = /*#__PURE__*/_interopDefaultLegacy(cleanCoords); | ||
var clone__default = /*#__PURE__*/_interopDefaultLegacy(clone); | ||
/* | ||
@@ -170,3 +173,3 @@ (c) 2013, Vladimir Agafonkin | ||
// Clone geojson to avoid side effects | ||
if (mutate !== true) geojson = clone(geojson); | ||
if (mutate !== true) geojson = clone__default['default'](geojson); | ||
@@ -195,3 +198,3 @@ meta.geomEach(geojson, function (geom) { | ||
// Remove any extra coordinates | ||
cleanCoords(geometry, true); | ||
cleanCoords__default['default'](geometry, true); | ||
@@ -307,1 +310,2 @@ var coordinates = geometry.coordinates; | ||
module.exports = simplify$1; | ||
module.exports.default = simplify$1; |
{ | ||
"name": "@turf/simplify", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"description": "turf simplify module", | ||
@@ -19,2 +19,3 @@ "author": "Turf Authors", | ||
}, | ||
"funding": "https://opencollective.com/turf", | ||
"publishConfig": { | ||
@@ -55,3 +56,3 @@ "access": "public" | ||
"devDependencies": { | ||
"@turf/truncate": "^6.4.0", | ||
"@turf/truncate": "^6.5.0", | ||
"benchmark": "*", | ||
@@ -65,8 +66,8 @@ "load-json-file": "*", | ||
"dependencies": { | ||
"@turf/clean-coords": "^6.4.0", | ||
"@turf/clone": "^6.4.0", | ||
"@turf/helpers": "^6.4.0", | ||
"@turf/meta": "^6.4.0" | ||
"@turf/clean-coords": "^6.5.0", | ||
"@turf/clone": "^6.5.0", | ||
"@turf/helpers": "^6.5.0", | ||
"@turf/meta": "^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
23682
543
0
Updated@turf/clean-coords@^6.5.0
Updated@turf/clone@^6.5.0
Updated@turf/helpers@^6.5.0
Updated@turf/meta@^6.5.0