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 /
ids /
Delete
Unzip
Name
Size
Permission
Date
Action
ChunkModuleIdRangePlugin.js
2.14
KB
-rw-rw-r--
2022-08-30 11:49
DeterministicChunkIdsPlugin.js
1.65
KB
-rw-rw-r--
2022-08-30 11:49
DeterministicModuleIdsPlugin.js
2.96
KB
-rw-rw-r--
2022-08-30 11:49
HashedModuleIdsPlugin.js
2.19
KB
-rw-rw-r--
2022-08-30 11:49
IdHelpers.js
12.57
KB
-rw-rw-r--
2022-08-30 11:49
NamedChunkIdsPlugin.js
1.89
KB
-rw-rw-r--
2022-08-30 11:49
NamedModuleIdsPlugin.js
1.51
KB
-rw-rw-r--
2022-08-30 11:49
NaturalChunkIdsPlugin.js
984
B
-rw-rw-r--
2022-08-30 11:49
NaturalModuleIdsPlugin.js
1.01
KB
-rw-rw-r--
2022-08-30 11:49
OccurrenceChunkIdsPlugin.js
2.47
KB
-rw-rw-r--
2022-08-30 11:49
OccurrenceModuleIdsPlugin.js
4.52
KB
-rw-rw-r--
2022-08-30 11:49
SyncModuleIdsPlugin.js
3.97
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 { find } = require("../util/SetHelpers"); const { compareModulesByPreOrderIndexOrIdentifier, compareModulesByPostOrderIndexOrIdentifier } = require("../util/comparators"); /** @typedef {import("../Compiler")} Compiler */ class ChunkModuleIdRangePlugin { constructor(options) { this.options = options; } /** * Apply the plugin * @param {Compiler} compiler the compiler instance * @returns {void} */ apply(compiler) { const options = this.options; compiler.hooks.compilation.tap("ChunkModuleIdRangePlugin", compilation => { const moduleGraph = compilation.moduleGraph; compilation.hooks.moduleIds.tap("ChunkModuleIdRangePlugin", modules => { const chunkGraph = compilation.chunkGraph; const chunk = find( compilation.chunks, chunk => chunk.name === options.name ); if (!chunk) { throw new Error( `ChunkModuleIdRangePlugin: Chunk with name '${options.name}"' was not found` ); } let chunkModules; if (options.order) { let cmpFn; switch (options.order) { case "index": case "preOrderIndex": cmpFn = compareModulesByPreOrderIndexOrIdentifier(moduleGraph); break; case "index2": case "postOrderIndex": cmpFn = compareModulesByPostOrderIndexOrIdentifier(moduleGraph); break; default: throw new Error( "ChunkModuleIdRangePlugin: unexpected value of order" ); } chunkModules = chunkGraph.getOrderedChunkModules(chunk, cmpFn); } else { chunkModules = Array.from(modules) .filter(m => { return chunkGraph.isModuleInChunk(m, chunk); }) .sort(compareModulesByPreOrderIndexOrIdentifier(moduleGraph)); } let currentId = options.start || 0; for (let i = 0; i < chunkModules.length; i++) { const m = chunkModules[i]; if (m.needId && chunkGraph.getModuleId(m) === null) { chunkGraph.setModuleId(m, currentId++); } if (options.end && currentId > options.end) break; } }); }); } } module.exports = ChunkModuleIdRangePlugin;