@turf/flip
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 meta = require('@turf/meta'); | ||
var helpers = require('@turf/helpers'); | ||
var clone = _interopDefault(require('@turf/clone')); | ||
var clone = require('@turf/clone'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var clone__default = /*#__PURE__*/_interopDefaultLegacy(clone); | ||
/** | ||
@@ -35,3 +37,3 @@ * Takes input features and flips all of their coordinates from `[x, y]` to `[y, x]`. | ||
// properties. | ||
if (mutate === false || mutate === undefined) geojson = clone(geojson); | ||
if (mutate === false || mutate === undefined) geojson = clone__default['default'](geojson); | ||
@@ -48,1 +50,2 @@ meta.coordEach(geojson, function (coord) { | ||
module.exports = flip; | ||
module.exports.default = flip; |
{ | ||
"name": "@turf/flip", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"description": "turf flip module", | ||
@@ -15,2 +15,3 @@ "author": "Turf Authors", | ||
}, | ||
"funding": "https://opencollective.com/turf", | ||
"publishConfig": { | ||
@@ -57,7 +58,7 @@ "access": "public" | ||
"dependencies": { | ||
"@turf/clone": "^6.4.0", | ||
"@turf/helpers": "^6.4.0", | ||
"@turf/meta": "^6.4.0" | ||
"@turf/clone": "^6.5.0", | ||
"@turf/helpers": "^6.5.0", | ||
"@turf/meta": "^6.5.0" | ||
}, | ||
"gitHead": "1e62773cfc88c627cca8effcb5c14cfb65a905ac" | ||
"gitHead": "5375941072b90d489389db22b43bfe809d5e451e" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
7360
87
0
Updated@turf/clone@^6.5.0
Updated@turf/helpers@^6.5.0
Updated@turf/meta@^6.5.0