Skip to content

Commit

Permalink
chore(deps): upgrade dependencies
Browse files Browse the repository at this point in the history
Upgrade Cargo.toml

- napi
- napi-derive
- wasm-bindgen
- js-sys

And pacakge.js devDependencies
  • Loading branch information
yisibl committed Sep 25, 2023
1 parent c8425fd commit 94bf92d
Show file tree
Hide file tree
Showing 7 changed files with 476 additions and 441 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ usvg-writer = { git = "https://github.com/zimond/resvg", rev = "6201182c" }
mimalloc-rust = { version = "0.2" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2.84"
js-sys = "0.3.61"
wasm-bindgen = "0.2.87"
js-sys = "0.3.64"
resvg = { version = "0.29.0", default-features = false, features = [
"filter",
"raster-images",
"text",
] }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
napi = { version = "2.12.1", features = ["serde-json", "async"] }
napi-derive = "2.10.1"
napi = { version = "2.13.3", features = ["serde-json", "async"] }
napi-derive = "2.13.0"
resvg = { version = "0.29.0", default-features = false, features = [
"filter",
"raster-images",
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,16 @@
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^2.14.6",
"@swc-node/register": "^1.6.4",
"@swc/core": "^1.3.53",
"@types/node": "^18.16.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"ava": "^5.2.0",
"@napi-rs/cli": "^2.16.3",
"@swc-node/register": "1.6.4",
"@swc/core": "^1.3.88",
"@types/node": "^20.6.5",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"ava": "^5.3.1",
"copyfiles": "^2.4.1",
"dts-bundle-generator": "^8.0.1",
"esbuild": "^0.19.0",
"esbuild": "^0.19.3",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -94,7 +94,7 @@
"node-fetch": "2.x",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"typescript": "^5.0.4"
"typescript": "^5.2.2"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
Expand Down
Loading

0 comments on commit 94bf92d

Please sign in to comment.