@projectwallace/format-css 1.4.4 → 1.5.1
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/dist/format-css.js +134 -79
- package/dist/format-css.umd.cjs +2 -2
- package/dist/index.d.ts +0 -5
- package/package.json +8 -8
package/dist/format-css.js
CHANGED
|
@@ -1,133 +1,188 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
return /[A-Z]/.test(
|
|
1
|
+
import X from "css-tree/parser";
|
|
2
|
+
const a = " ", o = "", A = ":", x = ";", v = '"', I = "(", k = ")", h = "[", d = "]", D = "{", H = "}", ee = "{}", V = "Atrule", W = "Rule", Z = "Block", z = "SelectorList", F = "Selector", Y = "Declaration", B = "Operator";
|
|
3
|
+
function y(_) {
|
|
4
|
+
return /[A-Z]/.test(_) ? _.toLowerCase() : _;
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
let
|
|
6
|
+
function te(_, { minify: C = !1 } = {}) {
|
|
7
|
+
let O = [], R = X(_, {
|
|
8
8
|
positions: !0,
|
|
9
9
|
parseAtrulePrelude: !1,
|
|
10
10
|
parseCustomProperty: !0,
|
|
11
|
-
parseValue: !0
|
|
11
|
+
parseValue: !0,
|
|
12
|
+
onComment: (n, e) => {
|
|
13
|
+
O.push(e.start.offset, e.end.offset);
|
|
14
|
+
}
|
|
12
15
|
});
|
|
13
|
-
const
|
|
14
|
-
`,
|
|
15
|
-
let
|
|
16
|
-
function
|
|
17
|
-
return
|
|
16
|
+
const u = C ? o : `
|
|
17
|
+
`, P = C ? o : a, G = C ? o : x;
|
|
18
|
+
let s = 0;
|
|
19
|
+
function i(n) {
|
|
20
|
+
return C ? o : " ".repeat(n);
|
|
18
21
|
}
|
|
19
|
-
function
|
|
22
|
+
function T(n) {
|
|
20
23
|
let e = n.loc;
|
|
21
|
-
return e ?
|
|
24
|
+
return e ? _.slice(e.start.offset, e.end.offset) : o;
|
|
22
25
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
return r.type === w && (e = K(r)), t.type === $ && (e += N(t)), e;
|
|
26
|
+
function b(n) {
|
|
27
|
+
return /** @type {import('css-tree').CssLocation} */ n.loc.start.offset;
|
|
26
28
|
}
|
|
27
|
-
function
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
function c(n) {
|
|
30
|
+
return /** @type {import('css-tree').CssLocation} */ n.loc.end.offset;
|
|
31
|
+
}
|
|
32
|
+
function E(n, e) {
|
|
33
|
+
if (C || n === void 0 || e === void 0)
|
|
34
|
+
return o;
|
|
35
|
+
let t = "";
|
|
36
|
+
for (let r = 0; r < O.length; r += 2) {
|
|
37
|
+
let l = O[r];
|
|
38
|
+
if (l === void 0 || l < n) continue;
|
|
39
|
+
let f = O[r + 1];
|
|
40
|
+
if (f === void 0 || f > e) break;
|
|
41
|
+
t.length > 0 && (t += u + i(s)), t += _.slice(l, f);
|
|
42
|
+
}
|
|
43
|
+
return t;
|
|
44
|
+
}
|
|
45
|
+
function $(n) {
|
|
46
|
+
let e, t = n.prelude, r = n.block;
|
|
47
|
+
t.type === z && (e = Q(t));
|
|
48
|
+
let l = E(c(t), b(r));
|
|
49
|
+
return l && (e += u + i(s) + l), r.type === Z && (e += w(r)), e;
|
|
50
|
+
}
|
|
51
|
+
function Q(n) {
|
|
52
|
+
let e = o;
|
|
53
|
+
return n.children.forEach((t, r) => {
|
|
54
|
+
t.type === F && (e += i(s) + S(t)), r.next !== null && (e += "," + u);
|
|
55
|
+
let l = r.next !== null ? b(r.next.data) : c(n), f = E(c(t), l);
|
|
56
|
+
f && (e += i(s) + f + u);
|
|
31
57
|
}), e;
|
|
32
58
|
}
|
|
33
|
-
function
|
|
34
|
-
let e =
|
|
35
|
-
return (n.children || []).forEach((
|
|
36
|
-
switch (
|
|
59
|
+
function S(n) {
|
|
60
|
+
let e = o;
|
|
61
|
+
return (n.children || []).forEach((r) => {
|
|
62
|
+
switch (r.type) {
|
|
37
63
|
case "TypeSelector": {
|
|
38
|
-
e +=
|
|
64
|
+
e += y(r.name);
|
|
39
65
|
break;
|
|
40
66
|
}
|
|
41
67
|
case "Combinator": {
|
|
42
|
-
e +=
|
|
68
|
+
e += a, r.name !== " " && (e += r.name + a);
|
|
43
69
|
break;
|
|
44
70
|
}
|
|
45
71
|
case "PseudoElementSelector": {
|
|
46
|
-
e +=
|
|
72
|
+
e += A + A, e += y(r.name);
|
|
47
73
|
break;
|
|
48
74
|
}
|
|
49
75
|
case "PseudoClassSelector": {
|
|
50
|
-
e +=
|
|
51
|
-
let l =
|
|
52
|
-
(l === "before" || l === "after") && (e +=
|
|
76
|
+
e += A;
|
|
77
|
+
let l = y(r.name);
|
|
78
|
+
(l === "before" || l === "after") && (e += A), e += l, r.children && (e += I + S(r) + k);
|
|
53
79
|
break;
|
|
54
80
|
}
|
|
55
|
-
case
|
|
56
|
-
|
|
57
|
-
l.type ===
|
|
81
|
+
case z: {
|
|
82
|
+
r.children.forEach((l, f) => {
|
|
83
|
+
l.type === F && (e += S(l)), f.next && (e += "," + a);
|
|
58
84
|
});
|
|
59
85
|
break;
|
|
60
86
|
}
|
|
61
87
|
case "Nth": {
|
|
62
|
-
let l =
|
|
88
|
+
let l = r.nth;
|
|
63
89
|
if (l)
|
|
64
90
|
if (l.type === "AnPlusB") {
|
|
65
|
-
let
|
|
66
|
-
|
|
91
|
+
let f = l.a, p = l.b;
|
|
92
|
+
f !== null && (e += f + "n"), f !== null && p !== null && (e += a), p !== null && (f !== null && !p.startsWith("-") && (e += "+" + a), e += p);
|
|
67
93
|
} else
|
|
68
|
-
e +=
|
|
69
|
-
|
|
94
|
+
e += T(l);
|
|
95
|
+
r.selector !== null && (e += a + "of" + a + S(r.selector));
|
|
70
96
|
break;
|
|
71
97
|
}
|
|
72
98
|
case "AttributeSelector": {
|
|
73
|
-
e +=
|
|
99
|
+
e += h, e += r.name.name, r.matcher && r.value && (e += r.matcher, e += v, r.value.type === "String" ? e += r.value.value : r.value.type === "Identifier" && (e += r.value.name), e += v), r.flags && (e += a + r.flags), e += d;
|
|
74
100
|
break;
|
|
75
101
|
}
|
|
76
102
|
default: {
|
|
77
|
-
e +=
|
|
103
|
+
e += T(r);
|
|
78
104
|
break;
|
|
79
105
|
}
|
|
80
106
|
}
|
|
81
107
|
}), e;
|
|
82
108
|
}
|
|
83
|
-
function
|
|
84
|
-
let e = n.children,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
109
|
+
function w(n) {
|
|
110
|
+
let e = n.children, t = P;
|
|
111
|
+
if (e.isEmpty) {
|
|
112
|
+
let f = E(b(n), c(n));
|
|
113
|
+
return f ? (t += D + u, t += i(s + 1) + f, t += u + i(s) + H, t) : t + ee;
|
|
114
|
+
}
|
|
115
|
+
t += D + u, s++;
|
|
116
|
+
let r = E(b(n), b(
|
|
117
|
+
/** @type {import('css-tree').CssNode} */
|
|
118
|
+
e.first
|
|
119
|
+
));
|
|
120
|
+
r && (t += i(s) + r + u), e.forEach((f, p) => {
|
|
121
|
+
if (p.prev !== null) {
|
|
122
|
+
let U = E(c(p.prev.data), b(f));
|
|
123
|
+
U && (t += i(s) + U + u);
|
|
124
|
+
}
|
|
125
|
+
f.type === Y ? (t += q(f), p.next === null ? t += G : t += x) : (p.prev !== null && p.prev.data.type === Y && (t += u), f.type === W ? t += $(f) : f.type === V ? t += K(f) : t += N(f, s)), p.next !== null && (t += u, f.type !== Y && (t += u));
|
|
126
|
+
});
|
|
127
|
+
let l = E(c(
|
|
128
|
+
/** @type {import('css-tree').CssNode} */
|
|
129
|
+
e.last
|
|
130
|
+
), c(n));
|
|
131
|
+
return l && (t += u + i(s) + l), s--, t += u + i(s) + H, t;
|
|
88
132
|
}
|
|
89
|
-
function
|
|
90
|
-
let e =
|
|
91
|
-
return e +=
|
|
133
|
+
function K(n) {
|
|
134
|
+
let e = i(s) + "@", t = n.prelude, r = n.block;
|
|
135
|
+
return e += y(n.name), t !== null && (e += a + j(t)), r === null ? e += x : r.type === Z && (e += w(r)), e;
|
|
92
136
|
}
|
|
93
|
-
function
|
|
94
|
-
let e =
|
|
95
|
-
return e.replace(/\s*([:,])/g, e.toLowerCase().includes("selector(") ? "$1" : "$1 ").replace(/\s*(=>|<=)\s*/g, " $1 ").replace(/\)([a-zA-Z])/g, ") $1").replace(new RegExp("(?<!<=)(?<!=>)(?<!<= )([<>])(?![<= ])(?![=> ])(?![ =>])", "g"), " $1 ").replace(/calc\(([^*]*)\*([^*])/g, "calc($1 * $2").replace(/\s+/g,
|
|
137
|
+
function j(n) {
|
|
138
|
+
let e = T(n);
|
|
139
|
+
return e.replace(/\s*([:,])/g, e.toLowerCase().includes("selector(") ? "$1" : "$1 ").replace(/\s*(=>|<=)\s*/g, " $1 ").replace(/\)([a-zA-Z])/g, ") $1").replace(new RegExp("(?<!<=)(?<!=>)(?<!<= )([<>])(?![<= ])(?![=> ])(?![ =>])", "g"), " $1 ").replace(/calc\(([^*]*)\*([^*])/g, "calc($1 * $2").replace(/\s+/g, a).replace(/selector|url|supports|layer\(/ig, (t) => y(t));
|
|
96
140
|
}
|
|
97
|
-
function
|
|
141
|
+
function q(n) {
|
|
98
142
|
let e = n.property;
|
|
99
|
-
e.charCodeAt(0) === 45 && e.charCodeAt(1) === 45 || (e =
|
|
100
|
-
let
|
|
101
|
-
return e === "font" && (
|
|
102
|
-
}
|
|
103
|
-
function C(n) {
|
|
104
|
-
let e = u;
|
|
105
|
-
return n.forEach((r, t) => {
|
|
106
|
-
r.type === "Identifier" ? e += r.name : r.type === "Function" ? e += o(r.name) + L + C(r.children) + A : r.type === "Dimension" ? e += r.value + o(r.unit) : r.type === "Value" ? e += I(r) : r.type === v ? e += V(r) : r.type === "Parentheses" ? e += L + C(r.children) + A : r.type === "Url" ? e += "url(" + S + r.value + S + A : e += y(r), r.type !== v && t.next !== null && t.next.data.type !== v && (e += f);
|
|
107
|
-
}), e;
|
|
143
|
+
e.charCodeAt(0) === 45 && e.charCodeAt(1) === 45 || (e = y(e));
|
|
144
|
+
let t = M(n.value);
|
|
145
|
+
return e === "font" && (t = t.replace(/\s*\/\s*/, "/")), t === o && C && (t += a), n.important && (t += P + "!important"), i(s) + e + A + P + t;
|
|
108
146
|
}
|
|
109
|
-
function
|
|
110
|
-
let e =
|
|
111
|
-
return t
|
|
147
|
+
function g(n) {
|
|
148
|
+
let e = o;
|
|
149
|
+
return n.forEach((t, r) => {
|
|
150
|
+
t.type === "Identifier" ? e += t.name : t.type === "Function" ? e += y(t.name) + I + g(t.children) + k : t.type === "Dimension" ? e += t.value + y(t.unit) : t.type === "Value" ? e += M(t) : t.type === B ? e += J(t) : t.type === "Parentheses" ? e += I + g(t.children) + k : t.type === "Url" ? e += "url(" + v + t.value + v + k : e += T(t), t.type !== B && r.next !== null && r.next.data.type !== B && (e += a);
|
|
151
|
+
}), e;
|
|
112
152
|
}
|
|
113
|
-
function
|
|
114
|
-
|
|
153
|
+
function J(n) {
|
|
154
|
+
let e = o, t = n.value.trim(), r = t.charCodeAt(0);
|
|
155
|
+
return r === 43 || r === 45 ? e += a : r !== 44 && (e += P), e += t, r === 43 || r === 45 ? e += a : e += P, e;
|
|
115
156
|
}
|
|
116
|
-
function
|
|
117
|
-
return
|
|
157
|
+
function M(n) {
|
|
158
|
+
return n.type === "Raw" ? N(n, 0) : g(n.children);
|
|
118
159
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
121
|
-
return n.children.forEach((t, l) => {
|
|
122
|
-
t.type === Y ? e += R(t) : t.type === x ? e += g(t) : e += O(t, i), l.next !== null && (e += s + s);
|
|
123
|
-
}), e;
|
|
160
|
+
function N(n, e) {
|
|
161
|
+
return i(e) + T(n).trim();
|
|
124
162
|
}
|
|
125
|
-
|
|
163
|
+
let L = R.children, m = o;
|
|
164
|
+
if (L.first) {
|
|
165
|
+
let n = E(0, b(L.first));
|
|
166
|
+
n && (m += n + u), L.forEach((t, r) => {
|
|
167
|
+
if (t.type === W ? m += $(t) : t.type === V ? m += K(t) : m += N(t, s), r.next !== null) {
|
|
168
|
+
m += u;
|
|
169
|
+
let l = E(c(t), b(r.next.data));
|
|
170
|
+
l && (m += i(s) + l), m += u;
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
let e = E(c(
|
|
174
|
+
/** @type {import('css-tree').CssNode} */
|
|
175
|
+
L.last
|
|
176
|
+
), c(R));
|
|
177
|
+
e && (m += u + e);
|
|
178
|
+
} else
|
|
179
|
+
m += E(0, c(R));
|
|
180
|
+
return m;
|
|
126
181
|
}
|
|
127
|
-
function
|
|
128
|
-
return
|
|
182
|
+
function ne(_) {
|
|
183
|
+
return te(_, { minify: !0 });
|
|
129
184
|
}
|
|
130
185
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
186
|
+
te as format,
|
|
187
|
+
ne as minify
|
|
133
188
|
};
|
package/dist/format-css.umd.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`,
|
|
1
|
+
(function(y,P){typeof exports=="object"&&typeof module<"u"?P(exports,require("css-tree/parser")):typeof define=="function"&&define.amd?define(["exports","css-tree/parser"],P):(y=typeof globalThis<"u"?globalThis:y||self,P(y.formatCss={},y.parse))})(this,function(y,P){"use strict";const i=" ",o="",S=":",N=";",L='"',x="(",v=")",Q="[",h="]",M="{",K="}",J="{}",U="Atrule",D="Rule",j="Block",H="SelectorList",V="Selector",I="Declaration",Y="Operator";function b(_){return/[A-Z]/.test(_)?_.toLowerCase():_}function W(_,{minify:T=!1}={}){let g=[],B=P(_,{positions:!0,parseAtrulePrelude:!1,parseCustomProperty:!0,parseValue:!0,onComment:(n,e)=>{g.push(e.start.offset,e.end.offset)}});const u=T?o:`
|
|
2
|
+
`,O=T?o:i,d=T?o:N;let s=0;function a(n){return T?o:" ".repeat(n)}function A(n){let e=n.loc;return e?_.slice(e.start.offset,e.end.offset):o}function C(n){return n.loc.start.offset}function c(n){return n.loc.end.offset}function E(n,e){if(T||n===void 0||e===void 0)return o;let t="";for(let r=0;r<g.length;r+=2){let l=g[r];if(l===void 0||l<n)continue;let f=g[r+1];if(f===void 0||f>e)break;t.length>0&&(t+=u+a(s)),t+=_.slice(l,f)}return t}function Z(n){let e,t=n.prelude,r=n.block;t.type===H&&(e=ee(t));let l=E(c(t),C(r));return l&&(e+=u+a(s)+l),r.type===j&&(e+=q(r)),e}function ee(n){let e=o;return n.children.forEach((t,r)=>{t.type===V&&(e+=a(s)+k(t)),r.next!==null&&(e+=","+u);let l=r.next!==null?C(r.next.data):c(n),f=E(c(t),l);f&&(e+=a(s)+f+u)}),e}function k(n){let e=o;return(n.children||[]).forEach(r=>{switch(r.type){case"TypeSelector":{e+=b(r.name);break}case"Combinator":{e+=i,r.name!==" "&&(e+=r.name+i);break}case"PseudoElementSelector":{e+=S+S,e+=b(r.name);break}case"PseudoClassSelector":{e+=S;let l=b(r.name);(l==="before"||l==="after")&&(e+=S),e+=l,r.children&&(e+=x+k(r)+v);break}case H:{r.children.forEach((l,f)=>{l.type===V&&(e+=k(l)),f.next&&(e+=","+i)});break}case"Nth":{let l=r.nth;if(l)if(l.type==="AnPlusB"){let f=l.a,p=l.b;f!==null&&(e+=f+"n"),f!==null&&p!==null&&(e+=i),p!==null&&(f!==null&&!p.startsWith("-")&&(e+="+"+i),e+=p)}else e+=A(l);r.selector!==null&&(e+=i+"of"+i+k(r.selector));break}case"AttributeSelector":{e+=Q,e+=r.name.name,r.matcher&&r.value&&(e+=r.matcher,e+=L,r.value.type==="String"?e+=r.value.value:r.value.type==="Identifier"&&(e+=r.value.name),e+=L),r.flags&&(e+=i+r.flags),e+=h;break}default:{e+=A(r);break}}}),e}function q(n){let e=n.children,t=O;if(e.isEmpty){let f=E(C(n),c(n));return f?(t+=M+u,t+=a(s+1)+f,t+=u+a(s)+K,t):t+J}t+=M+u,s++;let r=E(C(n),C(e.first));r&&(t+=a(s)+r+u),e.forEach((f,p)=>{if(p.prev!==null){let G=E(c(p.prev.data),C(f));G&&(t+=a(s)+G+u)}f.type===I?(t+=re(f),p.next===null?t+=d:t+=N):(p.prev!==null&&p.prev.data.type===I&&(t+=u),f.type===D?t+=Z(f):f.type===U?t+=z(f):t+=w(f,s)),p.next!==null&&(t+=u,f.type!==I&&(t+=u))});let l=E(c(e.last),c(n));return l&&(t+=u+a(s)+l),s--,t+=u+a(s)+K,t}function z(n){let e=a(s)+"@",t=n.prelude,r=n.block;return e+=b(n.name),t!==null&&(e+=i+te(t)),r===null?e+=N:r.type===j&&(e+=q(r)),e}function te(n){let e=A(n);return e.replace(/\s*([:,])/g,e.toLowerCase().includes("selector(")?"$1":"$1 ").replace(/\s*(=>|<=)\s*/g," $1 ").replace(/\)([a-zA-Z])/g,") $1").replace(new RegExp("(?<!<=)(?<!=>)(?<!<= )([<>])(?![<= ])(?![=> ])(?![ =>])","g")," $1 ").replace(/calc\(([^*]*)\*([^*])/g,"calc($1 * $2").replace(/\s+/g,i).replace(/selector|url|supports|layer\(/ig,t=>b(t))}function re(n){let e=n.property;e.charCodeAt(0)===45&&e.charCodeAt(1)===45||(e=b(e));let t=F(n.value);return e==="font"&&(t=t.replace(/\s*\/\s*/,"/")),t===o&&T&&(t+=i),n.important&&(t+=O+"!important"),a(s)+e+S+O+t}function $(n){let e=o;return n.forEach((t,r)=>{t.type==="Identifier"?e+=t.name:t.type==="Function"?e+=b(t.name)+x+$(t.children)+v:t.type==="Dimension"?e+=t.value+b(t.unit):t.type==="Value"?e+=F(t):t.type===Y?e+=ne(t):t.type==="Parentheses"?e+=x+$(t.children)+v:t.type==="Url"?e+="url("+L+t.value+L+v:e+=A(t),t.type!==Y&&r.next!==null&&r.next.data.type!==Y&&(e+=i)}),e}function ne(n){let e=o,t=n.value.trim(),r=t.charCodeAt(0);return r===43||r===45?e+=i:r!==44&&(e+=O),e+=t,r===43||r===45?e+=i:e+=O,e}function F(n){return n.type==="Raw"?w(n,0):$(n.children)}function w(n,e){return a(e)+A(n).trim()}let R=B.children,m=o;if(R.first){let n=E(0,C(R.first));n&&(m+=n+u),R.forEach((t,r)=>{if(t.type===D?m+=Z(t):t.type===U?m+=z(t):m+=w(t,s),r.next!==null){m+=u;let l=E(c(t),C(r.next.data));l&&(m+=a(s)+l),m+=u}});let e=E(c(R.last),c(B));e&&(m+=u+e)}else m+=E(0,c(B));return m}function X(_){return W(_,{minify:!0})}y.format=W,y.minify=X,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})});
|
package/dist/index.d.ts
CHANGED
|
@@ -15,11 +15,6 @@ export function format(css: string, { minify }?: Options): string;
|
|
|
15
15
|
*/
|
|
16
16
|
export function minify(css: string): string;
|
|
17
17
|
export type Options = {
|
|
18
|
-
/**
|
|
19
|
-
* Whether to minify the CSS or keep it formatted
|
|
20
|
-
*
|
|
21
|
-
* Format a string of CSS using some simple rules
|
|
22
|
-
*/
|
|
23
18
|
/**
|
|
24
19
|
* Whether to minify the CSS or keep it formatted
|
|
25
20
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@projectwallace/format-css",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Fast, small, zero-config library to format CSS with basic rules.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,19 +27,19 @@
|
|
|
27
27
|
"prettier": "prettier --check index.js test/**/*.js"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@codecov/vite-plugin": "^
|
|
31
|
-
"@codspeed/tinybench-plugin": "^3.1.
|
|
32
|
-
"@types/css-tree": "^2.3.
|
|
30
|
+
"@codecov/vite-plugin": "^1.4.0",
|
|
31
|
+
"@codspeed/tinybench-plugin": "^3.1.1",
|
|
32
|
+
"@types/css-tree": "^2.3.9",
|
|
33
33
|
"c8": "^10.1.2",
|
|
34
34
|
"prettier": "^3.3.3",
|
|
35
35
|
"tinybench": "^2.8.0",
|
|
36
|
-
"typescript": "^5.
|
|
36
|
+
"typescript": "^5.6.3",
|
|
37
37
|
"uvu": "^0.5.6",
|
|
38
|
-
"vite": "^5.
|
|
39
|
-
"vite-plugin-dts": "^4.
|
|
38
|
+
"vite": "^5.4.11",
|
|
39
|
+
"vite-plugin-dts": "^4.3.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"css-tree": "^3.0.
|
|
42
|
+
"css-tree": "^3.0.1"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
45
|
"dist"
|