ACIL FM
Dark
Refresh
Current DIR:
/lib/node_modules/npm/node_modules/bin-links/lib
/
lib
node_modules
npm
node_modules
bin-links
lib
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
bin-target.js
329 B
chmod
View
DL
Edit
Rename
Delete
check-bin.js
2.07 MB
chmod
View
DL
Edit
Rename
Delete
check-bins.js
493 B
chmod
View
DL
Edit
Rename
Delete
fix-bin.js
1.3 MB
chmod
View
DL
Edit
Rename
Delete
get-node-modules.js
534 B
chmod
View
DL
Edit
Rename
Delete
get-paths.js
1.22 MB
chmod
View
DL
Edit
Rename
Delete
get-prefix.js
147 B
chmod
View
DL
Edit
Rename
Delete
index.js
1.33 MB
chmod
View
DL
Edit
Rename
Delete
is-windows.js
118 B
chmod
View
DL
Edit
Rename
Delete
link-bin.js
343 B
chmod
View
DL
Edit
Rename
Delete
link-bins.js
775 B
chmod
View
DL
Edit
Rename
Delete
link-gently.js
2.72 MB
chmod
View
DL
Edit
Rename
Delete
link-mans.js
1.56 MB
chmod
View
DL
Edit
Rename
Delete
man-target.js
232 B
chmod
View
DL
Edit
Rename
Delete
shim-bin.js
2.11 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /lib/node_modules/npm/node_modules/bin-links/lib/index.js
const linkBins = require('./link-bins.js') const linkMans = require('./link-mans.js') const binLinks = opts => { const { path, pkg, force, global, top } = opts // global top pkgs on windows get bins installed in {prefix}, and no mans // // unix global top pkgs get their bins installed in {prefix}/bin, // and mans in {prefix}/share/man // // non-top pkgs get their bins installed in {prefix}/node_modules/.bin, // and do not install mans // // non-global top pkgs don't have any bins or mans linked. From here on // out, if it's top, we know that it's global, so no need to pass that // option further down the stack. if (top && !global) { return Promise.resolve() } return Promise.all([ // allow clobbering within the local node_modules/.bin folder. // only global bins are protected in this way, or else it is // yet another vector for excessive dependency conflicts. linkBins({ path, pkg, top, force: force || !top }), linkMans({ path, pkg, top, force }), ]) } const shimBin = require('./shim-bin.js') const linkGently = require('./link-gently.js') const resetSeen = () => { shimBin.resetSeen() linkGently.resetSeen() } const checkBins = require('./check-bins.js') const getPaths = require('./get-paths.js') module.exports = Object.assign(binLinks, { checkBins, resetSeen, getPaths, })
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply