presidium 4.0.8 → 4.0.9

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.
@@ -23,12 +23,6 @@ const getChromeUrl = require('./internal/getChromeUrl')
23
23
  const getAbsoluteFilePath = require('./internal/getAbsoluteFilePath')
24
24
  const getChromeBinaryOrExecutableFilePath = require('./internal/getChromeBinaryOrExecutableFilePath')
25
25
 
26
- function updateConsoleLog(message, platform) {
27
- readline.cursorTo(process.stdout, 0, undefined);
28
- readline.clearLine(process.stdout, 0);
29
- process.stdout.write(message);
30
- }
31
-
32
26
  async function installChrome() {
33
27
  const platform = getPlatform()
34
28
  const url = await getChromeUrl.call(this, platform)
@@ -53,9 +47,9 @@ async function installChrome() {
53
47
  response.on('data', chunk => {
54
48
  downloadedLength += chunk.length
55
49
  if (downloadedLength == contentLength) {
56
- updateConsoleLog(`Downloading ${url} (${downloadedLength} / ${contentLength} bytes)\n`, platform)
50
+ console.log(`Downloading ${url} (${downloadedLength} / ${contentLength} bytes)\n`, platform)
57
51
  } else {
58
- updateConsoleLog(`Downloading ${url} (${downloadedLength} / ${contentLength} bytes)`, platform)
52
+ console.log(`Downloading ${url} (${downloadedLength} / ${contentLength} bytes)`, platform)
59
53
  }
60
54
 
61
55
  fileStream.write(chunk)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presidium",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "description": "The Presidium library.",
5
5
  "author": "Richard Tong",
6
6
  "license": "CFOSS",