fbi-proxy 1.6.0 → 1.6.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.
package/dist/cli.js CHANGED
@@ -5231,8 +5231,7 @@ async function downloadCaddy() {
5231
5231
  }
5232
5232
 
5233
5233
  // ts/cli.ts
5234
- var __dirname = "/home/runner/work/fbi-proxy/fbi-proxy/ts";
5235
- process.chdir(path.resolve(__dirname, ".."));
5234
+ process.chdir(path.resolve(import.meta.dir, ".."));
5236
5235
  var argv = await yargs_default(hideBin(process.argv)).option("fbihost", {
5237
5236
  type: "string",
5238
5237
  default: "fbi.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fbi-proxy",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "FBI-Proxy provides easy HTTPS access to your local services with intelligent domain routing",
5
5
  "keywords": [
6
6
  "development-tools",
Binary file
Binary file
package/ts/cli.ts CHANGED
@@ -7,9 +7,8 @@ import { hideBin } from "yargs/helpers";
7
7
  import { getFbiProxyBinary } from "./buildFbiProxy";
8
8
  import { $ } from "./dSpawn";
9
9
  import { downloadCaddy } from "./downloadCaddy";
10
- import { execa } from "execa";
11
10
 
12
- process.chdir(path.resolve(__dirname, "..")); // Change to project root directory
11
+ process.chdir(path.resolve(import.meta.dir, "..")); // Change to project root directory
13
12
 
14
13
  // Parse command line arguments with yargs
15
14
  const argv = await yargs(hideBin(process.argv))