diff --git a/client/component/package.json b/client/component/package.json index ba0f388..82612fc 100644 --- a/client/component/package.json +++ b/client/component/package.json @@ -54,25 +54,25 @@ "devDependencies": { "@h5web/lib": "^15.0.0", "@react-three/drei": "^9.122.0", - "@react-three/fiber": "^8.17.0", + "@react-three/fiber": "^8.18.0", "@types/cwise": "^1.0.6", - "@types/d3-array": "^3.2.1", + "@types/d3-array": "^3.2.2", "@types/d3-format": "^3.0.4", "@types/d3-random": "^3.0.3", "@types/d3-scale": "^4.0.9", "@types/ndarray": "^1.0.14", - "@types/react": "^18.3.0", - "@types/react-dom": "^18.3.0", + "@types/react": "^18.3.27", + "@types/react-dom": "^18.3.7", "@types/three": "^0.174.0", "@types/websocket": "^1.0.10", "d3-random": "^3.0.1", "ndarray": "^1.0.19", - "react": "^18.3.0", - "react-dom": "^18.3.0", + "react": "^18.3.1", + "react-dom": "^18.3.1", "react-toastify": "^11.0.5", "three": "^0.174.0", - "typedoc": "^0.28.5", - "vite-plugin-dts": "^4.5.3", - "vitest": "^3.2.4" + "typedoc": "^0.28.15", + "vite-plugin-dts": "^4.5.4", + "vitest": "^4.0.15" } } diff --git a/client/component/src/selections/utils.tsx b/client/component/src/selections/utils.tsx index 29cadbc..e6a0a54 100644 --- a/client/component/src/selections/utils.tsx +++ b/client/component/src/selections/utils.tsx @@ -395,8 +395,7 @@ interface SelectionShapeProps { function SelectionShape(props: SelectionShapeProps) { const { size, selection, updateSelection, showHandles } = props; const selectionType = getSelectionType(selection); - const context = useVisCanvasContext(); - const { htmlToData } = context; + const { htmlToData } = useVisCanvasContext(); const camera = useThree((state) => state.camera); const htmlToDataFunction = useCallback( diff --git a/client/example/package.json b/client/example/package.json index bc2ac0d..05b5010 100644 --- a/client/example/package.json +++ b/client/example/package.json @@ -21,7 +21,7 @@ }, "devDependencies": { "@types/ndarray": "^1.0.14", - "@types/react": "^18.3.0", - "@types/react-dom": "^18.3.0" + "@types/react": "^18.3.27", + "@types/react-dom": "^18.3.7" } } diff --git a/eslint.config.mjs b/eslint.config.mjs index 3d7f78f..dbe5f70 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -55,7 +55,7 @@ export default defineConfig([globalIgnores([ settings: { react: { - version: "19", + version: "18", }, }, diff --git a/package.json b/package.json index dd0b3b3..5ad0daa 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ }, "version": "1.1.0", "private": true, - "packageManager": "pnpm@10.15.1+sha512.34e538c329b5553014ca8e8f4535997f96180a1d0f614339357449935350d924e22f8614682191264ec33d1462ac21561aff97f6bb18065351c162c7e8f6de67", + "packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a", "scripts": { "preinstall": "npx only-allow pnpm", "start": "pnpm --filter {client/example} start", @@ -28,27 +28,37 @@ } }, "onlyBuiltDependencies": [ - "esbuild" + "@tree-sitter-grammars/tree-sitter-yaml", + "bufferutil", + "core-js-pure", + "es5-ext", + "esbuild", + "tree-sitter", + "tree-sitter-json", + "utf-8-validate" + ], + "ignoredBuiltDependencies": [ + "@scarf/scarf" ] }, "devDependencies": { - "@eslint/compat": "^1.3.0", - "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "^9.29.0", - "@typescript-eslint/eslint-plugin": "^8.34.1", - "@typescript-eslint/parser": "^8.34.1", - "@vitejs/plugin-react": "^4.6.0", + "@eslint/compat": "^1.4.1", + "@eslint/eslintrc": "^3.3.3", + "@eslint/js": "^9.39.2", + "@typescript-eslint/eslint-plugin": "^8.49.0", + "@typescript-eslint/parser": "^8.49.0", + "@vitejs/plugin-react": "^4.7.0", "acorn": "^8.15.0", - "eslint": "~9.38.0", - "eslint-config-prettier": "^10.1.5", - "eslint-plugin-prettier": "^5.5.0", + "eslint": "^9.39.2", + "eslint-config-prettier": "^10.1.8", + "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", - "eslint-plugin-react-refresh": "^0.4.20", - "globals": "^16.2.0", - "prettier": "^3.6.0", - "typescript": "~5.8.3", - "vite": "^6.3.5" + "eslint-plugin-react-refresh": "^0.4.25", + "globals": "^16.5.0", + "prettier": "^3.7.4", + "typescript": "^5.9.3", + "vite": "^6.4.1" }, "browserslist": [ ">0.2%", diff --git a/storybook/package.json b/storybook/package.json index 64f6d05..34561ae 100644 --- a/storybook/package.json +++ b/storybook/package.json @@ -17,18 +17,18 @@ "three": "^0.174.0" }, "devDependencies": { - "@storybook/addon-links": "^9.1.5", - "@storybook/react-vite": "^9.1.5", + "@storybook/addon-docs": "^9.1.16", + "@storybook/addon-links": "^9.1.16", + "@storybook/react-vite": "^9.1.16", "@types/ndarray": "^1.0.14", - "@types/node": "^20.19.1", - "@types/react": "^18.3.23", + "@types/node": "^20.19.27", + "@types/react": "^18.3.27", "@types/react-dom": "^18.3.7", "@types/swagger-ui-react": "^4.19.0", "@types/three": "^0.164.1", - "eslint-plugin-storybook": "^9.1.5", - "storybook": "^9.1.5", - "swagger-ui-react": "^5.25.2", - "@storybook/addon-docs": "^9.1.5" + "eslint-plugin-storybook": "^9.1.16", + "storybook": "^9.1.16", + "swagger-ui-react": "^5.31.0" }, "eslintConfig": { "extends": [