✏️ 正在编辑: inflate-bundled.js
路径:
/opt/alt/alt-nodejs12/root/usr/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) }) }
💾 保存文件
← 返回文件管理器