📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: minify.js
"use strict"; /** @typedef {import("./index.js").MinimizedResult} MinimizedResult */ /** @typedef {import("./index.js").CustomOptions} CustomOptions */ /** * @template T * @param {import("./index.js").InternalOptions<T>} options * @returns {Promise<MinimizedResult>} */ async function minify(options) { const { name, input, inputSourceMap, extractComments } = options; const { implementation, options: minimizerOptions } = options.minimizer; return implementation({ [name]: input }, inputSourceMap, minimizerOptions, extractComments); } /** * @param {string} options * @returns {Promise<MinimizedResult>} */ async function transform(options) { // 'use strict' => this === undefined (Clean Scope) // Safer for possible security issues, albeit not critical at all here // eslint-disable-next-line no-param-reassign const evaluatedOptions = /** * @template T * @type {import("./index.js").InternalOptions<T>} * */ // eslint-disable-next-line no-new-func new Function("exports", "require", "module", "__filename", "__dirname", `'use strict'\nreturn ${options}`)(exports, require, module, __filename, __dirname); return minify(evaluatedOptions); } module.exports = { minify, transform };
Save