update mcping-js dependency to 1.3.0

This commit is contained in:
Nick Krecklow 2020-05-10 00:28:29 -05:00
parent 10bd23cfa4
commit cfbd3016fd
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94
3 changed files with 5 additions and 5 deletions

@ -18,7 +18,7 @@ function ping (serverRegistration, timeout, callback, version) {
} else { } else {
const payload = { const payload = {
players: { players: {
online: capPlayerCount(host, parseInt(res.players.online)) online: capPlayerCount(serverRegistration.data.ip, parseInt(res.players.online))
}, },
version: parseInt(res.version.protocol) version: parseInt(res.version.protocol)
} }

6
package-lock.json generated

@ -5505,9 +5505,9 @@
} }
}, },
"mcping-js": { "mcping-js": {
"version": "1.2.1", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/mcping-js/-/mcping-js-1.2.1.tgz", "resolved": "https://registry.npmjs.org/mcping-js/-/mcping-js-1.3.0.tgz",
"integrity": "sha512-s0MRsyDnaxhG0lt1JqJl6tBewZkRj0fzeq/oU/aPSF74PrFW/ZWyzNOgh+NO5hY84U2XnRnscAZ0A0MIIEvC4A==" "integrity": "sha512-DytO/U0+N7EbK3BhL6hvmN6HEoOFh3oK91cXkzLEo6W17+e8cx9KhEvTnTCGeduFHAG9huIdApRubdl40vrNvg=="
}, },
"md5.js": { "md5.js": {
"version": "1.3.5", "version": "1.3.5",

@ -6,7 +6,7 @@
"dependencies": { "dependencies": {
"finalhandler": "^1.1.2", "finalhandler": "^1.1.2",
"mcpe-ping-fixed": "0.0.3", "mcpe-ping-fixed": "0.0.3",
"mcping-js": "^1.2.1", "mcping-js": "^1.3.0",
"request": "2.88.2", "request": "2.88.2",
"serve-static": "^1.14.1", "serve-static": "^1.14.1",
"sqlite3": "4.1.1", "sqlite3": "4.1.1",