versions() fix getting all versions

This commit is contained in:
Sebastian Hildebrandt
2019-07-02 15:50:56 +02:00
parent 310b138de1
commit 0aee4d6684
5 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ si.cpu()
.then(data => console.log(data))
.catch(error => console.error(error));
</code></pre>
<h2>Callback, Promises, Awync Await</h2>
<h2>Callback, Promises, Async Await</h2>
<p>Remember: all functions (except <span class="code">version</span> and <span class="code">time</span>) are implemented as asynchronous functions! There are now three ways to consume them:</p>
<p><strong>Callback Style</strong></p>
<pre><code class="js">const si = require('systeminformation');
+5
View File
@@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.13.2</th>
<td>2019-07-02</td>
<td><span class="code">versions()</span> fix getting all versions</td>
</tr>
<tr>
<th scope="row">4.13.1</th>
<td>2019-07-01</td>
+1 -1
View File
@@ -168,7 +168,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.13.1</span></div>
<div class="version">Current Version: <span id="version">4.13.2</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">