• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IgorBabkin / ts-ioc-container / 20035658635
94%

Build:
DEFAULT BRANCH: master
Ran 08 Dec 2025 04:44PM UTC
Jobs 1
Files 50
Run time 1min
Badge
Embed â–¾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Dec 2025 04:43PM UTC coverage: 94.368% (+0.007%) from 94.361%
20035658635

push

github

IgorBabkin
refactor(lib): reorganize utils and metadata into modular structure

Breaking down monolithic files for better maintainability:

**Utils reorganization:**
- Split utils.ts into specialized modules:
  - utils/fp.ts - Functional programming utilities (pipe with type transformations)
  - utils/basic.ts - Basic types and type guards (constructor, Is utilities)
  - utils/array.ts - Array utilities (fillEmptyIndexes, Filter)
  - utils/proxy.ts - Proxy utilities (lazyProxy, toLazyIf)
  - utils/promise.ts - Promise utilities (promisify)

**Metadata reorganization:**
- Split metadata.ts into domain-specific modules:
  - metadata/class.ts - Class metadata utilities
  - metadata/parameter.ts - Parameter metadata utilities
  - metadata/method.ts - Method metadata utilities

**Pipe function enhancement:**
- Enhanced MapFn type to support input/output type transformations (MapFn<A, B>)
- Added 10 overloads for explicit type transformations (A→B, A→B→C, etc.)
- Added fallback overload for same-type transformations
- Comprehensive tests for type transformations

**Tests:**
- Added comprehensive pipe function tests (10 test cases)
- Updated test imports to match new structure
- All 182 tests passing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

132 of 155 branches covered (85.16%)

Branch coverage included in aggregate %.

70 of 71 new or added lines in 20 files covered. (98.59%)

622 of 644 relevant lines covered (96.58%)

82.8 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
72.73
lib/utils/basic.ts
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/175367276 20035658635.1 08 Dec 2025 04:44PM UTC 50
94.37
GitHub Action Run
Source Files on build 20035658635
  • Tree
  • List 50
  • Changed 23
  • Source Changed 23
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #20035658635
  • 8e244c4e on github
  • Prev Build on master (#20012260567)
  • Next Build on master (#20035913363)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc