hiteshchoudhary / apihub

Your own API Hub to learn and master API interaction. Ideal for frontend, mobile dev and backend developers.
https://freeapi.app
Other
6.84k stars 1.09k forks source link

fix: replace assert with 'with' keyword as per newer node version requirement -- assert is deprecated #198

Closed alphacoder-mp3 closed 1 month ago

alphacoder-mp3 commented 1 month ago

Assert keyword is deprecated in node 22. Code doesn't work with assert, so it has to be replaced with 'with' keyword.

wajeshubham commented 1 month ago

Duplicate: https://github.com/hiteshchoudhary/apihub/pull/171