@foundry-rs/chisel 1.4.4-nightly.20251102.cb34166 → 1.4.4-nightly.20251104.804ad9f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin.mjs +15 -1
- package/package.json +6 -6
package/bin.mjs
CHANGED
|
@@ -28,7 +28,14 @@ if (!platformPackage) {
|
|
|
28
28
|
process.exit(1)
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
NodeChildProcess.spawn(
|
|
31
|
+
const child = NodeChildProcess.spawn(
|
|
32
|
+
selectBinaryPath(),
|
|
33
|
+
process.argv.slice(2),
|
|
34
|
+
{ stdio: 'inherit' }
|
|
35
|
+
)
|
|
36
|
+
|
|
37
|
+
process.on('SIGINT', killChild)
|
|
38
|
+
process.on('SIGTERM', killChild)
|
|
32
39
|
|
|
33
40
|
/**
|
|
34
41
|
* Determines which tool wrapper is executing.
|
|
@@ -117,3 +124,10 @@ function selectBinaryPath() {
|
|
|
117
124
|
|
|
118
125
|
return NodePath.join(__dirname, '..', 'dist', binaryName)
|
|
119
126
|
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Kills the child process.
|
|
130
|
+
*/
|
|
131
|
+
function killChild() {
|
|
132
|
+
child.kill()
|
|
133
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foundry-rs/chisel",
|
|
3
|
-
"version": "1.4.4-nightly.
|
|
3
|
+
"version": "1.4.4-nightly.20251104.804ad9f",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://getfoundry.sh/chisel",
|
|
6
6
|
"description": "Chisel is a fast, utilitarian, and verbose Solidity REPL",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"postinstall": "TARGET_TOOL=chisel node ./postinstall.mjs"
|
|
17
17
|
},
|
|
18
18
|
"optionalDependencies": {
|
|
19
|
-
"@foundry-rs/chisel-darwin-arm64": "1.4.4-nightly.
|
|
20
|
-
"@foundry-rs/chisel-darwin-amd64": "1.4.4-nightly.
|
|
21
|
-
"@foundry-rs/chisel-linux-arm64": "1.4.4-nightly.
|
|
22
|
-
"@foundry-rs/chisel-linux-amd64": "1.4.4-nightly.
|
|
23
|
-
"@foundry-rs/chisel-win32-amd64": "1.4.4-nightly.
|
|
19
|
+
"@foundry-rs/chisel-darwin-arm64": "1.4.4-nightly.20251104.804ad9f",
|
|
20
|
+
"@foundry-rs/chisel-darwin-amd64": "1.4.4-nightly.20251104.804ad9f",
|
|
21
|
+
"@foundry-rs/chisel-linux-arm64": "1.4.4-nightly.20251104.804ad9f",
|
|
22
|
+
"@foundry-rs/chisel-linux-amd64": "1.4.4-nightly.20251104.804ad9f",
|
|
23
|
+
"@foundry-rs/chisel-win32-amd64": "1.4.4-nightly.20251104.804ad9f"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public",
|