es-toolkit 1.43.0-dev.1717 → 1.43.0-dev.1718

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.
@@ -4,9 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  function intersection(firstArr, secondArr) {
6
6
  const secondSet = new Set(secondArr);
7
- return firstArr.filter(item => {
8
- return secondSet.has(item);
9
- });
7
+ return firstArr.filter(item => secondSet.has(item));
10
8
  }
11
9
 
12
10
  exports.intersection = intersection;
@@ -1,8 +1,6 @@
1
1
  function intersection(firstArr, secondArr) {
2
2
  const secondSet = new Set(secondArr);
3
- return firstArr.filter(item => {
4
- return secondSet.has(item);
5
- });
3
+ return firstArr.filter(item => secondSet.has(item));
6
4
  }
7
5
 
8
6
  export { intersection };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "es-toolkit",
3
- "version": "1.43.0-dev.1717+5e23d821",
3
+ "version": "1.43.0-dev.1718+af81d8c2",
4
4
  "description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
5
5
  "homepage": "https://es-toolkit.dev",
6
6
  "bugs": "https://github.com/toss/es-toolkit/issues",