@varlet/shared 3.17.0 → 3.17.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/lib/index.cjs +16 -186
- package/lib/index.d.cts +6 -2
- package/package.json +2 -2
package/lib/index.cjs
CHANGED
|
@@ -1,32 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let node_crypto = require("node:crypto");
|
|
3
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __exportAll = (all, no_symbols) => {
|
|
9
|
-
let target = {};
|
|
10
|
-
for (var name in all) __defProp(target, name, {
|
|
11
|
-
get: all[name],
|
|
12
|
-
enumerable: true
|
|
13
|
-
});
|
|
14
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
|
-
return target;
|
|
16
|
-
};
|
|
17
|
-
var __copyProps = (to, from, except, desc) => {
|
|
18
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
|
-
key = keys[i];
|
|
20
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
21
|
-
get: ((k) => from[k]).bind(null, key),
|
|
22
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return to;
|
|
26
|
-
};
|
|
27
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.7_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._6rwx5eoj5ijtwiwneistv24bcq/node_modules/rattail/dist/isString-eoLxw4CX.mjs
|
|
3
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._egjgxdahrl7ud7sa5k2q2w4gam/node_modules/rattail/dist/isString-eoLxw4CX.mjs
|
|
30
4
|
function isArray(val) {
|
|
31
5
|
return Array.isArray(val);
|
|
32
6
|
}
|
|
@@ -34,7 +8,7 @@ function isString(val) {
|
|
|
34
8
|
return typeof val === "string";
|
|
35
9
|
}
|
|
36
10
|
//#endregion
|
|
37
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.
|
|
11
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._egjgxdahrl7ud7sa5k2q2w4gam/node_modules/rattail/dist/callOrReturn-MpTzoGlG.mjs
|
|
38
12
|
function isFunction(val) {
|
|
39
13
|
return typeof val === "function";
|
|
40
14
|
}
|
|
@@ -279,7 +253,7 @@ function init(converter, defaultAttributes) {
|
|
|
279
253
|
}
|
|
280
254
|
var api = init(defaultConverter, { path: "/" });
|
|
281
255
|
//#endregion
|
|
282
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.
|
|
256
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._egjgxdahrl7ud7sa5k2q2w4gam/node_modules/rattail/dist/index.mjs
|
|
283
257
|
function at(arr, index) {
|
|
284
258
|
if (!arr.length) return;
|
|
285
259
|
if (index < 0) index += arr.length;
|
|
@@ -633,6 +607,18 @@ function omitBy(object, fn) {
|
|
|
633
607
|
return result;
|
|
634
608
|
}, {});
|
|
635
609
|
}
|
|
610
|
+
function deriveKey(object, mapping) {
|
|
611
|
+
const result = [...Object.keys(object), ...Object.getOwnPropertySymbols(object)].reduce((result, key) => {
|
|
612
|
+
result[key] = object[key];
|
|
613
|
+
return result;
|
|
614
|
+
}, {});
|
|
615
|
+
[...Object.keys(mapping), ...Object.getOwnPropertySymbols(mapping)].forEach((key) => {
|
|
616
|
+
if (!hasOwn(object, key)) return;
|
|
617
|
+
const nextKey = mapping[key];
|
|
618
|
+
result[nextKey] = object[key];
|
|
619
|
+
});
|
|
620
|
+
return result;
|
|
621
|
+
}
|
|
636
622
|
function rekey(object, mapping) {
|
|
637
623
|
return [...Object.keys(object), ...Object.getOwnPropertySymbols(object)].reduce((result, key) => {
|
|
638
624
|
const nextKey = hasOwn(mapping, key) ? mapping[key] : key;
|
|
@@ -681,11 +667,6 @@ function objectKeys(object) {
|
|
|
681
667
|
function objectEntries(object) {
|
|
682
668
|
return Object.entries(object);
|
|
683
669
|
}
|
|
684
|
-
var integrated_exports = /* @__PURE__ */ __exportAll({
|
|
685
|
-
mitt: () => mitt_default,
|
|
686
|
-
uuid: () => v4,
|
|
687
|
-
uuidV6: () => v6
|
|
688
|
-
});
|
|
689
670
|
function cancelAnimationFrame(handle) {
|
|
690
671
|
const globalThis = getGlobalThis();
|
|
691
672
|
globalThis.cancelAnimationFrame ? globalThis.cancelAnimationFrame(handle) : globalThis.clearTimeout(handle);
|
|
@@ -1415,158 +1396,6 @@ function floor(val, precision = 0) {
|
|
|
1415
1396
|
function ceil(val, precision = 0) {
|
|
1416
1397
|
return baseRound(val, precision, Math.ceil);
|
|
1417
1398
|
}
|
|
1418
|
-
__reExport(/* @__PURE__ */ __exportAll({
|
|
1419
|
-
NOOP: () => NOOP,
|
|
1420
|
-
assert: () => assert$1,
|
|
1421
|
-
at: () => at,
|
|
1422
|
-
baseRound: () => baseRound,
|
|
1423
|
-
buildNavigationUrl: () => buildNavigationUrl,
|
|
1424
|
-
call: () => call,
|
|
1425
|
-
callOrReturn: () => callOrReturn,
|
|
1426
|
-
camelize: () => camelize,
|
|
1427
|
-
cancelAnimationFrame: () => cancelAnimationFrame,
|
|
1428
|
-
ceil: () => ceil,
|
|
1429
|
-
chunk: () => chunk,
|
|
1430
|
-
clamp: () => clamp,
|
|
1431
|
-
clampArrayRange: () => clampArrayRange,
|
|
1432
|
-
classes: () => classes,
|
|
1433
|
-
cloneDeep: () => cloneDeep,
|
|
1434
|
-
cloneDeepWith: () => cloneDeepWith,
|
|
1435
|
-
copyText: () => copyText,
|
|
1436
|
-
createCacheManager: () => createCacheManager,
|
|
1437
|
-
createCookieStorage: () => createCookieStorage,
|
|
1438
|
-
createNamespaceFn: () => createNamespaceFn,
|
|
1439
|
-
createStorage: () => createStorage,
|
|
1440
|
-
debounce: () => debounce,
|
|
1441
|
-
delay: () => delay,
|
|
1442
|
-
difference: () => difference,
|
|
1443
|
-
differenceWith: () => differenceWith,
|
|
1444
|
-
doubleRaf: () => doubleRaf,
|
|
1445
|
-
download: () => download,
|
|
1446
|
-
duration: () => duration,
|
|
1447
|
-
ensurePrefix: () => ensurePrefix,
|
|
1448
|
-
ensureSuffix: () => ensureSuffix,
|
|
1449
|
-
enumOf: () => enumOf,
|
|
1450
|
-
find: () => find,
|
|
1451
|
-
floor: () => floor,
|
|
1452
|
-
genNumberKey: () => genNumberKey,
|
|
1453
|
-
genStringKey: () => genStringKey,
|
|
1454
|
-
getAllParentScroller: () => getAllParentScroller,
|
|
1455
|
-
getGlobalThis: () => getGlobalThis,
|
|
1456
|
-
getParentScroller: () => getParentScroller,
|
|
1457
|
-
getRect: () => getRect,
|
|
1458
|
-
getScrollLeft: () => getScrollLeft,
|
|
1459
|
-
getScrollTop: () => getScrollTop,
|
|
1460
|
-
getStyle: () => getStyle,
|
|
1461
|
-
groupBy: () => groupBy,
|
|
1462
|
-
hasDuplicates: () => hasDuplicates,
|
|
1463
|
-
hasDuplicatesBy: () => hasDuplicatesBy,
|
|
1464
|
-
hasOwn: () => hasOwn,
|
|
1465
|
-
inBrowser: () => inBrowser,
|
|
1466
|
-
inMobile: () => inMobile,
|
|
1467
|
-
inViewport: () => inViewport,
|
|
1468
|
-
intersection: () => intersection,
|
|
1469
|
-
intersectionWith: () => intersectionWith,
|
|
1470
|
-
isArray: () => isArray,
|
|
1471
|
-
isArrayBuffer: () => isArrayBuffer,
|
|
1472
|
-
isBlob: () => isBlob,
|
|
1473
|
-
isBoolean: () => isBoolean,
|
|
1474
|
-
isDOMException: () => isDOMException,
|
|
1475
|
-
isDataView: () => isDataView,
|
|
1476
|
-
isDate: () => isDate,
|
|
1477
|
-
isEmpty: () => isEmpty,
|
|
1478
|
-
isEmptyPlainObject: () => isEmptyPlainObject,
|
|
1479
|
-
isEqual: () => isEqual,
|
|
1480
|
-
isEqualWith: () => isEqualWith,
|
|
1481
|
-
isError: () => isError,
|
|
1482
|
-
isFile: () => isFile,
|
|
1483
|
-
isFunction: () => isFunction,
|
|
1484
|
-
isMap: () => isMap,
|
|
1485
|
-
isNonEmptyArray: () => isNonEmptyArray,
|
|
1486
|
-
isNullish: () => isNullish,
|
|
1487
|
-
isNumber: () => isNumber,
|
|
1488
|
-
isNumeric: () => isNumeric,
|
|
1489
|
-
isObject: () => isObject,
|
|
1490
|
-
isPlainObject: () => isPlainObject,
|
|
1491
|
-
isPrimitive: () => isPrimitive,
|
|
1492
|
-
isPromise: () => isPromise,
|
|
1493
|
-
isRegExp: () => isRegExp,
|
|
1494
|
-
isSet: () => isSet,
|
|
1495
|
-
isString: () => isString,
|
|
1496
|
-
isSymbol: () => isSymbol,
|
|
1497
|
-
isTruthy: () => isTruthy,
|
|
1498
|
-
isTypedArray: () => isTypedArray,
|
|
1499
|
-
isWeakMap: () => isWeakMap,
|
|
1500
|
-
isWeakSet: () => isWeakSet,
|
|
1501
|
-
isWindow: () => isWindow,
|
|
1502
|
-
kebabCase: () => kebabCase,
|
|
1503
|
-
localStorage: () => localStorage,
|
|
1504
|
-
lowerFirst: () => lowerFirst,
|
|
1505
|
-
mapObject: () => mapObject,
|
|
1506
|
-
maskString: () => maskString,
|
|
1507
|
-
maxBy: () => maxBy,
|
|
1508
|
-
mean: () => mean,
|
|
1509
|
-
meanBy: () => meanBy,
|
|
1510
|
-
merge: () => merge,
|
|
1511
|
-
mergeWith: () => mergeWith,
|
|
1512
|
-
minBy: () => minBy,
|
|
1513
|
-
mitt: () => mitt_default,
|
|
1514
|
-
motion: () => motion,
|
|
1515
|
-
navigation: () => navigation,
|
|
1516
|
-
normalizeToArray: () => normalizeToArray,
|
|
1517
|
-
objectEntries: () => objectEntries,
|
|
1518
|
-
objectKeys: () => objectKeys,
|
|
1519
|
-
objectToString: () => objectToString,
|
|
1520
|
-
omit: () => omit,
|
|
1521
|
-
omitBy: () => omitBy,
|
|
1522
|
-
once: () => once,
|
|
1523
|
-
pascalCase: () => pascalCase,
|
|
1524
|
-
pick: () => pick,
|
|
1525
|
-
pickBy: () => pickBy,
|
|
1526
|
-
prettyJSONObject: () => prettyJSONObject,
|
|
1527
|
-
preventDefault: () => preventDefault,
|
|
1528
|
-
promiseWithResolvers: () => promiseWithResolvers,
|
|
1529
|
-
raf: () => raf,
|
|
1530
|
-
randomColor: () => randomColor,
|
|
1531
|
-
randomNumber: () => randomNumber,
|
|
1532
|
-
randomString: () => randomString,
|
|
1533
|
-
rekey: () => rekey,
|
|
1534
|
-
removeArrayBlank: () => removeArrayBlank,
|
|
1535
|
-
removeArrayEmpty: () => removeArrayEmpty,
|
|
1536
|
-
removeItem: () => removeItem,
|
|
1537
|
-
removeItemBy: () => removeItemBy,
|
|
1538
|
-
removeItemsBy: () => removeItemsBy,
|
|
1539
|
-
requestAnimationFrame: () => requestAnimationFrame,
|
|
1540
|
-
round: () => round,
|
|
1541
|
-
sample: () => sample,
|
|
1542
|
-
sessionStorage: () => sessionStorage,
|
|
1543
|
-
set: () => set,
|
|
1544
|
-
shuffle: () => shuffle,
|
|
1545
|
-
slash: () => slash,
|
|
1546
|
-
sum: () => sum,
|
|
1547
|
-
sumBy: () => sumBy,
|
|
1548
|
-
sumHash: () => sumHash,
|
|
1549
|
-
supportTouch: () => supportTouch,
|
|
1550
|
-
throttle: () => throttle,
|
|
1551
|
-
times: () => times,
|
|
1552
|
-
toArrayBuffer: () => toArrayBuffer,
|
|
1553
|
-
toDataURL: () => toDataURL,
|
|
1554
|
-
toNumber: () => toNumber,
|
|
1555
|
-
toRawType: () => toRawType,
|
|
1556
|
-
toText: () => toText,
|
|
1557
|
-
toTypeString: () => toTypeString,
|
|
1558
|
-
toggleItem: () => toggleItem,
|
|
1559
|
-
tryAsyncCall: () => tryAsyncCall,
|
|
1560
|
-
tryCall: () => tryCall,
|
|
1561
|
-
tryParseJSON: () => tryParseJSON,
|
|
1562
|
-
uniq: () => uniq,
|
|
1563
|
-
uniqBy: () => uniqBy,
|
|
1564
|
-
upperFirst: () => upperFirst,
|
|
1565
|
-
uuid: () => v4,
|
|
1566
|
-
uuidV6: () => v6,
|
|
1567
|
-
xor: () => xor,
|
|
1568
|
-
xorWith: () => xorWith
|
|
1569
|
-
}), integrated_exports);
|
|
1570
1399
|
//#endregion
|
|
1571
1400
|
//#region src/index.ts
|
|
1572
1401
|
function assert(condition, source, message) {
|
|
@@ -1606,6 +1435,7 @@ exports.createNamespaceFn = createNamespaceFn;
|
|
|
1606
1435
|
exports.createStorage = createStorage;
|
|
1607
1436
|
exports.debounce = debounce;
|
|
1608
1437
|
exports.delay = delay;
|
|
1438
|
+
exports.deriveKey = deriveKey;
|
|
1609
1439
|
exports.difference = difference;
|
|
1610
1440
|
exports.differenceWith = differenceWith;
|
|
1611
1441
|
exports.doubleRaf = doubleRaf;
|
package/lib/index.d.cts
CHANGED
|
@@ -45,7 +45,7 @@ interface Emitter<Events extends Record<EventType, unknown>> {
|
|
|
45
45
|
*/
|
|
46
46
|
declare function mitt<Events extends Record<EventType, unknown>>(all?: EventHandlerMap<Events>): Emitter<Events>;
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region ../../node_modules/.pnpm/rattail@2.0.
|
|
48
|
+
//#region ../../node_modules/.pnpm/rattail@2.0.9_@voidzero-dev+vite-plus-core@0.1.18_@types+node@20.19.39_esbuild@0.27.7_jiti@2._egjgxdahrl7ud7sa5k2q2w4gam/node_modules/rattail/dist/index.d.mts
|
|
49
49
|
//#region src/array/at.d.ts
|
|
50
50
|
declare function at<T>(arr: T[], index: number): T | undefined; //#endregion
|
|
51
51
|
//#region src/array/chunk.d.ts
|
|
@@ -98,6 +98,10 @@ declare function pickBy<T extends object>(object: T, fn: (value: any, key: keyof
|
|
|
98
98
|
declare function omit<T extends object, K extends keyof T>(object: T, keys: K[]): Omit<T, K>; //#endregion
|
|
99
99
|
//#region src/object/omitBy.d.ts
|
|
100
100
|
declare function omitBy<T extends object>(object: T, fn: (value: any, key: keyof T) => any): Partial<T>; //#endregion
|
|
101
|
+
//#region src/object/deriveKey.d.ts
|
|
102
|
+
type DeriveKeyMap<T extends object> = Partial<Record<keyof T, PropertyKey>>;
|
|
103
|
+
type DeriveKeyResult<T extends object, M extends DeriveKeyMap<T>> = T & { [K in keyof M as M[K] extends PropertyKey ? M[K] : never]: K extends keyof T ? T[K] : never };
|
|
104
|
+
declare function deriveKey<T extends object, M extends DeriveKeyMap<T>>(object: T, mapping: M): DeriveKeyResult<T, M>; //#endregion
|
|
101
105
|
//#region src/object/rekey.d.ts
|
|
102
106
|
type RekeyMap<T extends object> = Partial<Record<keyof T, PropertyKey>>;
|
|
103
107
|
type RekeyResult<T extends object, M extends RekeyMap<T>> = Omit<T, keyof M> & { [K in keyof M as M[K] extends PropertyKey ? M[K] : never]: K extends keyof T ? T[K] : never };
|
|
@@ -483,4 +487,4 @@ declare function warn(source: string, message: string): void;
|
|
|
483
487
|
declare function error(source: string, message: string): void;
|
|
484
488
|
declare const isURL: (val: string | undefined | null) => boolean;
|
|
485
489
|
//#endregion
|
|
486
|
-
export { BEM, ClassName, Classes, CookieAttributes, CookieStorage, CreateCacheManagerOptions, DurationContext, Emitter, EnumOf, EnumOfConfigValue, EnumOfExtractOptionShape, EnumOfExtractValues, EnumOfKeyForValue, EnumOfNormalizeToOption, EnumOfOptionForValue, EnumOfResolvedField, EnumOfResolvedOption, EnumOfResult, EnumOfResultMethods, EnumOfStringOrGetter, EnumOfValue, EnumOfValueObject, EventHandlerList, EventHandlerMap, EventType, Handler, MaskStringOptions, Motion, MotionOptions, MotionState, NOOP, NavigationTarget, PromiseWithResolvers, Storage, WildCardEventHandlerList, WildcardHandler, assert, at, baseRound, buildNavigationUrl, call, callOrReturn, camelize, cancelAnimationFrame, ceil, chunk, clamp, clampArrayRange, classes, cloneDeep, cloneDeepWith, copyText, createCacheManager, createCookieStorage, createNamespaceFn, createStorage, debounce, delay, difference, differenceWith, doubleRaf, download, duration, ensurePrefix, ensureSuffix, enumOf, error, find, floor, genNumberKey, genStringKey, getAllParentScroller, getGlobalThis, getParentScroller, getRect, getScrollLeft, getScrollTop, getStyle, groupBy, hasDuplicates, hasDuplicatesBy, hasOwn, inBrowser, inMobile, inViewport, intersection, intersectionWith, isArray, isArrayBuffer, isBlob, isBoolean, isDOMException, isDataView, isDate, isEmpty, isEmptyPlainObject, isEqual, isEqualWith, isError, isFile, isFunction, isMap, isNonEmptyArray, isNullish, isNumber, isNumeric, isObject, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isTruthy, isTypedArray, isURL, isWeakMap, isWeakSet, isWindow, kebabCase, localStorage, lowerFirst, mapObject, maskString, maxBy, mean, meanBy, merge, mergeWith, minBy, mitt, motion, navigation, normalizeToArray, objectEntries, objectKeys, objectToString, omit, omitBy, once, pascalCase, pick, pickBy, prettyJSONObject, preventDefault, promiseWithResolvers, raf, randomColor, randomNumber, randomString, rekey, removeArrayBlank, removeArrayEmpty, removeItem, removeItemBy, removeItemsBy, requestAnimationFrame, round, sample, sessionStorage, set, shuffle, slash, sum, sumBy, sumHash, supportTouch, throttle, times, toArrayBuffer, toDataURL, toNumber, toRawType, toText, toTypeString, toggleItem, tryAsyncCall, tryCall, tryParseJSON, uniq, uniqBy, upperFirst, v4 as uuid, v6 as uuidV6, warn, xor, xorWith };
|
|
490
|
+
export { BEM, ClassName, Classes, CookieAttributes, CookieStorage, CreateCacheManagerOptions, DurationContext, Emitter, EnumOf, EnumOfConfigValue, EnumOfExtractOptionShape, EnumOfExtractValues, EnumOfKeyForValue, EnumOfNormalizeToOption, EnumOfOptionForValue, EnumOfResolvedField, EnumOfResolvedOption, EnumOfResult, EnumOfResultMethods, EnumOfStringOrGetter, EnumOfValue, EnumOfValueObject, EventHandlerList, EventHandlerMap, EventType, Handler, MaskStringOptions, Motion, MotionOptions, MotionState, NOOP, NavigationTarget, PromiseWithResolvers, Storage, WildCardEventHandlerList, WildcardHandler, assert, at, baseRound, buildNavigationUrl, call, callOrReturn, camelize, cancelAnimationFrame, ceil, chunk, clamp, clampArrayRange, classes, cloneDeep, cloneDeepWith, copyText, createCacheManager, createCookieStorage, createNamespaceFn, createStorage, debounce, delay, deriveKey, difference, differenceWith, doubleRaf, download, duration, ensurePrefix, ensureSuffix, enumOf, error, find, floor, genNumberKey, genStringKey, getAllParentScroller, getGlobalThis, getParentScroller, getRect, getScrollLeft, getScrollTop, getStyle, groupBy, hasDuplicates, hasDuplicatesBy, hasOwn, inBrowser, inMobile, inViewport, intersection, intersectionWith, isArray, isArrayBuffer, isBlob, isBoolean, isDOMException, isDataView, isDate, isEmpty, isEmptyPlainObject, isEqual, isEqualWith, isError, isFile, isFunction, isMap, isNonEmptyArray, isNullish, isNumber, isNumeric, isObject, isPlainObject, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isTruthy, isTypedArray, isURL, isWeakMap, isWeakSet, isWindow, kebabCase, localStorage, lowerFirst, mapObject, maskString, maxBy, mean, meanBy, merge, mergeWith, minBy, mitt, motion, navigation, normalizeToArray, objectEntries, objectKeys, objectToString, omit, omitBy, once, pascalCase, pick, pickBy, prettyJSONObject, preventDefault, promiseWithResolvers, raf, randomColor, randomNumber, randomString, rekey, removeArrayBlank, removeArrayEmpty, removeItem, removeItemBy, removeItemsBy, requestAnimationFrame, round, sample, sessionStorage, set, shuffle, slash, sum, sumBy, sumHash, supportTouch, throttle, times, toArrayBuffer, toDataURL, toNumber, toRawType, toText, toTypeString, toggleItem, tryAsyncCall, tryCall, tryParseJSON, uniq, uniqBy, upperFirst, v4 as uuid, v6 as uuidV6, warn, xor, xorWith };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/shared",
|
|
3
|
-
"version": "3.17.
|
|
3
|
+
"version": "3.17.1",
|
|
4
4
|
"description": "shared utils of varlet",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"lib"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"rattail": "^2.0.
|
|
35
|
+
"rattail": "^2.0.9"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^20.19.0",
|