Add new object utility helpers and harden defaults against prototype pollution #564
Codecov / codecov/project
succeeded
May 19, 2026 in 1s
99.39% (-0.05%) compared to 0a486d3
View this Pull Request on Codecov
99.39% (-0.05%) compared to 0a486d3
Details
Codecov Report
❌ Patch coverage is 98.62385% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 99.39%. Comparing base (0a486d3) to head (349900e).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| lib/src/object/pick.ts | 97.46% | 2 Missing |
| lib/src/object/forEachOwnKey.ts | 96.15% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #564 +/- ##
==========================================
- Coverage 99.43% 99.39% -0.05%
==========================================
Files 150 154 +4
Lines 4460 4659 +199
Branches 951 998 +47
==========================================
+ Hits 4435 4631 +196
- Misses 25 28 +3 | Files with missing lines | Coverage Δ | |
|---|---|---|
| lib/src/internal/unwrapFunction.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/copy.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/defaults.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/define.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/diff.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/for_each_key.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/isUnsafeTarget.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/map_values.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/property_is_enumerable.ts | 100.00% <100.00%> (ø) |
|
| lib/src/object/forEachOwnKey.ts | 96.29% <96.15%> (ø) |
|
| ... and 1 more |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading