coapjs / node-coap

CoAP - Node.js style
MIT License
531 stars 154 forks source link

refactor: use Maps instead of Objects for caching #295

Closed JKRhb closed 2 years ago

JKRhb commented 2 years ago

This PR introduces some small refactoring in preparation for #293.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1312615836


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/agent.js 22 24 91.67%
<!-- Total: 40 42 95.24% -->
Totals Coverage Status
Change from base Build 1309995344: 0.006%
Covered Lines: 1067
Relevant Lines: 1152

💛 - Coveralls
Apollon77 commented 2 years ago

Good idea, Like