Skip to content

Commit 904ceb3

Browse files
committed
fix: update cmake-ts to v0.4.0
1 parent 995973d commit 904ceb3

File tree

4 files changed

+29
-29
lines changed

4 files changed

+29
-29
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"homepage": "http://zeromq.github.io/zeromq.js/",
2121
"dependencies": {
22-
"@aminya/cmake-ts": "^0.3.0-aminya.7",
22+
"cmake-ts": "^0.4.0",
2323
"node-addon-api": "^8.3.0"
2424
},
2525
"devDependencies": {
@@ -254,4 +254,4 @@
254254
],
255255
"license": "MIT AND MPL-2.0",
256256
"author": "Amin Yahyaabadi <[email protected]>, Rolf Timmermans <[email protected]>"
257-
}
257+
}

pnpm-lock.yaml

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

script/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function cmakeTs() {
55
console.log(
66
"Building addon node via cmake-ts (requires cmake, ninja, and the vcpkg dependencies)",
77
)
8-
const cmakeTsPath = require.resolve("@aminya/cmake-ts/build/main.js")
8+
const cmakeTsPath = require.resolve("cmake-ts/build/main.js")
99

1010
cp.execFileSync(process.execPath, [cmakeTsPath, "nativeonly"], {
1111
stdio: "inherit",

src/socket.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ Napi::Value Socket::Bind(const Napi::CallbackInfo& info) {
397397
if (run_ctx->error != 0) {
398398
res.Reject(ErrnoException(
399399
Env(), static_cast<int32_t>(run_ctx->error), run_ctx->address)
400-
.Value());
400+
.Value());
401401
return;
402402
}
403403

@@ -491,7 +491,7 @@ Napi::Value Socket::Unbind(const Napi::CallbackInfo& info) {
491491
if (run_ctx->error != 0) {
492492
res.Reject(ErrnoException(
493493
Env(), static_cast<int32_t>(run_ctx->error), run_ctx->address)
494-
.Value());
494+
.Value());
495495
return;
496496
}
497497

0 commit comments

Comments
 (0)