AlkantarClanX12

Your IP : 13.58.34.132


Current Path : /proc/self/root/opt/alt/alt-nodejs6/root/lib/node_modules/npm/lib/install/
Upload File :
Current File : //proc/self/root/opt/alt/alt-nodejs6/root/lib/node_modules/npm/lib/install/inflate-bundled.js

'use strict'
var validate = require('aproba')
var childPath = require('../utils/child-path.js')

module.exports = function inflateBundled (parent, children) {
  validate('OA', arguments)
  children.forEach(function (child) {
    child.fromBundle = true
    child.parent = parent
    child.path = childPath(parent.path, child)
    child.realpath = childPath(parent.path, child)
    child.isLink = child.isLink || parent.isLink || parent.target
    inflateBundled(child, child.children)
  })
}