es-toolkit 1.15.1-dev.441 → 1.15.1-dev.443
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/_chunk/{initial-CBsbzo.js → initial-lgfSiJ.js} +27 -0
- package/dist/_internal/compareValues.mjs +11 -0
- package/dist/array/index.d.mts +1 -0
- package/dist/array/index.d.ts +1 -0
- package/dist/array/index.js +2 -1
- package/dist/array/index.mjs +1 -0
- package/dist/array/sortBy.d.mts +34 -0
- package/dist/array/sortBy.d.ts +34 -0
- package/dist/array/sortBy.mjs +19 -0
- package/dist/browser.global.js +1 -1
- package/dist/browser.global.js.map +1 -1
- package/dist/compat/index.d.mts +1 -0
- package/dist/compat/index.d.ts +1 -0
- package/dist/compat/index.js +2 -1
- package/dist/compat/index.mjs +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/compat/index.d.mts
CHANGED
|
@@ -16,6 +16,7 @@ export { keyBy } from '../array/keyBy.mjs';
|
|
|
16
16
|
export { maxBy } from '../array/maxBy.mjs';
|
|
17
17
|
export { minBy } from '../array/minBy.mjs';
|
|
18
18
|
export { partition } from '../array/partition.mjs';
|
|
19
|
+
export { sortBy } from '../array/sortBy.mjs';
|
|
19
20
|
export { sample } from '../array/sample.mjs';
|
|
20
21
|
export { sampleSize } from '../array/sampleSize.mjs';
|
|
21
22
|
export { shuffle } from '../array/shuffle.mjs';
|
package/dist/compat/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export { keyBy } from '../array/keyBy.js';
|
|
|
16
16
|
export { maxBy } from '../array/maxBy.js';
|
|
17
17
|
export { minBy } from '../array/minBy.js';
|
|
18
18
|
export { partition } from '../array/partition.js';
|
|
19
|
+
export { sortBy } from '../array/sortBy.js';
|
|
19
20
|
export { sample } from '../array/sample.js';
|
|
20
21
|
export { sampleSize } from '../array/sampleSize.js';
|
|
21
22
|
export { shuffle } from '../array/shuffle.js';
|
package/dist/compat/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const initial = require('../_chunk/initial-
|
|
5
|
+
const initial = require('../_chunk/initial-lgfSiJ.js');
|
|
6
6
|
const promise_index = require('../_chunk/index-CwRt_M.js');
|
|
7
7
|
const function_index = require('../function/index.js');
|
|
8
8
|
const math_index = require('../math/index.js');
|
|
@@ -825,6 +825,7 @@ exports.partition = initial.partition;
|
|
|
825
825
|
exports.sample = initial.sample;
|
|
826
826
|
exports.sampleSize = initial.sampleSize;
|
|
827
827
|
exports.shuffle = initial.shuffle;
|
|
828
|
+
exports.sortBy = initial.sortBy;
|
|
828
829
|
exports.tail = initial.tail;
|
|
829
830
|
exports.take = initial.take;
|
|
830
831
|
exports.takeRight = initial.takeRight;
|
package/dist/compat/index.mjs
CHANGED
|
@@ -16,6 +16,7 @@ export { keyBy } from '../array/keyBy.mjs';
|
|
|
16
16
|
export { maxBy } from '../array/maxBy.mjs';
|
|
17
17
|
export { minBy } from '../array/minBy.mjs';
|
|
18
18
|
export { partition } from '../array/partition.mjs';
|
|
19
|
+
export { sortBy } from '../array/sortBy.mjs';
|
|
19
20
|
export { sample } from '../array/sample.mjs';
|
|
20
21
|
export { sampleSize } from '../array/sampleSize.mjs';
|
|
21
22
|
export { shuffle } from '../array/shuffle.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -22,6 +22,7 @@ export { maxBy } from './array/maxBy.mjs';
|
|
|
22
22
|
export { minBy } from './array/minBy.mjs';
|
|
23
23
|
export { orderBy } from './array/orderBy.mjs';
|
|
24
24
|
export { partition } from './array/partition.mjs';
|
|
25
|
+
export { sortBy } from './array/sortBy.mjs';
|
|
25
26
|
export { sample } from './array/sample.mjs';
|
|
26
27
|
export { sampleSize } from './array/sampleSize.mjs';
|
|
27
28
|
export { shuffle } from './array/shuffle.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { maxBy } from './array/maxBy.js';
|
|
|
22
22
|
export { minBy } from './array/minBy.js';
|
|
23
23
|
export { orderBy } from './array/orderBy.js';
|
|
24
24
|
export { partition } from './array/partition.js';
|
|
25
|
+
export { sortBy } from './array/sortBy.js';
|
|
25
26
|
export { sample } from './array/sample.js';
|
|
26
27
|
export { sampleSize } from './array/sampleSize.js';
|
|
27
28
|
export { shuffle } from './array/shuffle.js';
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const initial = require('./_chunk/initial-
|
|
5
|
+
const initial = require('./_chunk/initial-lgfSiJ.js');
|
|
6
6
|
const array_index = require('./array/index.js');
|
|
7
7
|
const promise_index = require('./_chunk/index-CwRt_M.js');
|
|
8
8
|
const function_index = require('./function/index.js');
|
|
@@ -46,6 +46,7 @@ exports.partition = initial.partition;
|
|
|
46
46
|
exports.sample = initial.sample;
|
|
47
47
|
exports.sampleSize = initial.sampleSize;
|
|
48
48
|
exports.shuffle = initial.shuffle;
|
|
49
|
+
exports.sortBy = initial.sortBy;
|
|
49
50
|
exports.tail = initial.tail;
|
|
50
51
|
exports.take = initial.take;
|
|
51
52
|
exports.takeRight = initial.takeRight;
|
package/dist/index.mjs
CHANGED
|
@@ -22,6 +22,7 @@ export { maxBy } from './array/maxBy.mjs';
|
|
|
22
22
|
export { minBy } from './array/minBy.mjs';
|
|
23
23
|
export { orderBy } from './array/orderBy.mjs';
|
|
24
24
|
export { partition } from './array/partition.mjs';
|
|
25
|
+
export { sortBy } from './array/sortBy.mjs';
|
|
25
26
|
export { sample } from './array/sample.mjs';
|
|
26
27
|
export { sampleSize } from './array/sampleSize.mjs';
|
|
27
28
|
export { shuffle } from './array/shuffle.mjs';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
3
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
4
|
-
"version": "1.15.1-dev.
|
|
4
|
+
"version": "1.15.1-dev.443+d4037c75",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|