es-toolkit 1.2.1-dev.65 → 1.2.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.
Files changed (43) hide show
  1. package/README.md +1 -1
  2. package/dist/array/index.js +12 -3
  3. package/dist/array/index.js.map +1 -1
  4. package/dist/array/index.mjs +27 -27
  5. package/dist/array/intersectionBy.js +4 -2
  6. package/dist/array/intersectionBy.js.map +1 -1
  7. package/dist/array/intersectionBy.mjs +1 -1
  8. package/dist/array/partition.d.mts +1 -1
  9. package/dist/array/partition.d.ts +1 -1
  10. package/dist/array/partition.js.map +1 -1
  11. package/dist/array/partition.mjs +1 -1
  12. package/dist/array/union.js +8 -1
  13. package/dist/array/union.js.map +1 -1
  14. package/dist/array/union.mjs +2 -2
  15. package/dist/array/uniq.js +8 -1
  16. package/dist/array/uniq.js.map +1 -1
  17. package/dist/array/uniq.mjs +1 -1
  18. package/dist/array/xor.js +8 -1
  19. package/dist/array/xor.js.map +1 -1
  20. package/dist/array/xor.mjs +3 -3
  21. package/dist/array/xorBy.js +4 -2
  22. package/dist/array/xorBy.js.map +1 -1
  23. package/dist/array/xorBy.mjs +2 -2
  24. package/dist/{chunk-T6NXSQ6Z.mjs → chunk-3GMXDQQQ.mjs} +2 -2
  25. package/dist/chunk-ANJSX6WH.mjs +12 -0
  26. package/dist/{chunk-QN3DD4XG.mjs.map → chunk-ANJSX6WH.mjs.map} +1 -1
  27. package/dist/{chunk-XPOJM4E7.mjs → chunk-I2NAKQIE.mjs} +2 -2
  28. package/dist/{chunk-RVAUVY4Q.mjs → chunk-MTT7OPUK.mjs} +2 -2
  29. package/dist/chunk-SWPLMJR7.mjs +16 -0
  30. package/dist/{chunk-5IY7KVTH.mjs.map → chunk-SWPLMJR7.mjs.map} +1 -1
  31. package/dist/{chunk-5L2V7WD3.mjs → chunk-TF6N37OE.mjs} +1 -1
  32. package/dist/{chunk-5L2V7WD3.mjs.map → chunk-TF6N37OE.mjs.map} +1 -1
  33. package/dist/index.js +12 -3
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +56 -56
  36. package/dist/math/index.mjs +3 -3
  37. package/dist/object/index.mjs +6 -6
  38. package/package.json +1 -1
  39. package/dist/chunk-5IY7KVTH.mjs +0 -9
  40. package/dist/chunk-QN3DD4XG.mjs +0 -10
  41. /package/dist/{chunk-T6NXSQ6Z.mjs.map → chunk-3GMXDQQQ.mjs.map} +0 -0
  42. /package/dist/{chunk-XPOJM4E7.mjs.map → chunk-I2NAKQIE.mjs.map} +0 -0
  43. /package/dist/{chunk-RVAUVY4Q.mjs.map → chunk-MTT7OPUK.mjs.map} +0 -0
@@ -1,13 +1,13 @@
1
1
  import "../chunk-IJLQVGW4.mjs";
2
- import {
3
- sum
4
- } from "../chunk-7OU22ENP.mjs";
5
2
  import {
6
3
  clamp
7
4
  } from "../chunk-MLCL773E.mjs";
8
5
  import {
9
6
  round
10
7
  } from "../chunk-V7E5DGZP.mjs";
8
+ import {
9
+ sum
10
+ } from "../chunk-7OU22ENP.mjs";
11
11
  import "../chunk-2MM5EJJX.mjs";
12
12
  export {
13
13
  clamp,
@@ -1,16 +1,16 @@
1
1
  import "../chunk-T5JCRGXA.mjs";
2
- import {
3
- omit
4
- } from "../chunk-PLTO44KM.mjs";
5
- import {
6
- omitBy
7
- } from "../chunk-SF3V7XXM.mjs";
8
2
  import {
9
3
  pick
10
4
  } from "../chunk-OFWKFUFZ.mjs";
11
5
  import {
12
6
  pickBy
13
7
  } from "../chunk-T2C2WVFL.mjs";
8
+ import {
9
+ omit
10
+ } from "../chunk-PLTO44KM.mjs";
11
+ import {
12
+ omitBy
13
+ } from "../chunk-SF3V7XXM.mjs";
14
14
  import "../chunk-2MM5EJJX.mjs";
15
15
  export {
16
16
  omit,
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.2.1-dev.65+04ec2c2f",
4
+ "version": "1.2.1",
5
5
  "workspaces": [
6
6
  "docs"
7
7
  ],
@@ -1,9 +0,0 @@
1
- // src/array/uniq.ts
2
- function uniq(arr) {
3
- return Array.from(new Set(arr));
4
- }
5
-
6
- export {
7
- uniq
8
- };
9
- //# sourceMappingURL=chunk-5IY7KVTH.mjs.map
@@ -1,10 +0,0 @@
1
- // src/array/intersectionBy.ts
2
- function intersectionBy(firstArr, secondArr, mapper) {
3
- const mappedSecondSet = new Set(secondArr.map(mapper));
4
- return firstArr.filter((item) => mappedSecondSet.has(mapper(item)));
5
- }
6
-
7
- export {
8
- intersectionBy
9
- };
10
- //# sourceMappingURL=chunk-QN3DD4XG.mjs.map