SILENT KILLERPanel

Current Path: > > usr > lib > node_modules > npm > > node_modules > pacote > lib > util


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.2
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/lib/node_modules/npm//node_modules/pacote/lib/util

NameTypeSizeLast ModifiedActions
cache-key.js File 129 bytes March 10 2021 14:36:37.
finished.js File 419 bytes March 10 2021 14:36:37.
git.js File 8350 bytes March 10 2021 14:36:37.
opt-check.js File 1240 bytes March 10 2021 14:36:37.
pack-dir.js File 1050 bytes March 10 2021 14:36:37.
proclog.js File 340 bytes March 10 2021 14:36:37.
read-json.js File 481 bytes March 10 2021 14:36:37.

Reading File: //usr/lib/node_modules/npm//node_modules/pacote/lib/util/finished.js

'use strict'

const BB = require('bluebird')

module.exports = function (child, hasExitCode = false) {
  return BB.fromNode(function (cb) {
    child.on('error', cb)
    child.on(hasExitCode ? 'close' : 'end', function (exitCode) {
      if (exitCode === undefined || exitCode === 0) {
        cb()
      } else {
        let err = new Error('exited with error code: ' + exitCode)
        cb(err)
      }
    })
  })
}

SILENT KILLER Tool