ly-utils-lib 2.8.2 → 2.9.0
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 +39 -15
- package/dist/array.cjs +8 -0
- package/dist/array.cjs.map +1 -1
- package/dist/array.d.cts +2 -2
- package/dist/array.d.ts +2 -2
- package/dist/array.js +1 -1
- package/dist/array.js.map +1 -1
- package/dist/{index-BoqNpwNa.d.cts → index-BexwNzGt.d.cts} +4 -2
- package/dist/{index-BoqNpwNa.d.ts → index-BexwNzGt.d.ts} +4 -2
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { i as date } from './index-XABfrs7z.cjs';
|
|
2
|
-
export { i as array } from './index-
|
|
2
|
+
export { i as array } from './index-BexwNzGt.cjs';
|
|
3
3
|
export { i as string } from './index-Dan5oF-5.cjs';
|
|
4
4
|
export { i as object } from './index-Cy-mb5v_.cjs';
|
|
5
5
|
export { i as excel } from './index-YXWfKCK7.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { i as date } from './index-XABfrs7z.js';
|
|
2
|
-
export { i as array } from './index-
|
|
2
|
+
export { i as array } from './index-BexwNzGt.js';
|
|
3
3
|
export { i as string } from './index-Dan5oF-5.js';
|
|
4
4
|
export { i as object } from './index-Cy-mb5v_.js';
|
|
5
5
|
export { i as excel } from './index-YXWfKCK7.js';
|
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import dayOfYear from 'dayjs/plugin/dayOfYear';
|
|
|
15
15
|
import minMax from 'dayjs/plugin/minMax';
|
|
16
16
|
import weekday from 'dayjs/plugin/weekday';
|
|
17
17
|
import 'dayjs/locale/zh-cn';
|
|
18
|
-
import { uniqBy, uniq, sum, sortBy, sample, omit, last, isEqual, intersection, head, groupBy, flattenDeep, flatten, difference, compact, chunk, upperFirst, trim, startCase, snakeCase, lowerFirst, kebabCase, capitalize, camelCase, pick, merge, isEmptyObject, invert, cloneDeep, throttle, debounce } from 'es-toolkit';
|
|
18
|
+
import { uniqBy, uniq, sum, sortBy, sample, omit, last, isEqual, intersection, head, groupBy, forEachRight, forEachAsync, flattenDeep, flatten, difference, compact, chunk, upperFirst, trim, startCase, snakeCase, lowerFirst, kebabCase, capitalize, camelCase, pick, merge, isEmptyObject, invert, cloneDeep, throttle, debounce } from 'es-toolkit';
|
|
19
19
|
import * as XLSX from 'xlsx';
|
|
20
20
|
import html2canvas from 'html2canvas';
|
|
21
21
|
import { jsPDF } from 'jspdf';
|
|
@@ -578,6 +578,8 @@ __export(array_exports, {
|
|
|
578
578
|
findIndex: () => findIndex,
|
|
579
579
|
flatten: () => flatten,
|
|
580
580
|
flattenDeep: () => flattenDeep,
|
|
581
|
+
forEachAsync: () => forEachAsync,
|
|
582
|
+
forEachRight: () => forEachRight,
|
|
581
583
|
getPaginationInfo: () => getPaginationInfo,
|
|
582
584
|
groupBy: () => groupBy,
|
|
583
585
|
head: () => head,
|