Skip to content

Commit

Permalink
chore: Update all turf packages to v7 (#3383)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Jul 8, 2024
1 parent 8adce6a commit c885843
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 42 deletions.
5 changes: 3 additions & 2 deletions editor.planx.uk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"@tiptap/react": "^2.4.0",
"@tiptap/suggestion": "^2.0.3",
"@turf/area": "^7.0.0",
"@turf/buffer": "^6.5.0",
"@turf/helpers": "^6.5.0",
"@turf/buffer": "^7.0.0",
"@turf/helpers": "^7.0.0",
"array-move": "^4.0.0",
"axios": "^1.6.8",
"bowser": "^2.11.0",
Expand Down Expand Up @@ -115,6 +115,7 @@
"@testing-library/user-event": "^14.4.3",
"@types/dompurify": "^3.0.5",
"@types/draft-js": "^0.11.12",
"@types/geojson": "^7946.0.14",
"@types/jest": "^27.5.2",
"@types/jest-axe": "^3.5.9",
"@types/lodash": "^4.14.202",
Expand Down
82 changes: 46 additions & 36 deletions editor.planx.uk/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { PrivateFileUpload } from "@planx/components/shared/PrivateFileUpload/Pr
import { squareMetresToHectares } from "@planx/components/shared/utils";
import type { PublicProps } from "@planx/components/ui";
import buffer from "@turf/buffer";
import { type Feature, point } from "@turf/helpers";
import { point } from "@turf/helpers";
import { Feature } from "geojson";
import { Store, useStore } from "pages/FlowEditor/lib/store";
import React, { useEffect, useRef, useState } from "react";
import { FONT_WEIGHT_SEMI_BOLD } from "theme";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import CardHeader from "@planx/components/shared/Preview/CardHeader";
import { squareMetresToHectares } from "@planx/components/shared/utils";
import { PublicProps } from "@planx/components/ui";
import area from "@turf/area";
import { Feature } from "@turf/helpers";
import DelayedLoadingIndicator from "components/DelayedLoadingIndicator";
import { Feature } from "geojson";
import { Store } from "pages/FlowEditor/lib/store";
import React, { useEffect, useState } from "react";
import useSWR from "swr";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { useQuery } from "@apollo/client";
import Box from "@mui/material/Box";
import Link from "@mui/material/Link";
import { styled } from "@mui/material/styles";
import Typography from "@mui/material/Typography";
import { visuallyHidden } from "@mui/utils";
import Card from "@planx/components/shared/Preview/Card";
import CardHeader from "@planx/components/shared/Preview/CardHeader";
import { SummaryListTable } from "@planx/components/shared/Preview/SummaryList";
import type { PublicProps } from "@planx/components/ui";
import { Feature } from "@turf/helpers";
import { Feature } from "geojson";
import { publicClient } from "lib/graphql";
import find from "lodash/find";
import { useAnalyticsTracking } from "pages/FlowEditor/lib/analytics/provider";
Expand Down

0 comments on commit c885843

Please sign in to comment.