Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.218.8.237
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
webpack /
lib /
sharing /
Delete
Unzip
Name
Size
Permission
Date
Action
ConsumeSharedFallbackDependency.js
615
B
-rw-rw-r--
2022-08-30 11:49
ConsumeSharedModule.js
7.14
KB
-rw-rw-r--
2022-08-30 11:49
ConsumeSharedPlugin.js
10.05
KB
-rw-rw-r--
2022-08-30 11:49
ConsumeSharedRuntimeModule.js
12.83
KB
-rw-rw-r--
2022-08-30 11:49
ProvideForSharedDependency.js
654
B
-rw-rw-r--
2022-08-30 11:49
ProvideSharedDependency.js
1.33
KB
-rw-rw-r--
2022-08-30 11:49
ProvideSharedModule.js
5.36
KB
-rw-rw-r--
2022-08-30 11:49
ProvideSharedModuleFactory.js
1.02
KB
-rw-rw-r--
2022-08-30 11:49
ProvideSharedPlugin.js
6.66
KB
-rw-rw-r--
2022-08-30 11:49
SharePlugin.js
2.9
KB
-rw-rw-r--
2022-08-30 11:49
ShareRuntimeModule.js
4.53
KB
-rw-rw-r--
2022-08-30 11:49
resolveMatchedConfigs.js
2.63
KB
-rw-rw-r--
2022-08-30 11:49
utils.js
2.35
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const ModuleNotFoundError = require("../ModuleNotFoundError"); const LazySet = require("../util/LazySet"); /** @typedef {import("../Compilation")} Compilation */ /** @typedef {import("../ResolverFactory").ResolveOptionsWithDependencyType} ResolveOptionsWithDependencyType */ /** * @template T * @typedef {Object} MatchedConfigs * @property {Map<string, T>} resolved * @property {Map<string, T>} unresolved * @property {Map<string, T>} prefixed */ /** @type {ResolveOptionsWithDependencyType} */ const RESOLVE_OPTIONS = { dependencyType: "esm" }; /** * @template T * @param {Compilation} compilation the compilation * @param {[string, T][]} configs to be processed configs * @returns {Promise<MatchedConfigs<T>>} resolved matchers */ exports.resolveMatchedConfigs = (compilation, configs) => { /** @type {Map<string, T>} */ const resolved = new Map(); /** @type {Map<string, T>} */ const unresolved = new Map(); /** @type {Map<string, T>} */ const prefixed = new Map(); const resolveContext = { /** @type {LazySet<string>} */ fileDependencies: new LazySet(), /** @type {LazySet<string>} */ contextDependencies: new LazySet(), /** @type {LazySet<string>} */ missingDependencies: new LazySet() }; const resolver = compilation.resolverFactory.get("normal", RESOLVE_OPTIONS); const context = compilation.compiler.context; return Promise.all( configs.map(([request, config]) => { if (/^\.\.?(\/|$)/.test(request)) { // relative request return new Promise(resolve => { resolver.resolve( {}, context, request, resolveContext, (err, result) => { if (err || result === false) { err = err || new Error(`Can't resolve ${request}`); compilation.errors.push( new ModuleNotFoundError(null, err, { name: `shared module ${request}` }) ); return resolve(); } resolved.set(result, config); resolve(); } ); }); } else if (/^(\/|[A-Za-z]:\\|\\\\)/.test(request)) { // absolute path resolved.set(request, config); } else if (request.endsWith("/")) { // module request prefix prefixed.set(request, config); } else { // module request unresolved.set(request, config); } }) ).then(() => { compilation.contextDependencies.addAll(resolveContext.contextDependencies); compilation.fileDependencies.addAll(resolveContext.fileDependencies); compilation.missingDependencies.addAll(resolveContext.missingDependencies); return { resolved, unresolved, prefixed }; }); };