Upgrade country-coder to scoped package @ideditor/country-coder

This commit is contained in:
Bryan Housel
2019-12-02 13:51:04 -05:00
parent 80a4cec8dd
commit 16ff2b1373
8 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select } from 'd3-selection';
import * as countryCoder from 'country-coder';
import * as countryCoder from '@ideditor/country-coder';
import { dataAddressFormats } from '../../../data';
import { geoExtent, geoChooseEdge, geoSphericalDistance } from '../../geo';

View File

@@ -1,6 +1,6 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { event as d3_event, select as d3_select } from 'd3-selection';
import * as countryCoder from 'country-coder';
import * as countryCoder from '@ideditor/country-coder';
import { osmEntity } from '../../osm/entity';
import { t } from '../../util/locale';

View File

@@ -1,6 +1,6 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select, event as d3_event } from 'd3-selection';
import * as countryCoder from 'country-coder';
import * as countryCoder from '@ideditor/country-coder';
import { t, textDirection } from '../../util/locale';
import { dataPhoneFormats } from '../../../data';

View File

@@ -1,6 +1,6 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select, event as d3_event } from 'd3-selection';
import * as countryCoder from 'country-coder';
import * as countryCoder from '@ideditor/country-coder';
import { currentLocale, t, languageName } from '../../util/locale';
import { dataLanguages } from '../../../data';

View File

@@ -1,6 +1,6 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import { select as d3_select } from 'd3-selection';
import * as countryCoder from 'country-coder';
import * as countryCoder from '@ideditor/country-coder';
import { uiCombobox } from '../combobox';
import { utilGetSetValue, utilNoAuto, utilRebind } from '../../util';

View File

@@ -1,5 +1,5 @@
import { dispatch as d3_dispatch } from 'd3-dispatch';
import * as countryCoder from 'country-coder';
import * as countryCoder from '@ideditor/country-coder';
import {
event as d3_event,

View File

@@ -1,6 +1,6 @@
import { t } from '../util/locale';
import { matcher, brands } from 'name-suggestion-index';
import * as countryCoder from 'country-coder';
import * as countryCoder from '@ideditor/country-coder';
import { actionChangePreset } from '../actions/change_preset';
import { actionChangeTags } from '../actions/change_tags';

View File

@@ -34,6 +34,7 @@
"translations": "node data/update_locales"
},
"dependencies": {
"@ideditor/country-coder": "^3.0.1",
"@mapbox/sexagesimal": "1.2.0",
"@mapbox/togeojson": "0.16.0",
"@mapbox/vector-tile": "^1.3.1",
@@ -41,7 +42,6 @@
"abortcontroller-polyfill": "^1.4.0",
"alif-toolkit": "^1.2.6",
"browser-polyfills": "~1.5.0",
"country-coder": "^2.0.0",
"diacritics": "1.3.0",
"fast-deep-equal": "~2.0.1",
"fast-json-stable-stringify": "2.0.0",