X7ROOT File Manager
Current Path:
/usr/lib/node_modules/npm/lib/install
usr
/
lib
/
node_modules
/
npm
/
lib
/
install
/
ðŸ“
..
📄
access-error.js
(202 B)
ðŸ“
action
📄
actions.js
(5.52 KB)
📄
and-add-parent-to-errors.js
(375 B)
📄
and-finish-tracker.js
(360 B)
📄
and-ignore-errors.js
(204 B)
📄
audit.js
(8.24 KB)
📄
check-permissions.js
(1.85 KB)
📄
copy-tree.js
(770 B)
📄
decompose-actions.js
(2.18 KB)
📄
deps.js
(30.32 KB)
📄
diff-trees.js
(9.12 KB)
📄
exists.js
(775 B)
📄
flatten-tree.js
(1021 B)
📄
fund.js
(1.28 KB)
📄
get-requested.js
(635 B)
📄
has-modern-meta.js
(702 B)
📄
inflate-bundled.js
(628 B)
📄
inflate-shrinkwrap.js
(8.87 KB)
📄
is-dev-dep.js
(175 B)
📄
is-extraneous.js
(618 B)
📄
is-fs-access-available.js
(763 B)
📄
is-only-dev.js
(1.24 KB)
📄
is-only-optional.js
(674 B)
📄
is-opt-dep.js
(185 B)
📄
is-prod-dep.js
(172 B)
📄
module-staging-path.js
(259 B)
📄
mutate-into-logical-tree.js
(4.52 KB)
📄
node.js
(1.85 KB)
📄
read-shrinkwrap.js
(3.67 KB)
📄
realize-shrinkwrap-specifier.js
(621 B)
📄
report-optional-failure.js
(1.02 KB)
📄
save.js
(5.91 KB)
📄
update-package-json.js
(1.87 KB)
📄
validate-args.js
(2.73 KB)
📄
validate-tree.js
(3.1 KB)
📄
writable.js
(1 KB)
Editing: is-fs-access-available.js
'use strict' var fs = require('fs') var semver = require('semver') var isWindows = process.platform === 'win32' // fs.access first introduced in node 0.12 / io.js if (!fs.access) { module.exports = false } else if (!isWindows) { // fs.access always works on non-Windows OSes module.exports = true } else { // The Windows implementation of `fs.access` has a bug where it will // sometimes return access errors all the time for directories, even // when access is available. As all we actually test ARE directories, this // is a bit of a problem. // This was fixed in io.js version 1.5.0 // As of 2015-07-20, it is still unfixed in node: // https://github.com/joyent/node/issues/25657 module.exports = semver.gte(process.version, '1.5.0') }
Upload File
Create Folder