diff --git a/js/preview/geojson.js b/js/preview/geojson.js index 4ff6228..66233bc 100644 --- a/js/preview/geojson.js +++ b/js/preview/geojson.js @@ -1,4 +1,4 @@ -import lineToPolygon from '@turf/line-to-polygon'; +import { lineToPolygon } from '@turf/line-to-polygon'; import { centerOfMass } from '@turf/center-of-mass'; import { poiClassAndSubclass } from './poi'; diff --git a/package.json b/package.json index 06b2301..b354a5d 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "@indoorequal/vue-maplibre-gl": "^7.3.0", "@turf/bbox": "^7.0.0", "@turf/center-of-mass": "^7.0.0", - "@turf/line-to-polygon": "^6.5.0", + "@turf/line-to-polygon": "^7.0.0", "dayjs": "^1.11.10", "jszip": "^3.7.1", "lodash.uniq": "^4.5.0", diff --git a/yarn.lock b/yarn.lock index a288c1d..4448810 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3027,16 +3027,6 @@ __metadata: languageName: node linkType: hard -"@turf/bbox@npm:^6.5.0": - version: 6.5.0 - resolution: "@turf/bbox@npm:6.5.0" - dependencies: - "@turf/helpers": "npm:^6.5.0" - "@turf/meta": "npm:^6.5.0" - checksum: 10c0/32c705ff0462f9f72fd4c78f013ebf3cbb30127c998770841d41540b246d3f3a73365a714ef335e45a70b9340317f402af76c36dbd64e9d9c2dfc65de71a9f84 - languageName: node - linkType: hard - "@turf/bbox@npm:^7.0.0": version: 7.0.0 resolution: "@turf/bbox@npm:7.0.0" @@ -3073,12 +3063,13 @@ __metadata: languageName: node linkType: hard -"@turf/clone@npm:^6.5.0": - version: 6.5.0 - resolution: "@turf/clone@npm:6.5.0" +"@turf/clone@npm:^7.0.0": + version: 7.0.0 + resolution: "@turf/clone@npm:7.0.0" dependencies: - "@turf/helpers": "npm:^6.5.0" - checksum: 10c0/a7a6a390ba1303d0ec3beb2b18e557ab62f27d03245f8b13d587619af6bb22c0489ee9a3a70d3012a95ab43fd3af41e5d685db117d76492785bd7ed07e9b3a1f + "@turf/helpers": "npm:^7.0.0" + tslib: "npm:^2.6.2" + checksum: 10c0/4d59e18b3cafe04f73136b5a1610a16f7ad16ebff11b36708a9e48b0ad98af5776ba1fc1b7ac47537ac356a7e217852e97cefc9878b6ea42b977ddd476056bb7 languageName: node linkType: hard @@ -3094,13 +3085,6 @@ __metadata: languageName: node linkType: hard -"@turf/helpers@npm:^6.5.0": - version: 6.5.0 - resolution: "@turf/helpers@npm:6.5.0" - checksum: 10c0/786cbe0c0027f85db286fb3a0b7be04bb29bd63ec07760a49735ef32e9c5b4a7c059a8f691fafa31c7e0e9be34c281e014dc24077438bae01a09b492a680fb6f - languageName: node - linkType: hard - "@turf/helpers@npm:^7.0.0": version: 7.0.0 resolution: "@turf/helpers@npm:7.0.0" @@ -3111,15 +3095,6 @@ __metadata: languageName: node linkType: hard -"@turf/invariant@npm:^6.5.0": - version: 6.5.0 - resolution: "@turf/invariant@npm:6.5.0" - dependencies: - "@turf/helpers": "npm:^6.5.0" - checksum: 10c0/5ff9f2043d629cc5f6d3df78452632b2213f17931caa34698d9e8c651640508814b3522d4ab747f36a4b9dfaf6ff64eedc3a04ba62c39ddeb6706f052b621dc6 - languageName: node - linkType: hard - "@turf/invariant@npm:^7.0.0": version: 7.0.0 resolution: "@turf/invariant@npm:7.0.0" @@ -3130,24 +3105,16 @@ __metadata: languageName: node linkType: hard -"@turf/line-to-polygon@npm:^6.5.0": - version: 6.5.0 - resolution: "@turf/line-to-polygon@npm:6.5.0" - dependencies: - "@turf/bbox": "npm:^6.5.0" - "@turf/clone": "npm:^6.5.0" - "@turf/helpers": "npm:^6.5.0" - "@turf/invariant": "npm:^6.5.0" - checksum: 10c0/e3187e45b38100f47566bac7817686af156d68e6e99536d6698277e9d50e3a7f6132e14fe78897ee2bf426b7a32b10e583882e63cb5764050e7d9728c0dd34a8 - languageName: node - linkType: hard - -"@turf/meta@npm:^6.5.0": - version: 6.5.0 - resolution: "@turf/meta@npm:6.5.0" +"@turf/line-to-polygon@npm:^7.0.0": + version: 7.0.0 + resolution: "@turf/line-to-polygon@npm:7.0.0" dependencies: - "@turf/helpers": "npm:^6.5.0" - checksum: 10c0/9df6cb5af7af98a477ddcd744fb44e4e890fe8a67afa50bb24cad7d9c15af67362d24f1f8890d706a9c369b18285b0ba42430509add769ad868ac452703bb59b + "@turf/bbox": "npm:^7.0.0" + "@turf/clone": "npm:^7.0.0" + "@turf/helpers": "npm:^7.0.0" + "@turf/invariant": "npm:^7.0.0" + tslib: "npm:^2.6.2" + checksum: 10c0/2661c323ceeb7e3bc7f515327b83ca3b1675373e1b8a938ec1972a28f6c50cbd66771a941c5b38c192ae6baccddecde28b6dd5b1c24f61d3f48353ed7350eeae languageName: node linkType: hard @@ -7846,7 +7813,7 @@ __metadata: "@parcel/transformer-vue": "npm:2.12.0" "@turf/bbox": "npm:^7.0.0" "@turf/center-of-mass": "npm:^7.0.0" - "@turf/line-to-polygon": "npm:^6.5.0" + "@turf/line-to-polygon": "npm:^7.0.0" "@vue/test-utils": "npm:^2.0.0" "@vue/vue3-jest": "npm:29" babel-jest: "npm:^29.7.0"