mp-front-cli 0.0.55 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +0,0 @@
1
- let r;
2
- const a = new Uint8Array(16);
3
- function y() {
4
- if (!r && (r = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !r))
5
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
6
- return r(a);
7
- }
8
- const p = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
9
- function g(n) {
10
- return typeof n == "string" && p.test(n);
11
- }
12
- const i = [];
13
- for (let n = 0; n < 256; ++n)
14
- i.push((n + 256).toString(16).slice(1));
15
- function c(n, t = 0) {
16
- return i[n[t + 0]] + i[n[t + 1]] + i[n[t + 2]] + i[n[t + 3]] + "-" + i[n[t + 4]] + i[n[t + 5]] + "-" + i[n[t + 6]] + i[n[t + 7]] + "-" + i[n[t + 8]] + i[n[t + 9]] + "-" + i[n[t + 10]] + i[n[t + 11]] + i[n[t + 12]] + i[n[t + 13]] + i[n[t + 14]] + i[n[t + 15]];
17
- }
18
- function m(n, t = 0) {
19
- const d = c(n, t);
20
- if (!g(d))
21
- throw TypeError("Stringified UUID is invalid");
22
- return d;
23
- }
24
- const U = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), o = {
25
- randomUUID: U
26
- };
27
- function l(n, t, d) {
28
- if (o.randomUUID && !t && !n)
29
- return o.randomUUID();
30
- n = n || {};
31
- const e = n.random || (n.rng || y)();
32
- if (e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, t) {
33
- d = d || 0;
34
- for (let u = 0; u < 16; ++u)
35
- t[d + u] = e[u];
36
- return t;
37
- }
38
- return c(e);
39
- }
40
- export {
41
- g as a,
42
- y as r,
43
- m as s,
44
- c as u,
45
- l as v
46
- };