Skip to content

Commit 49b8b29

Browse files
committed
Upgrade country-coder to scoped package @ideditor/country-coder
1 parent be1581f commit 49b8b29

6 files changed

+7
-7
lines changed

dist/index.js

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

dist/resources.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"OSM-India-Puducherry-Matrix": {"id": "OSM-India-Puducherry-Matrix", "type": "matrix", "includeLocations": [[79.7324, 11.9142]], "name": "Free Software Hardware Movement - Matrix", "description": "FSHM Riot group to discuss, share and update mapping activities, events in and around Puducherry", "extendedDescription": "FSHM community members share their OSM mapping updates / experiences through the Riot.im group, this group is also used to discuss things related to free software / hardware, technology and activism.", "url": "https://riot.im/app/#/room/#fshm:matrix.org", "contacts": [{"name": "Kamalavelan", "email": "sskamalavelan@gmail.com", "osm": "demonshreder"}, {"name": "Prasanna", "email": "prasmailme@gmail.com", "osm": "Prashere"}]},
6060
"OSM-India-facebook": {"id": "OSM-India-facebook", "type": "facebook", "includeLocations": ["in"], "name": "OpenStreetMap India - Participatory neighborhood mapping", "description": "Improve OpenStreetMap in India", "extendedDescription": "Mapping in India? Have questions, want to connect with the community here? Join us at {url}. All are welcome!", "url": "https://www.facebook.com/groups/mappingindia/", "contacts": [{"name": "Jinal Foflia", "email": "fofliajinal@gmail.com"}, {"name": "Arun Ganesh", "email": "arun.planemad@gmail.com"}], "order": 3},
6161
"OSM-Japan-telegram": {"id": "OSM-Japan-telegram", "type": "telegram", "includeLocations": ["jp"], "countryCodes": ["jp"], "languageCodes": ["ja"], "name": "OpenStreetMap Japan Telegram", "description": "A Telegram group for the OSM Japan community: {url}", "url": "https://t.me/osmjapan", "contacts": [{"name": "OSMF Japan", "email": "info@osmf.jp"}], "order": 5},
62-
"OSM-Kerala-facebook": {"id": "OSM-Kerala-facebook", "type": "facebook", "includeLocations": ["india_kerala.geojson"], "name": "OpenStreetMap Kerala - Participatory neighborhood mapping", "description": "Improve OpenStreetMap in Kerala", "extendedDescription": "Mapping in Kerala? Have questions, want to connect with the community here? Join us at {url}. All are welcome!", "url": "https://www.facebook.com/groups/mappingindia/", "contacts": [{"name": "Manoj Karingamadathil", "email": "dartermanoj@gmail.com"}, {"name": "Jaisen Nedumpala", "email": "jaisuvyas@gmail.com"}]},
62+
"OSM-Kerala-facebook": {"id": "OSM-Kerala-facebook", "type": "facebook", "includeLocations": ["india_kerala.geojson"], "name": "OpenStreetMap Kerala - Participatory neighborhood mapping", "description": "Improve OpenStreetMap in Kerala", "extendedDescription": "Mapping in Kerala ? Have questions, want to connect with the community here? Join us at {url}. All are welcome!", "url": "https://facebook.com/osmkerala/", "contacts": [{"name": "Manoj Karingamadathil", "email": "dartermanoj@gmail.com"}, {"name": "Jaisen Nedumpala", "email": "jaisuvyas@gmail.com"}]},
6363
"OSM-Korea-mailinglist": {"id": "OSM-Korea-mailinglist", "type": "mailinglist", "includeLocations": ["kp", "kr"], "countryCodes": ["kp", "kr"], "languageCodes": ["en", "ko"], "name": "OpenStreetMap Korea Mailinglist", "description": "Talk-ko is an Official Mailinglist for the Communities to dicuss matters about Korea", "url": "https://lists.openstreetmap.org/listinfo/talk-ko", "contacts": [{"name": "Talk-ko-owner", "email": "talk-ko-owner@openstreetmap.org"}], "order": -3},
6464
"OSM-Korea-telegram": {"id": "OSM-Korea-telegram", "type": "telegram", "includeLocations": ["kp", "kr"], "countryCodes": ["kp", "kr"], "languageCodes": ["en", "ko"], "name": "OSM Korea Telegram", "description": "Unofficial Group for OpenStreetMap contributors, communities, and users in Korea to share and discuss.", "url": "https://t.me/osmKorea", "contacts": [{"name": "Yongmin Hong", "email": "revi@pobox.com"}, {"name": "Max N", "email": "abonnements@revolwear.com"}]},
6565
"OSM-MMR-facebook": {"id": "OSM-MMR-facebook", "type": "facebook", "includeLocations": ["mm"], "name": "OpenStreetMap Myanmar", "description": "Improve OpenStreetMap in Myanmar", "extendedDescription": "Mapping in Myanmar? Have questions, want to connect with the community here? Join us at {Url}. All are welcome!", "url": "https://www.facebook.com/groups/osmmm/", "contacts": [{"name": "Yan Naung Oak", "email": "yan@phandeeyar.org"}, {"name": "Patrick Oswald", "email": "patrickoswald.omm@gmail.com"}, {"name": "Set Khaing Oo", "email": "setkhaing@phandeeyar.org"}], "order": 3},

i18n/en.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ en:
211211
OSM-Kerala-facebook:
212212
name: OpenStreetMap Kerala - Participatory neighborhood mapping
213213
description: Improve OpenStreetMap in Kerala
214-
extendedDescription: 'Mapping in Kerala? Have questions, want to connect with the community here? Join us at {url}. All are welcome!'
214+
extendedDescription: 'Mapping in Kerala ? Have questions, want to connect with the community here? Join us at {url}. All are welcome!'
215215
OSM-Korea-mailinglist:
216216
name: OpenStreetMap Korea Mailinglist
217217
description: Talk-ko is an Official Mailinglist for the Communities to dicuss matters about Korea

lib/isValidLocation.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CountryCoder = require('country-coder');
1+
const CountryCoder = require('@ideditor/country-coder');
22

33

44
function isValidLocation(location, features) {

lib/locationToFeature.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const CountryCoder = require('country-coder');
1+
const CountryCoder = require('@ideditor/country-coder');
22

33
const calcArea = require('@mapbox/geojson-area');
44
const circleToPolygon = require('circle-to-polygon');

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"txpush": "tx push -s"
2424
},
2525
"dependencies": {
26+
"@ideditor/country-coder": "^3.0.1",
2627
"@mapbox/geojson-area": "^0.2.2",
2728
"circle-to-polygon": "^1.0.2",
28-
"country-coder": "^2.1.0",
2929
"geojson-precision": "^0.4.0"
3030
},
3131
"devDependencies": {

0 commit comments

Comments
 (0)