Closed losnappas closed 3 years ago
thanks for spotting and reporting
👍 fix merged to git
unfortunately can't push it to npm atm
:tada: This issue has been resolved in version 3.5.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Running
JSON.stringify
on the result object turnsInfinity
intonull
, which then gets run against this: https://github.com/TimeForANinja/node-ytsr/blob/master/lib/main.js#L125 .And funnily enough,
(!isNaN(null) && isFinite(null)) === true
, so then thecontinueReq
method throws. Let's add a check against null to check it?