Linux cambridge2.uknoc5.com 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
LiteSpeed
Server IP : 92.48.92.37 & Your IP : 18.225.234.56
Domains :
Cant Read [ /etc/named.conf ]
User : drazizulhaq
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
node_modules /
npm /
lib /
install /
Delete
Unzip
Name
Size
Permission
Date
Action
action
[ DIR ]
drwxr-xr-x
2024-12-16 14:12
access-error.js
202
B
-rw-r--r--
2021-03-10 14:36
actions.js
5.52
KB
-rw-r--r--
2021-03-10 14:36
and-add-parent-to-errors.js
375
B
-rw-r--r--
2021-03-10 14:36
and-finish-tracker.js
360
B
-rw-r--r--
2021-03-10 14:36
and-ignore-errors.js
204
B
-rw-r--r--
2021-03-10 14:36
audit.js
8.24
KB
-rw-r--r--
2021-03-10 14:36
check-permissions.js
1.85
KB
-rw-r--r--
2021-03-10 14:36
copy-tree.js
770
B
-rw-r--r--
2021-03-10 14:36
decompose-actions.js
2.18
KB
-rw-r--r--
2021-03-10 14:36
deps.js
30.32
KB
-rw-r--r--
2021-03-10 14:36
diff-trees.js
9.12
KB
-rw-r--r--
2021-03-10 14:36
exists.js
775
B
-rw-r--r--
2021-03-10 14:36
flatten-tree.js
1021
B
-rw-r--r--
2021-03-10 14:36
fund.js
1.28
KB
-rw-r--r--
2021-03-10 14:36
get-requested.js
635
B
-rw-r--r--
2021-03-10 14:36
has-modern-meta.js
702
B
-rw-r--r--
2021-03-10 14:36
inflate-bundled.js
628
B
-rw-r--r--
2021-03-10 14:36
inflate-shrinkwrap.js
8.87
KB
-rw-r--r--
2021-03-10 14:36
is-dev-dep.js
175
B
-rw-r--r--
2021-03-10 14:36
is-extraneous.js
618
B
-rw-r--r--
2021-03-10 14:36
is-fs-access-available.js
763
B
-rw-r--r--
2021-03-10 14:36
is-only-dev.js
1.24
KB
-rw-r--r--
2021-03-10 14:36
is-only-optional.js
674
B
-rw-r--r--
2021-03-10 14:36
is-opt-dep.js
185
B
-rw-r--r--
2021-03-10 14:36
is-prod-dep.js
172
B
-rw-r--r--
2021-03-10 14:36
module-staging-path.js
259
B
-rw-r--r--
2021-03-10 14:36
mutate-into-logical-tree.js
4.52
KB
-rw-r--r--
2021-03-10 14:36
node.js
1.85
KB
-rw-r--r--
2021-03-10 14:36
read-shrinkwrap.js
3.67
KB
-rw-r--r--
2021-03-10 14:36
realize-shrinkwrap-specifier.js
621
B
-rw-r--r--
2021-03-10 14:36
report-optional-failure.js
1.02
KB
-rw-r--r--
2021-03-10 14:36
save.js
5.91
KB
-rw-r--r--
2021-03-10 14:36
update-package-json.js
1.87
KB
-rw-r--r--
2021-03-10 14:36
validate-args.js
2.73
KB
-rw-r--r--
2021-03-10 14:36
validate-tree.js
3.1
KB
-rw-r--r--
2021-03-10 14:36
writable.js
1
KB
-rw-r--r--
2021-03-10 14:36
Save
Rename
'use strict' var union = require('lodash.union') var without = require('lodash.without') var validate = require('aproba') var flattenTree = require('./flatten-tree.js') var isExtraneous = require('./is-extraneous.js') var validateAllPeerDeps = require('./deps.js').validateAllPeerDeps var packageId = require('../utils/package-id.js') var moduleName = require('../utils/module-name.js') var npm = require('../npm.js') // Return true if tree is a part of a cycle that: // A) Never connects to the top of the tree // B) Has not not had a point in the cycle arbitrarily declared its top // yet. function isDisconnectedCycle (tree, seen) { if (!seen) seen = {} if (tree.isTop || tree.cycleTop || tree.requiredBy.length === 0) { return false } else if (seen[tree.path]) { return true } else { seen[tree.path] = true return tree.requiredBy.every(function (node) { return isDisconnectedCycle(node, Object.create(seen)) }) } } var mutateIntoLogicalTree = module.exports = function (tree) { validate('O', arguments) validateAllPeerDeps(tree, function (tree, pkgname, version) { if (!tree.missingPeers) tree.missingPeers = {} tree.missingPeers[pkgname] = version }) var flat = flattenTree(tree) Object.keys(flat).sort().forEach(function (flatname) { var node = flat[flatname] if (!(node.requiredBy && node.requiredBy.length)) return if (node.parent) { // If a node is a cycle that never reaches the root of the logical // tree then we'll leave it attached to the root, or else it // would go missing. Further we'll note that this is the node in the // cycle that we picked arbitrarily to be the one attached to the root. // others will fall if (isDisconnectedCycle(node)) { node.cycleTop = true // Nor do we want to disconnect non-cyclical extraneous modules from the tree. } else if (node.requiredBy.length) { // regular deps though, we do, as we're moving them into the capable // hands of the modules that require them. node.parent.children = without(node.parent.children, node) } } node.requiredBy.forEach(function (parentNode) { parentNode.children = union(parentNode.children, [node]) }) }) return tree } module.exports.asReadInstalled = function (tree) { mutateIntoLogicalTree(tree) return translateTree(tree) } function translateTree (tree) { return translateTree_(tree, new Set()) } function translateTree_ (tree, seen) { var pkg = tree.package if (seen.has(tree)) return pkg seen.add(tree) if (pkg._dependencies) return pkg pkg._dependencies = pkg.dependencies pkg.dependencies = {} tree.children.forEach(function (child) { const dep = pkg.dependencies[moduleName(child)] = translateTree_(child, seen) if (child.fakeChild) { dep.missing = true dep.optional = child.package._optional dep.requiredBy = child.package._spec } }) function markMissing (name, requiredBy) { if (pkg.dependencies[name]) { if (pkg.dependencies[name].missing) return pkg.dependencies[name].invalid = true pkg.dependencies[name].realName = name pkg.dependencies[name].extraneous = false } else { pkg.dependencies[name] = { requiredBy: requiredBy, missing: true, optional: !!pkg.optionalDependencies[name] } } } Object.keys(tree.missingDeps).forEach(function (name) { markMissing(name, tree.missingDeps[name]) }) Object.keys(tree.missingDevDeps).forEach(function (name) { markMissing(name, tree.missingDevDeps[name]) }) var checkForMissingPeers = (tree.parent ? [] : [tree]).concat(tree.children) checkForMissingPeers.filter(function (child) { return child.missingPeers }).forEach(function (child) { Object.keys(child.missingPeers).forEach(function (pkgname) { var version = child.missingPeers[pkgname] var peerPkg = pkg.dependencies[pkgname] if (!peerPkg) { peerPkg = pkg.dependencies[pkgname] = { _id: pkgname + '@' + version, name: pkgname, version: version } } if (!peerPkg.peerMissing) peerPkg.peerMissing = [] peerPkg.peerMissing.push({ requiredBy: packageId(child), requires: pkgname + '@' + version }) }) }) pkg.path = tree.path pkg.error = tree.error pkg.extraneous = !tree.isTop && (!tree.parent.isTop || !tree.parent.error) && !npm.config.get('global') && isExtraneous(tree) if (tree.target && tree.parent && !tree.parent.target) pkg.link = tree.realpath return pkg }