@oclif/plugin-update 4.7.47 → 4.7.49

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/README.md CHANGED
@@ -81,7 +81,7 @@ EXAMPLES
81
81
  $ oclif-example update --available
82
82
  ```
83
83
 
84
- _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/4.7.47/src/commands/update.ts)_
84
+ _See code: [src/commands/update.ts](https://github.com/oclif/plugin-update/blob/4.7.49/src/commands/update.ts)_
85
85
  <!-- commandsstop -->
86
86
 
87
87
  # Contributing
package/dist/update.js CHANGED
@@ -376,8 +376,8 @@ const downloadAndExtract = async (output, manifest, channel, config) => {
376
376
  stream.on('downloadProgress', (progress) => {
377
377
  ux.action.status =
378
378
  progress.percent === 1
379
- ? `${filesize(progress.transferred)}/${filesize(progress.total)} - Finishing up...`
380
- : `${filesize(progress.transferred)}/${filesize(progress.total)}`;
379
+ ? `${filesize(progress.transferred)}/${filesize(progress?.total || 0)} - Finishing up...`
380
+ : `${filesize(progress.transferred)}/${filesize(progress?.total || 0)}`;
381
381
  });
382
382
  }
383
383
  stream.resume();
@@ -106,5 +106,5 @@
106
106
  ]
107
107
  }
108
108
  },
109
- "version": "4.7.47"
109
+ "version": "4.7.49"
110
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oclif/plugin-update",
3
- "version": "4.7.47",
3
+ "version": "4.7.49",
4
4
  "author": "Salesforce",
5
5
  "bugs": "https://github.com/oclif/plugin-update/issues",
6
6
  "dependencies": {
@@ -12,7 +12,7 @@
12
12
  "filesize": "^6.1.0",
13
13
  "got": "^13",
14
14
  "proxy-agent": "^6.5.0",
15
- "semver": "^7.8.2",
15
+ "semver": "^7.8.4",
16
16
  "tar-fs": "^2.1.4"
17
17
  },
18
18
  "devDependencies": {
@@ -31,14 +31,14 @@
31
31
  "chai": "^4.5.0",
32
32
  "commitlint": "^19",
33
33
  "eslint": "^9.39.4",
34
- "eslint-config-oclif": "^6.0.167",
34
+ "eslint-config-oclif": "^6.0.169",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "husky": "^9.1.7",
37
37
  "lint-staged": "^15",
38
38
  "mocha": "^11",
39
39
  "nock": "^13.5.6",
40
40
  "oclif": "^4",
41
- "prettier": "^3.8.3",
41
+ "prettier": "^3.8.4",
42
42
  "shx": "^0.4.0",
43
43
  "sinon": "^18.0.1",
44
44
  "strip-ansi": "^7.2.0",