From 141750821be2d2f2cff6fd68d25c646e5cd8d9a2 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Mon, 16 Dec 2019 13:57:15 +1100 Subject: [PATCH] Fix recursion in NPM driver --- src/drivers/npm/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'