toss / es-toolkit

A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
https://es-toolkit.slash.page
Other
6.25k stars 263 forks source link

feat(isWeakMap): add isWeakMap with compatibility #458

Closed dayongkr closed 1 week ago

dayongkr commented 2 weeks ago

Description

I added isWeakMap in es-toolkit and es-toolkit/compat.

Benchmarks

Screenshot 2024-08-31 at 7 55 10 PM

related #457

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
es-toolkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 2:36pm
codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.78%. Comparing base (3a6cb36) to head (f805d89). Report is 5 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/toss/es-toolkit/pull/458/graphs/tree.svg?width=650&height=150&src=pr&token=8N5S3AR3C7&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toss)](https://app.codecov.io/gh/toss/es-toolkit/pull/458?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toss) ```diff @@ Coverage Diff @@ ## main #458 +/- ## ======================================= Coverage 99.78% 99.78% ======================================= Files 171 174 +3 Lines 1366 1372 +6 Branches 364 365 +1 ======================================= + Hits 1363 1369 +6 Misses 2 2 Partials 1 1 ```