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 /
cache /
Delete
Unzip
Name
Size
Permission
Date
Action
AddBuildDependenciesPlugin.js
716
B
-rw-rw-r--
2022-08-30 11:49
AddManagedPathsPlugin.js
870
B
-rw-rw-r--
2022-08-30 11:49
IdleFileCachePlugin.js
6.67
KB
-rw-rw-r--
2022-08-30 11:49
MemoryCachePlugin.js
1.48
KB
-rw-rw-r--
2022-08-30 11:49
MemoryWithGcCachePlugin.js
3.77
KB
-rw-rw-r--
2022-08-30 11:49
PackFileCacheStrategy.js
39.65
KB
-rw-rw-r--
2022-08-30 11:49
ResolverCachePlugin.js
10.34
KB
-rw-rw-r--
2022-08-30 11:49
getLazyHashedEtag.js
2.13
KB
-rw-rw-r--
2022-08-30 11:49
mergeEtags.js
1.45
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 createHash = require("../util/createHash"); /** @typedef {import("../util/Hash")} Hash */ /** @typedef {typeof import("../util/Hash")} HashConstructor */ /** * @typedef {Object} HashableObject * @property {function(Hash): void} updateHash */ class LazyHashedEtag { /** * @param {HashableObject} obj object with updateHash method * @param {string | HashConstructor} hashFunction the hash function to use */ constructor(obj, hashFunction = "md4") { this._obj = obj; this._hash = undefined; this._hashFunction = hashFunction; } /** * @returns {string} hash of object */ toString() { if (this._hash === undefined) { const hash = createHash(this._hashFunction); this._obj.updateHash(hash); this._hash = /** @type {string} */ (hash.digest("base64")); } return this._hash; } } /** @type {Map<string | HashConstructor, WeakMap<HashableObject, LazyHashedEtag>>} */ const mapStrings = new Map(); /** @type {WeakMap<HashConstructor, WeakMap<HashableObject, LazyHashedEtag>>} */ const mapObjects = new WeakMap(); /** * @param {HashableObject} obj object with updateHash method * @param {string | HashConstructor} hashFunction the hash function to use * @returns {LazyHashedEtag} etag */ const getter = (obj, hashFunction = "md4") => { let innerMap; if (typeof hashFunction === "string") { innerMap = mapStrings.get(hashFunction); if (innerMap === undefined) { const newHash = new LazyHashedEtag(obj, hashFunction); innerMap = new WeakMap(); innerMap.set(obj, newHash); mapStrings.set(hashFunction, innerMap); return newHash; } } else { innerMap = mapObjects.get(hashFunction); if (innerMap === undefined) { const newHash = new LazyHashedEtag(obj, hashFunction); innerMap = new WeakMap(); innerMap.set(obj, newHash); mapObjects.set(hashFunction, innerMap); return newHash; } } const hash = innerMap.get(obj); if (hash !== undefined) return hash; const newHash = new LazyHashedEtag(obj, hashFunction); innerMap.set(obj, newHash); return newHash; }; module.exports = getter;