diff --git a/package.json b/package.json index 5b603957e2..9a8ed74400 100644 --- a/package.json +++ b/package.json @@ -128,9 +128,9 @@ "@geosolutions/react-joyride": "1.10.2", "@geosolutions/wkt-parser": "1.2.2", "@googlemaps/js-api-loader": "1.12.9", - "@mapbox/geojsonhint": "2.0.1", - "@mapbox/togeojson": "0.16.0", + "@mapbox/togeojson": "0.16.2", "@mapstore/patcher": "https://github.com/geosolutions-it/Patcher/tarball/master", + "@placemarkio/check-geojson": "^0.1.12", "@turf/along": "6.5.0", "@turf/area": "6.5.0", "@turf/bbox": "4.1.0", diff --git a/web/client/utils/FileUtils.js b/web/client/utils/FileUtils.js index e58fa75a50..a9b28998e9 100644 --- a/web/client/utils/FileUtils.js +++ b/web/client/utils/FileUtils.js @@ -16,7 +16,7 @@ import JSZip from 'jszip'; import { Promise } from 'es6-promise'; const parser = new DOMParser(); import assign from 'object-assign'; -import { hint as geojsonhint } from '@mapbox/geojsonhint/lib/object'; +import { check as geojsonhint } from '@placemarkio/check-geojson'; import { toMapConfig } from './ogc/WMC'; const cleanStyleFromKml = (xml) => {