Skip to content

Commit

Permalink
refactor(diagram): improve null handling and update dependencies
Browse files Browse the repository at this point in the history
- Add null checks in edge and node constructors to prevent runtime errors
- Use optional chaining to improve code readability and robustness
- Update Vite to version 3.2.11
- Add 'exports: "named"' to vite config for better module resolution
  • Loading branch information
MrCoder committed Dec 5, 2024
1 parent 9548e9b commit 36f1ba9
Show file tree
Hide file tree
Showing 8 changed files with 307 additions and 338 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"terser-webpack-plugin": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"vite": "^3.2.10",
"vite": "^3.2.11",
"vite-plugin-css-injected-by-js": "^2.2.0",
"vite-svg-loader": "^4.0.0",
"vitest": "^0.26.1"
Expand Down
Loading

0 comments on commit 36f1ba9

Please sign in to comment.