@turf/isolines
Advanced tools
Comparing version 6.4.0 to 6.5.0
@@ -1,5 +0,5 @@ | ||
import { getCoords, collectionOf } from '@turf/invariant'; | ||
import bbox from '@turf/bbox'; | ||
import { featureEach, coordEach } from '@turf/meta'; | ||
import { isObject, multiLineString, featureCollection } from '@turf/helpers'; | ||
import bbox from '@turf/bbox'; | ||
import { collectionOf, getCoords } from '@turf/invariant'; | ||
import { isObject, featureCollection, multiLineString } from '@turf/helpers'; | ||
import objectAssign from 'object-assign'; | ||
@@ -6,0 +6,0 @@ |
'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var bbox = require('@turf/bbox'); | ||
var meta = require('@turf/meta'); | ||
var invariant = require('@turf/invariant'); | ||
var meta = require('@turf/meta'); | ||
var helpers = require('@turf/helpers'); | ||
var bbox = _interopDefault(require('@turf/bbox')); | ||
var objectAssign = _interopDefault(require('object-assign')); | ||
var objectAssign = require('object-assign'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var bbox__default = /*#__PURE__*/_interopDefaultLegacy(bbox); | ||
var objectAssign__default = /*#__PURE__*/_interopDefaultLegacy(objectAssign); | ||
/** | ||
@@ -603,3 +606,3 @@ * @license GNU Affero General Public License. | ||
var properties = objectAssign({}, commonProperties, breaksProperties[i]); | ||
var properties = objectAssign__default['default']({}, commonProperties, breaksProperties[i]); | ||
properties[zProperty] = threshold; | ||
@@ -624,3 +627,3 @@ var isoline = helpers.multiLineString(isoContours(matrix, threshold), properties); | ||
// get dimensions (on the map) of the original grid | ||
var gridBbox = bbox(points); // [ minX, minY, maxX, maxY ] | ||
var gridBbox = bbox__default['default'](points); // [ minX, minY, maxX, maxY ] | ||
var originalWidth = gridBbox[2] - gridBbox[0]; | ||
@@ -654,1 +657,2 @@ var originalHeigth = gridBbox[3] - gridBbox[1]; | ||
module.exports = isolines; | ||
module.exports.default = isolines; |
{ | ||
"name": "@turf/isolines", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"description": "turf isolines module", | ||
@@ -18,2 +18,3 @@ "author": "Turf Authors", | ||
}, | ||
"funding": "https://opencollective.com/turf", | ||
"publishConfig": { | ||
@@ -54,7 +55,7 @@ "access": "public" | ||
"devDependencies": { | ||
"@turf/envelope": "^6.4.0", | ||
"@turf/point-grid": "^6.4.0", | ||
"@turf/random": "^6.4.0", | ||
"@turf/rhumb-destination": "^6.4.0", | ||
"@turf/truncate": "^6.4.0", | ||
"@turf/envelope": "^6.5.0", | ||
"@turf/point-grid": "^6.5.0", | ||
"@turf/random": "^6.5.0", | ||
"@turf/rhumb-destination": "^6.5.0", | ||
"@turf/truncate": "^6.5.0", | ||
"benchmark": "*", | ||
@@ -69,9 +70,9 @@ "load-json-file": "*", | ||
"dependencies": { | ||
"@turf/bbox": "^6.4.0", | ||
"@turf/helpers": "^6.4.0", | ||
"@turf/invariant": "^6.4.0", | ||
"@turf/meta": "^6.4.0", | ||
"@turf/bbox": "^6.5.0", | ||
"@turf/helpers": "^6.5.0", | ||
"@turf/invariant": "^6.5.0", | ||
"@turf/meta": "^6.5.0", | ||
"object-assign": "*" | ||
}, | ||
"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
48117
1195
0
Updated@turf/bbox@^6.5.0
Updated@turf/helpers@^6.5.0
Updated@turf/invariant@^6.5.0
Updated@turf/meta@^6.5.0