🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

server-status-check

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

server-status-check - npm Package Compare versions

Comparing version

to
0.6.1

2

package.json
{
"name": "server-status-check",
"version": "0.6.0",
"version": "0.6.1",
"description": "query the server periodically to check whether it is up",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -145,8 +145,4 @@ import Dev_ServerBugError from "../errors/Dev_ServerBugError";

timezoned(timestamp: number) {
return timestamp + 2*60*60*1000;
}
getStatusStats(): StatusStats {
const dateLastChecked = this.lastChecked === null ? 'Never' : getStringDate(this.timezoned(this.lastChecked));
const dateLastChecked = this.lastChecked === null ? 'Never' : getStringDate(this.lastChecked);
const checkIntervalInMinutes = this.getCheckIntervalInMinutes();

@@ -153,0 +149,0 @@ const checksSpreeCount = this.statusChecksCount;