seantomburke / sitemapper

parses sitemaps for Node.JS

Home Page:https://www.npmjs.com/package/sitemapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

requester.cancel is not a function

broksonic21 opened this issue · comments

On timeouts, site mapper fails to cancel.

See:

/node_modules/sitemapper/lib/assets/sitemapper.js:142

        requester.cancel();
                  ^^
TypeError: requester.cancel is not a function
    at Timeout._onTimeout (/node_modules/sitemapper/lib/assets/sitemapper.js:142:19)

    at listOnTimeout (internal/timers.js:549:17)

    at processTimers (internal/timers.js:492:7)

This should be fixed in the latest release 3.1.0 with this PR #54