diff --git a/modules/core/file_fetcher.js b/modules/core/file_fetcher.js index 060878a16..844fb236d 100644 --- a/modules/core/file_fetcher.js +++ b/modules/core/file_fetcher.js @@ -21,13 +21,9 @@ export function coreFileFetcher() { 'locales': 'locales/index.min.json', 'nsi_brands': 'https://cdn.jsdelivr.net/npm/name-suggestion-index@4/dist/brands.min.json', 'nsi_filters': 'https://cdn.jsdelivr.net/npm/name-suggestion-index@4/dist/filters.min.json', - 'oci_defaults': 'https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/defaults.min.json', - 'oci_features': 'https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/featureCollection.min.json', - 'oci_resources': 'https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/resources.min.json', -// v4 when ready: - // 'oci_defaults': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/defaults.min.json', - // 'oci_features': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/featureCollection.min.json', - // 'oci_resources': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/resources.min.json', + 'oci_defaults': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/defaults.min.json', + 'oci_features': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/featureCollection.min.json', + 'oci_resources': 'https://cdn.jsdelivr.net/npm/osm-community-index@4/dist/resources.min.json', 'preset_categories': 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/preset_categories.min.json', 'preset_defaults': 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/preset_defaults.min.json', 'preset_fields': 'https://cdn.jsdelivr.net/npm/@openstreetmap/id-tagging-schema@3/dist/fields.min.json', diff --git a/package.json b/package.json index 7f31c0903..b6307edf3 100644 --- a/package.json +++ b/package.json @@ -94,8 +94,8 @@ "happen": "^0.3.1", "js-yaml": "^4.0.0", "json-stringify-pretty-compact": "^3.0.0", - "mapillary-js": "~3.1.0", "mapillary_sprite_source": "^1.8.0", + "mapillary-js": "~3.1.0", "minimist": "^1.2.3", "mocha": "^7.0.1", "mocha-phantomjs-core": "^2.1.0", @@ -103,7 +103,7 @@ "node-fetch": "^2.6.1", "npm-run-all": "^4.0.0", "object-inspect": "1.9.0", - "osm-community-index": "3.1.1", + "osm-community-index": "~4.0.0", "phantomjs-prebuilt": "~2.1.16", "postcss": "^8.1.1", "postcss-selector-prepend": "^0.5.0", @@ -126,4 +126,4 @@ "browserslist": [ "> 0.2%, last 6 major versions, Firefox ESR, IE 11, maintained node versions" ] -} \ No newline at end of file +}