@ferrlabs/lfsx 1.26.17 → 1.26.19

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.
Files changed (2) hide show
  1. package/README.md +5 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -9,6 +9,11 @@ lfsx --url https://lfs.example.com doctor --repo my-org/my-project
9
9
  lfsx --url https://lfs.example.com gc --repo my-org/my-project --dry-run
10
10
  ```
11
11
 
12
+ The token comes from `--token` or `LFSX_TOKEN`, and only those: `GITHUB_TOKEN` is not read. A token
13
+ is only sent over `https`, or `http` to `localhost`, `127.0.0.1` and `[::1]`; any other URL is
14
+ refused. In GitHub Actions, pass the job token explicitly with
15
+ `LFSX_TOKEN: ${{ github.token }}`.
16
+
12
17
  `doctor` checks that the server is up, that its storage is writable, that your token is accepted,
13
18
  and — the one that matters — that the URL it advertises for transfers is the URL you reached it
14
19
  on. A mismatch there lets negotiation succeed while every transfer fails.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ferrlabs/lfsx",
3
- "version": "1.26.17",
3
+ "version": "1.26.19",
4
4
  "description": "Command line companion for the LFSX Git LFS server",
5
5
  "type": "module",
6
6
  "bin": {
@@ -26,10 +26,10 @@
26
26
  "url": "git+https://github.com/FerrLabs/LFSX.git"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@ferrlabs/lfsx-linux-x64": "1.26.17",
30
- "@ferrlabs/lfsx-linux-arm64": "1.26.17",
31
- "@ferrlabs/lfsx-darwin-x64": "1.26.17",
32
- "@ferrlabs/lfsx-darwin-arm64": "1.26.17",
33
- "@ferrlabs/lfsx-win32-x64": "1.26.17"
29
+ "@ferrlabs/lfsx-linux-x64": "1.26.19",
30
+ "@ferrlabs/lfsx-linux-arm64": "1.26.19",
31
+ "@ferrlabs/lfsx-darwin-x64": "1.26.19",
32
+ "@ferrlabs/lfsx-darwin-arm64": "1.26.19",
33
+ "@ferrlabs/lfsx-win32-x64": "1.26.19"
34
34
  }
35
35
  }