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 : 3.141.199.214
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
node_modules /
laravel-mix /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
builder
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
components
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
tasks
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
webpackPlugins
[ DIR ]
drwxr-xr-x
2021-02-04 21:24
Api.js
1.96
KB
-rw-r--r--
2021-02-04 21:24
Assert.js
1.97
KB
-rw-r--r--
2021-02-04 21:24
Dependencies.js
1.42
KB
-rw-r--r--
2021-02-04 21:24
Dispatcher.js
887
B
-rw-r--r--
2021-02-04 21:24
File.js
5.37
KB
-rw-r--r--
2021-02-04 21:24
FileCollection.js
2.52
KB
-rw-r--r--
2021-02-04 21:24
Manifest.js
2.95
KB
-rw-r--r--
2021-02-04 21:24
Mix.js
2.41
KB
-rw-r--r--
2021-02-04 21:24
Paths.js
920
B
-rw-r--r--
2021-02-04 21:24
StandaloneSass.js
3.77
KB
-rw-r--r--
2021-02-04 21:24
config.js
6.84
KB
-rw-r--r--
2021-02-04 21:24
helpers.js
1.04
KB
-rw-r--r--
2021-02-04 21:24
index.js
1.83
KB
-rw-r--r--
2021-02-04 21:24
Save
Rename
let objectValues = require('lodash').values; let without = require('lodash').without; let path = require('path'); class Manifest { /** * Create a new Manifest instance. * * @param {string} name */ constructor(name = 'mix-manifest.json') { this.manifest = {}; this.name = name; } /** * Get the underlying manifest collection. */ get(file = null) { if (file) { return path.posix.join( Config.publicPath, this.manifest[this.normalizePath(file)] ); } return sortObjectKeys(this.manifest); } /** * Add the given path to the manifest file. * * @param {string} filePath */ add(filePath) { filePath = this.normalizePath(filePath); let original = filePath.replace(/\?id=\w{20}/, ''); this.manifest[original] = filePath; return this; } /** * Add a new hashed key to the manifest. * * @param {string} file */ hash(file) { let hash = new File(path.join(Config.publicPath, file)).version(); let filePath = this.normalizePath(file); this.manifest[filePath] = filePath + '?id=' + hash; return this; } /** * Transform the Webpack stats into the shape we need. * * @param {object} stats */ transform(stats) { let customAssets = Config.customAssets.map(asset => asset.pathFromPublic() ); this.flattenAssets(stats) .concat(customAssets) .forEach(this.add.bind(this)); return this; } /** * Refresh the mix-manifest.js file. */ refresh() { File.find(this.path()) .makeDirectories() .write(this.manifest); } /** * Retrieve the JSON output from the manifest file. */ read() { return JSON.parse(File.find(this.path()).read()); } /** * Get the path to the manifest file. */ path() { return path.join(Config.publicPath, this.name); } /** * Flatten the generated stats assets into an array. * * @param {Object} stats */ flattenAssets(stats) { let assets = Object.assign({}, stats.assetsByChunkName); // If there's a temporary mix.js chunk, we can safely remove it. if (assets.mix) { assets.mix = without(assets.mix, 'mix.js'); } return flatten(assets); } /** * Prepare the provided path for processing. * * @param {string} filePath */ normalizePath(filePath) { if (Config.publicPath && filePath.startsWith(Config.publicPath)) { filePath = filePath.substring(Config.publicPath.length); } filePath = filePath.replace(/\\/g, '/'); if (!filePath.startsWith('/')) { filePath = '/' + filePath; } return filePath; } } module.exports = Manifest;