PATH: //proc/self/root/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/lib/install
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 access-error.js
↓
X
📁 action/
X
📄 actions.js
↓
X
📄 and-add-parent-to-errors.js
↓
X
📄 and-finish-tracker.js
↓
X
📄 and-ignore-errors.js
↓
X
📄 audit.js
↓
X
📄 check-permissions.js
↓
X
📄 copy-tree.js
↓
X
📄 decompose-actions.js
↓
X
📄 deps.js
↓
X
📄 diff-trees.js
↓
X
📄 exists.js
↓
X
📄 flatten-tree.js
↓
X
📄 fund.js
↓
X
📄 get-requested.js
↓
X
📄 has-modern-meta.js
↓
X
📄 inflate-bundled.js
↓
X
📄 inflate-shrinkwrap.js
↓
X
📄 is-dev-dep.js
↓
X
📄 is-extraneous.js
↓
X
📄 is-fs-access-available.js
↓
X
📄 is-only-dev.js
↓
X
📄 is-only-optional.js
↓
X
📄 is-opt-dep.js
↓
X
📄 is-prod-dep.js
↓
X
📄 module-staging-path.js
↓
X
📄 mutate-into-logical-tree.js
↓
X
📄 node.js
↓
X
📄 read-shrinkwrap.js
↓
X
📄 realize-shrinkwrap-specifier.js
↓
X
📄 report-optional-failure.js
↓
X
📄 save.js
↓
X
📄 update-package-json.js
↓
X
📄 validate-args.js
↓
X
📄 validate-tree.js
↓
X
📄 writable.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: copy-tree.js
'use strict' var createNode = require('./node.js').create module.exports = function (tree) { return copyTree(tree, {}) } function copyTree (tree, cache) { if (cache[tree.path]) { return cache[tree.path] } var newTree = cache[tree.path] = createNode(Object.assign({}, tree)) copyModuleList(newTree, 'children', cache) newTree.children.forEach(function (child) { child.parent = newTree }) copyModuleList(newTree, 'requires', cache) copyModuleList(newTree, 'requiredBy', cache) return newTree } function copyModuleList (tree, key, cache) { var newList = [] if (tree[key]) { tree[key].forEach(function (child) { const copy = copyTree(child, cache) if (copy) { newList.push(copy) } }) } tree[key] = newList }
SIMPAN PERUBAHAN