HEX
Server: LiteSpeed
System: Linux sr2.wonderwebhub.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User: foodnest (2814)
PHP: 8.3.31
Disabled: exec, shell_exec, system, passthru, proc_open, popen
Upload Files
File: //opt/alt/alt-nodejs22/root/lib/node_modules/npm/lib/utils/ping.js
// ping the npm registry
// used by the ping and doctor commands
const fetch = require('npm-registry-fetch')
module.exports = async (flatOptions) => {
  const res = await fetch('/-/ping', { ...flatOptions, cache: false })
  return res.json().catch(() => ({}))
}