@delta-infra/cli 1.0.47 → 1.0.48

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
- abfbd8a22e5fb5e193d6ef63f4f49db195ceb635bb08a19ae550555f4d8da1ed delta-cli-darwin-amd64.tar.gz
2
- 90e3b9e1b7784b3e84a8e34adb7be975cf84a768ec01c2d6c11de0c6bca2ff8d delta-cli-darwin-arm64.tar.gz
3
- 7897fcec1be3468ec15e3d2f2771cd1e7837fe148ff1fbae4ca3dbb0f733b838 delta-cli-linux-amd64.tar.gz
4
- 6d69f17806ff1a6a42d530fa6ef78c7fbc49aa88242cc95482708a6097b9d13e delta-cli-linux-arm64.tar.gz
5
- 0f6b1274ed8cf3113d1f49b3c526a756bed0e343aa186af623ab5aecf993619f delta-cli-windows-amd64.zip
1
+ 915ea8aa85e7cbed2edb47273fa755da58e7e422c2f70f897582a8389a6d1e28 delta-cli-darwin-amd64.tar.gz
2
+ 87dd614dfea3e5a1c8776a874f5c58b767454ca214e1aa0de6920e561c808ddf delta-cli-darwin-arm64.tar.gz
3
+ 43a594728d1047389fdd57b3f12252b73d772a903ef27ff3ce13e804226a2a06 delta-cli-linux-amd64.tar.gz
4
+ 29a7b43babdd8d61f11189762518c513c619a6a9106b02f01460c09c71df2fb2 delta-cli-linux-arm64.tar.gz
5
+ 7f61f034ed7ccd3034bccaf2a891973dc82e4bf71a885124a01ae48c5dc6af60 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.47",
3
+ "version": "1.0.48",
4
4
  "description": "Delta Sandbox CLI",
5
5
  "bin": {
6
6
  "delta-cli": "scripts/run.js"
@@ -214,12 +214,12 @@ async function stepInstallGlobally(msg) {
214
214
  // Install the npm package (which triggers postinstall → install.js),
215
215
  // then explicitly download the correct version binary in case the
216
216
  // npx cache has stale package.json that misleads install.js.
217
- await runSilentAsync("npm", ["install", "-g", PKG], { timeout: 120000 });
217
+ await runSilentAsync("npm", ["install", "-g", PKG], { timeout: 300000 });
218
218
  if (targetVer) {
219
219
  await runSilentAsync(process.execPath, [
220
220
  path.join(__dirname, "install.js"),
221
221
  ], {
222
- timeout: 120000,
222
+ timeout: 300000,
223
223
  env: { ...process.env, DELTA_CLI_RUN: "true", DELTA_CLI_VERSION: targetVer },
224
224
  });
225
225
  }
@@ -130,7 +130,7 @@ function probeMirrors(version, cb) {
130
130
  ];
131
131
  var child;
132
132
  try {
133
- child = require("child_process").spawn("curl", args, { stdio: ["ignore", "pipe", "pipe"], timeout: 8000 });
133
+ child = require("child_process").spawn("curl", args, { stdio: ["ignore", "pipe", "pipe"], timeout: 5000 });
134
134
  var stdout = "";
135
135
  var stderr = "";
136
136
  child.stdout.on("data", function(d) { stdout += d; });
@@ -153,7 +153,7 @@ function probeMirrors(version, cb) {
153
153
  })(i);
154
154
  }
155
155
  // Safety timeout: if probes hang, continue without mirrors after 10s
156
- setTimeout(finish, 10000);
156
+ setTimeout(finish, 5000);
157
157
  }
158
158
 
159
159
  function releaseAssetUrls(version, assetName, cb) {
@@ -225,7 +225,9 @@ function download(url, destPath) {
225
225
  assertAllowedHost(url);
226
226
  const args = [
227
227
  "--fail", "--location", "--silent", "--show-error",
228
- "--connect-timeout", "10", "--max-time", "120",
228
+ "--connect-timeout", "10",
229
+ "--max-time", "45",
230
+ "--speed-limit", "50000", "--speed-time", "10",
229
231
  "--max-redirs", "3",
230
232
  "--output", destPath,
231
233
  ];