Skip to content

Commit

Permalink
chore: update libraries (#115)
Browse files Browse the repository at this point in the history
* chore: update rust libraries

* chore: update npm libraries

* chore: npm dedupe

* test: fix rust unit tests
  • Loading branch information
Gumichocopengin8 authored Aug 26, 2024
1 parent 69e834f commit d40831a
Show file tree
Hide file tree
Showing 10 changed files with 1,996 additions and 1,479 deletions.
443 changes: 212 additions & 231 deletions api/Cargo.lock

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ rust-version = "1.71"
anyhow = "1"
axum = { version = "0.7.5", features = ["http2"] }
crates_io_api = "0.11"
http-body-util = "0.1.1"
http-body-util = "0.1.2"
serde_json = "1"
tokio = { version = "1.37.0", features = ["full"] }
tower = "0.4.13"
tokio = { version = "1.39.3", features = ["full"] }
tower = { version = "0.5.0", features = [
"util", # `util` feature for unit test (oneshot func etc)
] }
tower-http = { version = "0.5.2", features = ["cors", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
Expand Down
2,702 changes: 1,607 additions & 1,095 deletions web/package-lock.json

Large diffs are not rendered by default.

41 changes: 21 additions & 20 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,40 @@
"e2e": "playwright test"
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@mui/icons-material": "^5.15.18",
"@mui/material": "^5.15.18",
"axios": "^1.6.8",
"dayjs": "^1.11.11",
"echarts": "^5.5.0",
"next": "^14.2.3",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@mui/icons-material": "^5.16.7",
"@mui/material": "^5.16.7",
"axios": "^1.7.5",
"dayjs": "^1.11.13",
"echarts": "^5.5.1",
"next": "^14.2.6",
"pretty-bytes": "^6.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.51.4",
"react-hook-form": "^7.53.0",
"recoil": "^0.7.7",
"swr": "^2.2.5"
},
"devDependencies": {
"@eslint/js": "^9.3.0",
"@playwright/test": "^1.44.0",
"@types/node": "^20.12.12",
"@types/react": "^18.3.2",
"@eslint/js": "^9.9.1",
"@playwright/test": "^1.46.1",
"@types/node": "^22.5.0",
"@types/react": "^18.3.4",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.3",
"eslint-config-next": "^14.2.6",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"globals": "^15.9.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"typescript-eslint": "^7.9.0",
"wasm-pack": "^0.12.1"
"wasm-pack": "^0.13.0"
},
"husky": {
"hooks": {
Expand Down
121 changes: 69 additions & 52 deletions web/src/web_assembly/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions web/src/web_assembly/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
js-sys = "0.3.69"
web-sys = { "version" = "0.3.69", features = ['console'] }
wasm-bindgen = "0.2.92"
js-sys = "0.3.70"
web-sys = { "version" = "0.3.70", features = ['console'] }
wasm-bindgen = "0.2.93"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
Expand Down
3 changes: 2 additions & 1 deletion web/src/web_assembly/pkg/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "web_assembly",
"type": "module",
"version": "0.1.0",
"files": [
"web_assembly_bg.wasm",
"web_assembly.js",
"web_assembly.d.ts"
],
"module": "web_assembly.js",
"main": "web_assembly.js",
"types": "web_assembly.d.ts",
"sideEffects": [
"./snippets/*"
Expand Down
Loading

0 comments on commit d40831a

Please sign in to comment.