systeminformation 5.23.19 → 5.23.20
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/lib/util.js +1 -1
- package/package.json +1 -1
package/lib/util.js
CHANGED
|
@@ -2487,7 +2487,7 @@ function checkWebsite(url, timeout = 5000) {
|
|
|
2487
2487
|
const http = ((url.startsWith('https:') || url.indexOf(':443/') > 0 || url.indexOf(':8443/') > 0) ? require('https') : require('http'));
|
|
2488
2488
|
const t = Date.now();
|
|
2489
2489
|
return new Promise((resolve) => {
|
|
2490
|
-
http
|
|
2490
|
+
const request = http
|
|
2491
2491
|
.get(url, { rejectUnauthorized: false }, function (res) {
|
|
2492
2492
|
res.on('data', () => { });
|
|
2493
2493
|
res.on('end', () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.23.
|
|
3
|
+
"version": "5.23.20",
|
|
4
4
|
"description": "Advanced, lightweight system and OS information library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",
|