[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.216.150: ~ $
'use strict'
var path = require('path')
var validate = require('aproba')

module.exports = moduleName
module.exports.test = {}

module.exports.test.pathToPackageName = pathToPackageName
function pathToPackageName (dir) {
  if (dir == null) return ''
  if (dir === '') return ''
  var name = path.relative(path.resolve(dir, '..'), dir)
  var scoped = path.relative(path.resolve(dir, '../..'), dir)
  if (scoped[0] === '@') return scoped.replace(/\\/g, '/')
  return name
}

module.exports.test.isNotEmpty = isNotEmpty
function isNotEmpty (str) {
  return str != null && str !== ''
}

var unknown = 0
function moduleName (tree) {
  validate('O', arguments)
  var pkg = tree.package || tree
  if (isNotEmpty(pkg.name)) return pkg.name
  var pkgName = pathToPackageName(tree.path)
  if (pkgName !== '') return pkgName
  if (tree._invalidName != null) return tree._invalidName
  tree._invalidName = '!invalid#' + (++unknown)
  return tree._invalidName
}

Filemanager

Name Type Size Permission Actions
completion Folder 0755
child-path.js File 290 B 0644
completion.sh File 1.62 KB 0755
correct-mkdir.js File 3.04 KB 0644
deep-sort-object.js File 424 B 0644
depr-check.js File 390 B 0644
error-handler.js File 4.99 KB 0644
error-message.js File 9.69 KB 0644
escape-arg.js File 673 B 0644
escape-exec-path.js File 777 B 0644
gently-rm.js File 8.65 KB 0644
get-publish-config.js File 807 B 0644
git.js File 1.21 KB 0644
is-windows-bash.js File 129 B 0644
is-windows-shell.js File 153 B 0644
is-windows.js File 59 B 0644
lifecycle.js File 11.37 KB 0644
link.js File 2.02 KB 0644
locker.js File 1.81 KB 0644
map-to-registry.js File 2.66 KB 0644
module-name.js File 949 B 0644
no-progress-while-running.js File 541 B 0644
output.js File 210 B 0644
package-id.js File 399 B 0644
parse-json.js File 592 B 0644
pulse-till-done.js File 426 B 0644
read-local-package.js File 329 B 0644
rename.js File 319 B 0644
save-stack.js File 349 B 0644
spawn.js File 1.38 KB 0644
tar.js File 14.46 KB 0644
temp-filename.js File 173 B 0644
umask.js File 343 B 0644
usage.js File 576 B 0644
warn-deprecated.js File 556 B 0644