instatunnel 1.0.16 → 1.0.18
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/instatunnel +0 -0
- package/bin/instatunnel-darwin-amd64 +0 -0
- package/bin/instatunnel-darwin-arm64 +0 -0
- package/bin/instatunnel-freebsd-amd64 +0 -0
- package/bin/instatunnel-linux-386 +0 -0
- package/bin/instatunnel-linux-amd64 +0 -0
- package/bin/instatunnel-linux-amd64-v1.0.1 +0 -0
- package/bin/instatunnel-linux-arm64 +0 -0
- package/bin/instatunnel-linux-arm64-new +0 -0
- package/bin/instatunnel-openbsd-amd64 +0 -0
- package/bin/instatunnel-windows-386.exe +0 -0
- package/bin/instatunnel-windows-amd64.exe +0 -0
- package/bin/instatunnel.cmd +1 -1
- package/bin/instatunnel.ps1 +5 -0
- package/bin/it +0 -0
- package/bin/it-darwin-amd64 +0 -0
- package/bin/it-darwin-arm64 +0 -0
- package/bin/it-freebsd-amd64 +0 -0
- package/bin/it-linux-386 +0 -0
- package/bin/it-linux-amd64 +0 -0
- package/bin/it-linux-amd64-v1.0.1 +0 -0
- package/bin/it-linux-arm64 +0 -0
- package/bin/it-openbsd-amd64 +0 -0
- package/bin/it-windows-386.exe +0 -0
- package/bin/it-windows-amd64.exe +0 -0
- package/bin/it.cmd +1 -1
- package/bin/it.ps1 +5 -0
- package/instatunnel-wrapper.js +30 -0
- package/it-wrapper.js +30 -0
- package/package.json +5 -3
package/bin/instatunnel
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/instatunnel.cmd
CHANGED
package/bin/it
CHANGED
|
Binary file
|
package/bin/it-darwin-amd64
CHANGED
|
Binary file
|
package/bin/it-darwin-arm64
CHANGED
|
Binary file
|
|
Binary file
|
package/bin/it-linux-386
ADDED
|
Binary file
|
package/bin/it-linux-amd64
CHANGED
|
Binary file
|
|
Binary file
|
package/bin/it-linux-arm64
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/it.cmd
CHANGED
package/bin/it.ps1
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { spawn } = require('child_process');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const os = require('os');
|
|
6
|
+
|
|
7
|
+
const platform = os.platform();
|
|
8
|
+
const binDir = path.join(__dirname, 'bin');
|
|
9
|
+
|
|
10
|
+
let binaryName = 'instatunnel';
|
|
11
|
+
let binaryPath = path.join(binDir, binaryName);
|
|
12
|
+
|
|
13
|
+
// Use the direct binary path
|
|
14
|
+
const child = spawn(binaryPath, process.argv.slice(2), {
|
|
15
|
+
stdio: 'inherit',
|
|
16
|
+
shell: false
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
child.on('error', (error) => {
|
|
20
|
+
console.error('Failed to start instatunnel:', error.message);
|
|
21
|
+
process.exit(1);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
child.on('exit', (code, signal) => {
|
|
25
|
+
if (signal) {
|
|
26
|
+
process.kill(process.pid, signal);
|
|
27
|
+
} else {
|
|
28
|
+
process.exit(code || 0);
|
|
29
|
+
}
|
|
30
|
+
});
|
package/it-wrapper.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { spawn } = require('child_process');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
const os = require('os');
|
|
6
|
+
|
|
7
|
+
const platform = os.platform();
|
|
8
|
+
const binDir = path.join(__dirname, 'bin');
|
|
9
|
+
|
|
10
|
+
let binaryName = 'it';
|
|
11
|
+
let binaryPath = path.join(binDir, binaryName);
|
|
12
|
+
|
|
13
|
+
// Use the direct binary path
|
|
14
|
+
const child = spawn(binaryPath, process.argv.slice(2), {
|
|
15
|
+
stdio: 'inherit',
|
|
16
|
+
shell: false
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
child.on('error', (error) => {
|
|
20
|
+
console.error('Failed to start it:', error.message);
|
|
21
|
+
process.exit(1);
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
child.on('exit', (code, signal) => {
|
|
25
|
+
if (signal) {
|
|
26
|
+
process.kill(process.pid, signal);
|
|
27
|
+
} else {
|
|
28
|
+
process.exit(code || 0);
|
|
29
|
+
}
|
|
30
|
+
});
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "instatunnel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "Expose your localhost to the internet instantly - the ngrok alternative that's 40% cheaper with superior UX",
|
|
5
5
|
"main": "install.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"instatunnel": "./
|
|
8
|
-
"it": "./
|
|
7
|
+
"instatunnel": "./instatunnel-wrapper.js",
|
|
8
|
+
"it": "./it-wrapper.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"postinstall": "node install.js",
|
|
@@ -68,6 +68,8 @@
|
|
|
68
68
|
"preferGlobal": true,
|
|
69
69
|
"files": [
|
|
70
70
|
"install.js",
|
|
71
|
+
"instatunnel-wrapper.js",
|
|
72
|
+
"it-wrapper.js",
|
|
71
73
|
"uninstall.js",
|
|
72
74
|
"test.js",
|
|
73
75
|
"bin/",
|