@lntvow/utils 1.8.19 → 1.8.21
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/index.cjs +1 -1
- package/dist/index.d.ts +0 -34
- package/dist/index.mjs +139 -161
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function S(){return`#${Math.random().toString(16).slice(2,8).padEnd(6,"0")}`}function l(n){return n>10?l(10)+l(n-10):Math.random().toString(36).padEnd(12,"0").slice(2,n+2)}const a=Object.prototype.toString,f=n=>a.call(n),w=(...n)=>console.log(`%c ${n[0]} `,"padding: 2px; border-radius: 3px; color: #fff; background: #000; font-weight: bold;",n.slice(1).length>0?n.slice(1):""),E=(...n)=>console.warn(...n),C=(...n)=>console.error(...n),A=n=>f(n)==="[object Map]",j=n=>f(n)==="[object Set]",g=n=>f(n)==="[object Date]",h=n=>f(n)==="[object RegExp]",p=n=>typeof n=="function",$=n=>typeof n=="string",M=n=>typeof n=="symbol",u=n=>n!==null&&typeof n=="object",U=n=>u(n)&&p(n.then)&&p(n.catch),c=n=>n==null,N=n=>n===void 0,b=n=>n===null;function R(n){return n!=null}function D(n){return typeof n=="boolean"}const d=Array.isArray,m=(n,e)=>Object.hasOwn(n,e),P=(n,e)=>n!==e;function O(n){const e=new WeakMap;function r(t){if(g(t))return new Date(t);if(h(t))return new RegExp(t);if(u(t)){if(e.has(t))return e.get(t);let s={};if(d(t)){s=[],e.set(t,s);for(let i=0;i<t.length;i++)s[i]=r(t[i]);return s}e.set(t,s);for(const i in t)m(t,i)&&(s[i]=r(t[i]));return s}else return t}return r(n)}function y(n,e,r){return d(n)?x(n,e,r):T(n,e,r)}function T(n,e,r){const t=o(e,r);return Object.keys(n).forEach(i=>{c(e[i])?t[i]=o(n[i],r):t[i]=u(n[i])&&u(e[i])?y(n[i],e[i],r):o(e[i],r)}),t}function x(n,e,r){if(d(e)){const t=o(e,r);return t.push(...o(n,r)),t}else return o(n,r)}function o(n,e){const{isDeepClone:r=!0}=e||{};return r?O(n):n}function F(n,e=1e3){let r=null;return function(...t){r&&clearTimeout(r),r=setTimeout(()=>{n.apply(this,t)},e)}}function L(n,e=1e3){let r=null;return function(...t){if(b(r))return r=Date.now(),n.apply(this,t);{const s=Date.now();if(s-r>=e)return r=s,n.apply(this,t)}}}function Z(...n){return n.reduce((e,r)=>function(...t){return r(e(...t))})}function z(...n){return n.reduce((e,r)=>function(...t){return e(r(...t))})}function _(n){return/^(?:(?:\+|00)86)?1(?:(?:3\d)|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8\d)|(?:9[1589]))\d{8}$/.test(n)}function B(n){return/^([\w-])+@([\w-])+(.[\w-])+/.test(n)}function I(n){return/^[A-Z]+$/.test(n)}function K(n){return!c(n)&&/^[a-z]+$/.test(n)}function W(n){return/^\d+$/.test(n)}function q(n){return/^-?\d{1,3}\.\d{6}$/.test(n)}function G(n){return n===""}function H(n){return!c(n)&&/^[\dA-Za-z\u4E00-\u9FA5]+$/.test(n)}function J(n){return!c(n)&&/^[A-Za-z\u4E00-\u9FA5]+$/.test(n)}function Q(n){return!c(n)&&/^[\d!"#$%&'()*+,./:;<=>?@A-Z[\\\]^_`{|}~]+$/.test(n)}function V(n){return/^[\dA-Z_]+$/.test(n)}function X(n){return/^[1-9]\d*$/.test(n)}function Y(n){return/^(0*[1-9]+\d*\.?\d*|0+\.\d*[1-9]+\d*)$/.test(n)}function k(n){return Array.isArray(n)?n:[n]}exports.castArray=k;exports.compose=Z;exports.composeRight=z;exports.debounce=F;exports.deepClone=O;exports.deepMerge=y;exports.error=C;exports.getRandomColor=S;exports.getRandomString=l;exports.hasChanged=P;exports.hasOwn=m;exports.isArray=d;exports.isBoolean=D;exports.isChineseOrEnglish=J;exports.isChineseOrEnglishOrNumber=H;exports.isDate=g;exports.isDef=R;exports.isEmail=B;exports.isEmptyString=G;exports.isFunction=p;exports.isLatitudeOrLongitude=q;exports.isLowerCase=K;exports.isMap=A;exports.isMobilePhone=_;exports.isNull=b;exports.isNumber=W;exports.isObject=u;exports.isPositiveFloat=Y;exports.isPositiveInt=X;exports.isPromise=U;exports.isRegExp=h;exports.isSet=j;exports.isString=$;exports.isSymbol=M;exports.isUndef=c;exports.isUndefined=N;exports.isUpperCase=I;exports.isUppercaseOrNumbersOrSpecial=Q;exports.isUppercaseOrNumbersOrUnderline=V;exports.log=w;exports.objectToString=a;exports.throttle=L;exports.toTypeString=f;exports.warn=E;
|
package/dist/index.d.ts
CHANGED
|
@@ -63,30 +63,6 @@ export declare const hasChanged: (oldValue: unknown, newValue: unknown) => boole
|
|
|
63
63
|
|
|
64
64
|
export declare const hasOwn: <T extends object, U extends keyof T>(target: T, key: U) => boolean;
|
|
65
65
|
|
|
66
|
-
/**
|
|
67
|
-
* @description 初始化
|
|
68
|
-
* @param options 初始化配置
|
|
69
|
-
*/
|
|
70
|
-
declare function initConsole(options?: InitConsoleOptions): void;
|
|
71
|
-
|
|
72
|
-
declare interface InitConsoleOptions {
|
|
73
|
-
/**
|
|
74
|
-
* @description 缓存的key
|
|
75
|
-
* @default LNTVOW_CONSOLE
|
|
76
|
-
*/
|
|
77
|
-
name?: string;
|
|
78
|
-
/**
|
|
79
|
-
* @description 显示console的时间 单位s
|
|
80
|
-
* @default 3600 一个小时
|
|
81
|
-
*/
|
|
82
|
-
time?: number;
|
|
83
|
-
/**
|
|
84
|
-
* @description 显示console的事件触发次数
|
|
85
|
-
* @default 20
|
|
86
|
-
*/
|
|
87
|
-
count?: number;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
66
|
export declare const isArray: (arg: any) => arg is any[];
|
|
91
67
|
|
|
92
68
|
export declare function isBoolean(val: unknown): val is boolean;
|
|
@@ -184,11 +160,6 @@ export declare function isUppercaseOrNumbersOrUnderline(value: string): boolean;
|
|
|
184
160
|
|
|
185
161
|
export declare const log: (...arg: unknown[]) => void;
|
|
186
162
|
|
|
187
|
-
export declare const nConsole: {
|
|
188
|
-
initConsole: typeof initConsole;
|
|
189
|
-
showConsole: typeof showConsole;
|
|
190
|
-
};
|
|
191
|
-
|
|
192
163
|
export declare const objectToString: () => string;
|
|
193
164
|
|
|
194
165
|
declare interface Options {
|
|
@@ -199,11 +170,6 @@ declare interface Options {
|
|
|
199
170
|
isDeepClone: boolean;
|
|
200
171
|
}
|
|
201
172
|
|
|
202
|
-
/**
|
|
203
|
-
* @description 触发显示事件
|
|
204
|
-
*/
|
|
205
|
-
declare function showConsole(): void;
|
|
206
|
-
|
|
207
173
|
/**
|
|
208
174
|
* @description 节流函数
|
|
209
175
|
* @param target 目标函数
|
package/dist/index.mjs
CHANGED
|
@@ -1,206 +1,184 @@
|
|
|
1
|
-
|
|
2
|
-
function M() {
|
|
1
|
+
function A() {
|
|
3
2
|
return `#${Math.random().toString(16).slice(2, 8).padEnd(6, "0")}`;
|
|
4
3
|
}
|
|
5
|
-
function
|
|
6
|
-
return
|
|
4
|
+
function p(n) {
|
|
5
|
+
return n > 10 ? p(10) + p(n - 10) : Math.random().toString(36).padEnd(12, "0").slice(2, n + 2);
|
|
7
6
|
}
|
|
8
|
-
const
|
|
9
|
-
`%c ${
|
|
7
|
+
const a = Object.prototype.toString, f = (n) => a.call(n), E = (...n) => console.log(
|
|
8
|
+
`%c ${n[0]} `,
|
|
10
9
|
"padding: 2px; border-radius: 3px; color: #fff; background: #000; font-weight: bold;",
|
|
11
|
-
|
|
12
|
-
),
|
|
13
|
-
function
|
|
14
|
-
return
|
|
15
|
-
}
|
|
16
|
-
function
|
|
17
|
-
return typeof
|
|
18
|
-
}
|
|
19
|
-
const d = Array.isArray, y = (
|
|
20
|
-
function
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
if (
|
|
24
|
-
return new Date(
|
|
25
|
-
if (
|
|
26
|
-
return new RegExp(
|
|
27
|
-
if (
|
|
28
|
-
if (
|
|
29
|
-
return
|
|
10
|
+
n.slice(1).length > 0 ? n.slice(1) : ""
|
|
11
|
+
), S = (...n) => console.warn(...n), j = (...n) => console.error(...n), C = (n) => f(n) === "[object Map]", M = (n) => f(n) === "[object Set]", g = (n) => f(n) === "[object Date]", h = (n) => f(n) === "[object RegExp]", l = (n) => typeof n == "function", D = (n) => typeof n == "string", x = (n) => typeof n == "symbol", u = (n) => n !== null && typeof n == "object", R = (n) => u(n) && l(n.then) && l(n.catch), c = (n) => n == null, U = (n) => n === void 0, b = (n) => n === null;
|
|
12
|
+
function N(n) {
|
|
13
|
+
return n != null;
|
|
14
|
+
}
|
|
15
|
+
function Z(n) {
|
|
16
|
+
return typeof n == "boolean";
|
|
17
|
+
}
|
|
18
|
+
const d = Array.isArray, y = (n, e) => Object.hasOwn(n, e), F = (n, e) => n !== e;
|
|
19
|
+
function m(n) {
|
|
20
|
+
const e = /* @__PURE__ */ new WeakMap();
|
|
21
|
+
function r(t) {
|
|
22
|
+
if (g(t))
|
|
23
|
+
return new Date(t);
|
|
24
|
+
if (h(t))
|
|
25
|
+
return new RegExp(t);
|
|
26
|
+
if (u(t)) {
|
|
27
|
+
if (e.has(t))
|
|
28
|
+
return e.get(t);
|
|
30
29
|
let i = {};
|
|
31
|
-
if (d(
|
|
32
|
-
i = [],
|
|
33
|
-
for (let
|
|
34
|
-
i[
|
|
30
|
+
if (d(t)) {
|
|
31
|
+
i = [], e.set(t, i);
|
|
32
|
+
for (let o = 0; o < t.length; o++)
|
|
33
|
+
i[o] = r(t[o]);
|
|
35
34
|
return i;
|
|
36
35
|
}
|
|
37
|
-
|
|
38
|
-
for (const
|
|
39
|
-
y(
|
|
36
|
+
e.set(t, i);
|
|
37
|
+
for (const o in t)
|
|
38
|
+
y(t, o) && (i[o] = r(t[o]));
|
|
40
39
|
return i;
|
|
41
40
|
} else
|
|
42
|
-
return
|
|
41
|
+
return t;
|
|
43
42
|
}
|
|
44
|
-
return
|
|
43
|
+
return r(n);
|
|
45
44
|
}
|
|
46
|
-
function
|
|
47
|
-
return d(
|
|
45
|
+
function w(n, e, r) {
|
|
46
|
+
return d(n) ? $(n, e, r) : O(n, e, r);
|
|
48
47
|
}
|
|
49
|
-
function
|
|
50
|
-
const
|
|
51
|
-
return Object.keys(
|
|
52
|
-
|
|
53
|
-
}),
|
|
48
|
+
function O(n, e, r) {
|
|
49
|
+
const t = s(e, r);
|
|
50
|
+
return Object.keys(n).forEach((o) => {
|
|
51
|
+
c(e[o]) ? t[o] = s(n[o], r) : t[o] = u(n[o]) && u(e[o]) ? w(n[o], e[o], r) : s(e[o], r);
|
|
52
|
+
}), t;
|
|
54
53
|
}
|
|
55
|
-
function
|
|
56
|
-
if (d(
|
|
57
|
-
const
|
|
58
|
-
return
|
|
54
|
+
function $(n, e, r) {
|
|
55
|
+
if (d(e)) {
|
|
56
|
+
const t = s(e, r);
|
|
57
|
+
return t.push(...s(n, r)), t;
|
|
59
58
|
} else
|
|
60
|
-
return
|
|
61
|
-
}
|
|
62
|
-
function
|
|
63
|
-
const { isDeepClone:
|
|
64
|
-
return
|
|
65
|
-
}
|
|
66
|
-
function
|
|
67
|
-
let
|
|
68
|
-
return function(...
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
},
|
|
59
|
+
return s(n, r);
|
|
60
|
+
}
|
|
61
|
+
function s(n, e) {
|
|
62
|
+
const { isDeepClone: r = !0 } = e || {};
|
|
63
|
+
return r ? m(n) : n;
|
|
64
|
+
}
|
|
65
|
+
function P(n, e = 1e3) {
|
|
66
|
+
let r = null;
|
|
67
|
+
return function(...t) {
|
|
68
|
+
r && clearTimeout(r), r = setTimeout(() => {
|
|
69
|
+
n.apply(this, t);
|
|
70
|
+
}, e);
|
|
72
71
|
};
|
|
73
72
|
}
|
|
74
|
-
function
|
|
75
|
-
let
|
|
76
|
-
return function(...
|
|
77
|
-
if (
|
|
78
|
-
return
|
|
73
|
+
function T(n, e = 1e3) {
|
|
74
|
+
let r = null;
|
|
75
|
+
return function(...t) {
|
|
76
|
+
if (b(r))
|
|
77
|
+
return r = Date.now(), n.apply(this, t);
|
|
79
78
|
{
|
|
80
79
|
const i = Date.now();
|
|
81
|
-
if (i -
|
|
82
|
-
return
|
|
80
|
+
if (i - r >= e)
|
|
81
|
+
return r = i, n.apply(this, t);
|
|
83
82
|
}
|
|
84
83
|
};
|
|
85
84
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
count: 20
|
|
90
|
-
};
|
|
91
|
-
function E(t) {
|
|
92
|
-
s = h(s, t || {});
|
|
93
|
-
const n = localStorage.getItem(s.name);
|
|
94
|
-
if (!n)
|
|
95
|
-
return;
|
|
96
|
-
Date.now() - Number(n) >= 1e3 * s.time ? localStorage.removeItem(s.name) : new g();
|
|
97
|
-
}
|
|
98
|
-
let m = 0;
|
|
99
|
-
function j() {
|
|
100
|
-
m++, m >= s.count && !localStorage.getItem(s.name) && (localStorage.setItem(s.name, Date.now().toString()), new g());
|
|
101
|
-
}
|
|
102
|
-
const W = {
|
|
103
|
-
initConsole: E,
|
|
104
|
-
showConsole: j
|
|
105
|
-
};
|
|
106
|
-
function B(...t) {
|
|
107
|
-
return t.reduce((n, o) => function(...e) {
|
|
108
|
-
return o(n(...e));
|
|
85
|
+
function z(...n) {
|
|
86
|
+
return n.reduce((e, r) => function(...t) {
|
|
87
|
+
return r(e(...t));
|
|
109
88
|
});
|
|
110
89
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
113
|
-
return
|
|
90
|
+
function L(...n) {
|
|
91
|
+
return n.reduce((e, r) => function(...t) {
|
|
92
|
+
return e(r(...t));
|
|
114
93
|
});
|
|
115
94
|
}
|
|
116
|
-
function
|
|
95
|
+
function _(n) {
|
|
117
96
|
return /^(?:(?:\+|00)86)?1(?:(?:3\d)|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8\d)|(?:9[1589]))\d{8}$/.test(
|
|
118
|
-
|
|
97
|
+
n
|
|
119
98
|
);
|
|
120
99
|
}
|
|
121
|
-
function
|
|
122
|
-
return /^([\w-])+@([\w-])+(.[\w-])+/.test(
|
|
100
|
+
function K(n) {
|
|
101
|
+
return /^([\w-])+@([\w-])+(.[\w-])+/.test(n);
|
|
123
102
|
}
|
|
124
|
-
function
|
|
125
|
-
return /^[A-Z]+$/.test(
|
|
103
|
+
function B(n) {
|
|
104
|
+
return /^[A-Z]+$/.test(n);
|
|
126
105
|
}
|
|
127
|
-
function
|
|
128
|
-
return !
|
|
106
|
+
function I(n) {
|
|
107
|
+
return !c(n) && /^[a-z]+$/.test(n);
|
|
129
108
|
}
|
|
130
|
-
function
|
|
131
|
-
return /^\d+$/.test(
|
|
109
|
+
function W(n) {
|
|
110
|
+
return /^\d+$/.test(n);
|
|
132
111
|
}
|
|
133
|
-
function
|
|
134
|
-
return /^-?\d{1,3}\.\d{6}$/.test(
|
|
112
|
+
function q(n) {
|
|
113
|
+
return /^-?\d{1,3}\.\d{6}$/.test(n);
|
|
135
114
|
}
|
|
136
|
-
function
|
|
137
|
-
return
|
|
115
|
+
function G(n) {
|
|
116
|
+
return n === "";
|
|
138
117
|
}
|
|
139
|
-
function
|
|
140
|
-
return !
|
|
118
|
+
function H(n) {
|
|
119
|
+
return !c(n) && /^[\dA-Za-z\u4E00-\u9FA5]+$/.test(n);
|
|
141
120
|
}
|
|
142
|
-
function
|
|
143
|
-
return !
|
|
121
|
+
function J(n) {
|
|
122
|
+
return !c(n) && /^[A-Za-z\u4E00-\u9FA5]+$/.test(n);
|
|
144
123
|
}
|
|
145
|
-
function
|
|
146
|
-
return !
|
|
124
|
+
function Q(n) {
|
|
125
|
+
return !c(n) && /^[\d!"#$%&'()*+,./:;<=>?@A-Z[\\\]^_`{|}~]+$/.test(n);
|
|
147
126
|
}
|
|
148
|
-
function
|
|
149
|
-
return /^[\dA-Z_]+$/.test(
|
|
127
|
+
function V(n) {
|
|
128
|
+
return /^[\dA-Z_]+$/.test(n);
|
|
150
129
|
}
|
|
151
|
-
function
|
|
152
|
-
return /^[1-9]\d*$/.test(
|
|
130
|
+
function X(n) {
|
|
131
|
+
return /^[1-9]\d*$/.test(n);
|
|
153
132
|
}
|
|
154
|
-
function
|
|
155
|
-
return /^(0*[1-9]+\d*\.?\d*|0+\.\d*[1-9]+\d*)$/.test(
|
|
133
|
+
function Y(n) {
|
|
134
|
+
return /^(0*[1-9]+\d*\.?\d*|0+\.\d*[1-9]+\d*)$/.test(n);
|
|
156
135
|
}
|
|
157
|
-
function
|
|
158
|
-
return Array.isArray(
|
|
136
|
+
function k(n) {
|
|
137
|
+
return Array.isArray(n) ? n : [n];
|
|
159
138
|
}
|
|
160
139
|
export {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
140
|
+
k as castArray,
|
|
141
|
+
z as compose,
|
|
142
|
+
L as composeRight,
|
|
143
|
+
P as debounce,
|
|
144
|
+
m as deepClone,
|
|
145
|
+
w as deepMerge,
|
|
146
|
+
j as error,
|
|
147
|
+
A as getRandomColor,
|
|
148
|
+
p as getRandomString,
|
|
149
|
+
F as hasChanged,
|
|
171
150
|
y as hasOwn,
|
|
172
151
|
d as isArray,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
x as warn
|
|
152
|
+
Z as isBoolean,
|
|
153
|
+
J as isChineseOrEnglish,
|
|
154
|
+
H as isChineseOrEnglishOrNumber,
|
|
155
|
+
g as isDate,
|
|
156
|
+
N as isDef,
|
|
157
|
+
K as isEmail,
|
|
158
|
+
G as isEmptyString,
|
|
159
|
+
l as isFunction,
|
|
160
|
+
q as isLatitudeOrLongitude,
|
|
161
|
+
I as isLowerCase,
|
|
162
|
+
C as isMap,
|
|
163
|
+
_ as isMobilePhone,
|
|
164
|
+
b as isNull,
|
|
165
|
+
W as isNumber,
|
|
166
|
+
u as isObject,
|
|
167
|
+
Y as isPositiveFloat,
|
|
168
|
+
X as isPositiveInt,
|
|
169
|
+
R as isPromise,
|
|
170
|
+
h as isRegExp,
|
|
171
|
+
M as isSet,
|
|
172
|
+
D as isString,
|
|
173
|
+
x as isSymbol,
|
|
174
|
+
c as isUndef,
|
|
175
|
+
U as isUndefined,
|
|
176
|
+
B as isUpperCase,
|
|
177
|
+
Q as isUppercaseOrNumbersOrSpecial,
|
|
178
|
+
V as isUppercaseOrNumbersOrUnderline,
|
|
179
|
+
E as log,
|
|
180
|
+
a as objectToString,
|
|
181
|
+
T as throttle,
|
|
182
|
+
f as toTypeString,
|
|
183
|
+
S as warn
|
|
206
184
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lntvow/utils",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.21",
|
|
4
4
|
"description": "工具库",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
"types": "dist/index.d.ts",
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@lntvow/eslint-config": "^8.2.5",
|
|
16
|
-
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
17
16
|
"bumpp": "^9.1.1",
|
|
18
17
|
"commitizen": "^4.3.0",
|
|
19
18
|
"cz-conventional-changelog": "^3.3.0",
|
|
20
19
|
"deepmerge": "^4.3.1",
|
|
20
|
+
"terser": "^5.24.0",
|
|
21
21
|
"typescript": "^5.0.4",
|
|
22
|
-
"vite": "^
|
|
22
|
+
"vite": "^5.0.0",
|
|
23
23
|
"vite-plugin-dts": "3.3.1",
|
|
24
24
|
"vitest": "^0.33.0"
|
|
25
25
|
},
|