@drmhse/authos-vue 0.2.3 → 0.2.5
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.
- package/README.md +27 -421
- package/dist/chunk-5OCDR7QV.mjs +68 -0
- package/dist/chunk-I3MWU7CX.mjs +405 -0
- package/dist/chunk-IUIUWQYL.mjs +700 -0
- package/dist/chunk-IYGVWWRW.mjs +448 -0
- package/dist/chunk-JN6U6SKP.mjs +973 -0
- package/dist/chunk-T7GBCGRZ.mjs +734 -0
- package/dist/chunk-VVJVQ4JO.mjs +15 -0
- package/dist/dist-XLLRDJPJ.mjs +505 -0
- package/dist/index.d.mts +35 -2
- package/dist/index.d.ts +35 -2
- package/dist/index.js +72 -0
- package/dist/index.mjs +72 -1
- package/dist/json5-XBNSJCDA.mjs +3 -0
- package/dist/jsonc-H6LEPRFY.mjs +3 -0
- package/dist/nuxt.d.mts +1 -2
- package/dist/nuxt.d.ts +1 -2
- package/dist/nuxt.js +6724 -5905
- package/dist/nuxt.mjs +4140 -2052
- package/dist/nypm-5BYDGLH7.mjs +3 -0
- package/dist/tar-A5SPYDDD.mjs +3289 -0
- package/dist/toml-QZCHCWUM.mjs +3 -0
- package/dist/yaml-6OXYI3W7.mjs +3 -0
- package/package.json +5 -4
- package/dist/chunk-EI6D7ZL6.mjs +0 -741
- package/dist/chunk-EO7XHAPG.mjs +0 -452
- package/dist/chunk-EX36KPG5.mjs +0 -986
- package/dist/chunk-F4XRLJHQ.mjs +0 -408
- package/dist/chunk-HVM6PT6I.mjs +0 -3602
- package/dist/chunk-N667TIER.mjs +0 -66
- package/dist/chunk-XP4GDQVV.mjs +0 -1272
- package/dist/dist-C3JS2B76.mjs +0 -12545
- package/dist/json5-JAQYEGVI.mjs +0 -3
- package/dist/jsonc-UUIPUC5H.mjs +0 -3
- package/dist/multipart-parser-SFUPTK6X.mjs +0 -173
- package/dist/toml-VZVKMGHP.mjs +0 -3
- package/dist/yaml-G5PP6BGH.mjs +0 -3
package/dist/chunk-N667TIER.mjs
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// ../../node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs
|
|
2
|
-
var b = /^(?:( )+|\t+)/;
|
|
3
|
-
var d = "space";
|
|
4
|
-
var h = "tab";
|
|
5
|
-
function g(e, t) {
|
|
6
|
-
const n = /* @__PURE__ */ new Map();
|
|
7
|
-
let s = 0, o, i;
|
|
8
|
-
for (const c of e.split(/\n/g)) {
|
|
9
|
-
if (!c) continue;
|
|
10
|
-
let f, a, l, p, r;
|
|
11
|
-
const y = c.match(b);
|
|
12
|
-
if (y === null) s = 0, o = "";
|
|
13
|
-
else {
|
|
14
|
-
if (f = y[0].length, a = y[1] ? d : h, t && a === d && f === 1) continue;
|
|
15
|
-
a !== o && (s = 0), o = a, l = 1, p = 0;
|
|
16
|
-
const u = f - s;
|
|
17
|
-
if (s = f, u === 0) l = 0, p = 1;
|
|
18
|
-
else {
|
|
19
|
-
const I = u > 0 ? u : -u;
|
|
20
|
-
i = T(a, I);
|
|
21
|
-
}
|
|
22
|
-
r = n.get(i), r = r === void 0 ? [1, 0] : [r[0] + l, r[1] + p], n.set(i, r);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return n;
|
|
26
|
-
}
|
|
27
|
-
function T(e, t) {
|
|
28
|
-
return (e === d ? "s" : "t") + String(t);
|
|
29
|
-
}
|
|
30
|
-
function w(e) {
|
|
31
|
-
const n = e[0] === "s" ? d : h, s = Number(e.slice(1));
|
|
32
|
-
return { type: n, amount: s };
|
|
33
|
-
}
|
|
34
|
-
function E(e) {
|
|
35
|
-
let t, n = 0, s = 0;
|
|
36
|
-
for (const [o, [i, c]] of e) (i > n || i === n && c > s) && (n = i, s = c, t = o);
|
|
37
|
-
return t;
|
|
38
|
-
}
|
|
39
|
-
function S(e, t) {
|
|
40
|
-
return (e === d ? " " : " ").repeat(t);
|
|
41
|
-
}
|
|
42
|
-
function _(e) {
|
|
43
|
-
if (typeof e != "string") throw new TypeError("Expected a string");
|
|
44
|
-
let t = g(e, true);
|
|
45
|
-
t.size === 0 && (t = g(e, false));
|
|
46
|
-
const n = E(t);
|
|
47
|
-
let s, o = 0, i = "";
|
|
48
|
-
return n !== void 0 && ({ type: s, amount: o } = w(n), i = S(s, o)), { amount: o, type: s, indent: i };
|
|
49
|
-
}
|
|
50
|
-
var m = /* @__PURE__ */ Symbol.for("__confbox_fmt__");
|
|
51
|
-
var k = /^(\s+)/;
|
|
52
|
-
var v = /(\s+)$/;
|
|
53
|
-
function x(e, t = {}) {
|
|
54
|
-
const n = t.indent === void 0 && t.preserveIndentation !== false && e.slice(0, t?.sampleSize || 1024), s = t.preserveWhitespace === false ? void 0 : { start: k.exec(e)?.[0] || "", end: v.exec(e)?.[0] || "" };
|
|
55
|
-
return { sample: n, whiteSpace: s };
|
|
56
|
-
}
|
|
57
|
-
function N(e, t, n) {
|
|
58
|
-
!t || typeof t != "object" || Object.defineProperty(t, m, { enumerable: false, configurable: true, writable: true, value: x(e, n) });
|
|
59
|
-
}
|
|
60
|
-
function C(e, t) {
|
|
61
|
-
if (!e || typeof e != "object" || !(m in e)) return { indent: t?.indent ?? 2, whitespace: { start: "", end: "" } };
|
|
62
|
-
const n = e[m];
|
|
63
|
-
return { indent: t?.indent || _(n.sample || "").indent, whitespace: n.whiteSpace || { start: "", end: "" } };
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export { C, N };
|