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 Maƫl Nison @arcanis */ "use strict"; /** @typedef {import("./Resolver")} Resolver */ /** @typedef {import("./Resolver").ResolveStepHook} ResolveStepHook */ /** @typedef {import("./Resolver").ResolveRequest} ResolveRequest */ /** * @typedef {Object} PnpApiImpl * @property {function(string, string, object): string} resolveToUnqualified */ module.exports = class PnpPlugin { /** * @param {string | ResolveStepHook} source source * @param {PnpApiImpl} pnpApi pnpApi * @param {string | ResolveStepHook} target target */ constructor(source, pnpApi, target) { this.source = source; this.pnpApi = pnpApi; this.target = target; } /** * @param {Resolver} resolver the resolver * @returns {void} */ apply(resolver) { /** @type {ResolveStepHook} */ const target = resolver.ensureHook(this.target); resolver .getHook(this.source) .tapAsync("PnpPlugin", (request, resolveContext, callback) => { const req = request.request; if (!req) return callback(); // The trailing slash indicates to PnP that this value is a folder rather than a file const issuer = `${request.path}/`; const packageMatch = /^(@[^/]+\/)?[^/]+/.exec(req); if (!packageMatch) return callback(); const packageName = packageMatch[0]; const innerRequest = `.${req.slice(packageName.length)}`; /** @type {string|undefined} */ let resolution; /** @type {string|undefined} */ let apiResolution; try { resolution = this.pnpApi.resolveToUnqualified(packageName, issuer, { considerBuiltins: false }); if (resolveContext.fileDependencies) { apiResolution = this.pnpApi.resolveToUnqualified("pnpapi", issuer, { considerBuiltins: false }); } } catch (/** @type {unknown} */ error) { if ( /** @type {Error & { code: string }} */ (error).code === "MODULE_NOT_FOUND" && /** @type {Error & { pnpCode: string }} */ (error).pnpCode === "UNDECLARED_DEPENDENCY" ) { // This is not a PnP managed dependency. // Try to continue resolving with our alternatives if (resolveContext.log) { resolveContext.log(`request is not managed by the pnpapi`); for (const line of /** @type {Error} */ (error).message .split("\n") .filter(Boolean)) resolveContext.log(` ${line}`); } return callback(); } return callback(/** @type {Error} */ (error)); } if (resolution === packageName) return callback(); if (apiResolution && resolveContext.fileDependencies) { resolveContext.fileDependencies.add(apiResolution); } /** @type {ResolveRequest} */ const obj = { ...request, path: resolution, request: innerRequest, ignoreSymlinks: true, fullySpecified: request.fullySpecified && innerRequest !== "." }; resolver.doResolve( target, obj, `resolved by pnp to ${resolution}`, resolveContext, (err, result) => { if (err) return callback(err); if (result) return callback(null, result); // Skip alternatives return callback(null, null); } ); }); } };