Skip to content

Commit 6df81cb

Browse files
committed
Bump turf
1 parent fe1750d commit 6df81cb

File tree

3 files changed

+69
-58
lines changed

3 files changed

+69
-58
lines changed

package-lock.json

Lines changed: 62 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@
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+
"regl": "npm:@plotly/regl@^2.1.2",
75+
"@turf/area": "^7.1.0",
76+
"@turf/bbox": "^7.1.0",
77+
"@turf/centroid": "^7.1.0",
7778
"base64-arraybuffer": "^1.0.2",
7879
"canvas-fit": "^1.5.0",
7980
"color-alpha": "1.0.4",
@@ -104,7 +105,6 @@
104105
"point-in-polygon": "^1.1.0",
105106
"polybooljs": "^1.2.2",
106107
"probe-image-size": "^7.2.3",
107-
"regl": "npm:@plotly/regl@^2.1.2",
108108
"regl-error2d": "^2.0.12",
109109
"regl-line2d": "^3.1.3",
110110
"regl-scatter2d": "^3.3.1",

src/lib/geo_location_utils.js

Lines changed: 3 additions & 3 deletions
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)