diff --git a/src/drivers/npm/driver.js b/src/drivers/npm/driver.js index 18bb2a4e7..951687a7e 100644 --- a/src/drivers/npm/driver.js +++ b/src/drivers/npm/driver.js @@ -245,7 +245,7 @@ class Driver { browser.links, (results, link) => { if ( results - && Object.prototype.hasOwnProperty.call(results, 'push') + && Object.prototype.hasOwnProperty.call(Object.getPrototypeOf(results), 'push') && link.protocol && link.protocol.match(/https?:/) && link.rel !== 'nofollow'