diff --git a/package-lock.json b/package-lock.json index 4f775eeb..0db9b965 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,11 +59,11 @@ "@types/leaflet": "^1.9.3", "@types/qs": "^6.9.7", "@types/ramda": "^0.27.66", - "@types/react": "^18.0.26", + "@types/react": "^18.2.19", "@types/react-color": "^3.0.6", "@types/react-copy-to-clipboard": "^5.0.4", "@types/react-datepicker": "^4.15.0", - "@types/react-dom": "^18.0.10", + "@types/react-dom": "^18.2.7", "@types/react-tag-autocomplete": "^6.3.0", "@types/uuid": "^9.0.2", "@vitejs/plugin-react": "^4.0.4", @@ -3527,8 +3527,9 @@ } }, "node_modules/@types/react": { - "version": "18.0.26", - "license": "MIT", + "version": "18.2.19", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.19.tgz", + "integrity": "sha512-e2S8wmY1ePfM517PqCG80CcE48Xs5k0pwJzuDZsfE8IZRRBfOMCF+XqnFxu6mWtyivum1MQm4aco+WIt6Coimw==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -3565,9 +3566,10 @@ } }, "node_modules/@types/react-dom": { - "version": "18.0.10", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.7.tgz", + "integrity": "sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==", "devOptional": true, - "license": "MIT", "dependencies": { "@types/react": "*" } @@ -13623,7 +13625,9 @@ } }, "@types/react": { - "version": "18.0.26", + "version": "18.2.19", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.19.tgz", + "integrity": "sha512-e2S8wmY1ePfM517PqCG80CcE48Xs5k0pwJzuDZsfE8IZRRBfOMCF+XqnFxu6mWtyivum1MQm4aco+WIt6Coimw==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -13658,7 +13662,9 @@ } }, "@types/react-dom": { - "version": "18.0.10", + "version": "18.2.7", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.7.tgz", + "integrity": "sha512-GRaAEriuT4zp9N4p1i8BDBYmEyfo+xQ3yHjJU4eiK5NDa1RmUZG+unZABUTK4/Ox/M+GaHwb6Ow8rUITrtjszA==", "devOptional": true, "requires": { "@types/react": "*" diff --git a/package.json b/package.json index 2ccdd413..defad6d8 100644 --- a/package.json +++ b/package.json @@ -75,11 +75,11 @@ "@types/leaflet": "^1.9.3", "@types/qs": "^6.9.7", "@types/ramda": "^0.27.66", - "@types/react": "^18.0.26", + "@types/react": "^18.2.19", "@types/react-color": "^3.0.6", "@types/react-copy-to-clipboard": "^5.0.4", "@types/react-datepicker": "^4.15.0", - "@types/react-dom": "^18.0.10", + "@types/react-dom": "^18.2.7", "@types/react-tag-autocomplete": "^6.3.0", "@types/uuid": "^9.0.2", "@vitejs/plugin-react": "^4.0.4", diff --git a/vite.config.ts b/vite.config.ts index ba5c6429..d43f83f4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -58,7 +58,11 @@ export default defineConfig({ lines: 95, }, deps: { - inline: ['vitest-canvas-mock'], + optimizer: { + web: { + include: ['vitest-canvas-mock'], + }, + }, }, }, });