Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
enhanced-resolve /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
util
[ DIR ]
drwxr-xr-x
2024-07-10 10:56
AliasFieldPlugin.js
3.02
KB
-rw-r--r--
2023-10-12 14:26
AliasPlugin.js
4.48
KB
-rw-r--r--
2023-10-12 14:26
AppendPlugin.js
1.17
KB
-rw-r--r--
2023-10-12 14:26
CachedInputFileSystem.js
15.01
KB
-rw-r--r--
2023-10-12 14:26
CloneBasenamePlugin.js
1.34
KB
-rw-r--r--
2023-10-12 14:26
ConditionalPlugin.js
1.68
KB
-rw-r--r--
2023-10-12 14:26
DescriptionFilePlugin.js
2.63
KB
-rw-r--r--
2023-10-12 14:26
DescriptionFileUtils.js
5.13
KB
-rw-r--r--
2023-10-12 14:26
DirectoryExistsPlugin.js
1.66
KB
-rw-r--r--
2023-10-12 14:26
ExportsFieldPlugin.js
4.92
KB
-rw-r--r--
2023-10-12 14:26
ExtensionAliasPlugin.js
2.99
KB
-rw-r--r--
2023-10-12 14:26
FileExistsPlugin.js
1.53
KB
-rw-r--r--
2023-10-12 14:26
ImportsFieldPlugin.js
5.44
KB
-rw-r--r--
2023-10-12 14:26
JoinRequestPartPlugin.js
1.87
KB
-rw-r--r--
2023-10-12 14:26
JoinRequestPlugin.js
1.25
KB
-rw-r--r--
2023-10-12 14:26
LogInfoPlugin.js
1.51
KB
-rw-r--r--
2023-10-12 14:26
MainFieldPlugin.js
2.42
KB
-rw-r--r--
2023-10-12 14:26
ModulesInHierachicDirectoriesPlugin.js
215
B
-rw-r--r--
2023-10-12 14:26
ModulesInHierarchicalDirectoriesPlugin.js
2.37
KB
-rw-r--r--
2023-10-12 14:26
ModulesInRootPlugin.js
1.13
KB
-rw-r--r--
2023-10-12 14:26
NextPlugin.js
803
B
-rw-r--r--
2023-10-12 14:26
ParsePlugin.js
2.26
KB
-rw-r--r--
2023-10-12 14:26
PnpPlugin.js
3.15
KB
-rw-r--r--
2023-10-12 14:26
Resolver.js
16.36
KB
-rw-r--r--
2023-10-12 14:26
ResolverFactory.js
20.6
KB
-rw-r--r--
2023-10-12 14:26
RestrictionsPlugin.js
1.77
KB
-rw-r--r--
2023-10-12 14:26
ResultPlugin.js
971
B
-rw-r--r--
2023-10-12 14:26
RootsPlugin.js
1.62
KB
-rw-r--r--
2023-10-12 14:26
SelfReferencePlugin.js
2.15
KB
-rw-r--r--
2023-10-12 14:26
SymlinkPlugin.js
2.67
KB
-rw-r--r--
2023-10-12 14:26
SyncAsyncFileSystemDecorator.js
2.79
KB
-rw-r--r--
2023-10-12 14:26
TryNextPlugin.js
919
B
-rw-r--r--
2023-10-12 14:26
UnsafeCachePlugin.js
3.15
KB
-rw-r--r--
2023-10-12 14:26
UseFilePlugin.js
1.28
KB
-rw-r--r--
2023-10-12 14:26
createInnerContext.js
1.05
KB
-rw-r--r--
2023-10-12 14:26
forEachBail.js
1.09
KB
-rw-r--r--
2023-10-12 14:26
getInnerRequest.js
1.1
KB
-rw-r--r--
2023-10-12 14:26
getPaths.js
1.12
KB
-rw-r--r--
2023-10-12 14:26
index.js
5.64
KB
-rw-r--r--
2023-10-12 14:26
Save
Rename
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const forEachBail = require("./forEachBail"); /** @typedef {import("./Resolver")} Resolver */ /** @typedef {import("./Resolver").JsonObject} JsonObject */ /** @typedef {import("./Resolver").JsonValue} JsonValue */ /** @typedef {import("./Resolver").ResolveContext} ResolveContext */ /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** * @typedef {Object} DescriptionFileInfo * @property {JsonObject=} content * @property {string} path * @property {string} directory */ /** * @callback ErrorFirstCallback * @param {Error|null=} error * @param {DescriptionFileInfo=} result */ /** * @typedef {Object} Result * @property {string} path path to description file * @property {string} directory directory of description file * @property {JsonObject} content content of description file */ /** * @param {Resolver} resolver resolver * @param {string} directory directory * @param {string[]} filenames filenames * @param {DescriptionFileInfo|undefined} oldInfo oldInfo * @param {ResolveContext} resolveContext resolveContext * @param {ErrorFirstCallback} callback callback */ function loadDescriptionFile( resolver, directory, filenames, oldInfo, resolveContext, callback ) { (function findDescriptionFile() { if (oldInfo && oldInfo.directory === directory) { // We already have info for this directory and can reuse it return callback(null, oldInfo); } forEachBail( filenames, /** * @param {string} filename filename * @param {(err?: null|Error, result?: null|Result) => void} callback callback * @returns {void} */ (filename, callback) => { const descriptionFilePath = resolver.join(directory, filename); if (resolver.fileSystem.readJson) { resolver.fileSystem.readJson(descriptionFilePath, (err, content) => { if (err) { if (typeof err.code !== "undefined") { if (resolveContext.missingDependencies) { resolveContext.missingDependencies.add(descriptionFilePath); } return callback(); } if (resolveContext.fileDependencies) { resolveContext.fileDependencies.add(descriptionFilePath); } return onJson(err); } if (resolveContext.fileDependencies) { resolveContext.fileDependencies.add(descriptionFilePath); } onJson(null, /** @type {JsonObject} */ (content)); }); } else { resolver.fileSystem.readFile(descriptionFilePath, (err, content) => { if (err) { if (resolveContext.missingDependencies) { resolveContext.missingDependencies.add(descriptionFilePath); } return callback(); } if (resolveContext.fileDependencies) { resolveContext.fileDependencies.add(descriptionFilePath); } /** @type {JsonObject | undefined} */ let json; if (content) { try { json = JSON.parse(content.toString()); } catch (/** @type {unknown} */ e) { return onJson(/** @type {Error} */ (e)); } } else { return onJson(new Error("No content in file")); } onJson(null, json); }); } /** * @param {null|Error} [err] error * @param {JsonObject} [content] content * @returns {void} */ function onJson(err, content) { if (err) { if (resolveContext.log) resolveContext.log( descriptionFilePath + " (directory description file): " + err ); else err.message = descriptionFilePath + " (directory description file): " + err; return callback(err); } callback(null, { content: /** @type {JsonObject} */ (content), directory, path: descriptionFilePath }); } }, /** * @param {null|Error} [err] error * @param {null|Result} [result] result * @returns {void} */ (err, result) => { if (err) return callback(err); if (result) { return callback(null, result); } else { const dir = cdUp(directory); if (!dir) { return callback(); } else { directory = dir; return findDescriptionFile(); } } } ); })(); } /** * @param {JsonObject} content content * @param {string|string[]} field field * @returns {JsonValue | undefined} field data */ function getField(content, field) { if (!content) return undefined; if (Array.isArray(field)) { /** @type {JsonValue} */ let current = content; for (let j = 0; j < field.length; j++) { if (current === null || typeof current !== "object") { current = null; break; } current = /** @type {JsonObject} */ (current)[field[j]]; } return current; } else { return content[field]; } } /** * @param {string} directory directory * @returns {string|null} parent directory or null */ function cdUp(directory) { if (directory === "/") return null; const i = directory.lastIndexOf("/"), j = directory.lastIndexOf("\\"); const p = i < 0 ? j : j < 0 ? i : i < j ? j : i; if (p < 0) return null; return directory.slice(0, p || 1); } exports.loadDescriptionFile = loadDescriptionFile; exports.getField = getField; exports.cdUp = cdUp;