Skip to content

Commit

Permalink
Upgrade napi-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Dec 5, 2023
1 parent 54f8a2f commit ff94bec
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 230 deletions.
6 changes: 3 additions & 3 deletions autocorrect-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ crate-type = ["cdylib"]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
autocorrect = {path = "../autocorrect", version = ">= 1.0.0"}
autocorrect-cli = {path = "../autocorrect-cli", version = ">= 2.6", default-features = false}
napi = {version = "2.10.0", default-features = false, features = ["napi4", "async"]}
napi-derive = "2.9.1"
napi = {version = "2.14.1", default-features = false, features = ["napi4", "async"]}
napi-derive = "2.14.2"

[build-dependencies]
napi-build = "2.0.1"
napi-build = "2.1.0"

[profile.release]
lto = true
6 changes: 3 additions & 3 deletions autocorrect-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"license": "MIT",
"devDependencies": {
"@napi-rs/cli": "^2.12.0",
"ava": "^4.3.3"
"@napi-rs/cli": "^2.16.5",
"ava": "^5.1.1"
},
"ava": {
"timeout": "3m"
Expand All @@ -34,4 +34,4 @@
"test": "ava",
"version": "napi version"
}
}
}
Loading

0 comments on commit ff94bec

Please sign in to comment.