=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-fetch-2.6.1/src/body.js-68- ? err node-fetch-2.6.1/src/body.js:69: : new FetchError(`Invalid response body while trying to fetch ${this.url}: ${err.message}`, 'system', err); node-fetch-2.6.1/src/body.js-70- this[INTERNALS].error = error; ############################################## node-fetch-2.6.1/src/body.js-120- } catch (err) { node-fetch-2.6.1/src/body.js:121: return Body.Promise.reject(new FetchError(`invalid json response body at ${this.url} reason: ${err.message}`, 'invalid-json')); node-fetch-2.6.1/src/body.js-122- } ############################################## node-fetch-2.6.1/src/body.js-183- if (this[INTERNALS].disturbed) { node-fetch-2.6.1/src/body.js:184: return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); node-fetch-2.6.1/src/body.js-185- } ############################################## node-fetch-2.6.1/src/body.js-227- abort = true; node-fetch-2.6.1/src/body.js:228: reject(new FetchError(`Response timeout while trying to fetch ${this.url} (over ${this.timeout}ms)`, 'body-timeout')); node-fetch-2.6.1/src/body.js-229- }, this.timeout); ############################################## node-fetch-2.6.1/src/body.js-239- // other errors, such as incorrect content-encoding node-fetch-2.6.1/src/body.js:240: reject(new FetchError(`Invalid response body while trying to fetch ${this.url}: ${err.message}`, 'system', err)); node-fetch-2.6.1/src/body.js-241- } ############################################## node-fetch-2.6.1/src/body.js-250- abort = true; node-fetch-2.6.1/src/body.js:251: reject(new FetchError(`content size at ${this.url} over limit: ${this.size}`, 'max-size')); node-fetch-2.6.1/src/body.js-252- return; ############################################## node-fetch-2.6.1/src/body.js-269- // handle streams that have accumulated too much data (issue #414) node-fetch-2.6.1/src/body.js:270: reject(new FetchError(`Could not create Buffer from response body for ${this.url}: ${err.message}`, 'system', err)); node-fetch-2.6.1/src/body.js-271- } ############################################## node-fetch-2.6.1/src/body.js-449- // detect form data input from form-data module node-fetch-2.6.1/src/body.js:450: return `multipart/form-data;boundary=${body.getBoundary()}`; node-fetch-2.6.1/src/body.js-451- } else if (body instanceof Stream) { ############################################## node-fetch-2.6.1/src/headers.js-11-function validateName(name) { node-fetch-2.6.1/src/headers.js:12: name = `${name}`; node-fetch-2.6.1/src/headers.js-13- if (invalidTokenRegex.test(name) || name === '') { node-fetch-2.6.1/src/headers.js:14: throw new TypeError(`${name} is not a legal HTTP header name`); node-fetch-2.6.1/src/headers.js-15- } ############################################## node-fetch-2.6.1/src/headers.js-18-function validateValue(value) { node-fetch-2.6.1/src/headers.js:19: value = `${value}`; node-fetch-2.6.1/src/headers.js-20- if (invalidHeaderCharRegex.test(value)) { node-fetch-2.6.1/src/headers.js:21: throw new TypeError(`${value} is not a legal HTTP header value`); node-fetch-2.6.1/src/headers.js-22- } ############################################## node-fetch-2.6.1/src/headers.js-112- get(name) { node-fetch-2.6.1/src/headers.js:113: name = `${name}`; node-fetch-2.6.1/src/headers.js-114- validateName(name); ############################################## node-fetch-2.6.1/src/headers.js-148- set(name, value) { node-fetch-2.6.1/src/headers.js:149: name = `${name}`; node-fetch-2.6.1/src/headers.js:150: value = `${value}`; node-fetch-2.6.1/src/headers.js-151- validateName(name); ############################################## node-fetch-2.6.1/src/headers.js-164- append(name, value) { node-fetch-2.6.1/src/headers.js:165: name = `${name}`; node-fetch-2.6.1/src/headers.js:166: value = `${value}`; node-fetch-2.6.1/src/headers.js-167- validateName(name); ############################################## node-fetch-2.6.1/src/headers.js-183- has(name) { node-fetch-2.6.1/src/headers.js:184: name = `${name}`; node-fetch-2.6.1/src/headers.js-185- validateName(name); ############################################## node-fetch-2.6.1/src/headers.js-195- delete(name) { node-fetch-2.6.1/src/headers.js:196: name = `${name}`; node-fetch-2.6.1/src/headers.js-197- validateName(name); ############################################## node-fetch-2.6.1/src/request.js-64- // coerce input to a string before attempting to parse node-fetch-2.6.1/src/request.js:65: parsedURL = parse_url(`${input}`); node-fetch-2.6.1/src/request.js-66- } ############################################## node-fetch-2.6.1/src/index.js-89- reqTimeout = setTimeout(() => { node-fetch-2.6.1/src/index.js:90: reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); node-fetch-2.6.1/src/index.js-91- finalize(); ############################################## node-fetch-2.6.1/src/index.js-96- req.on('error', err => { node-fetch-2.6.1/src/index.js:97: reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); node-fetch-2.6.1/src/index.js-98- finalize(); ############################################## node-fetch-2.6.1/src/index.js-116- case 'error': node-fetch-2.6.1/src/index.js:117: reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); node-fetch-2.6.1/src/index.js-118- finalize(); ############################################## node-fetch-2.6.1/src/index.js-139- if (request.counter >= request.follow) { node-fetch-2.6.1/src/index.js:140: reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); node-fetch-2.6.1/src/index.js-141- finalize(); ############################################## node-fetch-2.6.1/test/server.js-392- server.start(() => { node-fetch-2.6.1/test/server.js:393: console.log(`Server started listening at port ${server.port}`); node-fetch-2.6.1/test/server.js-394- }); ############################################## node-fetch-2.6.1/test/test.js-61-const local = new TestServer(); node-fetch-2.6.1/test/test.js:62:const base = `http://${local.hostname}:${local.port}/`; node-fetch-2.6.1/test/test.js-63- ############################################## node-fetch-2.6.1/test/test.js-73- it('should return a promise', function() { node-fetch-2.6.1/test/test.js:74: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-75- const p = fetch(url); ############################################## node-fetch-2.6.1/test/test.js-80- it('should allow custom promise', function() { node-fetch-2.6.1/test/test.js:81: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-82- const old = fetch.Promise; ############################################## node-fetch-2.6.1/test/test.js-89- it('should throw error when no promise implementation are found', function() { node-fetch-2.6.1/test/test.js:90: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-91- const old = fetch.Promise; ############################################## node-fetch-2.6.1/test/test.js-134- it('should resolve into response', function() { node-fetch-2.6.1/test/test.js:135: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-136- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-149- it('should accept plain text response', function() { node-fetch-2.6.1/test/test.js:150: const url = `${base}plain`; node-fetch-2.6.1/test/test.js-151- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-161- it('should accept html response (like plain text)', function() { node-fetch-2.6.1/test/test.js:162: const url = `${base}html`; node-fetch-2.6.1/test/test.js-163- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-173- it('should accept json response', function() { node-fetch-2.6.1/test/test.js:174: const url = `${base}json`; node-fetch-2.6.1/test/test.js-175- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-185- it('should send request with custom headers', function() { node-fetch-2.6.1/test/test.js:186: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-187- const opts = { ############################################## node-fetch-2.6.1/test/test.js-197- it('should accept headers instance', function() { node-fetch-2.6.1/test/test.js:198: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-199- const opts = { ############################################## node-fetch-2.6.1/test/test.js-209- it('should accept custom host header', function() { node-fetch-2.6.1/test/test.js:210: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-211- const opts = { ############################################## node-fetch-2.6.1/test/test.js-223- it('should accept custom HoSt header', function() { node-fetch-2.6.1/test/test.js:224: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-225- const opts = { ############################################## node-fetch-2.6.1/test/test.js-237- it('should follow redirect code 301', function() { node-fetch-2.6.1/test/test.js:238: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-239- return fetch(url).then(res => { node-fetch-2.6.1/test/test.js:240: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-241- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-246- it('should follow redirect code 302', function() { node-fetch-2.6.1/test/test.js:247: const url = `${base}redirect/302`; node-fetch-2.6.1/test/test.js-248- return fetch(url).then(res => { node-fetch-2.6.1/test/test.js:249: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-250- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-254- it('should follow redirect code 303', function() { node-fetch-2.6.1/test/test.js:255: const url = `${base}redirect/303`; node-fetch-2.6.1/test/test.js-256- return fetch(url).then(res => { node-fetch-2.6.1/test/test.js:257: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-258- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-262- it('should follow redirect code 307', function() { node-fetch-2.6.1/test/test.js:263: const url = `${base}redirect/307`; node-fetch-2.6.1/test/test.js-264- return fetch(url).then(res => { node-fetch-2.6.1/test/test.js:265: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-266- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-270- it('should follow redirect code 308', function() { node-fetch-2.6.1/test/test.js:271: const url = `${base}redirect/308`; node-fetch-2.6.1/test/test.js-272- return fetch(url).then(res => { node-fetch-2.6.1/test/test.js:273: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-274- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-278- it('should follow redirect chain', function() { node-fetch-2.6.1/test/test.js:279: const url = `${base}redirect/chain`; node-fetch-2.6.1/test/test.js-280- return fetch(url).then(res => { node-fetch-2.6.1/test/test.js:281: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-282- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-286- it('should follow POST request redirect code 301 with GET', function() { node-fetch-2.6.1/test/test.js:287: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-288- const opts = { ############################################## node-fetch-2.6.1/test/test.js-292- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:293: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-294- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-302- it('should follow PATCH request redirect code 301 with PATCH', function() { node-fetch-2.6.1/test/test.js:303: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-304- const opts = { ############################################## node-fetch-2.6.1/test/test.js-308- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:309: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-310- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-318- it('should follow POST request redirect code 302 with GET', function() { node-fetch-2.6.1/test/test.js:319: const url = `${base}redirect/302`; node-fetch-2.6.1/test/test.js-320- const opts = { ############################################## node-fetch-2.6.1/test/test.js-324- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:325: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-326- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-334- it('should follow PATCH request redirect code 302 with PATCH', function() { node-fetch-2.6.1/test/test.js:335: const url = `${base}redirect/302`; node-fetch-2.6.1/test/test.js-336- const opts = { ############################################## node-fetch-2.6.1/test/test.js-340- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:341: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-342- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-350- it('should follow redirect code 303 with GET', function() { node-fetch-2.6.1/test/test.js:351: const url = `${base}redirect/303`; node-fetch-2.6.1/test/test.js-352- const opts = { ############################################## node-fetch-2.6.1/test/test.js-356- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:357: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-358- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-366- it('should follow PATCH request redirect code 307 with PATCH', function() { node-fetch-2.6.1/test/test.js:367: const url = `${base}redirect/307`; node-fetch-2.6.1/test/test.js-368- const opts = { ############################################## node-fetch-2.6.1/test/test.js-372- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:373: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-374- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-382- it('should not follow non-GET redirect if body is a readable stream', function() { node-fetch-2.6.1/test/test.js:383: const url = `${base}redirect/307`; node-fetch-2.6.1/test/test.js-384- const opts = { ############################################## node-fetch-2.6.1/test/test.js-393- it('should obey maximum redirect, reject case', function() { node-fetch-2.6.1/test/test.js:394: const url = `${base}redirect/chain`; node-fetch-2.6.1/test/test.js-395- const opts = { ############################################## node-fetch-2.6.1/test/test.js-403- it('should obey redirect chain, resolve case', function() { node-fetch-2.6.1/test/test.js:404: const url = `${base}redirect/chain`; node-fetch-2.6.1/test/test.js-405- const opts = { ############################################## node-fetch-2.6.1/test/test.js-408- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:409: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-410- expect(res.status).to.equal(200); ############################################## node-fetch-2.6.1/test/test.js-414- it('should allow not following redirect', function() { node-fetch-2.6.1/test/test.js:415: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-416- const opts = { ############################################## node-fetch-2.6.1/test/test.js-424- it('should support redirect mode, manual flag', function() { node-fetch-2.6.1/test/test.js:425: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-426- const opts = { ############################################## node-fetch-2.6.1/test/test.js-431- expect(res.status).to.equal(301); node-fetch-2.6.1/test/test.js:432: expect(res.headers.get('location')).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-433- }); ############################################## node-fetch-2.6.1/test/test.js-436- it('should support redirect mode, error flag', function() { node-fetch-2.6.1/test/test.js:437: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-438- const opts = { ############################################## node-fetch-2.6.1/test/test.js-446- it('should support redirect mode, manual flag when there is no redirect', function() { node-fetch-2.6.1/test/test.js:447: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-448- const opts = { ############################################## node-fetch-2.6.1/test/test.js-458- it('should follow redirect code 301 and keep existing headers', function() { node-fetch-2.6.1/test/test.js:459: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-460- const opts = { ############################################## node-fetch-2.6.1/test/test.js-463- return fetch(url, opts).then(res => { node-fetch-2.6.1/test/test.js:464: expect(res.url).to.equal(`${base}inspect`); node-fetch-2.6.1/test/test.js-465- return res.json(); ############################################## node-fetch-2.6.1/test/test.js-471- it('should treat broken redirect as ordinary response (follow)', function() { node-fetch-2.6.1/test/test.js:472: const url = `${base}redirect/no-location`; node-fetch-2.6.1/test/test.js-473- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-480- it('should treat broken redirect as ordinary response (manual)', function() { node-fetch-2.6.1/test/test.js:481: const url = `${base}redirect/no-location`; node-fetch-2.6.1/test/test.js-482- const opts = { ############################################## node-fetch-2.6.1/test/test.js-492- it('should set redirected property on response when redirect', function() { node-fetch-2.6.1/test/test.js:493: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-494- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-499- it('should not set redirected property on response without redirect', function() { node-fetch-2.6.1/test/test.js:500: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-501- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-518- it('should handle client-error response', function() { node-fetch-2.6.1/test/test.js:519: const url = `${base}error/400`; node-fetch-2.6.1/test/test.js-520- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-533- it('should handle server-error response', function() { node-fetch-2.6.1/test/test.js:534: const url = `${base}error/500`; node-fetch-2.6.1/test/test.js-535- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-548- it('should handle network-error response', function() { node-fetch-2.6.1/test/test.js:549: const url = `${base}error/reset`; node-fetch-2.6.1/test/test.js-550- return expect(fetch(url)).to.eventually.be.rejected ############################################## node-fetch-2.6.1/test/test.js-562- it('should reject invalid json response', function() { node-fetch-2.6.1/test/test.js:563: const url = `${base}error/json`; node-fetch-2.6.1/test/test.js-564- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-572- it('should handle no content response', function() { node-fetch-2.6.1/test/test.js:573: const url = `${base}no-content`; node-fetch-2.6.1/test/test.js-574- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-585- it('should reject when trying to parse no content response as json', function() { node-fetch-2.6.1/test/test.js:586: const url = `${base}no-content`; node-fetch-2.6.1/test/test.js-587- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-597- it('should handle no content response with gzip encoding', function() { node-fetch-2.6.1/test/test.js:598: const url = `${base}no-content/gzip`; node-fetch-2.6.1/test/test.js-599- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-611- it('should handle not modified response', function() { node-fetch-2.6.1/test/test.js:612: const url = `${base}not-modified`; node-fetch-2.6.1/test/test.js-613- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-624- it('should handle not modified response with gzip encoding', function() { node-fetch-2.6.1/test/test.js:625: const url = `${base}not-modified/gzip`; node-fetch-2.6.1/test/test.js-626- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-638- it('should decompress gzip response', function() { node-fetch-2.6.1/test/test.js:639: const url = `${base}gzip`; node-fetch-2.6.1/test/test.js-640- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-649- it('should decompress slightly invalid gzip response', function() { node-fetch-2.6.1/test/test.js:650: const url = `${base}gzip-truncated`; node-fetch-2.6.1/test/test.js-651- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-660- it('should decompress deflate response', function() { node-fetch-2.6.1/test/test.js:661: const url = `${base}deflate`; node-fetch-2.6.1/test/test.js-662- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-671- it('should decompress deflate raw response from old apache server', function() { node-fetch-2.6.1/test/test.js:672: const url = `${base}deflate-raw`; node-fetch-2.6.1/test/test.js-673- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-683- if(typeof zlib.createBrotliDecompress !== 'function') this.skip(); node-fetch-2.6.1/test/test.js:684: const url = `${base}brotli`; node-fetch-2.6.1/test/test.js-685- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-695- if(typeof zlib.createBrotliDecompress !== 'function') this.skip(); node-fetch-2.6.1/test/test.js:696: const url = `${base}no-content/brotli`; node-fetch-2.6.1/test/test.js-697- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-709- it('should skip decompression if unsupported', function() { node-fetch-2.6.1/test/test.js:710: const url = `${base}sdch`; node-fetch-2.6.1/test/test.js-711- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-720- it('should reject if response compression is invalid', function() { node-fetch-2.6.1/test/test.js:721: const url = `${base}invalid-content-encoding`; node-fetch-2.6.1/test/test.js-722- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-730- it('should handle errors on the body stream even if it is not used', function(done) { node-fetch-2.6.1/test/test.js:731: const url = `${base}invalid-content-encoding`; node-fetch-2.6.1/test/test.js-732- fetch(url) ############################################## node-fetch-2.6.1/test/test.js-754- node-fetch-2.6.1/test/test.js:755: const url = `${base}invalid-content-encoding`; node-fetch-2.6.1/test/test.js-756- return fetch(url).then(delay).then(res => { ############################################## node-fetch-2.6.1/test/test.js-764- it('should allow disabling auto decompression', function() { node-fetch-2.6.1/test/test.js:765: const url = `${base}gzip`; node-fetch-2.6.1/test/test.js-766- const opts = { ############################################## node-fetch-2.6.1/test/test.js-778- it('should not overwrite existing accept-encoding header when auto decompression is true', function() { node-fetch-2.6.1/test/test.js:779: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-780- const opts = { ############################################## node-fetch-2.6.1/test/test.js-791- it('should allow custom timeout', function() { node-fetch-2.6.1/test/test.js:792: const url = `${base}timeout`; node-fetch-2.6.1/test/test.js-793- const opts = { ############################################## node-fetch-2.6.1/test/test.js-801- it('should allow custom timeout on response body', function() { node-fetch-2.6.1/test/test.js:802: const url = `${base}slow`; node-fetch-2.6.1/test/test.js-803- const opts = { ############################################## node-fetch-2.6.1/test/test.js-814- it('should allow custom timeout on redirected requests', function() { node-fetch-2.6.1/test/test.js:815: const url = `${base}redirect/slow-chain`; node-fetch-2.6.1/test/test.js-816- const opts = { ############################################## node-fetch-2.6.1/test/test.js-825- this.timeout(2000); node-fetch-2.6.1/test/test.js:826: spawn('node', ['-e', `require('./')('${base}hello', { timeout: 10000 })`]) node-fetch-2.6.1/test/test.js-827- .on('exit', () => { ############################################## node-fetch-2.6.1/test/test.js-833- this.timeout(2000); node-fetch-2.6.1/test/test.js:834: spawn('node', ['-e', `require('./')('${base}redirect/301', { timeout: 10000 })`]) node-fetch-2.6.1/test/test.js-835- .on('exit', () => { ############################################## node-fetch-2.6.1/test/test.js-841- this.timeout(2000); node-fetch-2.6.1/test/test.js:842: spawn('node', ['-e', `require('./')('${base}error/reset', { timeout: 10000 })`]) node-fetch-2.6.1/test/test.js-843- .on('exit', () => { ############################################## node-fetch-2.6.1/test/test.js-853- const fetches = [ node-fetch-2.6.1/test/test.js:854: fetch(`${base}timeout`, { signal: controller.signal }), node-fetch-2.6.1/test/test.js:855: fetch(`${base}timeout`, { signal: controller2.signal }), node-fetch-2.6.1/test/test.js-856- fetch( node-fetch-2.6.1/test/test.js:857: `${base}timeout`, node-fetch-2.6.1/test/test.js-858- { ############################################## node-fetch-2.6.1/test/test.js-883- it('should reject immediately if signal has already been aborted', function () { node-fetch-2.6.1/test/test.js:884: const url = `${base}timeout`; node-fetch-2.6.1/test/test.js-885- const controller = new AbortController(); ############################################## node-fetch-2.6.1/test/test.js-919- const promise = fetch( node-fetch-2.6.1/test/test.js:920: `${base}timeout`, node-fetch-2.6.1/test/test.js-921- { signal } ############################################## node-fetch-2.6.1/test/test.js-934- const abortController = new AbortController(); node-fetch-2.6.1/test/test.js:935: const request = new Request(`${base}redirect/slow`, { node-fetch-2.6.1/test/test.js-936- signal: abortController.signal ############################################## node-fetch-2.6.1/test/test.js-947- const abortController = new AbortController(); node-fetch-2.6.1/test/test.js:948: const request = new Request(`${base}redirect/slow-stream`, { node-fetch-2.6.1/test/test.js-949- signal: abortController.signal ############################################## node-fetch-2.6.1/test/test.js-963- const { signal } = controller; node-fetch-2.6.1/test/test.js:964: const fetchHtml = fetch(`${base}html`, { signal }) node-fetch-2.6.1/test/test.js-965- .then(res => res.text()); node-fetch-2.6.1/test/test.js:966: const fetchResponseError = fetch(`${base}error/reset`, { signal }); node-fetch-2.6.1/test/test.js:967: const fetchRedirect = fetch(`${base}redirect/301`, { signal }).then(res => res.json()); node-fetch-2.6.1/test/test.js-968- return Promise.all([ ############################################## node-fetch-2.6.1/test/test.js-979- return expect(fetch( node-fetch-2.6.1/test/test.js:980: `${base}slow`, node-fetch-2.6.1/test/test.js-981- { signal: controller.signal } ############################################## node-fetch-2.6.1/test/test.js-996- return expect(fetch( node-fetch-2.6.1/test/test.js:997: `${base}slow`, node-fetch-2.6.1/test/test.js-998- { signal: controller.signal } ############################################## node-fetch-2.6.1/test/test.js-1012- expect(fetch( node-fetch-2.6.1/test/test.js:1013: `${base}slow`, node-fetch-2.6.1/test/test.js-1014- { signal: controller.signal } ############################################## node-fetch-2.6.1/test/test.js-1032- const promise = fetch( node-fetch-2.6.1/test/test.js:1033: `${base}slow`, node-fetch-2.6.1/test/test.js-1034- { signal: controller.signal, body, method: 'POST' } ############################################## node-fetch-2.6.1/test/test.js-1062- const promise = fetch( node-fetch-2.6.1/test/test.js:1063: `${base}slow`, node-fetch-2.6.1/test/test.js-1064- { signal: controller.signal, body, method: 'POST' } ############################################## node-fetch-2.6.1/test/test.js-1073- return Promise.all([ node-fetch-2.6.1/test/test.js:1074: expect(fetch(`${base}inspect`, { signal: {} })) node-fetch-2.6.1/test/test.js-1075- .to.be.eventually.rejected ############################################## node-fetch-2.6.1/test/test.js-1077- .and.have.property('message').includes('AbortSignal'), node-fetch-2.6.1/test/test.js:1078: expect(fetch(`${base}inspect`, { signal: '' })) node-fetch-2.6.1/test/test.js-1079- .to.be.eventually.rejected ############################################## node-fetch-2.6.1/test/test.js-1081- .and.have.property('message').includes('AbortSignal'), node-fetch-2.6.1/test/test.js:1082: expect(fetch(`${base}inspect`, { signal: Object.create(null) })) node-fetch-2.6.1/test/test.js-1083- .to.be.eventually.rejected ############################################## node-fetch-2.6.1/test/test.js-1089- it('should set default User-Agent', function () { node-fetch-2.6.1/test/test.js:1090: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1091- return fetch(url).then(res => res.json()).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1096- it('should allow setting User-Agent', function () { node-fetch-2.6.1/test/test.js:1097: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1098- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1108- it('should set default Accept header', function () { node-fetch-2.6.1/test/test.js:1109: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1110- fetch(url).then(res => res.json()).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1115- it('should allow setting Accept header', function () { node-fetch-2.6.1/test/test.js:1116: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1117- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1127- it('should allow POST request', function() { node-fetch-2.6.1/test/test.js:1128: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1129- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1142- it('should allow POST request with string body', function() { node-fetch-2.6.1/test/test.js:1143: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1144- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1159- it('should allow POST request with buffer body', function() { node-fetch-2.6.1/test/test.js:1160: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1161- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1176- it('should allow POST request with ArrayBuffer body', function() { node-fetch-2.6.1/test/test.js:1177: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1178- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1197- } node-fetch-2.6.1/test/test.js:1198: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1199- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1212- it('should allow POST request with ArrayBufferView (Uint8Array) body', function() { node-fetch-2.6.1/test/test.js:1213: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1214- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1227- it('should allow POST request with ArrayBufferView (DataView) body', function() { node-fetch-2.6.1/test/test.js:1228: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1229- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1248- } node-fetch-2.6.1/test/test.js:1249: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1250- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1264- (Buffer.from.length === 3 ? it : it.skip)('should allow POST request with ArrayBufferView (Uint8Array, offset, length) body', function() { node-fetch-2.6.1/test/test.js:1265: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1266- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1279- it('should allow POST request with blob body without type', function() { node-fetch-2.6.1/test/test.js:1280: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1281- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1296- it('should allow POST request with blob body with type', function() { node-fetch-2.6.1/test/test.js:1297: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1298- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1318- node-fetch-2.6.1/test/test.js:1319: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1320- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1338- node-fetch-2.6.1/test/test.js:1339: const url = `${base}multipart`; node-fetch-2.6.1/test/test.js-1340- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1357- node-fetch-2.6.1/test/test.js:1358: const url = `${base}multipart`; node-fetch-2.6.1/test/test.js-1359- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1380- node-fetch-2.6.1/test/test.js:1381: const url = `${base}multipart`; node-fetch-2.6.1/test/test.js-1382- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1398- it('should allow POST request with object body', function() { node-fetch-2.6.1/test/test.js:1399: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1400- // note that fetch simply calls tostring on an object ############################################## node-fetch-2.6.1/test/test.js-1440- const params = new URLSearchParams(); node-fetch-2.6.1/test/test.js:1441: const req = new Request(`${base}inspect`, { method: 'POST', body: params }) node-fetch-2.6.1/test/test.js-1442- params.append('a','1') ############################################## node-fetch-2.6.1/test/test.js-1451- node-fetch-2.6.1/test/test.js:1452: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1453- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1471- node-fetch-2.6.1/test/test.js:1472: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1473- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1493- node-fetch-2.6.1/test/test.js:1494: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1495- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1509- it('should overwrite Content-Length if possible', function() { node-fetch-2.6.1/test/test.js:1510: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1511- // note that fetch simply calls tostring on an object ############################################## node-fetch-2.6.1/test/test.js-1530- it('should allow PUT request', function() { node-fetch-2.6.1/test/test.js:1531: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1532- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1544- it('should allow DELETE request', function() { node-fetch-2.6.1/test/test.js:1545: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1546- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1556- it('should allow DELETE request with string body', function() { node-fetch-2.6.1/test/test.js:1557: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1558- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1572- it('should allow PATCH request', function() { node-fetch-2.6.1/test/test.js:1573: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1574- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1586- it('should allow HEAD request', function() { node-fetch-2.6.1/test/test.js:1587: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1588- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1602- it('should allow HEAD request with content-encoding header', function() { node-fetch-2.6.1/test/test.js:1603: const url = `${base}error/404`; node-fetch-2.6.1/test/test.js-1604- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1616- it('should allow OPTIONS request', function() { node-fetch-2.6.1/test/test.js:1617: const url = `${base}options`; node-fetch-2.6.1/test/test.js-1618- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1629- it('should reject decoding body twice', function() { node-fetch-2.6.1/test/test.js:1630: const url = `${base}plain`; node-fetch-2.6.1/test/test.js-1631- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1640- it('should support maximum response size, multiple chunk', function() { node-fetch-2.6.1/test/test.js:1641: const url = `${base}size/chunk`; node-fetch-2.6.1/test/test.js-1642- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1654- it('should support maximum response size, single chunk', function() { node-fetch-2.6.1/test/test.js:1655: const url = `${base}size/long`; node-fetch-2.6.1/test/test.js-1656- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1668- it('should allow piping response body as stream', function() { node-fetch-2.6.1/test/test.js:1669: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1670- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1681- it('should allow cloning a response, and use both as stream', function() { node-fetch-2.6.1/test/test.js:1682: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1683- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1701- it('should allow cloning a json response and log it as text response', function() { node-fetch-2.6.1/test/test.js:1702: const url = `${base}json`; node-fetch-2.6.1/test/test.js-1703- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1712- it('should allow cloning a json response, and then log it as text response', function() { node-fetch-2.6.1/test/test.js:1713: const url = `${base}json`; node-fetch-2.6.1/test/test.js-1714- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1725- it('should allow cloning a json response, first log as text response, then return json object', function() { node-fetch-2.6.1/test/test.js:1726: const url = `${base}json`; node-fetch-2.6.1/test/test.js-1727- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1738- it('should not allow cloning a response after its been used', function() { node-fetch-2.6.1/test/test.js:1739: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1740- return fetch(url).then(res => ############################################## node-fetch-2.6.1/test/test.js-1749- it('should allow get all responses of a header', function() { node-fetch-2.6.1/test/test.js:1750: const url = `${base}cookie`; node-fetch-2.6.1/test/test.js-1751- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1758- it('should return all headers using raw()', function() { node-fetch-2.6.1/test/test.js:1759: const url = `${base}cookie`; node-fetch-2.6.1/test/test.js-1760- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1770- it('should allow deleting header', function() { node-fetch-2.6.1/test/test.js:1771: const url = `${base}cookie`; node-fetch-2.6.1/test/test.js-1772- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-1778- it('should send request with connection keep-alive if agent is provided', function() { node-fetch-2.6.1/test/test.js:1779: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1780- const opts = { ############################################## node-fetch-2.6.1/test/test.js-1792- it('should support fetch with Request instance', function() { node-fetch-2.6.1/test/test.js:1793: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1794- const req = new Request(url); ############################################## node-fetch-2.6.1/test/test.js-1802- it('should support fetch with Node.js URL object', function() { node-fetch-2.6.1/test/test.js:1803: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1804- const urlObj = parseURL(url); ############################################## node-fetch-2.6.1/test/test.js-1813- it('should support fetch with WHATWG URL object', function() { node-fetch-2.6.1/test/test.js:1814: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1815- const urlObj = new URL(url); ############################################## node-fetch-2.6.1/test/test.js-1852- it('should support blob round-trip', function() { node-fetch-2.6.1/test/test.js:1853: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-1854- ############################################## node-fetch-2.6.1/test/test.js-1857- return fetch(url).then(res => res.blob()).then(blob => { node-fetch-2.6.1/test/test.js:1858: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1859- length = blob.size; ############################################## node-fetch-2.6.1/test/test.js-1872- it('should support overwrite Request instance', function() { node-fetch-2.6.1/test/test.js:1873: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1874- const req = new Request(url, { ############################################## node-fetch-2.6.1/test/test.js-1914- // reading the stack is quite slow (~30-50ms) node-fetch-2.6.1/test/test.js:1915: expect(err.stack).to.include('funcName').and.to.startWith(`${err.name}: ${err.message}`); node-fetch-2.6.1/test/test.js-1916- }); ############################################## node-fetch-2.6.1/test/test.js-1950- it("supports supplying a lookup function to the agent", function() { node-fetch-2.6.1/test/test.js:1951: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-1952- let called = 0; ############################################## node-fetch-2.6.1/test/test.js-1963- it("supports supplying a famliy option to the agent", function() { node-fetch-2.6.1/test/test.js:1964: const url = `${base}redirect/301`; node-fetch-2.6.1/test/test.js-1965- const families = []; ############################################## node-fetch-2.6.1/test/test.js-1979- it('should allow a function supplying the agent', function() { node-fetch-2.6.1/test/test.js:1980: const url = `${base}inspect`; node-fetch-2.6.1/test/test.js-1981- ############################################## node-fetch-2.6.1/test/test.js-2003- it('should calculate content length and extract content type for each body type', function () { node-fetch-2.6.1/test/test.js:2004: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-2005- const bodyContent = 'a=1'; ############################################## node-fetch-2.6.1/test/test.js-2477- it('should support wrapping Request instance', function() { node-fetch-2.6.1/test/test.js:2478: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-2479- ############################################## node-fetch-2.6.1/test/test.js-2720- it('should only use UTF-8 decoding with text()', function() { node-fetch-2.6.1/test/test.js:2721: const url = `${base}encoding/euc-jp`; node-fetch-2.6.1/test/test.js-2722- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2730- it('should support encoding decode, xml dtd detect', function() { node-fetch-2.6.1/test/test.js:2731: const url = `${base}encoding/euc-jp`; node-fetch-2.6.1/test/test.js-2732- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2740- it('should support encoding decode, content-type detect', function() { node-fetch-2.6.1/test/test.js:2741: const url = `${base}encoding/shift-jis`; node-fetch-2.6.1/test/test.js-2742- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2750- it('should support encoding decode, html5 detect', function() { node-fetch-2.6.1/test/test.js:2751: const url = `${base}encoding/gbk`; node-fetch-2.6.1/test/test.js-2752- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2760- it('should support encoding decode, html4 detect', function() { node-fetch-2.6.1/test/test.js:2761: const url = `${base}encoding/gb2312`; node-fetch-2.6.1/test/test.js-2762- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2770- it('should support encoding decode, html4 detect reverse http-equiv', function() { node-fetch-2.6.1/test/test.js:2771: const url = `${base}encoding/gb2312-reverse`; node-fetch-2.6.1/test/test.js-2772- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2780- it('should default to utf8 encoding', function() { node-fetch-2.6.1/test/test.js:2781: const url = `${base}encoding/utf8`; node-fetch-2.6.1/test/test.js-2782- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2791- it('should support uncommon content-type order, charset in front', function() { node-fetch-2.6.1/test/test.js:2792: const url = `${base}encoding/order1`; node-fetch-2.6.1/test/test.js-2793- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2801- it('should support uncommon content-type order, end with qs', function() { node-fetch-2.6.1/test/test.js:2802: const url = `${base}encoding/order2`; node-fetch-2.6.1/test/test.js-2803- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2811- it('should support chunked encoding, html4 detect', function() { node-fetch-2.6.1/test/test.js:2812: const url = `${base}encoding/chunked`; node-fetch-2.6.1/test/test.js-2813- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2816- return res.textConverted().then(result => { node-fetch-2.6.1/test/test.js:2817: expect(result).to.equal(`${padding}<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" /><div>日本語</div>`); node-fetch-2.6.1/test/test.js-2818- }); ############################################## node-fetch-2.6.1/test/test.js-2822- it('should only do encoding detection up to 1024 bytes', function() { node-fetch-2.6.1/test/test.js:2823: const url = `${base}encoding/invalid`; node-fetch-2.6.1/test/test.js-2824- return fetch(url).then(res => { ############################################## node-fetch-2.6.1/test/test.js-2827- return res.textConverted().then(result => { node-fetch-2.6.1/test/test.js:2828: expect(result).to.not.equal(`${padding}中文`); node-fetch-2.6.1/test/test.js-2829- }); ############################################## node-fetch-2.6.1/test/test.js-2839- it('should throw a FetchError if res.textConverted() is called without `encoding` in require cache', () => { node-fetch-2.6.1/test/test.js:2840: const url = `${base}hello`; node-fetch-2.6.1/test/test.js-2841- return fetch(url).then((res) => { ############################################## node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-89- reqTimeout = setTimeout(() => { node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js:90: reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-91- finalize(); ############################################## node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-96- req.on('error', err => { node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js:97: reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-98- finalize(); ############################################## node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-116- case 'error': node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js:117: reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-118- finalize(); ############################################## node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-139- if (request.counter >= request.follow) { node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js:140: reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); node-fetch-2.6.1/.pc/fix-default-export.diff/src/index.js-141- finalize();