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.119.103.13
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 /
javascript /
Delete
Unzip
Name
Size
Permission
Date
Action
ArrayPushCallbackChunkFormatPlugin.js
4.69
KB
-rw-rw-r--
2022-08-30 11:49
BasicEvaluatedExpression.js
10.1
KB
-rw-rw-r--
2022-08-30 11:49
ChunkHelpers.js
922
B
-rw-rw-r--
2022-08-30 11:49
CommonJsChunkFormatPlugin.js
4.66
KB
-rw-rw-r--
2022-08-30 11:49
EnableChunkLoadingPlugin.js
3.53
KB
-rw-rw-r--
2022-08-30 11:49
JavascriptGenerator.js
6.69
KB
-rw-rw-r--
2022-08-30 11:49
JavascriptModulesPlugin.js
42.93
KB
-rw-rw-r--
2022-08-30 11:49
JavascriptParser.js
110.57
KB
-rw-rw-r--
2022-08-30 11:49
JavascriptParserHelpers.js
3.13
KB
-rw-rw-r--
2022-08-30 11:49
StartupHelpers.js
3.92
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"; /** @typedef {import("../../declarations/WebpackOptions").ChunkLoadingType} ChunkLoadingType */ /** @typedef {import("../Compiler")} Compiler */ /** @type {WeakMap<Compiler, Set<ChunkLoadingType>>} */ const enabledTypes = new WeakMap(); const getEnabledTypes = compiler => { let set = enabledTypes.get(compiler); if (set === undefined) { set = new Set(); enabledTypes.set(compiler, set); } return set; }; class EnableChunkLoadingPlugin { /** * @param {ChunkLoadingType} type library type that should be available */ constructor(type) { this.type = type; } /** * @param {Compiler} compiler the compiler instance * @param {ChunkLoadingType} type type of library * @returns {void} */ static setEnabled(compiler, type) { getEnabledTypes(compiler).add(type); } /** * @param {Compiler} compiler the compiler instance * @param {ChunkLoadingType} type type of library * @returns {void} */ static checkEnabled(compiler, type) { if (!getEnabledTypes(compiler).has(type)) { throw new Error( `Chunk loading type "${type}" is not enabled. ` + "EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. " + 'This usually happens through the "output.enabledChunkLoadingTypes" option. ' + 'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". ' + "These types are enabled: " + Array.from(getEnabledTypes(compiler)).join(", ") ); } } /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { const { type } = this; // Only enable once const enabled = getEnabledTypes(compiler); if (enabled.has(type)) return; enabled.add(type); if (typeof type === "string") { switch (type) { case "jsonp": { const JsonpChunkLoadingPlugin = require("../web/JsonpChunkLoadingPlugin"); new JsonpChunkLoadingPlugin().apply(compiler); break; } case "import-scripts": { const ImportScriptsChunkLoadingPlugin = require("../webworker/ImportScriptsChunkLoadingPlugin"); new ImportScriptsChunkLoadingPlugin().apply(compiler); break; } case "require": { //@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697 const CommonJsChunkLoadingPlugin = require("../node/CommonJsChunkLoadingPlugin"); new CommonJsChunkLoadingPlugin({ asyncChunkLoading: false }).apply(compiler); break; } case "async-node": { //@ts-expect-error https://github.com/microsoft/TypeScript/issues/41697 const CommonJsChunkLoadingPlugin = require("../node/CommonJsChunkLoadingPlugin"); new CommonJsChunkLoadingPlugin({ asyncChunkLoading: true }).apply(compiler); break; } case "import": { const ModuleChunkLoadingPlugin = require("../esm/ModuleChunkLoadingPlugin"); new ModuleChunkLoadingPlugin().apply(compiler); break; } case "universal": // TODO implement universal chunk loading throw new Error("Universal Chunk Loading is not implemented yet"); default: throw new Error(`Unsupported chunk loading type ${type}. Plugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`); } } else { // TODO support plugin instances here // apply them to the compiler } } } module.exports = EnableChunkLoadingPlugin;