mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Upgrade country-coder to scoped package @ideditor/country-coder
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user