portless 0.7.0 → 0.7.1
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.
|
@@ -635,7 +635,7 @@ import { execSync, spawn } from "child_process";
|
|
|
635
635
|
var isWindows2 = process.platform === "win32";
|
|
636
636
|
var DEFAULT_PROXY_PORT = 1355;
|
|
637
637
|
var PRIVILEGED_PORT_THRESHOLD = 1024;
|
|
638
|
-
var SYSTEM_STATE_DIR = path2.join(os.tmpdir(), "portless");
|
|
638
|
+
var SYSTEM_STATE_DIR = isWindows2 ? path2.join(os.tmpdir(), "portless") : "/tmp/portless";
|
|
639
639
|
var USER_STATE_DIR = path2.join(os.homedir(), ".portless");
|
|
640
640
|
var MIN_APP_PORT = 4e3;
|
|
641
641
|
var MAX_APP_PORT = 4999;
|
package/dist/cli.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
waitForProxy,
|
|
32
32
|
writeTldFile,
|
|
33
33
|
writeTlsMarker
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AXEPQFLY.js";
|
|
35
35
|
|
|
36
36
|
// src/cli.ts
|
|
37
37
|
import chalk from "chalk";
|
|
@@ -1287,7 +1287,7 @@ ${chalk.bold("Reserved names:")}
|
|
|
1287
1287
|
process.exit(0);
|
|
1288
1288
|
}
|
|
1289
1289
|
function printVersion() {
|
|
1290
|
-
console.log("0.7.
|
|
1290
|
+
console.log("0.7.1");
|
|
1291
1291
|
process.exit(0);
|
|
1292
1292
|
}
|
|
1293
1293
|
async function handleTrust() {
|
package/dist/index.js
CHANGED