Skip to content

Commit 238ac94

Browse files
committed
Update per PR feedback
1 parent 3067e6d commit 238ac94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

draftlogs/7366_change.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
- Replace country-regex with i18n-iso-countries [[#7366](https://github.com/plotly/plotly.js/pull/7366)]
1+
- Replace country-regex package with i18n-iso-countries [[#7366](https://github.com/plotly/plotly.js/pull/7366)]

src/lib/geo_location_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ var d3 = require('@plotly/d3');
44
var { area: turfArea } = require('@turf/area');
55
var { centroid: turfCentroid } = require('@turf/centroid');
66
var { bbox: turfBbox } = require('@turf/bbox');
7+
const countries = require("i18n-iso-countries");
78

89
var identity = require('./identity');
910
var loggers = require('./loggers');
1011
var isPlainObject = require('./is_plain_object');
1112
var nestedProperty = require('./nested_property');
1213
var polygon = require('./polygon');
1314

14-
const countries = require("i18n-iso-countries");
1515
countries.registerLocale(require("i18n-iso-countries/langs/en.json"));
1616

1717
var locationmodeToIdFinder = {

0 commit comments

Comments
 (0)