Skip to content

Adding a large number of functions#77

Merged
klmhyeonwoo merged 5 commits intomainfrom
feature/utils-new-workspace
Feb 26, 2026
Merged

Adding a large number of functions#77
klmhyeonwoo merged 5 commits intomainfrom
feature/utils-new-workspace

Conversation

@klmhyeonwoo
Copy link
Copy Markdown
Member

No description provided.

@klmhyeonwoo
Copy link
Copy Markdown
Member Author

klmhyeonwoo commented Feb 25, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 81.05% 1386 / 1710
🔵 Statements 81.05% 1386 / 1710
🔵 Functions 95.65% 154 / 161
🔵 Branches 88% 455 / 517
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
benchmark/index.mjs 0% 0% 0% 0% 1-70
package/arrayUtil/chunk/index.ts 100% 100% 100% 100%
package/arrayUtil/compact/index.ts 100% 100% 100% 100%
package/arrayUtil/difference/index.ts 100% 100% 100% 100%
package/arrayUtil/first/index.ts 100% 100% 100% 100%
package/arrayUtil/flatten/index.ts 100% 100% 100% 100%
package/arrayUtil/flattenDeep/index.ts 100% 100% 100% 100%
package/arrayUtil/groupBy/index.ts 100% 100% 100% 100%
package/arrayUtil/intersection/index.ts 100% 100% 100% 100%
package/arrayUtil/keyBy/index.ts 100% 100% 100% 100%
package/arrayUtil/last/index.ts 100% 100% 100% 100%
package/arrayUtil/partition/index.ts 100% 100% 100% 100%
package/arrayUtil/sample/index.ts 100% 100% 100% 100%
package/arrayUtil/sampleSize/index.ts 100% 100% 100% 100%
package/arrayUtil/shuffle/index.ts 100% 100% 100% 100%
package/arrayUtil/sortBy/index.ts 77.77% 70% 100% 77.77% 5-6, 23-24, 27-28
package/arrayUtil/union/index.ts 100% 100% 100% 100%
package/arrayUtil/uniqBy/index.ts 100% 100% 100% 100%
package/arrayUtil/unique/index.ts 100% 100% 100% 100%
package/arrayUtil/unzip/index.ts 100% 100% 100% 100%
package/arrayUtil/zip/index.ts 100% 100% 100% 100%
package/asyncUtil/eachAsync/index.ts 100% 100% 100% 100%
package/asyncUtil/filterAsync/index.ts 100% 100% 100% 100%
package/asyncUtil/mapAsync/index.ts 100% 100% 100% 100%
package/asyncUtil/pLimit/index.ts 93.75% 90% 100% 93.75% 17-18
package/asyncUtil/parallel/index.ts 100% 100% 100% 100%
package/asyncUtil/series/index.ts 100% 100% 100% 100%
package/collectionUtil/_toEntries.ts 100% 100% 100% 100%
package/collectionUtil/entries/index.ts 100% 100% 100% 100%
package/collectionUtil/every/index.ts 100% 100% 100% 100%
package/collectionUtil/filter/index.ts 100% 100% 100% 100%
package/collectionUtil/find/index.ts 100% 100% 100% 100%
package/collectionUtil/forEach/index.ts 100% 100% 100% 100%
package/collectionUtil/includes/index.ts 100% 100% 100% 100%
package/collectionUtil/keys/index.ts 100% 100% 100% 100%
package/collectionUtil/map/index.ts 100% 100% 100% 100%
package/collectionUtil/reduce/index.ts 100% 100% 100% 100%
package/collectionUtil/size/index.ts 100% 100% 100% 100%
package/collectionUtil/some/index.ts 100% 100% 100% 100%
package/collectionUtil/values/index.ts 100% 100% 100% 100%
package/dateUtil/_toDate.ts 100% 100% 100% 100%
package/dateUtil/addDays/index.ts 100% 100% 100% 100%
package/dateUtil/addHours/index.ts 100% 100% 100% 100%
package/dateUtil/differenceInDays/index.ts 100% 100% 100% 100%
package/dateUtil/endOfDay/index.ts 100% 100% 100% 100%
package/dateUtil/formatDate/index.ts 100% 100% 100% 100%
package/dateUtil/isAfter/index.ts 100% 100% 100% 100%
package/dateUtil/isBefore/index.ts 100% 100% 100% 100%
package/dateUtil/isSameDay/index.ts 100% 100% 100% 100%
package/dateUtil/startOfDay/index.ts 100% 100% 100% 100%
package/dateUtil/subDays/index.ts 100% 100% 100% 100%
package/dateUtil/subHours/index.ts 100% 100% 100% 100%
package/functionUtil/compose/index.ts 100% 100% 100% 100%
package/functionUtil/identity/index.ts 100% 100% 100% 100%
package/functionUtil/memoize/index.ts 100% 100% 100% 100%
package/functionUtil/noop/index.ts 100% 100% 100% 100%
package/functionUtil/once/index.ts 100% 100% 100% 100%
package/functionUtil/pipe/index.ts 100% 100% 100% 100%
package/langUtil/castArray/index.ts 100% 100% 100% 100%
package/langUtil/defaultTo/index.ts 77.77% 71.42% 100% 77.77% 7-8
package/langUtil/isEqual/index.ts 37.14% 61.76% 50% 37.14% 5-65, 89-90, 93-94, 97-98, 101-102, 105-106, 109-110, 116-117, 121-122
package/langUtil/toBoolean/index.ts 80% 66.66% 100% 80% 6-7, 25-26
package/langUtil/toNumber/index.ts 60% 60% 100% 60% 3-4, 7-8
package/langUtil/toString/index.ts 66.66% 75% 100% 66.66% 7-8, 11-12
package/mathUtil/max/index.ts 100% 100% 100% 100%
package/mathUtil/maxBy/index.ts 72.22% 33.33% 100% 72.22% 6-7, 16-18
package/mathUtil/mean/index.ts 100% 100% 100% 100%
package/mathUtil/meanBy/index.ts 80% 50% 100% 80% 8-9
package/mathUtil/median/index.ts 81.81% 75% 100% 81.81% 3-4
package/mathUtil/min/index.ts 100% 100% 100% 100%
package/mathUtil/minBy/index.ts 88.88% 50% 100% 88.88% 6-7
package/mathUtil/sumBy/index.ts 100% 100% 100% 100%
package/numberUtil/_precision.ts 85.71% 66.66% 100% 85.71% 7-8
package/numberUtil/ceil/index.ts 100% 100% 100% 100%
package/numberUtil/clamp/index.ts 100% 100% 100% 100%
package/numberUtil/floor/index.ts 100% 100% 100% 100%
package/numberUtil/inRange/index.ts 100% 100% 100% 100%
package/numberUtil/random/index.ts 81.81% 85.71% 100% 81.81% 15-18
package/numberUtil/round/index.ts 100% 100% 100% 100%
package/objectUtil/deepClone/index.ts 9.23% 33.33% 50% 9.23% 1-74, 81-82, 85-86
package/objectUtil/defaults/index.ts 100% 100% 100% 100%
package/objectUtil/get/index.ts 92.59% 83.33% 100% 92.59% 5-6
package/objectUtil/has/index.ts 93.33% 90% 100% 93.33% 5-6
package/objectUtil/invert/index.ts 100% 100% 100% 100%
package/objectUtil/mapValues/index.ts 100% 100% 100% 100%
package/objectUtil/merge/index.ts 96.29% 88.88% 100% 96.29% 11
package/objectUtil/omit/index.ts 100% 100% 100% 100%
package/objectUtil/pick/index.ts 100% 100% 100% 100%
package/objectUtil/set/index.ts 89.47% 83.33% 100% 89.47% 5-6, 25-26
package/promiseUtil/defer/index.ts 100% 100% 100% 100%
package/promiseUtil/retryWithDelay/index.ts 80% 85.71% 50% 80% 7-9, 31-32
package/promiseUtil/settle/index.ts 100% 100% 100% 100%
package/promiseUtil/toResult/index.ts 100% 100% 100% 100%
package/promiseUtil/withTimeout/index.ts 88.88% 80% 100% 88.88% 22-24
package/stringUtil/_wordTokenize.ts 81.81% 50% 100% 81.81% 3-4
package/stringUtil/camelCase/index.ts 83.33% 80% 100% 83.33% 7-8
package/stringUtil/capitalize/index.ts 66.66% 50% 100% 66.66% 3-4
package/stringUtil/kebabCase/index.ts 100% 100% 100% 100%
package/stringUtil/pascalCase/index.ts 100% 100% 100% 100%
package/stringUtil/snakeCase/index.ts 100% 100% 100% 100%
package/stringUtil/truncate/index.ts 84.61% 80% 100% 84.61% 17-18
package/typeUtil/isArray/index.ts 100% 100% 100% 100%
package/typeUtil/isBoolean/index.ts 100% 100% 100% 100%
package/typeUtil/isDate/index.ts 100% 100% 100% 100%
package/typeUtil/isFunction/index.ts 100% 100% 100% 100%
package/typeUtil/isNil/index.ts 100% 100% 100% 100%
package/typeUtil/isNumber/index.ts 100% 100% 100% 100%
package/typeUtil/isString/index.ts 100% 100% 100% 100%
Generated in workflow #124 for commit 0b36acb by the Vitest Coverage Report Action

@klmhyeonwoo klmhyeonwoo requested a review from prgmr99 February 25, 2026 08:00
Copy link
Copy Markdown
Member

@prgmr99 prgmr99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

대박... 고생하셨습니다..! 대규모 패치 ㄷㄷ!

expect(chunk([1, 2, 3], 0)).toEqual([[1], [2], [3]]);
expect(chunk([1, 2, 3], Number.NaN)).toEqual([[1], [2], [3]]);
});

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chunk([1,2,3], 2)[1,2], [3] 이 되나요??

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

맞아요! 기대결과가 그렇게 나올겁니다!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

성능이 중요한 메서드들을 따로 성능 측정하는 코드인가요??

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네넵 함수 벤치마킹 소스코드입니다!

@klmhyeonwoo klmhyeonwoo merged commit 8b30201 into main Feb 26, 2026
1 check passed
@klmhyeonwoo klmhyeonwoo deleted the feature/utils-new-workspace branch February 26, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants