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.140.201.179
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 concatenate = require('concatenate'); let babel = require('babel-core'); let glob = require('glob'); class FileCollection { /** * Create a new FileCollection instance. * * @param {Array|string} files */ constructor(files = []) { this.files = [].concat(files); } /** * Fetch the underlying files. */ get() { return this.files; } /** * Merge all files in the collection into one. * * @param {object} output * @param {object} wantsBabel */ merge(output, wantsBabel = false) { let contents = concatenate.sync( this.files, output.makeDirectories().path() ); if (this.shouldCompileWithBabel(wantsBabel, output)) { output.write(this.babelify(contents)); } return new File(output.makeDirectories().path()); } /** * Determine if we should add a Babel pass to the concatenated file. * * @param {Boolean} wantsBabel * @param {Object} output */ shouldCompileWithBabel(wantsBabel, output) { return wantsBabel && output.extension() === '.js'; } /** * Apply Babel to the given contents. * * @param {string} contents */ babelify(contents) { let babelConfig = Config.babel(); delete babelConfig.cacheDirectory; return babel.transform(contents, babelConfig).code; } /** * Copy the src files to the given destination. * * @param {string} destination * @param {string|array|null} src */ copyTo(destination, src = this.files) { this.assets = this.assets || []; this.destination = destination; if (Array.isArray(src)) { src.forEach(file => this.copyTo(destination, new File(file))); return; } if (src.isDirectory()) { return src.copyTo(destination.path()); } if (src.contains('*')) { let files = glob.sync(src.path(), { nodir: true }); if (!files.length) { console.log( `Notice: The ${src.path()} search produced no matches.` ); } return this.copyTo(destination, files); } if (destination.isDirectory()) { destination = destination.append(src.name()); } src.copyTo(destination.path()); this.assets = this.assets.concat(destination); return destination.path(); } } module.exports = FileCollection;