Linux worldls-302.fr.planethoster.net 4.18.0-553.8.1.lve.el7h.x86_64 #1 SMP Thu Jul 4 15:19:33 UTC 2024 x86_64
LiteSpeed
Server IP : 10.185.0.203 & Your IP : 216.73.217.14
Domains :
Cant Read [ /etc/named.conf ]
User : gerathty
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lib /
node_modules /
npm /
lib /
install /
Delete
Unzip
Name
Size
Permission
Date
Action
action
[ DIR ]
drwxr-xr-x
2017-12-07 00:46
access-error.js
202
B
-rw-r--r--
2017-11-03 01:22
actions.js
5.52
KB
-rw-r--r--
2017-11-28 04:37
and-add-parent-to-errors.js
324
B
-rw-r--r--
2017-11-03 01:22
and-finish-tracker.js
360
B
-rw-r--r--
2017-11-03 01:22
and-ignore-errors.js
204
B
-rw-r--r--
2017-11-03 01:22
check-permissions.js
1.85
KB
-rw-r--r--
2017-11-03 01:22
copy-tree.js
881
B
-rw-r--r--
2017-11-03 01:22
decompose-actions.js
1.81
KB
-rw-r--r--
2017-11-03 01:22
deps.js
26.41
KB
-rw-r--r--
2017-11-28 04:37
diff-trees.js
8.52
KB
-rw-r--r--
2017-11-28 04:37
exists.js
775
B
-rw-r--r--
2017-11-03 01:22
flatten-tree.js
1021
B
-rw-r--r--
2017-11-03 01:22
get-requested.js
427
B
-rw-r--r--
2017-11-03 01:22
inflate-bundled.js
628
B
-rw-r--r--
2017-11-03 01:22
inflate-shrinkwrap.js
7.24
KB
-rw-r--r--
2017-11-28 04:37
is-dev-dep.js
175
B
-rw-r--r--
2017-11-03 01:22
is-extraneous.js
618
B
-rw-r--r--
2017-11-03 01:22
is-fs-access-available.js
763
B
-rw-r--r--
2017-11-03 01:22
is-only-dev.js
1.19
KB
-rw-r--r--
2017-11-03 01:22
is-only-optional.js
462
B
-rw-r--r--
2017-11-03 01:22
is-opt-dep.js
185
B
-rw-r--r--
2017-11-03 01:22
is-prod-dep.js
172
B
-rw-r--r--
2017-11-03 01:22
module-staging-path.js
259
B
-rw-r--r--
2017-11-03 01:22
mutate-into-logical-tree.js
4.52
KB
-rw-r--r--
2017-11-03 01:22
node.js
1.85
KB
-rw-r--r--
2017-11-03 01:22
read-shrinkwrap.js
1.97
KB
-rw-r--r--
2017-11-03 01:22
realize-shrinkwrap-specifier.js
621
B
-rw-r--r--
2017-11-28 04:37
report-optional-failure.js
1.02
KB
-rw-r--r--
2017-11-03 01:22
save.js
5.6
KB
-rw-r--r--
2017-11-28 04:37
update-package-json.js
1.87
KB
-rw-r--r--
2017-11-03 01:22
validate-args.js
2.45
KB
-rw-r--r--
2017-11-03 01:22
validate-tree.js
3.1
KB
-rw-r--r--
2017-11-03 01:22
writable.js
1
KB
-rw-r--r--
2017-11-03 01:22
Save
Rename
'use strict' const BB = require('bluebird') const fs = require('graceful-fs') const iferr = require('iferr') const inflateShrinkwrap = require('./inflate-shrinkwrap.js') const log = require('npmlog') const parseJSON = require('../utils/parse-json.js') const path = require('path') const PKGLOCK_VERSION = require('../npm.js').lockfileVersion const readFileAsync = BB.promisify(fs.readFile) module.exports = readShrinkwrap function readShrinkwrap (child, next) { if (child.package._shrinkwrap) return process.nextTick(next) BB.join( maybeReadFile('npm-shrinkwrap.json', child), // Don't read non-root lockfiles child.isTop && maybeReadFile('package-lock.json', child), child.isTop && maybeReadFile('package.json', child), (shrinkwrap, lockfile, pkgJson) => { if (shrinkwrap && lockfile) { log.warn('read-shrinkwrap', 'Ignoring package-lock.json because there is already an npm-shrinkwrap.json. Please use only one of the two.') } const name = shrinkwrap ? 'npm-shrinkwrap.json' : 'package-lock.json' let parsed = null if (shrinkwrap || lockfile) { try { parsed = parseJSON(shrinkwrap || lockfile) } catch (ex) { throw ex } } if (parsed && parsed.lockfileVersion !== PKGLOCK_VERSION) { log.warn('read-shrinkwrap', `This version of npm is compatible with lockfileVersion@${PKGLOCK_VERSION}, but ${name} was generated for lockfileVersion@${parsed.lockfileVersion || 0}. I'll try to do my best with it!`) } child.package._shrinkwrap = parsed } ).then(() => next(), next) } function maybeReadFile (name, child) { return readFileAsync( path.join(child.path, name) ).catch({code: 'ENOENT'}, () => null) } module.exports.andInflate = function (child, next) { readShrinkwrap(child, iferr(next, function () { if (child.package._shrinkwrap) { return inflateShrinkwrap(child, child.package._shrinkwrap || {}, next) } else { return next() } })) }