Skip to content

Commit c8210af

Browse files
committed
Bump turf
1 parent fe1750d commit c8210af

File tree

3 files changed

+68
-57
lines changed

3 files changed

+68
-57
lines changed

package-lock.json

+62-51
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@
7171
"@plotly/d3-sankey": "0.7.2",
7272
"@plotly/d3-sankey-circular": "0.33.1",
7373
"@plotly/mapbox-gl": "1.13.4",
74-
"@turf/area": "^6.4.0",
75-
"@turf/bbox": "^6.4.0",
76-
"@turf/centroid": "^6.0.2",
74+
"@turf/area": "^7.1.0",
75+
"@turf/bbox": "^7.1.0",
76+
"@turf/centroid": "^7.1.0",
7777
"base64-arraybuffer": "^1.0.2",
7878
"canvas-fit": "^1.5.0",
7979
"color-alpha": "1.0.4",

src/lib/geo_location_utils.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
var d3 = require('@plotly/d3');
44
var countryRegex = require('country-regex');
5-
var turfArea = require('@turf/area');
6-
var turfCentroid = require('@turf/centroid');
7-
var turfBbox = require('@turf/bbox');
5+
var { area: turfArea } = require('@turf/area');
6+
var { centroid: turfCentroid } = require('@turf/centroid');
7+
var { bbox: turfBbox } = require('@turf/bbox');
88

99
var identity = require('./identity');
1010
var loggers = require('./loggers');

0 commit comments

Comments
 (0)