From 622b76a6212e5c20e3d263792d8bbf8ea9d02ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Mon, 14 Jul 2025 21:53:34 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=8C=85=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 升级多个 npm 和 Rust 依赖包版本,包括 @iconify/react、react-error-boundary、typescript、vite 等前端依赖,以及 color-module 的 Rust 相关依赖 --- color-module/Cargo.toml | 17 +++++++++-------- package.json | 12 ++++++------ 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/color-module/Cargo.toml b/color-module/Cargo.toml index fabaa7d..a89230f 100644 --- a/color-module/Cargo.toml +++ b/color-module/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "color-module" -version = "0.1.0" -edition = "2021" +version = "0.1.9" +edition = "2024" +rust-version = "1.88.0" [lib] crate-type = ["cdylib"] @@ -12,13 +13,13 @@ enum-iterator = "2.1.0" linked-hash-map = { version = "0.5.6", features = ["serde", "serde_impl"] } linked_hash_set = { version = "0.1.5", features = ["serde"] } palette = { version = "0.7.6", features = ["serde"] } -serde = { version = "1.0.216", features = ["derive"] } +serde = { version = "1.0.219", features = ["derive"] } serde-wasm-bindgen = "0.6.5" -serde_json = "1.0.134" -serde_repr = "0.1.19" -strum = { version = "0.26.3", features = ["derive", "strum_macros"] } -strum_macros = "0.26.4" -thiserror = "2.0.9" +serde_json = "1.0.140" +serde_repr = "0.1.20" +strum = { version = "0.27.1", features = ["derive", "strum_macros"] } +strum_macros = "0.27.1" +thiserror = "2.0.12" wasm-bindgen = { version = "0.2.99", features = ["serde", "serde_json", "serde-serialize"] } web-sys = {version = "0.3.77", features = ["console", "Window"]} diff --git a/package.json b/package.json index dd5ec68..18d3502 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "@iconify/react": "^5.1.0", + "@iconify/react": "^6.0.0", "clsx": "^2.1.1", "color-module": "./color_functions", "dayjs": "^1.11.13", @@ -18,7 +18,7 @@ "lodash-es": "^4.17.21", "react": "^19.0.0", "react-dom": "^19.0.0", - "react-error-boundary": "^5.0.0", + "react-error-boundary": "^6.0.0", "react-router-dom": "^7.1.1", "react-transition-group": "^4.4.5", "react-use": "^17.6.0", @@ -36,10 +36,10 @@ "eslint": "^9.17.0", "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-react-refresh": "^0.4.16", - "globals": "^15.14.0", + "globals": "^16.3.0", "lightningcss": "^1.28.2", - "typescript": "~5.6.2", + "typescript": "~5.8.3", "typescript-eslint": "^8.18.2", - "vite": "^6.0.5" + "vite": "^7.0.4" } -} +} \ No newline at end of file