!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/usr/lib/node_modules/npm/lib/install/   drwxr-xr-x
Free 6182.06 GB of 6263.26 GB (98.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     fund.js (1.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'use strict'

const { EOL } = require('os')

const computeMetadata = require('./deps.js').computeMetadata
const mutateIntoLogicalTree = require('./mutate-into-logical-tree.js')
var { getFundingInfo } = require('../utils/funding.js')

exports.getPrintFundingReport = getPrintFundingReport
exports.getPrintFundingReportJSON = getPrintFundingReportJSON

function getFundingResult ({ fund, idealTree }) {
  if (fund) {
    const fundingInfoTree =
      mutateIntoLogicalTree.asReadInstalled(
        computeMetadata(idealTree)
      )
    const fundResult = getFundingInfo(fundingInfoTree, { countOnly: true })
    return fundResult
  } else {
    return {}
  }
}

function getPrintFundingReport ({ fund, idealTree }, opts) {
  const fundResult = getFundingResult({ fund, idealTree })
  const { length } = fundResult || {}
  const { json } = opts || {}

  function padding (msg) {
    return json ? '' : (EOL + msg)
  }

  function packageQuantity (amount) {
    return `package${amount > 1 ? 's are' : ' is'}`
  }

  if (!length) return ''

  return padding('') + length + ' ' +
    packageQuantity(length) +
    ' looking for funding' +
    padding('  run `npm fund` for details\n')
}

function getPrintFundingReportJSON ({ fund, idealTree }) {
  return getPrintFundingReport({ fund, idealTree }, { json: true })
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0118 ]--