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-Y6FWHU6F.js";
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.0");
1290
+ console.log("0.7.1");
1291
1291
  process.exit(0);
1292
1292
  }
1293
1293
  async function handleTrust() {
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  parseHostname,
20
20
  removeBlock,
21
21
  syncHostsFile
22
- } from "./chunk-Y6FWHU6F.js";
22
+ } from "./chunk-AXEPQFLY.js";
23
23
  export {
24
24
  DIR_MODE,
25
25
  FILE_MODE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "portless",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Replace port numbers with stable, named .localhost URLs. For humans and agents.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",