Update react packages

This commit is contained in:
Raffson 2024-03-22 21:54:27 +01:00
parent a56aa7a766
commit 6b1b612c4b
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99
5 changed files with 7556 additions and 5669 deletions

13169
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,26 +6,26 @@
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"homepage": ".", "homepage": ".",
"dependencies": { "dependencies": {
"@reduxjs/toolkit": "^1.8.5", "@reduxjs/toolkit": "^1.9.7",
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0", "@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3", "@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.1.2", "@types/jest": "^29.5.12",
"@types/node": "^18.8.3", "@types/node": "^18.19.26",
"@types/react": "^18.0.21", "@types/react": "^18.2.69",
"@types/react-dom": "^18.0.6", "@types/react-dom": "^18.2.22",
"@types/react-redux": "^7.1.24", "@types/react-redux": "^7.1.33",
"axios": "^1.6.0", "axios": "^1.6.8",
"electron-window-state": "^5.0.3", "electron-window-state": "^5.0.3",
"esri-leaflet": "^3.0.8", "esri-leaflet": "^3.0.12",
"leaflet": "^1.9.2", "leaflet": "^1.9.4",
"leaflet-ruler": "^1.0.0", "leaflet-ruler": "^1.0.0",
"milsymbol": "^2.0.0", "milsymbol": "^2.2.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-esri-leaflet": "^2.0.1", "react-esri-leaflet": "^2.0.1",
"react-leaflet": "^4.1.0", "react-leaflet": "^4.2.1",
"react-redux": "^8.0.4", "react-redux": "^8.1.3",
"redux-logger": "^3.0.6", "redux-logger": "^3.0.6",
"typescript": "~4.8.4" "typescript": "~4.8.4"
}, },
@ -61,20 +61,20 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@rtk-query/codegen-openapi": "^1.0.0", "@rtk-query/codegen-openapi": "^1.2.0",
"@trivago/prettier-plugin-sort-imports": "^4.3.0", "@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/leaflet": "^1.8.0", "@types/leaflet": "^1.9.8",
"@types/redux-logger": "^3.0.9", "@types/redux-logger": "^3.0.13",
"@types/websocket": "^1.0.5", "@types/websocket": "^1.0.10",
"electron": "^22.3.25", "electron": "^22.3.27",
"electron-is-dev": "^2.0.0", "electron-is-dev": "^2.0.0",
"generate-license-file": "^2.0.0", "generate-license-file": "^2.0.0",
"identity-obj-proxy": "^3.0.0", "identity-obj-proxy": "^3.0.0",
"license-checker": "^25.0.1", "license-checker": "^25.0.1",
"nth-check": "^2.0.1", "nth-check": "^2.1.1",
"react-scripts": "5.0.1", "react-scripts": "5.0.1",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"wait-on": "^6.0.1" "wait-on": "^7.2.0"
}, },
"jest": { "jest": {
"transformIgnorePatterns": [ "transformIgnorePatterns": [

View File

@ -1,10 +1,10 @@
import { Flight } from "../../api/liberationApi"; import { Flight } from "../../api/liberationApi";
import { Icon, Point } from "leaflet"; import { Icon, Point } from "leaflet";
import { Symbol } from "milsymbol"; import ms from "milsymbol";
import { Marker } from "react-leaflet"; import { Marker } from "react-leaflet";
function iconForFlight(flight: Flight) { function iconForFlight(flight: Flight) {
const symbol = new Symbol(flight.sidc, { const symbol = new ms.Symbol(flight.sidc, {
size: 20, size: 20,
}); });

View File

@ -1,9 +1,9 @@
import { ControlPoint } from "../../api/_liberationApi"; import { ControlPoint } from "../../api/_liberationApi";
import { Icon, Point } from "leaflet"; import { Icon, Point } from "leaflet";
import { Symbol } from "milsymbol"; import ms from "milsymbol";
export const iconForControlPoint = (cp: ControlPoint) => { export const iconForControlPoint = (cp: ControlPoint) => {
const symbol = new Symbol(cp.sidc, { const symbol = new ms.Symbol(cp.sidc, {
size: 24, size: 24,
colorMode: "Dark", colorMode: "Dark",
}); });

View File

@ -5,11 +5,11 @@ import {
import { Tgo as TgoModel } from "../../api/liberationApi"; import { Tgo as TgoModel } from "../../api/liberationApi";
import SplitLines from "../splitlines/SplitLines"; import SplitLines from "../splitlines/SplitLines";
import { Icon, Point } from "leaflet"; import { Icon, Point } from "leaflet";
import { Symbol as MilSymbol } from "milsymbol"; import ms from "milsymbol";
import { Marker, Tooltip } from "react-leaflet"; import { Marker, Tooltip } from "react-leaflet";
function iconForTgo(cp: TgoModel) { function iconForTgo(cp: TgoModel) {
const symbol = new MilSymbol(cp.sidc, { const symbol = new ms.Symbol(cp.sidc, {
size: 24, size: 24,
}); });