@delta-infra/cli 1.0.49 → 1.0.51

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/checksums.txt CHANGED
@@ -1,5 +1,5 @@
1
- 1a787c38b5feae0ba3fe3f72e6dd024f1c0c43ad7a381e0022ac447c07fd268b delta-cli-darwin-amd64.tar.gz
2
- c062b3c0405e1ec4fc63203084f4d08a4094f8e955610c5c3ede3283c707f44b delta-cli-darwin-arm64.tar.gz
3
- aec9a78da205afbe48ef6bdc3d910c9b772388d8a1dfccbc736dd811c444472f delta-cli-linux-amd64.tar.gz
4
- 3fdf4011b2461e7f709fbbed6427397a783d1d63a543a57bb1f9a629459f55a7 delta-cli-linux-arm64.tar.gz
5
- 0ebee9db15821b7b0ef802262bcf50443fffb223f062942ab2fd8169e9ffad5f delta-cli-windows-amd64.zip
1
+ 4ee621fd298db4c8f347a92c34225230f4814ec5ef23ed8464fe6d932e2d3171 delta-cli-darwin-amd64.tar.gz
2
+ e85ecf7e7e20931be278b7d95d4e0bdcae3f7f5aba21f5abe7d23d262fc36932 delta-cli-darwin-arm64.tar.gz
3
+ 2ade30f76f55dc5b1b5ce83cea189e9b499024648b7f0fc70c0d8400f2d71bc1 delta-cli-linux-amd64.tar.gz
4
+ 898e6e5fdad66573723ad5cabde2caf25ba989194cd346005c4dcf4bd218094d delta-cli-linux-arm64.tar.gz
5
+ 60076033a608aa4d6ef4ad092b21a5be2d55c2ace249b7acd9336bb7dd00e214 delta-cli-windows-amd64.zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delta-infra/cli",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "Delta Sandbox CLI",
5
5
  "bin": {
6
6
  "delta-cli": "scripts/run.js"
@@ -10,7 +10,7 @@ const p = require("@clack/prompts");
10
10
  const PKG = "@delta-infra/cli";
11
11
  const SKILLS_REPO = "yzailab/delta-infra-cli";
12
12
  const NPM_REGISTRIES = ["https://registry.npmmirror.com", "https://registry.npmjs.org"];
13
- const GH_MIRRORS = ["https://gh-proxy.com", "https://gh.llkk.cc"];
13
+ const GH_MIRRORS = ["https://gh.ddlc.top", "https://ghproxy.net", "https://gh-proxy.com"];
14
14
  const CONFIG_DIR = path.join(osHomedir(), ".delta-infra");
15
15
  const isWindows = process.platform === "win32";
16
16
 
@@ -33,11 +33,6 @@ const DEFAULT_ALLOWED_HOSTS = new Set([
33
33
  "gh-proxy.com",
34
34
  "ghproxy.net",
35
35
  "gh.ddlc.top",
36
- "gh.llkk.cc",
37
- "gh.dpik.top",
38
- "gh.con.sh",
39
- "slink.ltd",
40
- "xget.xi-xu.me",
41
36
  "objects.githubusercontent.com",
42
37
  "release-assets.githubusercontent.com",
43
38
  "github-releases.githubusercontent.com",
@@ -82,17 +77,12 @@ function _getCurlTimeout() {
82
77
  return _curlTimeoutMs;
83
78
  }
84
79
 
85
- // List of well-known GitHub release download mirrors.
80
+ // GitHub release download mirrors.
86
81
  // Format: [hostname, urlPrefix] — urlPrefix is prepended to the GitHub URL.
87
82
  var _MIRROR_LIST = [
88
- ["gh-proxy.com", "https://gh-proxy.com"],
89
- ["ghproxy.net", "https://ghproxy.net"],
90
83
  ["gh.ddlc.top", "https://gh.ddlc.top"],
91
- ["gh.llkk.cc", "https://gh.llkk.cc"],
92
- ["gh.dpik.top", "https://gh.dpik.top"],
93
- ["gh.con.sh", "https://gh.con.sh"],
94
- ["slink.ltd", "https://slink.ltd"],
95
- ["xget.xi-xu.me", "https://xget.xi-xu.me"],
84
+ ["ghproxy.net", "https://ghproxy.net"],
85
+ ["gh-proxy.com", "https://gh-proxy.com"],
96
86
  ];
97
87
 
98
88
  // Quick connectivity check: fetch a small file (checksums.txt) from each