Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
uuid /
dist /
esm-browser /
Delete
Unzip
Name
Size
Permission
Date
Action
index.js
412
B
-rw-r--r--
2023-08-14 04:33
md5.js
6.67
KB
-rw-r--r--
2023-08-14 04:33
nil.js
54
B
-rw-r--r--
2023-08-14 04:33
parse.js
1.08
KB
-rw-r--r--
2023-08-14 04:33
regex.js
133
B
-rw-r--r--
2023-08-14 04:33
rng.js
1.01
KB
-rw-r--r--
2023-08-14 04:33
sha1.js
2.41
KB
-rw-r--r--
2023-08-14 04:33
stringify.js
1.43
KB
-rw-r--r--
2023-08-14 04:33
v1.js
3.24
KB
-rw-r--r--
2023-08-14 04:33
v3.js
105
B
-rw-r--r--
2023-08-14 04:33
v35.js
1.62
KB
-rw-r--r--
2023-08-14 04:33
v4.js
543
B
-rw-r--r--
2023-08-14 04:33
v5.js
108
B
-rw-r--r--
2023-08-14 04:33
validate.js
139
B
-rw-r--r--
2023-08-14 04:33
version.js
197
B
-rw-r--r--
2023-08-14 04:33
Save
Rename
import validate from './validate.js'; /** * Convert array of 16 byte values to UUID string format of the form: * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX */ var byteToHex = []; for (var i = 0; i < 256; ++i) { byteToHex.push((i + 0x100).toString(16).substr(1)); } function stringify(arr) { var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0; // Note: Be careful editing this code! It's been tuned for performance // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434 var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one // of the following: // - One or more input array values don't map to a hex octet (leading to // "undefined" in the uuid) // - Invalid input values for the RFC `version` or `variant` fields if (!validate(uuid)) { throw TypeError('Stringified UUID is invalid'); } return uuid; } export default stringify;