utils() replaces deprecated util._extend()
This commit is contained in:
parent
b4bc62bef9
commit
8e66e0d871
@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||||
|
| 5.22.8 | 2024-05-05 | `utils()` replaces deprecated util._extend() |
|
||||||
| 5.22.7 | 2024-04-02 | `battery()` fixed designed capacity issue (windows) |
|
| 5.22.7 | 2024-04-02 | `battery()` fixed designed capacity issue (windows) |
|
||||||
| 5.22.6 | 2024-03-20 | `networkInterfaces()` fixed speed of not connected interfaces (windows) |
|
| 5.22.6 | 2024-03-20 | `networkInterfaces()` fixed speed of not connected interfaces (windows) |
|
||||||
| 5.22.5 | 2024-03-19 | `wifiConnections()` fixed formatting bssid (macOS) |
|
| 5.22.5 | 2024-03-19 | `wifiConnections()` fixed formatting bssid (macOS) |
|
||||||
|
|||||||
@ -57,6 +57,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">5.22.8</th>
|
||||||
|
<td>2024-05-05</td>
|
||||||
|
<td><span class="code">utils()</span> replaced deprecated util._extend</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">5.22.7</th>
|
<th scope="row">5.22.7</th>
|
||||||
<td>2024-04-02</td>
|
<td>2024-04-02</td>
|
||||||
|
|||||||
@ -166,7 +166,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<header class="bg-image-full">
|
<header class="bg-image-full">
|
||||||
<div class="top-container">
|
<div class="top-container">
|
||||||
<a href="security.html" class="recommendation">Security advisory:<br>Update to v5.21.7</a>
|
<a href="security.html" class="recommendation">Security advisory:<br>Update to v5.21.8</a>
|
||||||
<img class="logo" src="assets/logo.png" alt="logo">
|
<img class="logo" src="assets/logo.png" alt="logo">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span> </div>
|
<div class="subtitle"><span id="typed"></span> </div>
|
||||||
@ -212,7 +212,7 @@
|
|||||||
<div class="title">Downloads last month</div>
|
<div class="title">Downloads last month</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||||
<div class="numbers">689</div>
|
<div class="numbers">696</div>
|
||||||
<div class="title">Dependents</div>
|
<div class="title">Dependents</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -52,7 +52,7 @@ const execOptsWin = {
|
|||||||
windowsHide: true,
|
windowsHide: true,
|
||||||
maxBuffer: 1024 * 20000,
|
maxBuffer: 1024 * 20000,
|
||||||
encoding: 'UTF-8',
|
encoding: 'UTF-8',
|
||||||
env: util._extend({}, process.env, { LANG: 'en_US.UTF-8' })
|
env: Object.assign({}, process.env, { LANG: 'en_US.UTF-8' })
|
||||||
};
|
};
|
||||||
|
|
||||||
function toInt(value) {
|
function toInt(value) {
|
||||||
@ -398,7 +398,7 @@ function powerShellStart() {
|
|||||||
windowsHide: true,
|
windowsHide: true,
|
||||||
maxBuffer: 1024 * 20000,
|
maxBuffer: 1024 * 20000,
|
||||||
encoding: 'UTF-8',
|
encoding: 'UTF-8',
|
||||||
env: util._extend({}, process.env, { LANG: 'en_US.UTF-8' })
|
env: Object.assign({}, process.env, { LANG: 'en_US.UTF-8' })
|
||||||
});
|
});
|
||||||
if (_psChild && _psChild.pid) {
|
if (_psChild && _psChild.pid) {
|
||||||
_psPersistent = true;
|
_psPersistent = true;
|
||||||
@ -476,7 +476,7 @@ function powerShell(cmd) {
|
|||||||
windowsHide: true,
|
windowsHide: true,
|
||||||
maxBuffer: 1024 * 20000,
|
maxBuffer: 1024 * 20000,
|
||||||
encoding: 'UTF-8',
|
encoding: 'UTF-8',
|
||||||
env: util._extend({}, process.env, { LANG: 'en_US.UTF-8' })
|
env: Object.assign({}, process.env, { LANG: 'en_US.UTF-8' })
|
||||||
});
|
});
|
||||||
|
|
||||||
if (child && !child.pid) {
|
if (child && !child.pid) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user