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.7k stars 305 forks source link

feat(isWeakSet): add `isWeakSet` with compatibility #477

Closed dayongkr closed 2 months ago

dayongkr commented 2 months ago

Description

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

And I also added the japan and chinese docs, by coping isWeakMap docs.

Benchmark

Screenshot 2024-09-06 at 3 17 34 PM
vercel[bot] commented 2 months 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 6, 2024 6:29am
codecov-commenter commented 2 months ago

Codecov Report

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

Project coverage is 99.78%. Comparing base (38e3e01) to head (a3cd7bb).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/toss/es-toolkit/pull/477/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/477?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toss) ```diff @@ Coverage Diff @@ ## main #477 +/- ## ======================================= Coverage 99.78% 99.78% ======================================= Files 178 180 +2 Lines 1382 1386 +4 Branches 366 366 ======================================= + Hits 1379 1383 +4 Misses 2 2 Partials 1 1 ```