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: fund.js
'use strict' const { EOL } = require('os') const computeMetadata = require('./deps.js').computeMetadata const mutateIntoLogicalTree = require('./mutate-into-logical-tree.js') var { getFundingInfo } = require('../utils/funding.js') exports.getPrintFundingReport = getPrintFundingReport exports.getPrintFundingReportJSON = getPrintFundingReportJSON function getFundingResult ({ fund, idealTree }) { if (fund) { const fundingInfoTree = mutateIntoLogicalTree.asReadInstalled( computeMetadata(idealTree) ) const fundResult = getFundingInfo(fundingInfoTree, { countOnly: true }) return fundResult } else { return {} } } function getPrintFundingReport ({ fund, idealTree }, opts) { const fundResult = getFundingResult({ fund, idealTree }) const { length } = fundResult || {} const { json } = opts || {} function padding (msg) { return json ? '' : (EOL + msg) } function packageQuantity (amount) { return `package${amount > 1 ? 's are' : ' is'}` } if (!length) return '' return padding('') + length + ' ' + packageQuantity(length) + ' looking for funding' + padding(' run `npm fund` for details\n') } function getPrintFundingReportJSON ({ fund, idealTree }) { return getPrintFundingReport({ fund, idealTree }, { json: true }) }
SIMPAN PERUBAHAN