Skip to content

Commit

Permalink
chore(deps): update turf packages (#1041)
Browse files Browse the repository at this point in the history
* chore(deps): update turf packages

* fix: resolve type `Geometry` from `@types/geojson` instead of `@turf`

---------

Co-authored-by: A-Behairi <behairiahmed@gmail.com>
  • Loading branch information
silvester-pari and A-Behairi authored Jun 20, 2024
1 parent 94d77b8 commit 5e519c4
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 134 deletions.
5 changes: 3 additions & 2 deletions elements/itemfilter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "module",
"devDependencies": {
"@eox/eslint-config": "^1.0.0",
"@types/geojson": "^7946.0.14",
"@types/lodash.debounce": "^4.0.7",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
Expand All @@ -29,8 +30,8 @@
},
"dependencies": {
"@floating-ui/dom": "^1.5.3",
"@turf/boolean-intersects": "^6.5.0",
"@turf/boolean-within": "^6.5.0",
"@turf/boolean-intersects": "^7.0.0",
"@turf/boolean-within": "^7.0.0",
"fuse.js": "^7.0.0",
"lit": "^3.0.2",
"lodash.debounce": "^4.0.8",
Expand Down
6 changes: 3 additions & 3 deletions elements/itemfilter/src/filters/spatial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { LitElement, html, nothing } from "lit";
import { customElement, property, state } from "lit/decorators.js";
import { map } from "lit/directives/map.js";
import { when } from "lit/directives/when.js";
import booleanIntersects from "@turf/boolean-intersects";
import booleanWithin from "@turf/boolean-within";
import { Geometry } from "@turf/helpers";
import { booleanIntersects } from "@turf/boolean-intersects";
import { booleanWithin } from "@turf/boolean-within";
import type { Geometry } from "geojson";
import { EOxMap } from "../../../map/main";
import { resetFilter } from "../reset";
import { EoxLayer } from "../../../map/src/generate";
Expand Down
Loading

0 comments on commit 5e519c4

Please sign in to comment.