Skip to content

Commit baf25fc

Browse files
committed
Pinning napi and napi-sys
1 parent 91190a0 commit baf25fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/ferric-example/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT"
88
crate-type = ["cdylib"]
99

1010
[dependencies.napi]
11-
version = "3.4.0"
11+
version = "=3.4.0"
1212
# see https://nodejs.org/api/n-api.html#node-api-version-matrix
1313
default-features = false
1414
features = ["napi3"]
@@ -17,6 +17,10 @@ features = ["napi3"]
1717
version = "3.3.0"
1818
features = ["type-def"]
1919

20+
# See https://github.com/callstackincubator/react-native-node-api/issues/331
21+
[dependencies.napi-sys]
22+
version = "=3.0.1"
23+
2024
[build-dependencies]
2125
napi-build = "2.2.4"
2226

0 commit comments

Comments
 (0)