Skip to content

Commit 189fcfe

Browse files
committed
Update to napi v3
1 parent 542064f commit 189fcfe

File tree

5 files changed

+261
-174
lines changed

5 files changed

+261
-174
lines changed

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ http-handler = { git = "ssh://[email protected]/platformatic/http-handler.git" }
2525
http-rewriter = { git = "ssh://[email protected]/platformatic/http-rewriter.git" }
2626
# http-rewriter = { path = "../http-rewriter" }
2727
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
28-
napi = { version = "3.0.0-beta.8", default-features = false, features = ["napi4"], optional = true }
29-
napi-derive = { version = "3.0.0-beta.8", optional = true }
28+
napi = { version = "3", default-features = false, features = ["napi4"], optional = true }
29+
napi-derive = { version = "3", optional = true }
3030
pyo3 = { version = "0.25.1", features = ["experimental-async"] }
3131
pyo3-async-runtimes = { version = "0.25.0", features = ["tokio-runtime"] }
3232
thiserror = "2.0.12"
3333
tokio = { version = "1.45.1", features = ["full"] }
3434

3535
[build-dependencies]
36-
napi-build = { version = "2.2.1", optional = true }
36+
napi-build = { version = "2", optional = true }
3737

3838
[profile.release]
3939
lto = true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"license": "MIT",
1717
"devDependencies": {
18-
"@napi-rs/cli": "3.0.0-alpha.89",
18+
"@napi-rs/cli": "^3.0.4",
1919
"@oxc-node/core": "^0.0.23",
2020
"oxlint": "^0.16.0"
2121
},

0 commit comments

Comments
 (0)