cloudron 5.3.2 → 5.3.4

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/bin/cloudron CHANGED
@@ -301,7 +301,7 @@ program.command('update')
301
301
  .option('--app <id/location>', 'App id or location')
302
302
  .option('--appstore-id <appid[@version]>', 'Use app from the store')
303
303
  .option('--image <docker image>', 'Docker image')
304
- .option('--no-backup', 'Skip backup [false]', false)
304
+ .option('--no-backup', 'Skip backup [false]')
305
305
  .option('--no-wait', 'Wait for healthcheck to succeed [false]')
306
306
  .option('--no-force', 'Match appstore id and manifest id before updating', true)
307
307
  .action(actions.update);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudron",
3
- "version": "5.3.2",
3
+ "version": "5.3.4",
4
4
  "license": "MIT",
5
5
  "description": "Cloudron Commandline Tool",
6
6
  "main": "main.js",
@@ -23,7 +23,7 @@
23
23
  "debug": "^4.3.4",
24
24
  "delay": "^5.0.0",
25
25
  "easy-table": "^1.2.0",
26
- "ejs": "^3.1.8",
26
+ "ejs": "^3.1.9",
27
27
  "eventsource": "^2.0.2",
28
28
  "micromatch": "^4.0.5",
29
29
  "once": "^1.4.0",
@@ -33,7 +33,7 @@
33
33
  "readline-sync": "^1.4.10",
34
34
  "safetydance": "^2.2.0",
35
35
  "split": "^1.0.1",
36
- "superagent": "^8.0.6",
36
+ "superagent": "^8.0.9",
37
37
  "tar-fs": "https://registry.npmjs.org/tar-fs/-/tar-fs-1.12.0.tgz",
38
38
  "underscore": "^1.13.6"
39
39
  },
@@ -94,11 +94,13 @@ function followBuildLog(buildId, raw, callback) {
94
94
  var data = safe.JSON.parse(e.data);
95
95
  if (!data) return; // this is a bug in docker or our build server
96
96
 
97
- if (data.status) { // push log
97
+ if (data.status) { // image push log
98
98
  if (data.id && data.id === prevId) {
99
- // the code below does not work os x if the line wraps, maybe we should clip the text to window size?
100
- process.stdout.clearLine();
101
- process.stdout.cursorTo(0);
99
+ if (process.stdout.isTTY) {
100
+ // the code below does not work os x if the line wraps, maybe we should clip the text to window size?
101
+ process.stdout.clearLine();
102
+ process.stdout.cursorTo(0);
103
+ }
102
104
  } else if (prevWasStatus) {
103
105
  process.stdout.write('\n');
104
106
  }