=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-34- node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js:35:console.log(`${mbPerSec} mb/sec`); node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-36- ############################################## node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-38- const head = node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js:39: `--${boundary}\r\n` + node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-40- `content-disposition: form-data; name="field1"\r\n` + node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-41- `\r\n`; node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js:42: const tail = `\r\n--${boundary}--\r\n`; node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-43- const buffer = Buffer.alloc(size); ############################################## node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-62- // console.log(k, events[k]); node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js:63: // // assert.equal(callbacks[k], 0, `${k} count off by ${callbacks[k]}`); node-formidable-1.2.1+20200129git8231ea6/benchmark/bench-multipart-parser.js-64- // }); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/json.js-11- res.writeHead(200, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/json.js:12: res.end(`Please POST a JSON payload to http://localhost:${PORT}/`); node-formidable-1.2.1+20200129git8231ea6/example/json.js-13- return; ############################################## node-formidable-1.2.1+20200129git8231ea6/example/json.js-21- res.writeHead(500, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/json.js:22: res.end(`error:\n\n${util.inspect(err)}`); node-formidable-1.2.1+20200129git8231ea6/example/json.js-23- console.error(err); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/json.js-31- res.writeHead(200, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/json.js:32: res.end(`received fields:\n\n ${util.inspect(fields)}`); node-formidable-1.2.1+20200129git8231ea6/example/json.js-33- }); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/json.js-38- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/example/json.js:39: console.log(`Listening on http://localhost:${choosenPort}/`); node-formidable-1.2.1+20200129git8231ea6/example/json.js-40- ############################################## node-formidable-1.2.1+20200129git8231ea6/example/multipartParser.js-9-const bufferToWrite = Buffer.from( node-formidable-1.2.1+20200129git8231ea6/example/multipartParser.js:10: `${boundary}${next}${formData}name="text"${next}${next}some text ...${next}${next}${boundary}${next}${formData}name="z"${next}${next}text inside z${next}${next}${boundary}${next}${formData}name="file1"; filename="a.txt"${next}Content-Type: text/plain${next}${next}Content of a.txt.${next}${next}${boundary}${next}${formData}name="file2"; filename="a.html"${next}Content-Type: text/html${next}${next}<!DOCTYPE html><title>Content of a.html.</title>${next}${next}${boundary}--`, node-formidable-1.2.1+20200129git8231ea6/example/multipartParser.js-11-); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/multipartParser.js-14-multipartParser.on('data', ({ name, buffer, start, end }) => { node-formidable-1.2.1+20200129git8231ea6/example/multipartParser.js:15: console.log(`${name}:`); node-formidable-1.2.1+20200129git8231ea6/example/multipartParser.js-16- if (buffer && start && end) { ############################################## node-formidable-1.2.1+20200129git8231ea6/example/multiple.js-36- res.writeHead(200, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/multiple.js:37: res.write(`received fields:\n\n ${util.inspect(fields)}`); node-formidable-1.2.1+20200129git8231ea6/example/multiple.js-38- res.write('\n\n'); node-formidable-1.2.1+20200129git8231ea6/example/multiple.js:39: res.end(`received files:\n\n ${util.inspect(files)}`); node-formidable-1.2.1+20200129git8231ea6/example/multiple.js-40- }); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/multiple.js-47-server.listen(PORT, () => { node-formidable-1.2.1+20200129git8231ea6/example/multiple.js:48: console.log(`listening on http://localhost:${PORT}/`); node-formidable-1.2.1+20200129git8231ea6/example/multiple.js-49-}); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/upload.js-36- res.writeHead(200, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/upload.js:37: res.write(`received fields:\n\n ${util.inspect(fields)}`); node-formidable-1.2.1+20200129git8231ea6/example/upload.js-38- res.write('\n\n'); node-formidable-1.2.1+20200129git8231ea6/example/upload.js:39: res.end(`received files:\n\n ${util.inspect(files)}`); node-formidable-1.2.1+20200129git8231ea6/example/upload.js-40- }); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/upload.js-47-server.listen(PORT, () => { node-formidable-1.2.1+20200129git8231ea6/example/upload.js:48: console.log(`listening on http://localhost:${PORT}/`); node-formidable-1.2.1+20200129git8231ea6/example/upload.js-49-}); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-26- res.writeHead(200, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js:27: res.end(`error:\n\n${util.inspect(err)}`); node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-28- }) ############################################## node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-37- res.writeHead(200, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js:38: res.end(`received fields:\n\n ${util.inspect(fields)}`); node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-39- }); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-43- res.writeHead(200, { 'content-type': 'text/plain' }); node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js:44: res.end(`received fields:\n\n ${util.inspect(fields)}`); node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-45- }); ############################################## node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-51-server.listen(PORT, () => { node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js:52: console.log(`listening on http://localhost:${PORT}/`); node-formidable-1.2.1+20200129git8231ea6/example/urlencoded-no-enctype.js-53-}); ############################################## node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-68- new Error( node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js:69: `MultipartParser.end(): stream ended unexpectedly: ${this.explain()}`, node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-70- ), ############################################## node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-75- initWithBoundary(str) { node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js:76: this.boundary = Buffer.from(`\r\n--${str}`); node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-77- this.lookbehind = Buffer.alloc(this.boundary.length + 8); ############################################## node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-106- const setMark = (name, idx) => { node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js:107: this[`${name}Mark`] = idx || i; node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-108- }; ############################################## node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-110- const clearMarkSymbol = (name) => { node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js:111: delete this[`${name}Mark`]; node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-112- }; ############################################## node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-114- const dataCallback = (name, shouldClear) => { node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js:115: const markSymbol = `${name}Mark`; node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-116- if (!(markSymbol in this)) { ############################################## node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-324- explain() { node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js:325: return `state = ${MultipartParser.stateToString(this.state)}`; node-formidable-1.2.1+20200129git8231ea6/src/parsers/Multipart.js-326- } ############################################## node-formidable-1.2.1+20200129git8231ea6/src/File.js-58- toString() { node-formidable-1.2.1+20200129git8231ea6/src/File.js:59: return `File: ${this.name}, Path: ${this.path}`; node-formidable-1.2.1+20200129git8231ea6/src/File.js-60- } ############################################## node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-238- new Error( node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js:239: `maxFieldsSize exceeded, received ${this._fieldsSize} bytes of field data`, node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-240- ), ############################################## node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-273- new Error( node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js:274: `maxFileSize exceeded, received ${this._fileSize} bytes of file data`, node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-275- ), ############################################## node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-339- new Error( node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js:340: `bad content-type header, unknown content-type: ${this.headers['content-type']}`, node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-341- ), ############################################## node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-608- const buf = crypto.randomBytes(16); node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js:609: let name = `upload_${buf.toString('hex')}`; node-formidable-1.2.1+20200129git8231ea6/src/Formidable.js-610- ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js-3-const CHUNK_LENGTH = 10; node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js:4:const multipartParser = require(`${common.lib}/multipart_parser`); node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js-5-const { MultipartParser } = multipartParser; node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js-6-const parser = new MultipartParser(); node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js:7:const fixtures = require(`${TEST_FIXTURES}/multipart`); node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js-8- ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js-70- throw new Error( node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js:71: `${chunk.length} bytes written, but only ${nparsed} bytes parsed!`, node-formidable-1.2.1+20200129git8231ea6/test-legacy/integration/test-multipart-parser.js-72- ); ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-file.js-4- node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-file.js:5:const File = require(`${common.lib}/file`); node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-file.js-6-const { EventEmitter } = require('events'); ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-14- node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js:15:const formidable = require(`${common.lib}/index`); node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-16-const { IncomingForm } = formidable; ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-20- node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js:21:const fixtures = require(`${TEST_FIXTURES}/multipart`); node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-22-let form; ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-358- form.headers = { node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js:359: 'content-type': `multipart/form-data; boundary=${BOUNDARY}`, node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-360- }; ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-368- form.headers = { node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js:369: 'content-type': `multipart/form-data; boundary="${BOUNDARY}"`, node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-370- }; ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-633- value, node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js:634: `hello world: ${Buffer.from([0xe2, 0x82, 0xac]).toString('binary')}`, node-formidable-1.2.1+20200129git8231ea6/test-legacy/simple/test-incoming-form.js-635- ); ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js-3-const BOUNDARY = '---------------------------10102754414578508781458777923'; node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js:4:const FIXTURE = `${TEST_FIXTURES}/multi_video.upload`; node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js-5-const fs = require('fs'); ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js-7- node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js:8:const formidable = require(`${common.lib}/index`); node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js-9-const server = http.createServer(); ############################################## node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js-79- headers: { node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js:80: 'content-type': `multipart/form-data; boundary=${BOUNDARY}`, node-formidable-1.2.1+20200129git8231ea6/test-legacy/system/test-multi-video-upload.js-81- 'content-length': stat.size, ############################################## node-formidable-1.2.1+20200129git8231ea6/test/integration/test-fixtures.js-24- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/test/integration/test-fixtures.js:25: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/test/integration/test-fixtures.js-26- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/integration/test-fixtures.js-79- expectedPart.sha1, node-formidable-1.2.1+20200129git8231ea6/test/integration/test-fixtures.js:80: `error ${file.name} on ${file.path}`, node-formidable-1.2.1+20200129git8231ea6/test/integration/test-fixtures.js-81- ); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/integration/test-json.js-25- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/test/integration/test-json.js:26: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/test/integration/test-json.js-27- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/integration/test-octet-stream.js-38- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/test/integration/test-octet-stream.js:39: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/test/integration/test-octet-stream.js-40- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-content-transfer-encoding.js-27- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-content-transfer-encoding.js:28: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-content-transfer-encoding.js-29- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-issue-46.js-39- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-issue-46.js:40: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-issue-46.js-41- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-connection-aborted.js-32- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-connection-aborted.js:33: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-connection-aborted.js-34- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js-28- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js:29: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js-30- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js-50- setTimeout(() => { node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js:51: assert.strictEqual(errors, 1, `should "errors" === 1, has: ${errors}`); node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js-52- ############################################## node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js-67- // ? yup, quite true, it makes sense to be 2 node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js:68: assert.strictEqual(ok, 2, `should "ok" count === 2, has: ${ok}`); node-formidable-1.2.1+20200129git8231ea6/test/standalone/test-keep-alive-error.js-69- ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-19- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:20: [`${name}#_fileName with regular characters`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-21- const filename = 'foo.txt'; ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-25- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:26: [`${name}#_fileName with unescaped quote`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-27- const filename = 'my".txt'; ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-31- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:32: [`${name}#_fileName with escaped quote`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-33- const filename = 'my%22.txt'; ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-37- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:38: [`${name}#_fileName with bad quote and additional sub-header`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-39- const filename = 'my".txt'; node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-40- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:41: const header = `${makeHeader(filename)}; foo="bar"`; node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-42- assert.equal(form._fileName(header), filename); ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-44- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:45: [`${name}#_fileName with semicolon`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-46- const filename = 'my;.txt'; ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-50- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:51: [`${name}#_fileName with utf8 character`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-52- const filename = 'my☃.txt'; ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-56- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:57: [`${name}#_uploadPath strips harmful characters from extension when keepExtensions`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-58- form.keepExtensions = true; ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-75- node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:76: [`${name}#_Array parameters support`]: () => { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-77- const opts = { multiples: true }; ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-94-function makeHeader(filename) { node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js:95: return `Content-Disposition: form-data; name="upload"; filename="${filename}"`; node-formidable-1.2.1+20200129git8231ea6/test/unit/test-incoming-form.js-96-} ############################################## node-formidable-1.2.1+20200129git8231ea6/test/unit/test-multipart-parser.js-63-// parser.end().message, node-formidable-1.2.1+20200129git8231ea6/test/unit/test-multipart-parser.js:64:// `MultipartParser.end(): stream ended unexpectedly: ${parser.explain()}`, node-formidable-1.2.1+20200129git8231ea6/test/unit/test-multipart-parser.js-65-// ); ############################################## node-formidable-1.2.1+20200129git8231ea6/tool/record.js-37- socket.id = connections; node-formidable-1.2.1+20200129git8231ea6/tool/record.js:38: socket.filename = `connection-${socket.id}.http`; node-formidable-1.2.1+20200129git8231ea6/tool/record.js-39- socket.file = fs.createWriteStream(socket.filename); ############################################## node-formidable-1.2.1+20200129git8231ea6/debian/patches/test-using-node-fetch.patch-17-@@ -39,17 +40,10 @@ node-formidable-1.2.1+20200129git8231ea6/debian/patches/test-using-node-fetch.patch:18: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/debian/patches/test-using-node-fetch.patch-19- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-37- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch:38: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-39- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-56- setTimeout(() => { node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch:57:- assert.strictEqual(ok, 1, `should ok count === 1, has: ${ok}`); node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-58-- // TODO: fix it! ############################################## node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-64-- }, 100); node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch:65:+ assert.strictEqual(errors, 1, `should "errors" === 1, has: ${errors}`); node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-66-+ ############################################## node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-81-+ // ? yup, quite true, it makes sense to be 2 node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch:82:+ assert.strictEqual(ok, 2, `should "ok" count === 2, has: ${ok}`); node-formidable-1.2.1+20200129git8231ea6/debian/patches/upstream-test-fixes.patch-83-+ ############################################## node-formidable-1.2.1+20200129git8231ea6/debian/tests/pkg-js/test-1-mkdir -p test/tmp node-formidable-1.2.1+20200129git8231ea6/debian/tests/pkg-js/test:2:node -e 'require("urun")(__dirname+"/test", {reporter: "BashTapReporter",include:/test-.+\.js$/});' node-formidable-1.2.1+20200129git8231ea6/debian/tests/pkg-js/test-3-rm -rf test/tmp ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/test-using-node-fetch.patch/test/standalone/test-issue-46.js-38- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/.pc/test-using-node-fetch.patch/test/standalone/test-issue-46.js:39: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/.pc/test-using-node-fetch.patch/test/standalone/test-issue-46.js-40- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-connection-aborted.js-27- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-connection-aborted.js:28: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-connection-aborted.js-29- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-keep-alive-error.js-28- const choosenPort = server.address().port; node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-keep-alive-error.js:29: const url = `http://localhost:${choosenPort}`; node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-keep-alive-error.js-30- console.log('Server up and running at:', url); ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-keep-alive-error.js-59- setTimeout(() => { node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-keep-alive-error.js:60: assert.strictEqual(ok, 1, `should ok count === 1, has: ${ok}`); node-formidable-1.2.1+20200129git8231ea6/.pc/upstream-test-fixes.patch/test/standalone/test-keep-alive-error.js-61- // TODO: fix it! ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/File.js-55- toString() { node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/File.js:56: return `File: ${this.name}, Path: ${this.path}`; node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/File.js-57- } ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-234- new Error( node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js:235: `maxFieldsSize exceeded, received ${this._fieldsSize} bytes of field data`, node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-236- ), ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-267- new Error( node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js:268: `maxFileSize exceeded, received ${this._fileSize} bytes of file data`, node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-269- ), ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-333- new Error( node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js:334: `bad content-type header, unknown content-type: ${this.headers['content-type']}`, node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-335- ), ############################################## node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-601- const buf = crypto.randomBytes(16); node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js:602: let name = `upload_${buf.toString('hex')}`; node-formidable-1.2.1+20200129git8231ea6/.pc/backport-upstream-fixes.patch/src/Formidable.js-603-