{"site": "project_search", "repo": "express", "task": "ファイルの末尾に空行を自動で入れる設定はどこにありますか?", "query": "insert_final_newline", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lang": "ja", "candidates": [{"text": "File: lib/request.js\nLine 386: if (!hostname) return [];", "file": "lib/request.js", "symbol": "", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 308: var app = createApp();", "file": "test/app.render.js", "symbol": "", "line": 308, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 64: })", "file": "test/express.json.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 132: res.locals.sess = req.session;", "file": "examples/view-locals/index.js", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 201: })", "file": "test/res.render.js", "symbol": "", "line": 201, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 107: .send('{\"user\"')", "file": "test/express.json.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 9: 'use strict';", "file": "lib/express.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.location.js\nLine 52: res.location('data:text/javascript,export default () => { }').end();", "file": "test/res.location.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 30: // Caught and passed down to the errorHandler middleware", "file": "examples/error/index.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 190: done", "file": "test/res.location.js", "symbol": "", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 327: })", "file": "test/res.sendFile.js", "symbol": "", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 82: test.set('X-Forwarded-For', 'client, p1, p2')", "file": "test/req.ip.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 155: env: this.get('env'),", "file": "lib/application.js", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 7: var express = require('../../');", "file": "examples/error/index.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 12: try {", "file": "test/support/tmpl.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 409: .send('[\"tobi\"]')", "file": "test/express.json.js", "symbol": "", "line": 409, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 155: setTimeout(function () {", "file": "test/res.sendFile.js", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 27: res.end('blog');", "file": "test/app.use.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 452: : 0;", "file": "lib/request.js", "symbol": "", "line": 452, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 746: app.get('/user/*user', function (req, res) {", "file": "test/app.router.js", "symbol": "", "line": 746, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 17: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 73: }", "file": "lib/view.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 15: function error(status, msg) {", "file": "examples/web-service/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "ファイルの末尾に空行を自動で入れる設定はどこにありますか?", "query": "insert_final_newline", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lang": "ja", "candidates": [{"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines insert_final_newline", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "ファイルの末尾に空行を自動で入れる設定はどこにありますか?", "query": "insert_final_newline", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lang": "ja", "candidates": [{"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Je mets en place une protection pour les routes afin de s'assurer que l'utilisateur ne peut accéder qu'à ses propres données. Je veux bloquer l'accès si l'ID de l'utilisateur authentifié ne correspond pas à celui de la ressource visée.", "query": "route self access check", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lang": "fr", "candidates": [{"text": "File: examples/view-locals/index.js\nLine 107: res.render('index', { title: 'Users' });", "file": "examples/view-locals/index.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 36: function createApplication() {", "file": "lib/express.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 120: next();", "file": "examples/view-locals/index.js", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 26: .end(done)", "file": "test/res.append.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 24: fn(null, users.length);", "file": "examples/view-locals/user.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 14: var express = require('../..');", "file": "examples/online/index.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 58: request(app)", "file": "test/res.append.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 464: throw new Error('should not be called')", "file": "test/Router.js", "symbol": "", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 36: function andRestrictToSelf(req, res, next) {", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/utils.js\nLine 268: return qs.parse(str, {", "file": "lib/utils.js", "symbol": "", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 16: // otherwise they behave exactly like regular", "file": "examples/error/index.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 220: * @param {String} charset", "file": "lib/utils.js", "symbol": "", "line": 220, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 8: request(app)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 7: // so either you can deal with different types of formatting", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 79: done();", "file": "test/app.engine.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 69: res.set('Set-Cookie', 'foo=bar')", "file": "test/res.append.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 193: }", "file": "lib/response.js", "symbol": "", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 43: }).join('') + '';", "file": "examples/online/index.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 58: /**", "file": "lib/express.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 17: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 78: request(app)", "file": "test/res.append.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 15: app.use(function(req, res){", "file": "test/res.render.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 26: this.engine = options.engines[extname(name)];", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 144: // copy arguments", "file": "lib/view.js", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Je mets en place une protection pour les routes afin de s'assurer que l'utilisateur ne peut accéder qu'à ses propres données. Je veux bloquer l'accès si l'ID de l'utilisateur authentifié ne correspond pas à celui de la ressource visée.", "query": "route self access check", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lang": "fr", "candidates": [{"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\ndefines andRestrictToSelf", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Je mets en place une protection pour les routes afin de s'assurer que l'utilisateur ne peut accéder qu'à ses propres données. Je veux bloquer l'accès si l'ID de l'utilisateur authentifié ne correspond pas à celui de la ressource visée.", "query": "route self access check", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lang": "fr", "candidates": [{"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "O processo de inicialização do servidor não está configurando o motor de renderização para arquivos com extensão customizada, o que impede o carregamento correto dos templates.", "query": "express engine template", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lang": "pt", "candidates": [{"text": "File: test/req.query.js\nLine 10: var app = createApp();", "file": "test/req.query.js", "symbol": "", "line": 10, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nLine 3: module.exports = User;", "file": "examples/view-locals/user.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 73: app.use(function(req, res){", "file": "test/res.append.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 12: request(createApp())", "file": "test/express.json.js", "symbol": "", "line": 12, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 12: this.app = createApp()", "file": "test/express.raw.js", "symbol": "", "line": 12, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nLine 11: var app = createApp();", "file": "test/res.render.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 18: var app = createApp();", "file": "test/res.sendFile.js", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\nLine 174: // convert chunk to Buffer and calculate", "file": "lib/response.js", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 19: });", "file": "examples/view-locals/user.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 34: return value;", "file": "test/support/tmpl.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 752: it('should not alter the status', function (done) {", "file": "test/express.static.js", "symbol": "", "line": 752, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 25: });", "file": "examples/view-locals/user.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 108: cb();", "file": "test/app.use.js", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 64: done();", "file": "test/app.engine.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 193: .set('Accept', 'text/html; q=.5, application/*, */*; q=.1')", "file": "test/res.format.js", "symbol": "", "line": 193, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 9: app.get('/', function(req, res){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 20: it('should display 1 view on revisit', function (done) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 81: .expect(shouldHaveHeaderValues('Set-Cookie', ['foo=bar', 'fizz=buzz']))", "file": "test/res.append.js", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 24: .expect(200, '{}', done)", "file": "test/express.json.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 116: assert.equal(blog.get('trust proxy fn'), fn);", "file": "test/config.js", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 386: function createApp() {", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/route-middleware/index.js\nLine 4: * Module dependencies.", "file": "examples/route-middleware/index.js", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 19: this.app = createApp()", "file": "test/express.static.js", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 18: res.append('Set-Cookie', 'fizz=buzz')", "file": "test/res.append.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "O processo de inicialização do servidor não está configurando o motor de renderização para arquivos com extensão customizada, o que impede o carregamento correto dos templates.", "query": "express engine template", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lang": "pt", "candidates": [{"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\ndefines createApp", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "O processo de inicialização do servidor não está configurando o motor de renderização para arquivos com extensão customizada, o que impede o carregamento correto dos templates.", "query": "express engine template", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lang": "pt", "candidates": [{"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "プロジェクト全体のインデント設定を確認したいです。スペースの数がどうなっているか教えてください。\nエディタの設定ファイルで、インデントの幅がいくつに指定されているか探しています。", "query": "indent_size", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lang": "ja", "candidates": [{"text": "File: test/app.render.js\nLine 389: app.engine('.tmpl', tmpl);", "file": "test/app.render.js", "symbol": "", "line": 389, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 36: // The reason for process.nextTick() is to show that", "file": "examples/error/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 513: /**", "file": "lib/request.js", "symbol": "", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 17: .expect(200, done)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 141: /*", "file": "examples/view-locals/index.js", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 10: indent_size = 2", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nLine 3: * Copyright(c) 2009-2013 TJ Holowaychuk", "file": "lib/express.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 438: test.expect('x-store-foo', 'bar')", "file": "test/express.text.js", "symbol": "", "line": 438, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 71: .expect(200, '{}', done);", "file": "test/req.query.js", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 155: * Compile \"query parser\" value to function.", "file": "lib/utils.js", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 189: * @param {Boolean|String|Number|Array|Function} val", "file": "lib/utils.js", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 393: it('should persist store when inflated', function (done) {", "file": "test/express.raw.js", "symbol": "", "line": 393, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 44: // less nesting and we have", "file": "examples/view-locals/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 146: var cntx = this;", "file": "lib/view.js", "symbol": "", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 386: function createApp() {", "file": "test/app.render.js", "symbol": "", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 104: View.prototype.lookup = function lookup(name) {", "file": "lib/view.js", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 285: done();", "file": "test/app.render.js", "symbol": "", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 23: ];", "file": "examples/route-middleware/index.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 145: app.render('user.tmpl', function (err, str) {", "file": "test/app.render.js", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 928: function onaborted() {", "file": "lib/response.js", "symbol": "", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 41: } else {", "file": "examples/route-middleware/index.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 123: var buf = Buffer.alloc(1024, '.')", "file": "test/express.json.js", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 32: * @return {Function}", "file": "lib/express.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 63: })", "file": "test/acceptance/auth.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "プロジェクト全体のインデント設定を確認したいです。スペースの数がどうなっているか教えてください。\nエディタの設定ファイルで、インデントの幅がいくつに指定されているか探しています。", "query": "indent_size", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lang": "ja", "candidates": [{"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines indent_size", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "プロジェクト全体のインデント設定を確認したいです。スペースの数がどうなっているか教えてください。\nエディタの設定ファイルで、インデントの幅がいくつに指定されているか探しています。", "query": "indent_size", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lang": "ja", "candidates": [{"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Necesito identificar el manejador de ruta que responde con el parámetro de identificador de la URL. Este controlador está siendo probado en el archivo de rutas de la aplicación.", "query": "handler id param response", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lang": "es", "candidates": [{"text": "File: test/express.raw.js\nLine 127: var options = { limit: '1kb' }", "file": "test/express.raw.js", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 26: var app = express();", "file": "test/req.ip.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 458: .expect(404, cb);", "file": "test/app.use.js", "symbol": "", "line": 458, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 9: 'use strict';", "file": "lib/express.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 17: text: function(){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 52: if (err) return next(err);", "file": "examples/online/index.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 106: authenticate(req.body.username, req.body.password, function(err, user){", "file": "examples/auth/index.js", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 92: app.enable('trust proxy');", "file": "test/req.ip.js", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 279: it('should reject Date as middleware', function () {", "file": "test/app.use.js", "symbol": "", "line": 279, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 92: it('should given precedence to the child', function(){", "file": "test/config.js", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 316: done();", "file": "test/app.render.js", "symbol": "", "line": 316, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 107: request(app)", "file": "test/res.render.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 795: str += '0=0'", "file": "test/express.urlencoded.js", "symbol": "", "line": 795, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 208: // Support comma-separated values", "file": "lib/utils.js", "symbol": "", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 82: // upstream tracking https://github.com/nodejs/node/issues/51562", "file": "test/support/utils.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 486: }", "file": "test/app.use.js", "symbol": "", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 21: function handler2(req, res) {", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/route-middleware/index.js\nLine 7: var express = require('../../lib/express');", "file": "examples/route-middleware/index.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 36: }, /callback function required/)", "file": "test/app.engine.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 28: .expect(200, 'viewed 2 times\\n', done)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 17: // middleware, you may have several of them,", "file": "examples/error/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 30: // this to add a layer of abstraction", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 42: mixin(app, proto, false);", "file": "lib/express.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 25: }", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Necesito identificar el manejador de ruta que responde con el parámetro de identificador de la URL. Este controlador está siendo probado en el archivo de rutas de la aplicación.", "query": "handler id param response", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lang": "es", "candidates": [{"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\ndefines handler2", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Necesito identificar el manejador de ruta que responde con el parámetro de identificador de la URL. Este controlador está siendo probado en el archivo de rutas de la aplicación.", "query": "handler id param response", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lang": "es", "candidates": [{"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "O middleware de teste está encerrando a resposta prematuramente ao injetar o cabeçalho customizado, impedindo que outros handlers sejam executados.", "query": "setHeader res.end", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lang": "pt", "candidates": [{"text": "File: examples/route-middleware/index.js\nLine 52: if (req.authenticatedUser.role === role) {", "file": "examples/route-middleware/index.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 21: .get('/login')", "file": "test/acceptance/auth.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 209: })", "file": "test/express.json.js", "symbol": "", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 41: var app = express()", "file": "test/req.ip.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 17: err.status = status;", "file": "examples/web-service/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 92: this.app = createApp()", "file": "test/express.json.js", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 792: return str", "file": "test/express.urlencoded.js", "symbol": "", "line": 792, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 22: request(app)", "file": "test/res.append.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 638: .expect(utils.shouldHaveHeader('Last-Modified'))", "file": "test/res.sendFile.js", "symbol": "", "line": 638, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 405: function fn3(req, res, next) {", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nLine 51: app: { configurable: true, enumerable: true, writable: true, value: app }", "file": "lib/express.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 905: function createApp(path, options, fn) {", "file": "test/res.sendFile.js", "symbol": "", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 12: app.set('views', path.join(__dirname, 'views'));", "file": "examples/view-locals/index.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 23: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 73: app.use(function(req, res){", "file": "test/res.render.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 55: { name: 'stylus', url: 'https://github.com/learnboost/stylus' },", "file": "examples/web-service/index.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 39: };", "file": "lib/express.js", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 53: };", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 94: // will be re-created next request", "file": "examples/auth/index.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 1: # https://editorconfig.org", "file": ".editorconfig", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 126: app.set('trust proxy', fn1);", "file": "test/config.js", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 7: // $ npm install redis online", "file": "examples/online/index.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 949: function fn3(err, req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 949, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "O middleware de teste está encerrando a resposta prematuramente ao injetar o cabeçalho customizado, impedindo que outros handlers sejam executados.", "query": "setHeader res.end", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lang": "pt", "candidates": [{"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\ndefines fn3", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "O middleware de teste está encerrando a resposta prematuramente ao injetar o cabeçalho customizado, impedindo que outros handlers sejam executados.", "query": "setHeader res.end", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lang": "pt", "candidates": [{"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "find where the stream state is disabled during file operations", "query": "streaming false file", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lang": "en", "candidates": [{"text": "File: lib/utils.js\nLine 77: };", "file": "lib/utils.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 271: .set('Content-Type', 'application/json')", "file": "test/express.json.js", "symbol": "", "line": 271, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 15: },", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 19: });", "file": "examples/view-locals/user.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 1: 'use strict'", "file": "examples/error/index.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 7: it('should display no views', function (done) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 38: }", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 1: 'use strict'", "file": "test/app.engine.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 47: app.use(function (req, res, next) {", "file": "test/res.append.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 115: res.location(new URL('http://google.com/')).end();", "file": "test/res.location.js", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 30: .get('/?foo[0][bar]=baz&foo[0][fizz]=buzz&foo[]=done!')", "file": "test/req.query.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 309: test.set('Content-Type', 'application/octet-stream')", "file": "test/express.raw.js", "symbol": "", "line": 309, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 9: return;", "file": "test/support/tmpl.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 962: function onfile() {", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 1: # https://editorconfig.org", "file": ".editorconfig", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 428: .expect('Cache-Control', 'public, max-age=3600, immutable', done)", "file": "test/express.static.js", "symbol": "", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 9: var app = module.exports = express();", "file": "examples/error/index.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 21: .set('X-Forwarded-For', 'client, p1, p2')", "file": "test/req.ip.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 4: * Module dependencies.", "file": "examples/view-locals/index.js", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 180: .expect('tobi', done);", "file": "test/res.render.js", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 376: * If \"subdomain offset\" is not set, req.subdomains is `[\"ferrets\", \"tobi\"]`.", "file": "lib/request.js", "symbol": "", "line": 376, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 99: .post('/')", "file": "test/express.text.js", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 18: fn(null, users);", "file": "examples/view-locals/user.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 41: return '');", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 58: next(err);", "file": "examples/search/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 57: function shouldNotHaveBody () {", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.render.js\nLine 103: assert.equal(err.name, 'RenderError')", "file": "test/app.render.js", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 530: }", "file": "test/express.json.js", "symbol": "", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 475: next();", "file": "test/app.use.js", "symbol": "", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 16: // was a real DB query to read all users.", "file": "examples/view-locals/user.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 368: res.setHeader('x-fn-1', 'hit');", "file": "test/app.use.js", "symbol": "", "line": 368, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 89: res.send('Wahoo! restricted area, click to logout');", "file": "examples/auth/index.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 437: })", "file": "test/Router.js", "symbol": "", "line": 437, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 109: });", "file": "test/app.use.js", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 297: }", "file": "lib/application.js", "symbol": "", "line": 297, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 12: * Module dependencies.", "file": "lib/express.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 388: * mounted it.", "file": "lib/application.js", "symbol": "", "line": 388, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 9: return;", "file": "test/support/tmpl.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 13: str = str.replace(variableRegExp, generateVariableLookup(options));", "file": "test/support/tmpl.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 77: if (err) return done(err);", "file": "test/app.engine.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 83: default: function () { res.send('hey') }", "file": "test/res.format.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 25: secret: 'shhhh, very secret'", "file": "examples/auth/index.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 532: next();", "file": "test/Router.js", "symbol": "", "line": 532, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 20: { id: 0, name: 'tj', email: 'tj@vision-media.ca', role: 'member' }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 498: })", "file": "test/res.sendFile.js", "symbol": "", "line": 498, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 4: * Module dependencies.", "file": "examples/route-middleware/index.js", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 93: .expect(utils.shouldNotHaveBody())", "file": "test/express.static.js", "symbol": "", "line": 93, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "Ich schreibe gerade die Tests für die API-Antworten um. Kannst du mir eine Hilfsfunktion zeigen, mit der ich prüfen kann, ob eine Antwort keinen Inhalt oder Text besitzt?", "query": "assert empty response", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lang": "de", "candidates": [{"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nsibling in test/support", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Ich schreibe gerade die Tests für die API-Antworten um. Kannst du mir eine Hilfsfunktion zeigen, mit der ich prüfen kann, ob eine Antwort keinen Inhalt oder Text besitzt?", "query": "assert empty response", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lang": "de", "candidates": [{"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "find the function that outputs errors to the console unless in a testing environment", "query": "console error env", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lang": "en", "candidates": [{"text": "File: test/req.query.js\nLine 12: request(app)", "file": "test/req.query.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 12: // curl http://localhost:3000/user/0", "file": "examples/route-middleware/index.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 38: var blog = express()", "file": "test/app.use.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 64: * Assert that a supertest response does not have a header.", "file": "test/support/utils.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 180: describe('.multiple callbacks', function () {", "file": "test/Router.js", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 255: process.nextTick(function () {", "file": "test/Router.js", "symbol": "", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 90: else next();", "file": "examples/web-service/index.js", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 360: * var uid = req.params.uid", "file": "lib/response.js", "symbol": "", "line": 360, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 108: it('should succeed with proper credentials', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 615: function logerror(err) {", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nLine 75: */", "file": "lib/express.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 687: .expect('viewing tj', done);", "file": "test/app.router.js", "symbol": "", "line": 687, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 5: var express = require('..');", "file": "test/app.use.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 8: // $ redis-server", "file": "examples/online/index.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 77: exports.json = bodyParser.json", "file": "lib/express.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 13: it('should set a session cookie', function (done) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 198: request(app)", "file": "test/res.format.js", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 852: })", "file": "test/res.sendFile.js", "symbol": "", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 34: app.get('/next', function(req, res, next){", "file": "examples/error/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 2: root = true", "file": ".editorconfig", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 141: var accept = accepts(this);", "file": "lib/request.js", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 529: })", "file": "test/express.text.js", "symbol": "", "line": 529, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 105: });", "file": "test/res.format.js", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "find the function that outputs errors to the console unless in a testing environment", "query": "console error env", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lang": "en", "candidates": [{"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\ndefines logerror", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "find the function that outputs errors to the console unless in a testing environment", "query": "console error env", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lang": "en", "candidates": [{"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "express", "task": "I'm configuring the API middleware stack and need to attach the user ID from the route parameters to the response headers. Can you show me the handler that sets the x-user-id header and then calls next?", "query": "handler x-user-id next", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lang": "en", "candidates": [{"text": "File: lib/utils.js\nLine 171: case 'simple':", "file": "lib/utils.js", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 111: });", "file": "examples/web-service/index.js", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 35: var app = createApp('extended');", "file": "test/req.query.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 35: .get('/')", "file": "test/res.render.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 67: */", "file": "examples/search/index.js", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 50: if (!module.parent) {", "file": "examples/error/index.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 16: function handler1(req, res, next) {", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/config.js\nLine 52: })", "file": "test/config.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 45: function shouldHaveHeader (header) {", "file": "test/support/utils.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 364: app.engine('.tmpl', tmpl);", "file": "test/res.render.js", "symbol": "", "line": 364, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 64: app.use(express.text())", "file": "test/express.text.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 70: next()", "file": "test/res.append.js", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 303: if (!trust(this.socket.remoteAddress, 0)) {", "file": "lib/request.js", "symbol": "", "line": 303, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 317: * Examples:", "file": "lib/response.js", "symbol": "", "line": 317, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 100: app.use(function(req, res, next){", "file": "test/res.format.js", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 156: res.render('user.tmpl', { user: { name: 'tobi' } });", "file": "test/res.render.js", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 41: // placeholder database", "file": "examples/auth/index.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 13: .post('/')", "file": "test/express.json.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 387: throw new TypeError('path must be a string to res.sendFile')", "file": "lib/response.js", "symbol": "", "line": 387, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 2: var app = require('../../examples/cookie-sessions')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 167: var views = [", "file": "test/res.render.js", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 363: var store = { foo: 'bar' }", "file": "test/express.text.js", "symbol": "", "line": 363, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 166: return val;", "file": "lib/utils.js", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 113: .expect('Location', '/')", "file": "test/acceptance/auth.js", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "I'm configuring the API middleware stack and need to attach the user ID from the route parameters to the response headers. Can you show me the handler that sets the x-user-id header and then calls next?", "query": "handler x-user-id next", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lang": "en", "candidates": [{"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\ndefines handler1", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "I'm configuring the API middleware stack and need to attach the user ID from the route parameters to the response headers. Can you show me the handler that sets the x-user-id header and then calls next?", "query": "handler x-user-id next", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lang": "en", "candidates": [{"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Ich arbeite an der Streaming-Logik in der Antwortbehandlung. Wie initialisiere ich den Status, dass ein Stream aktiv ist?", "query": "onstream streaming init", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lang": "de", "candidates": [{"text": "File: test/express.json.js\nLine 597: request(this.app)", "file": "test/express.json.js", "symbol": "", "line": 597, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 11: * Module dependencies.", "file": "examples/online/index.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 195: })", "file": "test/res.format.js", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 29: // or you could write a tiny middleware like", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 128: */", "file": "lib/utils.js", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 393: req.params = 3; // wat?", "file": "test/app.router.js", "symbol": "", "line": 393, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 125: it('should not change when options altered', function (done) {", "file": "test/express.raw.js", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 395: })", "file": "test/express.text.js", "symbol": "", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 11: html: function(){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 16: // was a real DB query to read all users.", "file": "examples/view-locals/user.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 26: }));", "file": "examples/auth/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 40: next(new Error('oh no!'));", "file": "examples/error/index.js", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 11: }", "file": "examples/view-locals/user.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 204: assert.ok(err)", "file": "test/res.sendFile.js", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 5: module.exports = function renderFile(fileName, options, callback) {", "file": "test/support/tmpl.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 126: .get('/')", "file": "test/res.format.js", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 5: */", "file": "examples/web-service/index.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 628: app.use(function (err, req, res, next) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 628, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 102: res.end();", "file": "test/Router.js", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 985: function onstream() {", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.static.js\nLine 64: request(this.app)", "file": "test/express.static.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 14: next()", "file": "test/res.append.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 14: // config", "file": "examples/auth/index.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Ich arbeite an der Streaming-Logik in der Antwortbehandlung. Wie initialisiere ich den Status, dass ein Stream aktiv ist?", "query": "onstream streaming init", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lang": "de", "candidates": [{"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Ich arbeite an der Streaming-Logik in der Antwortbehandlung. Wie initialisiere ich den Status, dass ein Stream aktiv ist?", "query": "onstream streaming init", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lang": "de", "candidates": [{"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "trouve la fonction qui crée un accesseur pour extraire des valeurs via un chemin de points", "query": "path lookup generator", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lang": "fr", "candidates": [{"text": "File: examples/content-negotiation/index.js\nLine 38: }", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 1020: * @param {boolean} escape", "file": "lib/response.js", "symbol": "", "line": 1020, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 687: .expect('123456789', done)", "file": "test/express.static.js", "symbol": "", "line": 687, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 39: };", "file": "lib/express.js", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 21: },", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 354: * @public", "file": "lib/request.js", "symbol": "", "line": 354, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 57: * @return {Object}", "file": "lib/utils.js", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 56: { name: 'cluster', url: 'https://github.com/learnboost/cluster' }", "file": "examples/web-service/index.js", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 25: function generateVariableLookup(data) {", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/content-negotiation/index.js\nLine 26: });", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 36: res.format(obj);", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 29: return function (res) {", "file": "test/support/utils.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 358: .get('/')", "file": "test/res.sendFile.js", "symbol": "", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 860: it('should allow up within root', function (done) {", "file": "test/res.sendFile.js", "symbol": "", "line": 860, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 24: res.send({ message: 'hey' });", "file": "test/res.format.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 2: root = true", "file": ".editorconfig", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 25: });", "file": "examples/view-locals/user.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 18: * Custom view that fetches and renders", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 631: test.expect(200, '{\"test\":\"å\"}', done)", "file": "test/express.json.js", "symbol": "", "line": 631, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 869: })", "file": "test/app.router.js", "symbol": "", "line": 869, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 54: } else {", "file": "examples/route-middleware/index.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 7: var assert = require('node:assert');", "file": "test/support/utils.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 66: app4.get('/', function (req, res) {", "file": "test/res.format.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 116: })", "file": "test/acceptance/auth.js", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "trouve la fonction qui crée un accesseur pour extraire des valeurs via un chemin de points", "query": "path lookup generator", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lang": "fr", "candidates": [{"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\ndefines generateVariableLookup", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "trouve la fonction qui crée un accesseur pour extraire des valeurs via un chemin de points", "query": "path lookup generator", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lang": "fr", "candidates": [{"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "ルーティングのテスト中に、リクエストが最初の一回だけ正しく処理されているかを確認したいです。呼び出し回数をカウントして、初回のみを通すミドルウェアがどこにあるか教えてください。", "query": "increment count middleware", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lang": "ja", "candidates": [{"text": "File: test/app.use.js\nLine 92: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nLine 439: .expect(200, '{\"user\":\"tobi\"}', done)", "file": "test/express.urlencoded.js", "symbol": "", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 432: })", "file": "test/res.sendFile.js", "symbol": "", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 493: .expect('x-fn-2', 'hit')", "file": "test/app.use.js", "symbol": "", "line": 493, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 80: .get('/')", "file": "test/res.location.js", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 1163: var router = new express.Router();", "file": "test/app.router.js", "symbol": "", "line": 1163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nLine 169: Object.setPrototypeOf(req, this.request)", "file": "lib/application.js", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 624: })", "file": "test/express.json.js", "symbol": "", "line": 624, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 76: it('should otherwise return the value', function(){", "file": "test/config.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 19: });", "file": "examples/view-locals/user.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 3: var after = require('after');", "file": "test/app.use.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 43: }).join('') + '';", "file": "examples/online/index.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 77: // the locals within each middleware", "file": "examples/view-locals/index.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 491: test.expect(415, '[charset.unsupported] unsupported charset \"X-BOGUS\"', done)", "file": "test/express.text.js", "symbol": "", "line": 491, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 692: })", "file": "test/res.sendFile.js", "symbol": "", "line": 692, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 55: res.end()", "file": "test/res.append.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 40: app.get('/users', format('./users'));", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 37: }).join('; ');", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 70: app.get('/', function(req, res){", "file": "examples/route-middleware/index.js", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 347: next()", "file": "test/express.raw.js", "symbol": "", "line": 347, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "ルーティングのテスト中に、リクエストが最初の一回だけ正しく処理されているかを確認したいです。呼び出し回数をカウントして、初回のみを通すミドルウェアがどこにあるか教えてください。", "query": "increment count middleware", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lang": "ja", "candidates": [{"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\ndefines fn1", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "ルーティングのテスト中に、リクエストが最初の一回だけ正しく処理されているかを確認したいです。呼び出し回数をカウントして、初回のみを通すミドルウェアがどこにあるか教えてください。", "query": "increment count middleware", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lang": "ja", "candidates": [{"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Where is the setting that automatically removes extra spaces at the end of lines configured?", "query": "trailing whitespace trim", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lang": "en", "candidates": [{"text": "File: lib/utils.js\nLine 180: throw new TypeError('unknown value for query parser function: ' + val);", "file": "lib/utils.js", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 1166: res.setHeader('old', 'foo');", "file": "test/app.router.js", "symbol": "", "line": 1166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 43: var res = Object.create(http.ServerResponse.prototype)", "file": "lib/response.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 344: app.render('user.tmpl', undefined, function (err2, str2) {", "file": "test/app.render.js", "symbol": "", "line": 344, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 102: .type('urlencoded')", "file": "test/acceptance/auth.js", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 10: this.species = species;", "file": "examples/view-locals/user.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 522: .get('/zoo/bear')", "file": "test/app.use.js", "symbol": "", "line": 522, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 36: res.format(obj);", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 1: 'use strict'", "file": "test/app.engine.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 379: })", "file": "test/app.render.js", "symbol": "", "line": 379, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 43: app.set('trust proxy', '10.0.0.1, 10.0.0.2, 127.0.0.1, ::1')", "file": "test/req.ip.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 343: it('should ignore \"application/x-json\"', function (done) {", "file": "test/express.json.js", "symbol": "", "line": 343, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 9: return;", "file": "test/support/tmpl.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 367: }", "file": "test/res.render.js", "symbol": "", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 62: if (err) return done(err);", "file": "test/app.engine.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 649: it('is taken to be equal to one less than the current length', function (done) {", "file": "test/express.static.js", "symbol": "", "line": 649, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 73: */", "file": "lib/utils.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/Router.js\nLine 66: var router = new Router()", "file": "test/Router.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 46: // from app.get() etc", "file": "examples/error/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 236: // format type", "file": "lib/utils.js", "symbol": "", "line": 236, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 26: * Redis Initialization", "file": "examples/search/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 48: res.append('Set-Cookie', 'foo=bar')", "file": "test/res.append.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 34: res.end()", "file": "test/res.append.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Where is the setting that automatically removes extra spaces at the end of lines configured?", "query": "trailing whitespace trim", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lang": "en", "candidates": [{"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines trim_trailing_whitespace", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Where is the setting that automatically removes extra spaces at the end of lines configured?", "query": "trailing whitespace trim", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lang": "en", "candidates": [{"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=478-501\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 478, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "express", "task": "find the test that forces an error when handling a request body", "query": "throw error request", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lang": "en", "candidates": [{"text": "File: examples/auth/index.js\nLine 28: // Session-persisted message middleware", "file": "examples/auth/index.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 497: res.end('tj');", "file": "test/app.router.js", "symbol": "", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 126: it('should accept multiple arguments', function (done) {", "file": "test/app.use.js", "symbol": "", "line": 126, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nLine 382: function accept (req) {", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/utils.js\nLine 81: * Parse accept params `str` returning an", "file": "lib/utils.js", "symbol": "", "line": 81, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 385: .post('/')", "file": "test/express.raw.js", "symbol": "", "line": 385, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 771: }", "file": "lib/response.js", "symbol": "", "line": 771, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 123: res.send(req.params.name);", "file": "test/app.router.js", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 128: var accept = accepts(this);", "file": "lib/request.js", "symbol": "", "line": 128, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 2: root = true", "file": ".editorconfig", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 116: it('should accept number of bytes', function (done) {", "file": "test/express.raw.js", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\nLine 332: *", "file": "lib/request.js", "symbol": "", "line": 332, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 29: it('should accept array of values', function (done) {", "file": "test/res.append.js", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\nLine 63: */", "file": "lib/response.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 353: * @return {Array}", "file": "lib/request.js", "symbol": "", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 153: var app = express();", "file": "test/app.use.js", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 156: });", "file": "lib/view.js", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 182: stat = tryStat(path);", "file": "lib/view.js", "symbol": "", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 166: res.req = req;", "file": "lib/application.js", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 217: it('should not accept content-encoding', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 217, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nLine 8: var app1 = express();", "file": "test/res.format.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 6: * MIT Licensed", "file": "lib/view.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 94: .expect('

tobi

', done);", "file": "test/res.render.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 511: test.write(Buffer.from('6e616d6520697320e8aeba', 'hex'))", "file": "test/express.text.js", "symbol": "", "line": 511, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "find the test that forces an error when handling a request body", "query": "throw error request", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lang": "en", "candidates": [{"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\ndefines accept", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "find the test that forces an error when handling a request body", "query": "throw error request", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lang": "en", "candidates": [{"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "このミドルウェアの処理内容と、レスポンスヘッダーに何を設定しているか教えてください。", "query": "fn2 middleware x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lang": "ja", "candidates": [{"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nLine 428: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/req.ip.js\nLine 66: request(app)", "file": "test/req.ip.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 304: })", "file": "test/app.render.js", "symbol": "", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 31: value = value[parts[i]];", "file": "test/support/tmpl.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 96: });", "file": "test/req.ip.js", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 110: return server.address().address === '::'", "file": "test/req.ip.js", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 5: // faux model", "file": "examples/view-locals/user.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 53: res.format({", "file": "test/res.format.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 115: res.location(new URL('http://google.com/')).end();", "file": "test/res.location.js", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 89: function acceptParams (str) {", "file": "lib/utils.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 68: this.ext = this.defaultEngine[0] !== '.'", "file": "lib/view.js", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 1: 'use strict'", "file": "test/res.sendFile.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 227: assert.ok(err)", "file": "test/res.sendFile.js", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 628: router.handle(req2, {}, function (err) {", "file": "test/Router.js", "symbol": "", "line": 628, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 194: exports.compileTrust = function(val) {", "file": "lib/utils.js", "symbol": "", "line": 194, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 132: var app = express();", "file": "test/app.router.js", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 195: var app = createRedirectServerForDomain('google.com');", "file": "test/res.location.js", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nLine 59: app.locals.user = { name: 'tobi' };", "file": "test/app.engine.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 10: if (err) return fn(err);", "file": "test/app.engine.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 94: test(app2);", "file": "test/res.format.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 343: app.set('views', path.join(__dirname, 'fixtures'))", "file": "test/res.render.js", "symbol": "", "line": 343, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "このミドルウェアの処理内容と、レスポンスヘッダーに何を設定しているか教えてください。", "query": "fn2 middleware x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lang": "ja", "candidates": [{"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "このミドルウェアの処理内容と、レスポンスヘッダーに何を設定しているか教えてください。", "query": "fn2 middleware x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lang": "ja", "candidates": [{"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "How do I parse a media type string and extract its quality factor and parameters?", "query": "media type parser", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lang": "en", "candidates": [{"text": "File: examples/content-negotiation/index.js\nLine 18: res.send(users.map(function(user){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 20: it('should display 1 view on revisit', function (done) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 50: })", "file": "test/app.engine.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 340: it('should pass it to the callback', function(done){", "file": "test/res.render.js", "symbol": "", "line": 340, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 553: it('should get called when sending file', function (done) {", "file": "test/express.static.js", "symbol": "", "line": 553, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 466: * @public", "file": "lib/request.js", "symbol": "", "line": 466, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 10: }", "file": "test/support/tmpl.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 17: var mixin = require('merge-descriptors');", "file": "lib/express.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 89: function acceptParams (str) {", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/auth.js\nLine 26: request(app)", "file": "test/acceptance/auth.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 53: .expect(200, { buf: '' }, done)", "file": "test/express.raw.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 206: })", "file": "test/config.js", "symbol": "", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 91: })", "file": "test/req.query.js", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 59: * Expose the prototypes.", "file": "lib/express.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 533: });", "file": "test/Router.js", "symbol": "", "line": 533, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 47: app.use(error);", "file": "examples/error/index.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 23: */", "file": "lib/view.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 192: });", "file": "test/res.location.js", "symbol": "", "line": 192, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 170: var ext = this.ext;", "file": "lib/view.js", "symbol": "", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 552: view = new View(name, {", "file": "lib/application.js", "symbol": "", "line": 552, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 900: var req = this.req;", "file": "lib/response.js", "symbol": "", "line": 900, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 36: return val.split(';')[0]", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 673: test.expect('x-store-foo', 'bar')", "file": "test/express.urlencoded.js", "symbol": "", "line": 673, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 14: // error handling middleware have an arity of 4", "file": "examples/error/index.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "How do I parse a media type string and extract its quality factor and parameters?", "query": "media type parser", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lang": "en", "candidates": [{"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\ndefines acceptParams", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "How do I parse a media type string and extract its quality factor and parameters?", "query": "media type parser", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lang": "en", "candidates": [{"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "生成包含多个键值对的查询字符串", "query": "create query string", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lang": "zh", "candidates": [{"text": "File: test/res.sendFile.js\nLine 216: assert.ok(err)", "file": "test/res.sendFile.js", "symbol": "", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 6: // then:", "file": "examples/search/index.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 66: * @param {string} header Header name to check", "file": "test/support/utils.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 49: */", "file": "lib/utils.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 569: test.write(Buffer.from('1f8b080000000000000bab56ca4bcc4d55b2527ab16e97522d00515be1cc0e000000', 'hex'))", "file": "test/express.json.js", "symbol": "", "line": 569, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 12: try {", "file": "test/support/tmpl.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 53: }", "file": "examples/error/index.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 179: *", "file": "lib/request.js", "symbol": "", "line": 179, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 2: root = true", "file": ".editorconfig", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 60: // Middleware for faux authentication", "file": "examples/route-middleware/index.js", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 33: function format(path) {", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 14: } catch (e) {", "file": "test/support/tmpl.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 499: * res.type('application/json');", "file": "lib/response.js", "symbol": "", "line": 499, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 29: app1.use(function(err, req, res, next){", "file": "test/res.format.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 38: */", "file": "lib/utils.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 37: var app = function(req, res, next) {", "file": "lib/express.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 94: this.path = this.lookup(fileName);", "file": "lib/view.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 257: }", "file": "lib/utils.js", "symbol": "", "line": 257, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 549: it('should override Content-Type', function (done) {", "file": "test/res.sendFile.js", "symbol": "", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 84: * @param {String} str", "file": "lib/utils.js", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 22: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 73: it('should succeed with proper cookie', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 32: });", "file": "examples/error/index.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 788: function createManyParams (count) {", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "express", "task": "生成包含多个键值对的查询字符串", "query": "create query string", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lang": "zh", "candidates": [{"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\ndefines createManyParams", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "生成包含多个键值对的查询字符串", "query": "create query string", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lang": "zh", "candidates": [{"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "ファイルストリームをパイプしてレスポンスに送信する", "query": "send file stream", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lang": "ja", "candidates": [{"text": "File: test/config.js\nLine 115: assert.equal(blog.get('trust proxy'), fn);", "file": "test/config.js", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 87: if (!module.parent) {", "file": "examples/route-middleware/index.js", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 51: app.listen(3000);", "file": "examples/error/index.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 178: var test = request(app).post('/')", "file": "test/express.json.js", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 47: if (err) return done(err)", "file": "test/acceptance/auth.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 21: },", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 923: function sendfile(res, file, options, callback) {", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.use.js\nLine 19: })", "file": "test/app.use.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 127: assert.equal(app.get('trust proxy'), fn1);", "file": "test/config.js", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 418: .send('the user is ' + Buffer.alloc(1024 * 100, '.').toString())", "file": "test/express.raw.js", "symbol": "", "line": 418, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 21: app.set('views', path.join(__dirname, 'fixtures'))", "file": "test/app.engine.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 25: request(app)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 36: GithubView.prototype.render = function(options, fn){", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 14: res.location('http://google.com/').end();", "file": "test/res.location.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 208: request(app)", "file": "test/res.format.js", "symbol": "", "line": 208, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 34: function getCookies(res) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 13: User.all = function(fn){", "file": "examples/view-locals/user.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 52: next();", "file": "examples/view-locals/index.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 285: var app = express();", "file": "test/app.use.js", "symbol": "", "line": 285, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 273: return true", "file": "test/express.text.js", "symbol": "", "line": 273, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 30: var users = [];", "file": "examples/view-locals/user.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 178: 'google.com',", "file": "test/res.location.js", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 42: });", "file": "examples/error/index.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "ファイルストリームをパイプしてレスポンスに送信する", "query": "send file stream", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lang": "ja", "candidates": [{"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "ファイルストリームをパイプしてレスポンスに送信する", "query": "send file stream", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lang": "ja", "candidates": [{"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Como adicionar o cabeçalho 'x-fn-2' com o valor 'hit' à resposta e chamar o próximo middleware?", "query": "set header next middleware", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lang": "pt", "candidates": [{"text": "File: examples/auth/index.js\nLine 58: // Authenticate using our plain-object database of doom!", "file": "examples/auth/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 35: })", "file": "test/res.append.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 108: it('should succeed with proper credentials', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 52: console.log('Express started on port 3000');", "file": "examples/error/index.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 170: it('should lookup in later paths until found', function(done){", "file": "test/app.render.js", "symbol": "", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 76: })", "file": "test/res.append.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 400: var app = createApp({", "file": "test/express.json.js", "symbol": "", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 447: } else if (typeof options === 'function') {", "file": "lib/response.js", "symbol": "", "line": 447, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 181: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nLine 107: request(app)", "file": "test/res.render.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nLine 8: callback(err);", "file": "test/support/tmpl.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 92: this.timeout(5000) // long-running test", "file": "test/Router.js", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 81: request(app)", "file": "test/acceptance/auth.js", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nLine 30: * @private", "file": "lib/application.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nLine 74: it('should return the remote address', function(done){", "file": "test/req.ip.js", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 550: var app = express()", "file": "test/res.sendFile.js", "symbol": "", "line": 550, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 146: .set('Accept', 'text/plain')", "file": "test/res.format.js", "symbol": "", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 111: // and in various combinations, so if you have locals", "file": "examples/view-locals/index.js", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 232: var test = request(this.app).post('/')", "file": "test/express.raw.js", "symbol": "", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 169: });", "file": "test/res.location.js", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 384: describe('with redirect: false', function () {", "file": "test/express.static.js", "symbol": "", "line": 384, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Como adicionar o cabeçalho 'x-fn-2' com o valor 'hit' à resposta e chamar o próximo middleware?", "query": "set header next middleware", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lang": "pt", "candidates": [{"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Como adicionar o cabeçalho 'x-fn-2' com o valor 'hit' à resposta e chamar o próximo middleware?", "query": "set header next middleware", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lang": "pt", "candidates": [{"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "onde está a função que sempre retorna verdadeiro para validar a requisição no teste de parsing de JSON?", "query": "return true req", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lang": "pt", "candidates": [{"text": "File: examples/online/index.js\nLine 55: });", "file": "examples/online/index.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 123: + ' username and password.'", "file": "examples/auth/index.js", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 370: function accept (req) {", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\nLine 128: var accept = accepts(this);", "file": "lib/request.js", "symbol": "", "line": 128, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nLine 30: var users = [];", "file": "examples/view-locals/user.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 214: this.app = createApp({ inflate: false })", "file": "test/express.urlencoded.js", "symbol": "", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 149: .expect('Location', expected)", "file": "test/res.location.js", "symbol": "", "line": 149, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 382: it('should not advertise accept-ranges', function (done) {", "file": "test/res.sendFile.js", "symbol": "", "line": 382, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nLine 147: * in the event of an error bubbling through the stack.", "file": "lib/application.js", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 66: * template.", "file": "examples/search/index.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: [{*.js,*.json,*.yml}]", "file": ".editorconfig", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 22: app.use(session({", "file": "examples/auth/index.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 46: var buf = '';", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 116: it('should accept number of bytes', function (done) {", "file": "test/express.raw.js", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nLine 42: });", "file": "test/res.format.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 42: })", "file": "test/res.append.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 69: function shouldNotHaveHeader(header) {", "file": "test/support/utils.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 46: /**", "file": "examples/online/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 29: it('should accept array of values', function (done) {", "file": "test/res.append.js", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nLine 477: it('should accept array of middleware', function (done) {", "file": "test/Router.js", "symbol": "", "line": 477, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 1: 'use strict'", "file": "test/config.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 520: */", "file": "lib/application.js", "symbol": "", "line": 520, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 334: it('should accept null or undefined options', function (done) {", "file": "test/app.render.js", "symbol": "", "line": 334, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\nLine 25: /**", "file": "lib/request.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "onde está a função que sempre retorna verdadeiro para validar a requisição no teste de parsing de JSON?", "query": "return true req", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lang": "pt", "candidates": [{"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\ndefines accept", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "onde está a função que sempre retorna verdadeiro para validar a requisição no teste de parsing de JSON?", "query": "return true req", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lang": "pt", "candidates": [{"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Ich versuche gerade, die Middleware-Kette in meinen Tests zu debuggen. Kannst du mir zeigen, wo dieser Teil definiert ist, der einen speziellen Header in der Antwort setzt und dann zur nächsten Funktion weiterleitet?", "query": "res.setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lang": "de", "candidates": [{"text": "File: lib/response.js\nLine 219: }", "file": "lib/response.js", "symbol": "", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 25: res.status(500);", "file": "examples/error/index.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 167: */", "file": "lib/view.js", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 143: app.locals.user = { name: 'tobi' };", "file": "test/app.render.js", "symbol": "", "line": 143, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 21: , { id: 1, name: 'ciaran', email: 'ciaranj@gmail.com', role: 'member' }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 47: * @param {string} name", "file": "lib/view.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nLine 5: */", "file": "examples/error/index.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 13: app.enable('trust proxy');", "file": "test/req.ip.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 400: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/search/index.js\nLine 59: });", "file": "examples/search/index.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 91: request(app)", "file": "test/res.location.js", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nLine 58: if (!module.parent) {", "file": "examples/online/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 20: }", "file": "test/support/tmpl.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 166: done();", "file": "test/app.render.js", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nLine 10: res.format({", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 456: * Disable `setting`.", "file": "lib/application.js", "symbol": "", "line": 456, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 15: err = e;", "file": "test/support/tmpl.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 2: var request = require('supertest')", "file": "test/acceptance/auth.js", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 32: /**", "file": "lib/request.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 419: throw err", "file": "test/express.json.js", "symbol": "", "line": 419, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Ich versuche gerade, die Middleware-Kette in meinen Tests zu debuggen. Kannst du mir zeigen, wo dieser Teil definiert ist, der einen speziellen Header in der Antwort setzt und dann zur nächsten Funktion weiterleitet?", "query": "res.setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lang": "de", "candidates": [{"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Ich versuche gerade, die Middleware-Kette in meinen Tests zu debuggen. Kannst du mir zeigen, wo dieser Teil definiert ist, der einen speziellen Header in der Antwort setzt und dann zur nächsten Funktion weiterleitet?", "query": "res.setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lang": "de", "candidates": [{"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "trouve le middleware qui ajoute un header personnalisé à la réponse", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lang": "fr", "candidates": [{"text": "File: examples/content-negotiation/index.js\nLine 27: });", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 107: .get('/todo.txt')", "file": "test/express.static.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 11: // create an error with .status. we", "file": "examples/web-service/index.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 9: this.age = age;", "file": "examples/view-locals/user.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 62: }", "file": "lib/view.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 260: var test = request(app).post('/')", "file": "test/express.raw.js", "symbol": "", "line": 260, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 352: if (arguments.length === 1) {", "file": "lib/application.js", "symbol": "", "line": 352, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 24: var app = express()", "file": "test/express.raw.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 34: assert.strictEqual(body.toString('hex'), buf.toString('hex'))", "file": "test/support/utils.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 31: var key = req.query['api-key'];", "file": "examples/web-service/index.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 62: request(app)", "file": "test/res.render.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 866: };", "file": "lib/response.js", "symbol": "", "line": 866, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 35: var app2 = express();", "file": "test/res.format.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 59: assert.ok(res.text === '' || res.text === undefined)", "file": "test/support/utils.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 678: app.use(function (req, res) {", "file": "test/res.sendFile.js", "symbol": "", "line": 678, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 36: it('should return undefined for prototype values', function () {", "file": "test/config.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 278: .expect(413, done)", "file": "test/express.urlencoded.js", "symbol": "", "line": 278, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 660: * When the set header is \"Content-Type\", the type is expanded to include", "file": "lib/response.js", "symbol": "", "line": 660, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 7: // $ npm install redis", "file": "examples/search/index.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 383: var app = express()", "file": "test/res.sendFile.js", "symbol": "", "line": 383, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 423: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "express", "task": "trouve le middleware qui ajoute un header personnalisé à la réponse", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lang": "fr", "candidates": [{"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "trouve le middleware qui ajoute un header personnalisé à la réponse", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lang": "fr", "candidates": [{"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "définir l'encodage de fichier sur utf-8", "query": "charset utf-8", "file": ".editorconfig", "symbol": "charset", "line": 5, "lang": "fr", "candidates": [{"text": "File: lib/view.js\nLine 34: */", "file": "lib/view.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 49: /* istanbul ignore next */", "file": "examples/error/index.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 217: * Set the charset in a given Content-Type string.", "file": "lib/utils.js", "symbol": "", "line": 217, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nLine 38: */", "file": "examples/online/index.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 13: app.enable('trust proxy');", "file": "test/req.ip.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 34: if (!key) return next(error(400, 'api key required'));", "file": "examples/web-service/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 13: User.all = function(fn){", "file": "examples/view-locals/user.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 28: // faux database", "file": "examples/view-locals/user.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 175: ]", "file": "test/app.render.js", "symbol": "", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 480: it('should default to utf-8', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 480, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 45: // if it were above it would not receive errors", "file": "examples/error/index.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 289: // restrict callback charset", "file": "lib/response.js", "symbol": "", "line": 289, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nLine 102: 'text/plain; charset=utf-8': function(){ res.send('hey') },", "file": "test/res.format.js", "symbol": "", "line": 102, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nLine 9: var app = express();", "file": "examples/route-middleware/index.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 13: User.all = function(fn){", "file": "examples/view-locals/user.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 78: it('should change default charset', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 78, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.static.js\nLine 45: .expect('Content-Type', 'text/plain; charset=utf-8')", "file": "test/express.static.js", "symbol": "", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 63: })", "file": "test/res.append.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 76: it('should otherwise return the value', function(){", "file": "test/config.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 72: };", "file": "test/support/utils.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 146: * Checks if the specified `charset`s are acceptable based on the request's `Accept-Charset` header.", "file": "lib/request.js", "symbol": "", "line": 146, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 5: describe('cookie-sessions', function () {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 34: }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "définir l'encodage de fichier sur utf-8", "query": "charset utf-8", "file": ".editorconfig", "symbol": "charset", "line": 5, "lang": "fr", "candidates": [{"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines charset", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "définir l'encodage de fichier sur utf-8", "query": "charset utf-8", "file": ".editorconfig", "symbol": "charset", "line": 5, "lang": "fr", "candidates": [{"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "find the middleware that sets a specific custom header and terminates the response", "query": "setHeader x-fn-3", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lang": "en", "candidates": [{"text": "File: .editorconfig\nLine 11: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 15: module.exports = GithubView;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 24: if (err) return done(err)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 377: function fn3(req, res, next) {", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.sendFile.js\nLine 353: acceptRanges: true", "file": "test/res.sendFile.js", "symbol": "", "line": 353, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 53: }", "file": "examples/error/index.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 21: },", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 17: var mixin = require('merge-descriptors');", "file": "lib/express.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 403: .set('Content-Type', 'application/x-www-form-urlencoded')", "file": "test/express.urlencoded.js", "symbol": "", "line": 403, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 651: *", "file": "lib/response.js", "symbol": "", "line": 651, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 54: app.init();", "file": "lib/express.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 127: app.set('view engine', 'tmpl');", "file": "test/app.render.js", "symbol": "", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 73: assert.strictEqual(app.get('hasOwnProperty'), undefined)", "file": "test/config.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 350: })", "file": "test/app.render.js", "symbol": "", "line": 350, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 61: .expect(shouldHaveHeaderValues('Set-Cookie', ['pet=tobi']))", "file": "test/res.append.js", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 23: app.locals.user = { name: 'tobi' };", "file": "test/app.engine.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 63: exports.request = req;", "file": "lib/express.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 66: * template.", "file": "examples/search/index.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 949: function fn3(err, req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 949, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nLine 66: // the hash against the pass / salt, if there is a match we", "file": "examples/auth/index.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 375: next();", "file": "test/Router.js", "symbol": "", "line": 375, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 808: request(app)", "file": "test/app.router.js", "symbol": "", "line": 808, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "find the middleware that sets a specific custom header and terminates the response", "query": "setHeader x-fn-3", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lang": "en", "candidates": [{"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\ndefines fn3", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "find the middleware that sets a specific custom header and terminates the response", "query": "setHeader x-fn-3", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lang": "en", "candidates": [{"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "触发目录读取失败的错误处理", "query": "directory error", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lang": "zh", "candidates": [{"text": "File: test/support/utils.js\nLine 23: *", "file": "test/support/utils.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 938: function ondirectory() {", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.raw.js\nLine 366: }", "file": "test/express.raw.js", "symbol": "", "line": 366, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 89: test.set('Content-Type', 'text/plain; charset=utf-8')", "file": "test/express.text.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 730: test.expect(415, '[charset.unsupported] unsupported charset \"KOI8-R\"', done)", "file": "test/express.urlencoded.js", "symbol": "", "line": 730, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 146: test.expect(413, done)", "file": "test/express.raw.js", "symbol": "", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 345: /**", "file": "lib/request.js", "symbol": "", "line": 345, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 59: app.locals.user = { name: 'tobi' };", "file": "test/app.engine.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 7: describe('res', function () {", "file": "test/res.append.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 347: if (err) {", "file": "test/res.render.js", "symbol": "", "line": 347, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 1: 'use strict'", "file": "test/req.query.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 48: res.on('data', function(str){ buf += str });", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 82: });", "file": "examples/web-service/index.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 11: })", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 28: function shouldHaveBody (buf) {", "file": "test/support/utils.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 131: var fn;", "file": "lib/utils.js", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 435: var router = new Router()", "file": "test/Router.js", "symbol": "", "line": 435, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 311: this.app = createApp(fixtures, { 'fallthrough': true, 'redirect': false })", "file": "test/express.static.js", "symbol": "", "line": 311, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 211: .expect('Content-Type', 'text/html; charset=utf-8', cb)", "file": "test/res.format.js", "symbol": "", "line": 211, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 96: // in order, but ONLY those with an arity of 4, ignoring", "file": "examples/web-service/index.js", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 58: if (!module.parent) {", "file": "examples/online/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 75: */", "file": "lib/express.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 30: * Create an express application.", "file": "lib/express.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "触发目录读取失败的错误处理", "query": "directory error", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lang": "zh", "candidates": [{"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "触发目录读取失败的错误处理", "query": "directory error", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lang": "zh", "candidates": [{"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "쿼리 파싱 설정을 커스터마이징해서 테스트할 수 있는 간단한 서버 생성 로직이 어디에 있지? 요청받은 쿼리 객체를 그대로 응답으로 돌려주는 구조면 좋겠어.", "query": "create express app", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lang": "ko", "candidates": [{"text": "File: test/support/utils.js\nLine 82: // upstream tracking https://github.com/nodejs/node/issues/51562", "file": "test/support/utils.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 84: app.get('/', function(req, res){", "file": "examples/auth/index.js", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 115: var dir = dirname(loc);", "file": "lib/view.js", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 11: this.app = createApp()", "file": "test/express.text.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nLine 265: })", "file": "test/res.render.js", "symbol": "", "line": 265, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 166: .expect(function (res) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 11: var app = createApp();", "file": "test/app.render.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nLine 15: function error(status, msg) {", "file": "examples/web-service/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 406: router.get(/\\/user:(\\w+)\\//, function (req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 406, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 12: this.app = createApp()", "file": "test/express.urlencoded.js", "symbol": "", "line": 12, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nLine 78: exports.raw = bodyParser.raw", "file": "lib/express.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 12: this.app = createApp()", "file": "test/express.raw.js", "symbol": "", "line": 12, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nLine 160: var router = express.Router();", "file": "test/res.format.js", "symbol": "", "line": 160, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 29: // or you could write a tiny middleware like", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 419: throw err", "file": "test/express.json.js", "symbol": "", "line": 419, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 29: app.get('/', function () {", "file": "examples/error/index.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 23: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 45: };", "file": "examples/auth/index.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 94: function createApp(setting) {", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nLine 295: .get('/')", "file": "test/res.render.js", "symbol": "", "line": 295, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 334: request(this.app)", "file": "test/express.static.js", "symbol": "", "line": 334, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 19: this.app = createApp()", "file": "test/express.static.js", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\nLine 990: file.on('end', onend);", "file": "lib/response.js", "symbol": "", "line": 990, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 12: request(createApp())", "file": "test/express.json.js", "symbol": "", "line": 12, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "쿼리 파싱 설정을 커스터마이징해서 테스트할 수 있는 간단한 서버 생성 로직이 어디에 있지? 요청받은 쿼리 객체를 그대로 응답으로 돌려주는 구조면 좋겠어.", "query": "create express app", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lang": "ko", "candidates": [{"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\ndefines createApp", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "쿼리 파싱 설정을 커스터마이징해서 테스트할 수 있는 간단한 서버 생성 로직이 어디에 있지? 요청받은 쿼리 객체를 그대로 응답으로 돌려주는 구조면 좋겠어.", "query": "create express app", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lang": "ko", "candidates": [{"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "How does the cleanup logic trigger the final callback when the stream or process finishes?", "query": "onend callback done", "file": "lib/response.js", "symbol": "onend", "line": 955, "lang": "en", "candidates": [{"text": "File: examples/auth/index.js\nLine 82: }", "file": "examples/auth/index.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 39: };", "file": "lib/express.js", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 102: blog.get('/', function(req, res){", "file": "test/app.use.js", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 470: var method = this.method;", "file": "lib/request.js", "symbol": "", "line": 470, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 369: break;", "file": "lib/application.js", "symbol": "", "line": 369, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 198: assert.ok(err)", "file": "test/app.render.js", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 19: * remove github templates. You could", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 577: sub.get('/bar', function (req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 577, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 19: callback(err, str);", "file": "test/support/tmpl.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 322: app.param = function param(name, fn) {", "file": "lib/application.js", "symbol": "", "line": 322, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 36: GithubView.prototype.render = function(options, fn){", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 128: /*", "file": "examples/view-locals/index.js", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 70: exports.Route = Router.Route;", "file": "lib/express.js", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 44: // map of valid api keys, typically mapped to", "file": "examples/web-service/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 64: });", "file": "test/req.ip.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 82: test.set('X-Forwarded-For', 'client, p1, p2')", "file": "test/req.ip.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 255: app.locals.user = { name: 'tobi' };", "file": "test/res.render.js", "symbol": "", "line": 255, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 955: function onend() {", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.sendFile.js\nLine 561: .get('/')", "file": "test/res.sendFile.js", "symbol": "", "line": 561, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 121: });", "file": "examples/view-locals/index.js", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 372: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 22: fs.readFile(fileName, 'utf8', onReadFile);", "file": "test/support/tmpl.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 78: exports.raw = bodyParser.raw", "file": "lib/express.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 48: /**", "file": "examples/search/index.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "How does the cleanup logic trigger the final callback when the stream or process finishes?", "query": "onend callback done", "file": "lib/response.js", "symbol": "onend", "line": 955, "lang": "en", "candidates": [{"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "How does the cleanup logic trigger the final callback when the stream or process finishes?", "query": "onend callback done", "file": "lib/response.js", "symbol": "onend", "line": 955, "lang": "en", "candidates": [{"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "オブジェクトにゲッターを定義する関数を探して", "query": "define getter property", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lang": "ja", "candidates": [{"text": "File: examples/content-negotiation/index.js\nLine 26: });", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 26: * Redis Initialization", "file": "examples/search/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 148: .expect(200)", "file": "test/res.location.js", "symbol": "", "line": 148, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 137: switch (val) {", "file": "lib/utils.js", "symbol": "", "line": 137, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 88: app.use(function (req, res, next) {", "file": "test/res.append.js", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 90: var test = request(app).post('/')", "file": "test/express.raw.js", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 13: */", "file": "lib/express.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 31: // fire-and-forget", "file": "examples/online/index.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 37: })", "file": "examples/view-locals/index.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 344: var app = express();", "file": "test/app.use.js", "symbol": "", "line": 344, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 34: */", "file": "lib/express.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 60: console.log('Express started on port 3000');", "file": "examples/online/index.js", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 49: * GET search for :query.", "file": "examples/search/index.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 299: })", "file": "test/express.text.js", "symbol": "", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 10: /**", "file": "examples/online/index.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 94: request(this.app)", "file": "test/express.urlencoded.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 266: request(this.app)", "file": "test/express.static.js", "symbol": "", "line": 266, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 30: app.use('/api', function(req, res, next){", "file": "examples/web-service/index.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 73: });", "file": "test/req.query.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 816: var body;", "file": "lib/response.js", "symbol": "", "line": 816, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 521: function defineGetter(obj, name, getter) {", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/tmpl.js\nLine 31: value = value[parts[i]];", "file": "test/support/tmpl.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 240: /**", "file": "lib/utils.js", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 35: // We can also pass exceptions to next()", "file": "examples/error/index.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "オブジェクトにゲッターを定義する関数を探して", "query": "define getter property", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lang": "ja", "candidates": [{"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "オブジェクトにゲッターを定義する関数を探して", "query": "define getter property", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lang": "ja", "candidates": [{"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=478-501\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 478, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "suche die konstruktion für die darstellung von komponenten mit pfad-eigenschaft", "query": "render view path", "file": "test/app.render.js", "symbol": "View", "line": 210, "lang": "de", "candidates": [{"text": "File: lib/response.js\nLine 966: // finished", "file": "lib/response.js", "symbol": "", "line": 966, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 27: exports = module.exports = createApplication;", "file": "lib/express.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 18: var View = require('./view');", "file": "lib/application.js", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nLine 60: function authenticate(name, pass, fn) {", "file": "examples/auth/index.js", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 610: })", "file": "test/express.json.js", "symbol": "", "line": 610, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 16: describe('app', function(){", "file": "test/app.engine.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 197: it('should ignore maxAge', function (done) {", "file": "test/express.static.js", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 31: *", "file": "lib/express.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 13: .expect('Location', '/login')", "file": "test/acceptance/auth.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 117: request(app)", "file": "test/app.use.js", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 400: var app = createApp({", "file": "test/express.json.js", "symbol": "", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 59: .get('/')", "file": "test/res.append.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 37: };", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 24: fn(null, users.length);", "file": "examples/view-locals/user.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 36: module.exports = View;", "file": "lib/view.js", "symbol": "", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nLine 12: * @public", "file": "test/support/utils.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 210: function View(name, options){", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/application.js\nLine 389: *", "file": "lib/application.js", "symbol": "", "line": 389, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 43: app.engine('html', render);", "file": "test/app.engine.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 6: * MIT Licensed", "file": "lib/view.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 9: var User = require('./user');", "file": "examples/view-locals/index.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 18: * Custom view that fetches and renders", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 523: it('should support deflate encoding', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 523, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 12: res.send('';", "file": "examples/online/index.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 107: res.render('index', { title: 'Users' });", "file": "examples/view-locals/index.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 59: app.set('trust proxy', 2);", "file": "test/req.ip.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 42: app.set('views', path.join(__dirname, 'fixtures'))", "file": "test/app.engine.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 531: * res.format({", "file": "lib/response.js", "symbol": "", "line": 531, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 136: assert.equal(app.get('trust proxy'), fn1);", "file": "test/config.js", "symbol": "", "line": 136, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 81: exports.urlencoded = bodyParser.urlencoded", "file": "lib/express.js", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 80: // Skipping HTTP QUERY tests below Node 22, QUERY wasn't fully supported by Node until 22", "file": "test/support/utils.js", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 236: // format type", "file": "lib/utils.js", "symbol": "", "line": 236, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 108: return function (res) {", "file": "test/res.append.js", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 165: var len;", "file": "lib/response.js", "symbol": "", "line": 165, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 1: 'use strict'", "file": "test/req.ip.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 781: it('should denote a format', function (done) {", "file": "test/app.router.js", "symbol": "", "line": 781, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nLine 11: res.format({", "file": "test/res.format.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nLine 93: // lookup path", "file": "lib/view.js", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 176: if (stat && stat.isFile()) {", "file": "lib/view.js", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 33: function format(path) {", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "express", "task": "create a middleware to apply content negotiation from a required module", "query": "content negotiation middleware", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lang": "en", "candidates": [{"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\ndefines format", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "create a middleware to apply content negotiation from a required module", "query": "content negotiation middleware", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lang": "en", "candidates": [{"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "フレームワークの本体となるアプリケーションインスタンスを生成し、リクエストおよびレスポンスオブジェクトにアプリケーションへの参照を紐付ける処理の実装を確認したい。また、イベントエミッターとしての機能やプロトタイプ継承が正しく行われているか調査が必要。", "query": "create application instance", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lang": "ja", "candidates": [{"text": "File: test/res.append.js\nLine 101: .expect(shouldHaveHeaderValues('Set-Cookie', ['foo=bar; Path=/', 'fizz=buzz']))", "file": "test/res.append.js", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 35: var app = createApp('extended');", "file": "test/req.query.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 481: 'last-modified': res.get('Last-Modified')", "file": "lib/request.js", "symbol": "", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 13: app.set('view engine', 'ejs');", "file": "examples/view-locals/index.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 35: users.push(new User('Luna', 1, 'cat'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 27: // activity tracking, in this case using", "file": "examples/online/index.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 60: });", "file": "test/res.render.js", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 499: route[methods[i]].apply(route, args);", "file": "lib/application.js", "symbol": "", "line": 499, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 8: // $ redis-server", "file": "examples/online/index.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 58: if (!module.parent) {", "file": "examples/online/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 62: // but this illustrates how an authenticated user", "file": "examples/route-middleware/index.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 264: it('should reject string as middleware', function () {", "file": "test/app.use.js", "symbol": "", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 354: var app = express();", "file": "test/app.render.js", "symbol": "", "line": 354, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 36: function createApplication() {", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/search/index.js\nLine 46: }", "file": "examples/search/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 456: opts = filename", "file": "lib/response.js", "symbol": "", "line": 456, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 966: // finished", "file": "lib/response.js", "symbol": "", "line": 966, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 48: res.append('Set-Cookie', 'foo=bar')", "file": "test/res.append.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 24: if (err) return done(err)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 204: }", "file": "lib/view.js", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 105: return app;", "file": "test/req.query.js", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 49: .get('/login')", "file": "test/acceptance/auth.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 32: users.push(new User('Tobi', 2, 'ferret'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 502: })", "file": "test/express.raw.js", "symbol": "", "line": 502, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "フレームワークの本体となるアプリケーションインスタンスを生成し、リクエストおよびレスポンスオブジェクトにアプリケーションへの参照を紐付ける処理の実装を確認したい。また、イベントエミッターとしての機能やプロトタイプ継承が正しく行われているか調査が必要。", "query": "create application instance", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lang": "ja", "candidates": [{"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\ndefines createApplication", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "フレームワークの本体となるアプリケーションインスタンスを生成し、リクエストおよびレスポンスオブジェクトにアプリケーションへの参照を紐付ける処理の実装を確認したい。また、イベントエミッターとしての機能やプロトタイプ継承が正しく行われているか調査が必要。", "query": "create application instance", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lang": "ja", "candidates": [{"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Wo wird der Header mit dem benutzerdefinierten Wert gesetzt, der bei jedem Request mitgeschickt wird?", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lang": "de", "candidates": [{"text": "File: test/express.text.js\nLine 60: it('should handle duplicated middleware', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 186: })", "file": "test/express.static.js", "symbol": "", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 34: res.end()", "file": "test/res.append.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 24: if (err) return done(err)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 38: // in real life it can be a DB read or HTTP request.", "file": "examples/error/index.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 475: })", "file": "test/express.static.js", "symbol": "", "line": 475, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 17: /**", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nLine 16: err.name = 'RenderError'", "file": "test/support/tmpl.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 37: * List helper.", "file": "examples/online/index.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 159: * @api private", "file": "lib/utils.js", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 64: * Assert that a supertest response does not have a header.", "file": "test/support/utils.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 37: // If our authenticated user is the user we are viewing", "file": "examples/route-middleware/index.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 140: })", "file": "test/config.js", "symbol": "", "line": 140, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 69: var app = express();", "file": "test/app.engine.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 82: // upstream tracking https://github.com/nodejs/node/issues/51562", "file": "test/support/utils.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 391: request(app)", "file": "test/res.sendFile.js", "symbol": "", "line": 391, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 31: .expect(200, '{\"foo\":[{\"bar\":\"baz\",\"fizz\":\"buzz\"},\"done!\"]}', done);", "file": "test/req.query.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 473: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/auth/index.js\nLine 58: // Authenticate using our plain-object database of doom!", "file": "examples/auth/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 196: it('should return false when set', function(){", "file": "test/config.js", "symbol": "", "line": 196, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 131: res.locals.user = req.user;", "file": "examples/view-locals/index.js", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "Wo wird der Header mit dem benutzerdefinierten Wert gesetzt, der bei jedem Request mitgeschickt wird?", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lang": "de", "candidates": [{"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Wo wird der Header mit dem benutzerdefinierten Wert gesetzt, der bei jedem Request mitgeschickt wird?", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lang": "de", "candidates": [{"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "busca la función que valida credenciales con hash y sal", "query": "authenticate hash salt", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lang": "es", "candidates": [{"text": "File: examples/view-constructor/github-view.js\nLine 42: method: 'GET'", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 3: * Copyright(c) 2009-2013 TJ Holowaychuk", "file": "lib/view.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 502: var router = new Router();", "file": "test/Router.js", "symbol": "", "line": 502, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 57: it('should redirect to /', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 17: });", "file": "test/req.ip.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 32: });", "file": "examples/error/index.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 37: var self = this;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 79: app.use('/post/:article', blog);", "file": "test/app.use.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 42: return '
  • ' + id + '
  • ';", "file": "examples/online/index.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 379: .expect({ buf: '746865207573657220697320746f6269' })", "file": "test/express.raw.js", "symbol": "", "line": 379, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 302: });", "file": "test/Router.js", "symbol": "", "line": 302, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 107: function shouldHaveHeaderValues (key, values) {", "file": "test/res.append.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 505: var test = request(app).post('/')", "file": "test/express.urlencoded.js", "symbol": "", "line": 505, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 115: res.location(new URL('http://google.com/')).end();", "file": "test/res.location.js", "symbol": "", "line": 115, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 72: .set('Content-Type', 'text/plain')", "file": "test/express.text.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 99: })", "file": "examples/view-locals/index.js", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 35: users.push(new User('Luna', 1, 'cat'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 113: assert.strictEqual(headers[i], values[i])", "file": "test/res.append.js", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 60: function authenticate(name, pass, fn) {", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/req.query.js\nLine 31: .expect(200, '{\"foo\":[{\"bar\":\"baz\",\"fizz\":\"buzz\"},\"done!\"]}', done);", "file": "test/req.query.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 103: })", "file": "test/req.ip.js", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 336: .expect('

    loki

    ', done);", "file": "test/res.render.js", "symbol": "", "line": 336, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 17: text: function(){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 44: }", "file": "examples/online/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "busca la función que valida credenciales con hash y sal", "query": "authenticate hash salt", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lang": "es", "candidates": [{"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\ndefines authenticate", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "busca la función que valida credenciales con hash y sal", "query": "authenticate hash salt", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lang": "es", "candidates": [{"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "encontra a função que trata erros e substitui variáveis no conteúdo lido", "query": "replace variable regexp", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lang": "pt", "candidates": [{"text": "File: test/express.urlencoded.js\nLine 148: request(this.app)", "file": "test/express.urlencoded.js", "symbol": "", "line": 148, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 526: .get('/get/zoo')", "file": "test/app.use.js", "symbol": "", "line": 526, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 15: })", "file": "test/acceptance/auth.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 44: }", "file": "examples/online/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 26: it('should require root path to be string', function () {", "file": "test/express.static.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 41: path: this.path,", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 6: function onReadFile(err, str) {", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\nLine 132: /**", "file": "lib/request.js", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 6: // then:", "file": "examples/online/index.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 635: });", "file": "test/Router.js", "symbol": "", "line": 635, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 85: }", "file": "test/support/utils.js", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 22: * @private", "file": "lib/view.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 108: app.use(function(req, res){", "file": "examples/web-service/index.js", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 88: var buf = Buffer.alloc(1028, '.')", "file": "test/express.raw.js", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 19: request(app)", "file": "test/req.ip.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 55: var app = createApp(function (str) {", "file": "test/req.query.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 6: * MIT Licensed", "file": "lib/view.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 44: }", "file": "examples/online/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 50: if (err) return next(err);", "file": "examples/view-locals/index.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 467: })", "file": "test/app.use.js", "symbol": "", "line": 467, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 294: })", "file": "test/app.use.js", "symbol": "", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 480: var fullPath = !opts.root", "file": "lib/response.js", "symbol": "", "line": 480, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 319: .expect(200, done);", "file": "test/app.use.js", "symbol": "", "line": 319, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 47: }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "encontra a função que trata erros e substitui variáveis no conteúdo lido", "query": "replace variable regexp", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lang": "pt", "candidates": [{"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\ndefines onReadFile", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "encontra a função que trata erros e substitui variáveis no conteúdo lido", "query": "replace variable regexp", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lang": "pt", "candidates": [{"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "adiciona middleware que define cabeçalho x-fn-1 para hit e chama next", "query": "middleware set header", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lang": "pt", "candidates": [{"text": "File: test/req.query.js\nLine 51: });", "file": "test/req.query.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nLine 590: })", "file": "test/app.router.js", "symbol": "", "line": 590, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 62: exports.application = proto;", "file": "lib/express.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 68: });", "file": "examples/route-middleware/index.js", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 313: app.render('user.tmpl', {}, function (err, str) {", "file": "test/app.render.js", "symbol": "", "line": 313, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 99: }", "file": "test/req.query.js", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 310: test.write(Buffer.from('000102', 'hex'))", "file": "test/express.raw.js", "symbol": "", "line": 310, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 367: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.json.js\nLine 229: this.app = createApp()", "file": "test/express.json.js", "symbol": "", "line": 229, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 94: .expect(200, done)", "file": "test/res.location.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 94: res.append('Set-Cookie', 'fizz=buzz')", "file": "test/res.append.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 230: // parse type", "file": "lib/utils.js", "symbol": "", "line": 230, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 96: it('should 413 when over limit with Content-Length', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 212: if (fns.length === 0) {", "file": "lib/application.js", "symbol": "", "line": 212, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 47: })", "file": "test/req.ip.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 56: var app = express();", "file": "test/req.ip.js", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nLine 79: if (!module.parent) {", "file": "examples/search/index.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 763: .get('/user/1/2/3/4')", "file": "test/app.router.js", "symbol": "", "line": 763, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 827: }", "file": "test/express.urlencoded.js", "symbol": "", "line": 827, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "adiciona middleware que define cabeçalho x-fn-1 para hit e chama next", "query": "middleware set header", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lang": "pt", "candidates": [{"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "adiciona middleware que define cabeçalho x-fn-1 para hit e chama next", "query": "middleware set header", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lang": "pt", "candidates": [{"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "응답 헤더에 특정 값을 추가하고 다음 미들웨어로 넘기는 로직 찾아줘", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lang": "ko", "candidates": [{"text": "File: examples/view-constructor/github-view.js\nLine 26: this.engine = options.engines[extname(name)];", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 66: it('should redirect to /login without cookie', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nLine 35: return function(req, res){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 105: // our custom JSON 404 middleware. Since it's placed last", "file": "examples/web-service/index.js", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 17: it('should default to parse simple keys', function (done) {", "file": "test/req.query.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 17: .expect(200, done)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 172: res.send('Supports: ' + err.types.join(', '))", "file": "test/res.format.js", "symbol": "", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 69: res.set('Set-Cookie', 'foo=bar')", "file": "test/res.append.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 274: var router = new Router();", "file": "test/Router.js", "symbol": "", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 246: })", "file": "test/res.format.js", "symbol": "", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 395: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nLine 60: */", "file": "lib/express.js", "symbol": "", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 332: .expect(200, '{\"user\":\"tobi\"}', done)", "file": "test/express.json.js", "symbol": "", "line": 332, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 172: })", "file": "test/res.sendFile.js", "symbol": "", "line": 172, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 64: var fileName = name;", "file": "lib/view.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nLine 67: var app = createApp(false);", "file": "test/req.query.js", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 75: })", "file": "test/express.text.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 5: var request = require('supertest');", "file": "test/res.render.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 19: // middleware", "file": "examples/auth/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 61: .expect(200, '{\"length\":17}', done);", "file": "test/req.query.js", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 46: var buf = '';", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "응답 헤더에 특정 값을 추가하고 다음 미들웨어로 넘기는 로직 찾아줘", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lang": "ko", "candidates": [{"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "응답 헤더에 특정 값을 추가하고 다음 미들웨어로 넘기는 로직 찾아줘", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lang": "ko", "candidates": [{"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "リクエストパラメータに含まれるIDを使ってユーザー情報を取得し、存在しない場合にエラーを投げるミドルウェアの挙動を確認したいです。", "query": "load user middleware", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lang": "ja", "candidates": [{"text": "File: test/res.append.js\nLine 27: })", "file": "test/res.append.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 131: it('should be able to invoke other formatter', function (done) {", "file": "test/res.format.js", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 522: })", "file": "test/express.urlencoded.js", "symbol": "", "line": 522, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 53: };", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 260: * @param {string|number|boolean|object} obj", "file": "lib/response.js", "symbol": "", "line": 260, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 8: var request = require('supertest')", "file": "test/express.urlencoded.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 72: fileName += this.ext;", "file": "lib/view.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 318: })", "file": "test/app.render.js", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 489: it('should 415 on unknown charset prior to verify', function (done) {", "file": "test/express.json.js", "symbol": "", "line": 489, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 273: app.use(function(req, res){", "file": "test/res.render.js", "symbol": "", "line": 273, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 396: /**", "file": "lib/request.js", "symbol": "", "line": 396, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 6: describe('req', function(){", "file": "test/req.ip.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 38: }", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 534: })", "file": "test/express.json.js", "symbol": "", "line": 534, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 24: this.name = name;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 19: });", "file": "examples/view-locals/user.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 30: .get('/?foo[0][bar]=baz&foo[0][fizz]=buzz&foo[]=done!')", "file": "test/req.query.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 14: // process.nextTick makes sure this function API", "file": "examples/view-locals/user.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 55: .then((vals) => res.send(vals))", "file": "examples/search/index.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 84: .post('/')", "file": "test/express.json.js", "symbol": "", "line": 84, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 63: this.engines = Object.create(null);", "file": "lib/application.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 154: /**", "file": "lib/utils.js", "symbol": "", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 25: function loadUser(req, res, next) {", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/tmpl.js\nLine 32: }", "file": "test/support/tmpl.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "リクエストパラメータに含まれるIDを使ってユーザー情報を取得し、存在しない場合にエラーを投げるミドルウェアの挙動を確認したいです。", "query": "load user middleware", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lang": "ja", "candidates": [{"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\ndefines loadUser", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_next_actions", "repo": "express", "task": "リクエストパラメータに含まれるIDを使ってユーザー情報を取得し、存在しない場合にエラーを投げるミドルウェアの挙動を確認したいです。", "query": "load user middleware", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lang": "ja", "candidates": [{"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "レスポンスに特定のヘッダーが含まれていないことを検証する、高階関数はどこにありますか?", "query": "assert response header", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lang": "ja", "candidates": [{"text": "File: examples/view-locals/index.js\nLine 38: });", "file": "examples/view-locals/index.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 41: path: this.path,", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 19: // online", "file": "examples/online/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 597: request(app)", "file": "test/res.sendFile.js", "symbol": "", "line": 597, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 58: if (!module.parent) {", "file": "examples/online/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 26: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 125: /**", "file": "lib/view.js", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 36: users.push(new User('Manny', 1, 'cat'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 49: User.count(function(err, count){", "file": "examples/view-locals/index.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 34: }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 312: request(this.app)", "file": "test/express.json.js", "symbol": "", "line": 312, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 76: })", "file": "test/res.append.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 69: var app = express();", "file": "test/app.engine.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 93: .get('/')", "file": "test/res.render.js", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 176: 'https://google.com?q=%A710',", "file": "test/res.location.js", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 47: // when you create a user, generate a salt", "file": "examples/auth/index.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 54: text: function(){ res.send('hey') },", "file": "test/res.format.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 155: .expect(utils.shouldNotHaveHeader('Accept-Ranges'))", "file": "test/express.static.js", "symbol": "", "line": 155, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nLine 23: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 394: .expect(utils.shouldNotHaveHeader('Accept-Ranges'))", "file": "test/res.sendFile.js", "symbol": "", "line": 394, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nLine 69: function shouldNotHaveHeader(header) {", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\nLine 858: this.status(status);", "file": "lib/response.js", "symbol": "", "line": 858, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 1: 'use strict'", "file": "examples/error/index.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 39: if (req.authenticatedUser.id === req.user.id) {", "file": "examples/route-middleware/index.js", "symbol": "", "line": 39, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "レスポンスに特定のヘッダーが含まれていないことを検証する、高階関数はどこにありますか?", "query": "assert response header", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lang": "ja", "candidates": [{"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nsibling in test/support", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "レスポンスに特定のヘッダーが含まれていないことを検証する、高階関数はどこにありますか?", "query": "assert response header", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lang": "ja", "candidates": [{"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "O teste está falhando porque espera que o identificador de entidade de um arquivo não esteja presente na resposta, mas parece que algo está injetando esse valor automaticamente.", "query": "etag undefined assert", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lang": "pt", "candidates": [{"text": "File: test/app.engine.js\nLine 63: assert.strictEqual(str, '

    tobi

    ')", "file": "test/app.engine.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 341: var local = req.asyncLocalStorage.getStore()", "file": "test/express.raw.js", "symbol": "", "line": 341, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 126: .get('/')", "file": "test/res.format.js", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 90: function handleHeaders (res) {", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/utils.js\nLine 33: assert.ok(body, 'response has body')", "file": "test/support/utils.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 167: }", "file": "lib/utils.js", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: [{*.js,*.json,*.yml}]", "file": ".editorconfig", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 27: // \"root\" is the app.set('views') setting, however", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 652: .expect('x-store-foo', 'bar')", "file": "test/express.urlencoded.js", "symbol": "", "line": 652, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 7: if (err) {", "file": "test/support/tmpl.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 15: });", "file": "test/req.query.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 52: * Assert that a supertest response does not have a body.", "file": "test/support/utils.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 446: opts = null", "file": "lib/response.js", "symbol": "", "line": 446, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 390: * For example if the application was", "file": "lib/application.js", "symbol": "", "line": 390, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 27: var normalizeType = require('./utils').normalizeType;", "file": "lib/response.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 834: next();", "file": "test/app.router.js", "symbol": "", "line": 834, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 109: .expect('

    blog post

    ', done);", "file": "test/res.render.js", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 112: // that you wish to make available to all subsequent", "file": "examples/view-locals/index.js", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 355: var count = 0;", "file": "test/app.render.js", "symbol": "", "line": 355, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 98: app.set('query parser', setting);", "file": "test/req.query.js", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 682: test.write(Buffer.from('1f8b080000000000000bcb4bcc4db57db16e170099a4bad6080000', 'hex'))", "file": "test/express.urlencoded.js", "symbol": "", "line": 682, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 151: /* istanbul ignore next */", "file": "examples/view-locals/index.js", "symbol": "", "line": 151, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 99: app.set('views', path.join(__dirname, 'fixtures'))", "file": "test/app.render.js", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 235: next(err);", "file": "lib/application.js", "symbol": "", "line": 235, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "O teste está falhando porque espera que o identificador de entidade de um arquivo não esteja presente na resposta, mas parece que algo está injetando esse valor automaticamente.", "query": "etag undefined assert", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lang": "pt", "candidates": [{"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\ndefines handleHeaders", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "O teste está falhando porque espera que o identificador de entidade de um arquivo não esteja presente na resposta, mas parece que algo está injetando esse valor automaticamente.", "query": "etag undefined assert", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lang": "pt", "candidates": [{"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Je travaille sur la configuration de l'environnement de test pour l'API. Peux-tu me montrer comment est initialisée l'instance qui gère le middleware pour lire le contenu textuel et le gestionnaire d'erreurs personnalisé ?", "query": "express text middleware", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lang": "fr", "candidates": [{"text": "File: test/express.static.js\nLine 19: this.app = createApp()", "file": "test/express.static.js", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nLine 35: app.engine('.html', null);", "file": "test/app.engine.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 293: it('should render the template', function(done){", "file": "test/app.render.js", "symbol": "", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 77: var app = express();", "file": "test/config.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 68: , jane: [repos[2]]", "file": "examples/web-service/index.js", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 401: test.end(done)", "file": "test/express.raw.js", "symbol": "", "line": 401, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 18: var app = createApp();", "file": "test/res.sendFile.js", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\nLine 119: * res.send({ some: 'json' });", "file": "lib/response.js", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 34: var app = createApp('name.txt')", "file": "test/res.sendFile.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 549: function createApp (options) {", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nLine 11: var app = createApp();", "file": "test/res.render.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nLine 12: request(createApp())", "file": "test/express.json.js", "symbol": "", "line": 12, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nLine 120: .set('If-Match', '\"foo\"')", "file": "test/express.static.js", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 12: this.app = createApp()", "file": "test/express.raw.js", "symbol": "", "line": 12, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nLine 49: request(app)", "file": "test/req.ip.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 139: case 'weak':", "file": "lib/utils.js", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 294: body = ''", "file": "lib/response.js", "symbol": "", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 10: var app = createApp();", "file": "test/req.query.js", "symbol": "", "line": 10, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nLine 34: app.get('/next', function(req, res, next){", "file": "examples/error/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 41: * @param {string} header Header name to check", "file": "test/support/utils.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 8: this.name = name;", "file": "examples/view-locals/user.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 672: test.set('Content-Type', 'application/json')", "file": "test/express.json.js", "symbol": "", "line": 672, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 972: setImmediate(function () {", "file": "lib/response.js", "symbol": "", "line": 972, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Je travaille sur la configuration de l'environnement de test pour l'API. Peux-tu me montrer comment est initialisée l'instance qui gère le middleware pour lire le contenu textuel et le gestionnaire d'erreurs personnalisé ?", "query": "express text middleware", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lang": "fr", "candidates": [{"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.text.js\ndefines createApp", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Je travaille sur la configuration de l'environnement de test pour l'API. Peux-tu me montrer comment est initialisée l'instance qui gère le middleware pour lire le contenu textuel et le gestionnaire d'erreurs personnalisé ?", "query": "express text middleware", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lang": "fr", "candidates": [{"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "查找在请求响应头中添加特定标记的中间件", "query": "setHeader middleware", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lang": "zh", "candidates": [{"text": "File: test/app.use.js\nLine 204: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.render.js\nLine 270: View.prototype.render = function(options, fn){", "file": "test/app.render.js", "symbol": "", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 497: })", "file": "test/res.sendFile.js", "symbol": "", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 507: it('should ensure redirect URL is properly encoded', function (done) {", "file": "test/express.static.js", "symbol": "", "line": 507, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 780: var app = express()", "file": "test/res.sendFile.js", "symbol": "", "line": 780, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 199: 'http://google.com\\\\@apple.com',", "file": "test/res.location.js", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: indent_style = space", "file": ".editorconfig", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 20: }).join(''));", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 175: assert.strictEqual(app.enabled('foo'), false);", "file": "test/config.js", "symbol": "", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 49: * GET search for :query.", "file": "examples/search/index.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 297: var buf = Buffer.alloc(10240, '.')", "file": "test/express.urlencoded.js", "symbol": "", "line": 297, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nLine 888: })", "file": "test/app.router.js", "symbol": "", "line": 888, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 35: return function(req, res){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 14: } catch (e) {", "file": "test/support/tmpl.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 83: var app = createApp();", "file": "test/res.render.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nLine 20: { id: 0, name: 'tj', email: 'tj@vision-media.ca', role: 'member' }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 250: assert.strictEqual(str, 'abstract engine')", "file": "test/app.render.js", "symbol": "", "line": 250, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 23: .expect(200, 'viewed 1 times\\n', function (err, res) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 43: app.set('trust proxy', '10.0.0.1, 10.0.0.2, 127.0.0.1, ::1')", "file": "test/req.ip.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nLine 61: app.render('user', function(err, str){", "file": "test/app.engine.js", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 93: // destroy the user's session to log them out", "file": "examples/auth/index.js", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "查找在请求响应头中添加特定标记的中间件", "query": "setHeader middleware", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lang": "zh", "candidates": [{"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "查找在请求响应头中添加特定标记的中间件", "query": "setHeader middleware", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lang": "zh", "candidates": [{"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "查找在中间件中设置自定义响应头并跳过后续路由逻辑的代码", "query": "res.set next route", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lang": "zh", "candidates": [{"text": "File: test/res.sendFile.js\nLine 176: describe('.sendFile(path, fn)', function () {", "file": "test/res.sendFile.js", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nLine 51: });", "file": "test/req.query.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 804: function createApp (dir, options, fn) {", "file": "test/express.static.js", "symbol": "", "line": 804, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nLine 62: exports.application = proto;", "file": "lib/express.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 852: function fn(req, res, next) {", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/route-middleware/index.js\nLine 46: next(new Error('Unauthorized'));", "file": "examples/route-middleware/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 8: function render(path, options, fn) {", "file": "test/app.engine.js", "symbol": "", "line": 8, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nLine 216: it('should accept content-encoding', function (done) {", "file": "test/express.json.js", "symbol": "", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 300: describe('.render(name, options, fn)', function(){", "file": "test/res.render.js", "symbol": "", "line": 300, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nLine 46: next(new Error('Unauthorized'));", "file": "examples/route-middleware/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 83: });", "file": "test/req.query.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 47: it('should set \"etag fn\"', function(){", "file": "test/config.js", "symbol": "", "line": 47, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 26: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 696: var app = express()", "file": "test/res.sendFile.js", "symbol": "", "line": 696, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 177: 'https://google.com?q=%A710',", "file": "test/res.location.js", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 66: })", "file": "test/app.engine.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 599: var test = request(app).post('/')", "file": "test/express.urlencoded.js", "symbol": "", "line": 599, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 582: : false;", "file": "lib/response.js", "symbol": "", "line": 582, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 222: if (err) return done(err);", "file": "test/app.render.js", "symbol": "", "line": 222, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 40: port: 443,", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 32: : res.body", "file": "test/support/utils.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 38: var opts = {", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 58: .post('/')", "file": "test/express.raw.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 60: function authenticate(name, pass, fn) {", "file": "examples/auth/index.js", "symbol": "", "line": 60, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "查找在中间件中设置自定义响应头并跳过后续路由逻辑的代码", "query": "res.set next route", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lang": "zh", "candidates": [{"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\ndefines fn", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "查找在中间件中设置自定义响应头并跳过后续路由逻辑的代码", "query": "res.set next route", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lang": "zh", "candidates": [{"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "express", "task": "웹 서비스 응답을 만들 때 에러 객체에 상태 코드를 같이 담아서 반환하는 로직을 찾고 있어요. 에러 메시지와 HTTP 상태 값을 결합해서 새로운 에러 인스턴스를 생성하는 코드가 어디에 있나요?", "query": "create error status", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lang": "ko", "candidates": [{"text": "File: test/express.json.js\nLine 180: test.write(buf)", "file": "test/express.json.js", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 14: .expect(302, done)", "file": "test/acceptance/auth.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 178: request(app)", "file": "test/res.render.js", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 7: var assert = require('node:assert');", "file": "test/support/utils.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 13: */", "file": "lib/express.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 41: await db.sAdd('cat', 'luna');", "file": "examples/search/index.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 70: .expect(400, /content length/, done)", "file": "test/express.json.js", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 39: it('should error without \"view engine\" set and file extension to a non-engine module', function (done) {", "file": "test/res.render.js", "symbol": "", "line": 39, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nLine 47: res.setEncoding('utf8');", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 47: // when you create a user, generate a salt", "file": "examples/auth/index.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 35: return res.headers['set-cookie'].map(function (val) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 439: *", "file": "lib/request.js", "symbol": "", "line": 439, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 72: app.engine('.html', render);", "file": "test/app.engine.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 929: error: err.message", "file": "test/app.router.js", "symbol": "", "line": 929, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nLine 25: it('should display login error for bad user', function (done) {", "file": "test/acceptance/auth.js", "symbol": "", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nLine 208: describe('error', function () {", "file": "test/Router.js", "symbol": "", "line": 208, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 107: function fn() { return false }", "file": "test/config.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 47: if (err) return done(err)", "file": "test/acceptance/auth.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 56: * Throws an error if the provided status code is not an integer or if it's outside the allowable range.", "file": "lib/response.js", "symbol": "", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nLine 42: * @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 121: .expect(412, done)", "file": "test/express.static.js", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 622: .set('Range', 'bytes=-3')", "file": "test/express.static.js", "symbol": "", "line": 622, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 15: function error(status, msg) {", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.text.js\nLine 159: it('should not error when inflating', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 159, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "웹 서비스 응답을 만들 때 에러 객체에 상태 코드를 같이 담아서 반환하는 로직을 찾고 있어요. 에러 메시지와 HTTP 상태 값을 결합해서 새로운 에러 인스턴스를 생성하는 코드가 어디에 있나요?", "query": "create error status", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lang": "ko", "candidates": [{"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\ndefines error", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "웹 서비스 응답을 만들 때 에러 객체에 상태 코드를 같이 담아서 반환하는 로직을 찾고 있어요. 에러 메시지와 HTTP 상태 값을 결합해서 새로운 에러 인스턴스를 생성하는 코드가 어디에 있나요?", "query": "create error status", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lang": "ko", "candidates": [{"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=478-501\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 478, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "onde estão os testes que validam a negociação de conteúdo e o charset no cabeçalho de resposta?", "query": "content negotiation charset", "file": "test/res.format.js", "symbol": "test", "line": 182, "lang": "pt", "candidates": [{"text": "File: examples/error/index.js\nLine 10: var test = app.get('env') === 'test'", "file": "examples/error/index.js", "symbol": "", "line": 10, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 163: error = err", "file": "test/res.sendFile.js", "symbol": "", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 617: if (this.get('env') !== 'test') console.error(err);", "file": "lib/application.js", "symbol": "", "line": 617, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nLine 95: req.session.destroy(function(){", "file": "examples/auth/index.js", "symbol": "", "line": 95, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 34: */", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 266: assert.throws(function () { app.use('/', 'foo') }, /argument handler must be a function/)", "file": "test/app.use.js", "symbol": "", "line": 266, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 77: };", "file": "lib/utils.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 338: .post('/')", "file": "test/express.urlencoded.js", "symbol": "", "line": 338, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 815: })", "file": "test/express.urlencoded.js", "symbol": "", "line": 815, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 23: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 30: for (var i = 0; i < parts.length; i++) {", "file": "test/support/tmpl.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 182: function test(app) {", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.raw.js\nLine 476: test.set('Content-Encoding', 'GZIP')", "file": "test/express.raw.js", "symbol": "", "line": 476, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 325: })", "file": "test/express.static.js", "symbol": "", "line": 325, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 218: var test = request(this.app).post('/')", "file": "test/express.urlencoded.js", "symbol": "", "line": 218, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nLine 322: if (err) return done(err);", "file": "test/Router.js", "symbol": "", "line": 322, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 156: })", "file": "test/express.raw.js", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 6: function onReadFile(err, str) {", "file": "test/support/tmpl.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 90: var test = request(app).post('/')", "file": "test/express.raw.js", "symbol": "", "line": 90, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nLine 41: router.handle({ url: '/test/route', method: 'GET' }, { end: done }, function () { });", "file": "test/Router.js", "symbol": "", "line": 41, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 159: test.req.abort()", "file": "test/res.sendFile.js", "symbol": "", "line": 159, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nLine 77: (async () => {", "file": "examples/search/index.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 45: * - `root` root path for view lookup", "file": "lib/view.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 7: var assert = require('node:assert');", "file": "test/support/utils.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "onde estão os testes que validam a negociação de conteúdo e o charset no cabeçalho de resposta?", "query": "content negotiation charset", "file": "test/res.format.js", "symbol": "test", "line": 182, "lang": "pt", "candidates": [{"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\ndefines test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "onde estão os testes que validam a negociação de conteúdo e o charset no cabeçalho de resposta?", "query": "content negotiation charset", "file": "test/res.format.js", "symbol": "test", "line": 182, "lang": "pt", "candidates": [{"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "trouver la fonction qui vérifie si un utilisateur est un furet", "query": "user species ferret", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lang": "fr", "candidates": [{"text": "File: test/app.router.js\nLine 138: request(app)", "file": "test/app.router.js", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 14: var express = require('../..');", "file": "examples/search/index.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 96: var app = createApp(path.resolve(fixtures, 'blog'));", "file": "test/res.sendFile.js", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 56: .send('')", "file": "test/express.text.js", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 45: var app = createApp('simple');", "file": "test/req.query.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 29: async function initializeRedis() {", "file": "examples/search/index.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 104: app.post('/login', function (req, res, next) {", "file": "examples/auth/index.js", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 17: function ferrets(user) {", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\nLine 375: * For example, if the domain is \"tobi.ferrets.example.com\":", "file": "lib/request.js", "symbol": "", "line": 375, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nLine 10: res.format({", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 139: this.engine(this.path, options, function onRender() {", "file": "lib/view.js", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 455: this.app = createApp()", "file": "test/express.text.js", "symbol": "", "line": 455, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 297: var buf = Buffer.alloc(10240, '.')", "file": "test/express.urlencoded.js", "symbol": "", "line": 297, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 26: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 7: function User(name, age, species) {", "file": "examples/view-locals/user.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 318: it('should reject 0', function () {", "file": "test/express.urlencoded.js", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 263: *", "file": "lib/application.js", "symbol": "", "line": 263, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 547: })", "file": "test/res.sendFile.js", "symbol": "", "line": 547, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 501: var test = request(this.app).post('/')", "file": "test/express.text.js", "symbol": "", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 98: var app = express();", "file": "test/res.format.js", "symbol": "", "line": 98, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 83: test.expect(200, '\"name is нет\"', done)", "file": "test/express.text.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "trouver la fonction qui vérifie si un utilisateur est un furet", "query": "user species ferret", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lang": "fr", "candidates": [{"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\ndefines ferrets", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nsibling in examples/view-locals", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "trouver la fonction qui vérifie si un utilisateur est un furet", "query": "user species ferret", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lang": "fr", "candidates": [{"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "¿Cómo puedo verificar si una versión de Node es anterior a la 22?", "query": "node version skip", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lang": "es", "candidates": [{"text": "File: examples/web-service/index.js\nLine 113: /* istanbul ignore next */", "file": "examples/web-service/index.js", "symbol": "", "line": 113, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 341: })", "file": "test/app.use.js", "symbol": "", "line": 341, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 32: * Module exports.", "file": "lib/view.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 114: })", "file": "test/express.text.js", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 47: // when you create a user, generate a salt", "file": "examples/auth/index.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 415: * @param {String} setting", "file": "lib/application.js", "symbol": "", "line": 415, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 220: 'https://google.com\\\\@apple.com',", "file": "test/res.location.js", "symbol": "", "line": 220, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 33: * Render the view.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 30: try {", "file": "examples/search/index.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 297: body = body", "file": "lib/response.js", "symbol": "", "line": 297, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 43: var app = express();", "file": "test/config.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 77: assert.strictEqual(err.message, 'err!')", "file": "test/app.render.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 474: it('should be case-insensitive', function (done) {", "file": "test/express.raw.js", "symbol": "", "line": 474, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 79: function shouldSkipQuery(versionString) {", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/auth.js\nLine 93: .type('urlencoded')", "file": "test/acceptance/auth.js", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 34: var obj = require(path);", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 700: before(function () {", "file": "test/express.urlencoded.js", "symbol": "", "line": 700, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 9: 'use strict';", "file": "lib/express.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 86: * Initialize application configuration.", "file": "lib/application.js", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 30: }", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 670: test.set('Content-Type', 'application/x-www-form-urlencoded')", "file": "test/express.urlencoded.js", "symbol": "", "line": 670, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 9: var shouldSkipQuery = require('./support/utils').shouldSkipQuery", "file": "test/app.router.js", "symbol": "", "line": 9, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nLine 130: app.use('/api', function(req, res, next){", "file": "examples/view-locals/index.js", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 3: /**", "file": "examples/auth/index.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "¿Cómo puedo verificar si una versión de Node es anterior a la 22?", "query": "node version skip", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lang": "es", "candidates": [{"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nsibling in test/support", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "¿Cómo puedo verificar si una versión de Node es anterior a la 22?", "query": "node version skip", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lang": "es", "candidates": [{"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Hay un error porque se está intentando inyectar el número total de usuarios registrados directamente en el objeto de datos locales de la respuesta de forma global, lo que podría causar problemas de rendimiento o colisiones.", "query": "count users locals", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lang": "es", "candidates": [{"text": "File: test/config.js\nLine 27: assert.equal(app.set('foo', undefined), app);", "file": "test/config.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 237: });", "file": "lib/application.js", "symbol": "", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 28: app.set('trust proxy', 2);", "file": "test/req.ip.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 189: }", "file": "test/app.use.js", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 20: it('should display 1 view on revisit', function (done) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 86: function count2(req, res, next) {", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/Router.js\nLine 610: });", "file": "test/Router.js", "symbol": "", "line": 610, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 32: : res.body", "file": "test/support/utils.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: [{*.js,*.json,*.yml}]", "file": ".editorconfig", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 349: }", "file": "test/res.render.js", "symbol": "", "line": 349, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 82: it('should expose app.locals with `name` property', function(done){", "file": "test/res.render.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 199: .get('/')", "file": "test/res.format.js", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 30: var body = !Buffer.isBuffer(res.body)", "file": "test/support/utils.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 72: if (Buffer.isBuffer(req.body)) {", "file": "test/express.raw.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 86: var app = express()", "file": "test/res.append.js", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 16: .expect('Set-Cookie', /session=/)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 38: // then everything is fine :)", "file": "examples/route-middleware/index.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 72: * @api private", "file": "lib/utils.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 23: .get('/')", "file": "test/res.append.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 269: allowPrototypes: true", "file": "lib/utils.js", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 28: // faux database", "file": "examples/view-locals/user.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 826: });", "file": "test/app.router.js", "symbol": "", "line": 826, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 94: .expect('

    tobi

    ', done);", "file": "test/res.render.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 432: * This method uses `res.sendFile()`.", "file": "lib/response.js", "symbol": "", "line": 432, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Hay un error porque se está intentando inyectar el número total de usuarios registrados directamente en el objeto de datos locales de la respuesta de forma global, lo que podría causar problemas de rendimiento o colisiones.", "query": "count users locals", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lang": "es", "candidates": [{"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\ndefines count2", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nsibling in examples/view-locals", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Hay un error porque se está intentando inyectar el número total de usuarios registrados directamente en el objeto de datos locales de la respuesta de forma global, lo que podría causar problemas de rendimiento o colisiones.", "query": "count users locals", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lang": "es", "candidates": [{"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Il semble y avoir une incohérence dans la manière dont l'adresse de boucle locale est déterminée lors des tests : la logique de conversion entre l'IPv6 et l'IPv4 pour l'hôte local semble forcée manuellement.", "query": "expected client address", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lang": "fr", "candidates": [{"text": "File: test/req.ip.js\nLine 109: function getExpectedClientAddress(server) {", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.raw.js\nLine 152: test.set('Content-Encoding', 'gzip')", "file": "test/express.raw.js", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 1033: json = json.replace(/[<>&]/g, function (c) {", "file": "lib/response.js", "symbol": "", "line": 1033, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 358: res.send('[' + err.type + '] ' + err.message)", "file": "test/express.raw.js", "symbol": "", "line": 358, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 846: html: function(){", "file": "lib/response.js", "symbol": "", "line": 846, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 27: }", "file": "examples/error/index.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 25: options = options || {};", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 46: var buf = '';", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 213: );", "file": "test/res.location.js", "symbol": "", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 76: return versionString.split('.')[0];", "file": "test/support/utils.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 111: req.session.regenerate(function(){", "file": "examples/auth/index.js", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 269: request(this.app)", "file": "test/express.json.js", "symbol": "", "line": 269, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 24: * Expose `createApplication()`.", "file": "lib/express.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 82: // may not be ideal for our application.", "file": "examples/view-locals/index.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 38: var opts = {", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 157: });", "file": "test/res.render.js", "symbol": "", "line": 157, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 23: it('should preserve trailing slashes when not present', function(done){", "file": "test/res.location.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 78: assert.strictEqual(str, '

    tobi

    ')", "file": "test/app.engine.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 19: callback(err, str);", "file": "test/support/tmpl.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 139: this.json()", "file": "test/res.format.js", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 800: })", "file": "test/express.static.js", "symbol": "", "line": 800, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 336: })", "file": "test/res.sendFile.js", "symbol": "", "line": 336, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 119: var test = request(app).post('/')", "file": "test/express.raw.js", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 254: 'http://google.com\\\\@apple.com/%0d%0afoo:%20bar',", "file": "test/res.location.js", "symbol": "", "line": 254, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Il semble y avoir une incohérence dans la manière dont l'adresse de boucle locale est déterminée lors des tests : la logique de conversion entre l'IPv6 et l'IPv4 pour l'hôte local semble forcée manuellement.", "query": "expected client address", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lang": "fr", "candidates": [{"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\ndefines getExpectedClientAddress", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Il semble y avoir une incohérence dans la manière dont l'adresse de boucle locale est déterminée lors des tests : la logique de conversion entre l'IPv6 et l'IPv4 pour l'hôte local semble forcée manuellement.", "query": "expected client address", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lang": "fr", "candidates": [{"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "ミドルウェアのテストを書いてるんだけど、レスポンスヘッダーに特定のカスタム値をセットして次の処理に渡す処理がどこにあるか教えて。リクエストを受け取ってヘッダーを書き換えるやつ。", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lang": "ja", "candidates": [{"text": "File: test/app.render.js\nLine 145: app.render('user.tmpl', function (err, str) {", "file": "test/app.render.js", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 219: fns.forEach(function (fn) {", "file": "lib/application.js", "symbol": "", "line": 219, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 50: app.response = Object.create(res, {", "file": "lib/express.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 3: var express = require('../../');", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 23: // in order to expose the \"count\"", "file": "examples/view-locals/index.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 19: // online", "file": "examples/online/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 692: describe('when index at mount point', function () {", "file": "test/express.static.js", "symbol": "", "line": 692, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 213: );", "file": "test/res.location.js", "symbol": "", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 247: .get('/')", "file": "test/res.render.js", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 361: request(app)", "file": "test/express.static.js", "symbol": "", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 78: request(app)", "file": "test/res.append.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 11: html: function(){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 47: if (err) return done(err);", "file": "test/app.engine.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 305: if (err) return done(err);", "file": "test/Router.js", "symbol": "", "line": 305, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 214: });", "file": "test/res.location.js", "symbol": "", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 134: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/online/index.js\nLine 36: /**", "file": "examples/online/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 12: request(createApp())", "file": "test/express.json.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 167: });", "file": "test/res.format.js", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 46: /**", "file": "examples/online/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nLine 196: if (supportsRegexp('(?.*)')) {", "file": "test/app.router.js", "symbol": "", "line": 196, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "ミドルウェアのテストを書いてるんだけど、レスポンスヘッダーに特定のカスタム値をセットして次の処理に渡す処理がどこにあるか教えて。リクエストを受け取ってヘッダーを書き換えるやつ。", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lang": "ja", "candidates": [{"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "ミドルウェアのテストを書いてるんだけど、レスポンスヘッダーに特定のカスタム値をセットして次の処理に渡す処理がどこにあるか教えて。リクエストを受け取ってヘッダーを書き換えるやつ。", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lang": "ja", "candidates": [{"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "reqとresオブジェクトを受け取って、レスポンスヘッダーに特定のX-Fn-2キーを追加するミドルウェア関数を作成してください。この処理を行った後、次のミドルウェアに処理を委譲する必要があります。", "query": "middleware set header", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lang": "ja", "candidates": [{"text": "File: test/res.format.js\nLine 97: describe('with parameters', function(){", "file": "test/res.format.js", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 15: },", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 130: blog.set('trust proxy', fn2);", "file": "test/config.js", "symbol": "", "line": 130, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 1: 'use strict'", "file": "examples/view-locals/user.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 372: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/tmpl.js\nLine 27: var parts = path.split('.');", "file": "test/support/tmpl.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 20: * render templates from a database etc.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nLine 13: app.locals.user = { name: 'tobi' };", "file": "test/app.render.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 48: * @param {object} options", "file": "lib/view.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 17: .expect(200, done)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 15: module.exports = GithubView;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 493: }", "file": "test/express.json.js", "symbol": "", "line": 493, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nLine 89: it('should return the remote address', function(done){", "file": "test/req.ip.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 363: addrs.reverse().pop()", "file": "lib/request.js", "symbol": "", "line": 363, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 342: assert.strictEqual(str, '

    tobi

    ')", "file": "test/app.render.js", "symbol": "", "line": 342, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 11: * Module dependencies.", "file": "examples/online/index.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 16: .expect('Set-Cookie', /session=/)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 262: testRequestedRedirect(", "file": "test/res.location.js", "symbol": "", "line": 262, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 12: if (!test) app.use(logger('dev'));", "file": "examples/error/index.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 666: })", "file": "test/res.sendFile.js", "symbol": "", "line": 666, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 11: html: function(){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "reqとresオブジェクトを受け取って、レスポンスヘッダーに特定のX-Fn-2キーを追加するミドルウェア関数を作成してください。この処理を行った後、次のミドルウェアに処理を委譲する必要があります。", "query": "middleware set header", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lang": "ja", "candidates": [{"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "reqとresオブジェクトを受け取って、レスポンスヘッダーに特定のX-Fn-2キーを追加するミドルウェア関数を作成してください。この処理を行った後、次のミドルウェアに処理を委譲する必要があります。", "query": "middleware set header", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lang": "ja", "candidates": [{"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "How do I set a custom header in an Express middleware before calling the next function?", "query": "setHeader middleware", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lang": "en", "candidates": [{"text": "File: test/app.use.js\nLine 232: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.append.js\nLine 45: var app = express()", "file": "test/res.append.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nLine 484: it('should parse when truthy value returned', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 484, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 313: * Sets the response status to `statusCode` and the body of the", "file": "lib/response.js", "symbol": "", "line": 313, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\nLine 294: * @public", "file": "lib/request.js", "symbol": "", "line": 294, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 215: this.end();", "file": "lib/response.js", "symbol": "", "line": 215, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 228: before(function () {", "file": "test/express.json.js", "symbol": "", "line": 228, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 337: .post('/')", "file": "test/express.json.js", "symbol": "", "line": 337, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 395: assert.throws(createApp.bind(null, { verify: 'lol' }),", "file": "test/express.json.js", "symbol": "", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 1046: }", "file": "lib/response.js", "symbol": "", "line": 1046, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 320: */", "file": "lib/application.js", "symbol": "", "line": 320, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 79: res.send('Editing user ' + req.user.name);", "file": "examples/route-middleware/index.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 214: }", "file": "lib/utils.js", "symbol": "", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 309: html = html.replace('tobi', 'loki');", "file": "test/res.render.js", "symbol": "", "line": 309, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 739: request(this.app)", "file": "test/express.static.js", "symbol": "", "line": 739, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 112: : '127.0.0.1';", "file": "test/req.ip.js", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 259: return req.headers['content-type'] === 'text/vnd.something'", "file": "test/express.text.js", "symbol": "", "line": 259, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 51: /**", "file": "test/support/utils.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 235: this.name = name;", "file": "test/app.render.js", "symbol": "", "line": 235, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nLine 12: * Expose `GithubView`.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 52: * Assert that a supertest response does not have a body.", "file": "test/support/utils.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "How do I set a custom header in an Express middleware before calling the next function?", "query": "setHeader middleware", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lang": "en", "candidates": [{"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "How do I set a custom header in an Express middleware before calling the next function?", "query": "setHeader middleware", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lang": "en", "candidates": [{"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "파일 상태 확인하다가 에러 나면 undefined 반환하는 함수 어디 있어?", "query": "fs.statSync try catch", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lang": "ko", "candidates": [{"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 83: it('should default to the parent app', function(){", "file": "test/config.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 80: app.listen(3000);", "file": "examples/search/index.js", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 593: immutable: true", "file": "test/res.sendFile.js", "symbol": "", "line": 593, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 37: // If our authenticated user is the user we are viewing", "file": "examples/route-middleware/index.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 563: verify: function (req, res, buf) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 563, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 34: app.get('/next', function(req, res, next){", "file": "examples/error/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 142: })", "file": "test/config.js", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 37: request(app)", "file": "test/res.append.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 253: * Send JSON response with JSONP callback support.", "file": "lib/response.js", "symbol": "", "line": 253, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 28: var value = data;", "file": "test/support/tmpl.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 298: router.use(function (req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 298, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 126: var app = createApp(path.resolve(__dirname, 'fixtures/.name'))", "file": "test/res.sendFile.js", "symbol": "", "line": 126, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 53: app.use(function (req, res) {", "file": "test/res.append.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 110: assert.ok(headers, 'should have header \"' + key + '\"')", "file": "test/res.append.js", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 32: next(new Error('Failed to load user ' + req.params.id));", "file": "examples/route-middleware/index.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 197: function tryStat(path) {", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-locals/index.js\nLine 154: console.log('Express started on port 3000');", "file": "examples/view-locals/index.js", "symbol": "", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 105: .expect(302, done)", "file": "test/acceptance/auth.js", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 107: })", "file": "test/app.render.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 6: var express = require('..')", "file": "test/express.text.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 292: */", "file": "lib/application.js", "symbol": "", "line": 292, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 42: })", "file": "test/res.append.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 67: * Expose constructors.", "file": "lib/express.js", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "파일 상태 확인하다가 에러 나면 undefined 반환하는 함수 어디 있어?", "query": "fs.statSync try catch", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lang": "ko", "candidates": [{"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\ndefines tryStat", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "파일 상태 확인하다가 에러 나면 undefined 반환하는 함수 어디 있어?", "query": "fs.statSync try catch", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lang": "ko", "candidates": [{"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "当传入的路径没有后缀名,且配置中也没有指定默认渲染引擎时,程序应该抛出异常,请确认目前的错误处理逻辑是否覆盖了这种场景。", "query": "view engine error", "file": "lib/view.js", "symbol": "View", "line": 52, "lang": "zh", "candidates": [{"text": "File: examples/route-middleware/index.js\nLine 19: var users = [", "file": "examples/route-middleware/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 40: .expect(shouldHaveHeaderValues('Set-Cookie', ['foo=bar', 'fizz=buzz']))", "file": "test/res.append.js", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 18: var View = require('./view');", "file": "lib/application.js", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nLine 1: 'use strict'", "file": "examples/route-middleware/index.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 52: function View(name, options) {", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.router.js\nLine 1182: .expect(function (res) {", "file": "test/app.router.js", "symbol": "", "line": 1182, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 953: app.get('/foo', fn1, fn2, fn3);", "file": "test/app.router.js", "symbol": "", "line": 953, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 518: * @param {Function} callback", "file": "lib/application.js", "symbol": "", "line": 518, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 43: console.error('Error initializing Redis:', err);", "file": "examples/search/index.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 64: function View(name, options){", "file": "test/app.render.js", "symbol": "", "line": 64, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nLine 469: before(function () {", "file": "test/express.static.js", "symbol": "", "line": 469, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 152: var app = express()", "file": "test/config.js", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 634: });", "file": "test/Router.js", "symbol": "", "line": 634, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 43: });", "file": "test/res.format.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 106: });", "file": "test/res.format.js", "symbol": "", "line": 106, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 49: res.append('Set-Cookie', 'fizz=buzz')", "file": "test/res.append.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 57: ];", "file": "examples/web-service/index.js", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 260: request(this.app)", "file": "test/express.static.js", "symbol": "", "line": 260, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 155: }", "file": "examples/view-locals/index.js", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 9: describe('when \"trust proxy\" is enabled', function(){", "file": "test/req.ip.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 82: }", "file": "examples/search/index.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 24: fn(null, users.length);", "file": "examples/view-locals/user.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "当传入的路径没有后缀名,且配置中也没有指定默认渲染引擎时,程序应该抛出异常,请确认目前的错误处理逻辑是否覆盖了这种场景。", "query": "view engine error", "file": "lib/view.js", "symbol": "View", "line": 52, "lang": "zh", "candidates": [{"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\ndefines View", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "当传入的路径没有后缀名,且配置中也没有指定默认渲染引擎时,程序应该抛出异常,请确认目前的错误处理逻辑是否覆盖了这种场景。", "query": "view engine error", "file": "lib/view.js", "symbol": "View", "line": 52, "lang": "zh", "candidates": [{"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "path와 옵션을 받아서 템플릿 파일의 내용을 읽고 '{{user.name}}'를 사용자 이름으로 치환한 후 결과를 콜백으로 반환하는 함수를 찾아줘.", "query": "render template file", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lang": "ko", "candidates": [{"text": "File: test/res.sendFile.js\nLine 649: })", "file": "test/res.sendFile.js", "symbol": "", "line": 649, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 85: }", "file": "lib/view.js", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 62: })", "file": "test/Router.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 133: View.prototype.render = function render(options, callback) {", "file": "lib/view.js", "symbol": "", "line": 133, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\nLine 896: res.render = function render(view, options, callback) {", "file": "lib/response.js", "symbol": "", "line": 896, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nLine 343: app.set('views', path.join(__dirname, 'fixtures'))", "file": "test/res.render.js", "symbol": "", "line": 343, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 881: };", "file": "lib/response.js", "symbol": "", "line": 881, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 74: router = new Router({", "file": "lib/application.js", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 144: res.locals.user = req.user;", "file": "examples/view-locals/index.js", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 61: .send('')", "file": "test/express.raw.js", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 8: function render(path, options, fn) {", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.append.js\nLine 96: })", "file": "test/res.append.js", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 20: * render templates from a database etc.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 20, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nLine 19: it('should render login form', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 146: break;", "file": "lib/utils.js", "symbol": "", "line": 146, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 4: * Copyright(c) 2013 Roman Shtylman", "file": "lib/express.js", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 265: * file extension. For example if you try to render", "file": "lib/application.js", "symbol": "", "line": 265, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nLine 12: if (!test) app.use(logger('dev'));", "file": "examples/error/index.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 390: res.send('[' + err.type + '] ' + err.message)", "file": "test/express.text.js", "symbol": "", "line": 390, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 31: res.render('index', {", "file": "examples/view-locals/index.js", "symbol": "", "line": 31, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nLine 61: if (!module.parent) console.log('authenticating %s:%s', name, pass);", "file": "examples/auth/index.js", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 168: });", "file": "test/Router.js", "symbol": "", "line": 168, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 15: var online = require('online');", "file": "examples/online/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "path와 옵션을 받아서 템플릿 파일의 내용을 읽고 '{{user.name}}'를 사용자 이름으로 치환한 후 결과를 콜백으로 반환하는 함수를 찾아줘.", "query": "render template file", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lang": "ko", "candidates": [{"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\ndefines render", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "path와 옵션을 받아서 템플릿 파일의 내용을 읽고 '{{user.name}}'를 사용자 이름으로 치환한 후 결과를 콜백으로 반환하는 함수를 찾아줘.", "query": "render template file", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lang": "ko", "candidates": [{"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=197-220\nread tryStat for detail", "file": "lib/view.js", "symbol": "tryStat", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=478-501\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 478, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "JSONの解析エラーが発生した際、レスポンスボディにエラー内容を文字列として返却するミドルウェアの挙動を確認したい。特に特定のヘッダーを指定した際にエラープロパティを動的に抽出する処理が含まれている箇所を探しています。", "query": "json error response", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lang": "ja", "candidates": [{"text": "File: test/res.render.js\nLine 11: var app = createApp();", "file": "test/res.render.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nLine 169: View.prototype.resolve = function resolve(dir, file) {", "file": "lib/view.js", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 71: assert.ok(!(header.toLowerCase() in res.headers), 'should not have header ' + header);", "file": "test/support/utils.js", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 274: app,", "file": "test/res.location.js", "symbol": "", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 45: https.request(opts, function(res) {", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 722: function createApp (options) {", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 31: })", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 29: it('should accept array of values', function (done) {", "file": "test/res.append.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 11: var app = createApp();", "file": "test/app.render.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 58: request(app)", "file": "test/res.append.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 33: res.append('Set-Cookie', ['foo=bar', 'fizz=buzz'])", "file": "test/res.append.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 18: var app = createApp();", "file": "test/res.sendFile.js", "symbol": "", "line": 18, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nLine 92: })", "file": "test/app.router.js", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 216: .expect('Content-Type', 'text/plain; charset=utf-8', cb)", "file": "test/res.format.js", "symbol": "", "line": 216, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 58: request(app)", "file": "test/res.append.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 141: /*", "file": "examples/view-locals/index.js", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 10: var app = createApp();", "file": "test/req.query.js", "symbol": "", "line": 10, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nLine 85: });", "file": "test/res.format.js", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 19: this.app = createApp()", "file": "test/express.static.js", "symbol": "", "line": 19, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nLine 80: })", "file": "test/app.engine.js", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 11: this.app = createApp()", "file": "test/express.text.js", "symbol": "", "line": 11, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 749: })", "file": "test/res.sendFile.js", "symbol": "", "line": 749, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 186: })", "file": "test/express.raw.js", "symbol": "", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 101: .post('/login')", "file": "test/acceptance/auth.js", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "JSONの解析エラーが発生した際、レスポンスボディにエラー内容を文字列として返却するミドルウェアの挙動を確認したい。特に特定のヘッダーを指定した際にエラープロパティを動的に抽出する処理が含まれている箇所を探しています。", "query": "json error response", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lang": "ja", "candidates": [{"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\ndefines createApp", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "JSONの解析エラーが発生した際、レスポンスボディにエラー内容を文字列として返却するミドルウェアの挙動を確認したい。特に特定のヘッダーを指定した際にエラープロパティを動的に抽出する処理が含まれている箇所を探しています。", "query": "json error response", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lang": "ja", "candidates": [{"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Express 앱에서 리다이렉트 URL을 요청할 때, 요청에 포함된 원본 URL과 응답 헤더의 Location 헤더 호스트가 일치하는지 검증하는 테스트를 작성합니다. 특히 구형 supertest 호환성을 위해 URL을 인코딩하고, 요청 쿼리 파라미터와 응답 헤더에서 호스트를 추출하여 비교해야 합니다.", "query": "redirect host validation test", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lang": "ko", "candidates": [{"text": "File: examples/auth/index.js\nLine 16: app.set('view engine', 'ejs');", "file": "examples/auth/index.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 29: app.get('/', function () {", "file": "examples/error/index.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 141: function testRequestedRedirect (app, inputUrl, expected, expectedHost, done) {", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/config.js\nLine 204: assert.strictEqual(app.disabled('hasOwnProperty'), true)", "file": "test/config.js", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 58: next(err);", "file": "examples/search/index.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 50: app.get('/', function(req, res, next){", "file": "examples/online/index.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 465: it('should parse codepage charsets', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 465, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 78: debug('require \"%s\"', mod)", "file": "lib/view.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 10: this.species = species;", "file": "examples/view-locals/user.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 54: var app = express();", "file": "test/app.engine.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 492: })", "file": "test/express.text.js", "symbol": "", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 668: request(app)", "file": "test/res.sendFile.js", "symbol": "", "line": 668, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 88: app.get('/restricted', restrict, function(req, res){", "file": "examples/auth/index.js", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 14: // config", "file": "examples/auth/index.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 32: online.add(req.headers['user-agent']);", "file": "examples/online/index.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 145: app.render('user.tmpl', function (err, str) {", "file": "test/app.render.js", "symbol": "", "line": 145, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 120: }", "file": "lib/view.js", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 37: request(app)", "file": "test/express.urlencoded.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 163: app.render('user.tmpl', function (err, str) {", "file": "test/app.render.js", "symbol": "", "line": 163, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 77: var app = createApp(true);", "file": "test/req.query.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 557: .get('/user')", "file": "test/app.router.js", "symbol": "", "line": 557, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 197: .get('/')", "file": "test/res.render.js", "symbol": "", "line": 197, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 428: })", "file": "test/express.raw.js", "symbol": "", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 89: function acceptParams (str) {", "file": "lib/utils.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Express 앱에서 리다이렉트 URL을 요청할 때, 요청에 포함된 원본 URL과 응답 헤더의 Location 헤더 호스트가 일치하는지 검증하는 테스트를 작성합니다. 특히 구형 supertest 호환성을 위해 URL을 인코딩하고, 요청 쿼리 파라미터와 응답 헤더에서 호스트를 추출하여 비교해야 합니다.", "query": "redirect host validation test", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lang": "ko", "candidates": [{"text": "File: test/res.location.js\ndefines testRequestedRedirect", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Express 앱에서 리다이렉트 URL을 요청할 때, 요청에 포함된 원본 URL과 응답 헤더의 Location 헤더 호스트가 일치하는지 검증하는 테스트를 작성합니다. 특히 구형 supertest 호환성을 위해 URL을 인코딩하고, 요청 쿼리 파라미터와 응답 헤더에서 호스트를 추출하여 비교해야 합니다.", "query": "redirect host validation test", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lang": "ko", "candidates": [{"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=478-501\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 478, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "O middleware de teste está injetando um cabeçalho personalizado em todas as respostas, mas isso não está sendo documentado ou esperado pelo fluxo principal da aplicação.", "query": "setHeader middleware test", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lang": "pt", "candidates": [{"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nLine 26: return function variableLookup(str, path) {", "file": "test/support/tmpl.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nLine 53: var opts = options || {};", "file": "lib/view.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 17: }", "file": "test/support/tmpl.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 28: // the UA string, you would use req.user.id etc", "file": "examples/online/index.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 19: var app = express();", "file": "examples/search/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 199: return function(){ return true };", "file": "lib/utils.js", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 386: .set('Content-Type', 'application/x-www-form-urlencoded')", "file": "test/express.urlencoded.js", "symbol": "", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 621: res.end(req.params.op + 'ing ' + req.params.user);", "file": "test/app.router.js", "symbol": "", "line": 621, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nLine 75: if (!opts.engines[this.ext]) {", "file": "lib/view.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 782: /**", "file": "lib/response.js", "symbol": "", "line": 782, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 299: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/Router.js\nLine 556: req.user = user;", "file": "test/Router.js", "symbol": "", "line": 556, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 606: */", "file": "lib/response.js", "symbol": "", "line": 606, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 2: * express", "file": "lib/express.js", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 354: .get('/')", "file": "test/res.render.js", "symbol": "", "line": 354, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 9: describe('Router', function () {", "file": "test/Router.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 731: ? err[req.headers['x-error-property']]", "file": "test/express.json.js", "symbol": "", "line": 731, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 278: test.expect(200, '\"user is tobi\"', done)", "file": "test/express.text.js", "symbol": "", "line": 278, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 19: var app = express();", "file": "examples/search/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 449: })", "file": "test/app.router.js", "symbol": "", "line": 449, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "O middleware de teste está injetando um cabeçalho personalizado em todas as respostas, mas isso não está sendo documentado ou esperado pelo fluxo principal da aplicação.", "query": "setHeader middleware test", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lang": "pt", "candidates": [{"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "O middleware de teste está injetando um cabeçalho personalizado em todas as respostas, mas isso não está sendo documentado ou esperado pelo fluxo principal da aplicação.", "query": "setHeader middleware test", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lang": "pt", "candidates": [{"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "요청이 두 번째로 호출되었는지 확인하고 다음 미들웨어로 진행하는 함수를 찾아줘.", "query": "count assertion next", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lang": "ko", "candidates": [{"text": "File: test/acceptance/auth.js\nLine 117: })", "file": "test/acceptance/auth.js", "symbol": "", "line": 117, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 16: var redis = require('redis');", "file": "examples/search/index.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nLine 57: }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 43: .set('Content-Type', 'application/octet-stream')", "file": "test/express.raw.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 29: User.all(function(err, users){", "file": "examples/view-locals/index.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 97: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nLine 53: describe('when \"query parser\" is a function', function () {", "file": "test/req.query.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 17: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 301: it('should pass the resulting string', function(done){", "file": "test/res.render.js", "symbol": "", "line": 301, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 490: })", "file": "test/express.raw.js", "symbol": "", "line": 490, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.json.js\nLine 391: })", "file": "test/express.json.js", "symbol": "", "line": 391, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 103: .send('username=tj&password=baz')", "file": "test/acceptance/auth.js", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 102: .end(done)", "file": "test/res.append.js", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 327: res.send('saw ' + req.method + ' ' + req.url);", "file": "test/app.use.js", "symbol": "", "line": 327, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 393: it('should persist store when inflated', function (done) {", "file": "test/express.raw.js", "symbol": "", "line": 393, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 189: /**", "file": "lib/view.js", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 55: return app;", "file": "lib/express.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 64: var fileName = name;", "file": "lib/view.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 32: * @return {Function}", "file": "lib/express.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "요청이 두 번째로 호출되었는지 확인하고 다음 미들웨어로 진행하는 함수를 찾아줘.", "query": "count assertion next", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lang": "ko", "candidates": [{"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\ndefines fn2", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "요청이 두 번째로 호출되었는지 확인하고 다음 미들웨어로 진행하는 함수를 찾아줘.", "query": "count assertion next", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lang": "ko", "candidates": [{"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "configura o encoding e a limpeza de espaços ao salvar arquivos", "query": "charset trim", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lang": "pt", "candidates": [{"text": "File: test/app.router.js\nLine 1172: });", "file": "test/app.router.js", "symbol": "", "line": 1172, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/online/index.js\nLine 42: return '
  • ' + id + '
  • ';", "file": "examples/online/index.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 74: .set('Content-Type', 'application/x-www-form-urlencoded')", "file": "test/express.urlencoded.js", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 81: // we could update this implementation to run on supported versions of 21 once they exist", "file": "test/support/utils.js", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 175: it('should parse array of objects syntax', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 175, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 1: 'use strict'", "file": "examples/online/index.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 114: }", "file": "test/res.append.js", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 30: it('should return set value', function () {", "file": "test/config.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 34: res.end()", "file": "test/res.append.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 34: var obj = require(path);", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 872: })", "file": "test/res.sendFile.js", "symbol": "", "line": 872, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 79: });", "file": "test/req.ip.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 52: app3.use(function(req, res, next){", "file": "test/res.format.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 17: var db = redis.createClient();", "file": "examples/online/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 12: try {", "file": "test/support/tmpl.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 526: });", "file": "lib/request.js", "symbol": "", "line": 526, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 100: res.location('').end();", "file": "test/res.location.js", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 178: request(app)", "file": "test/res.render.js", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 386: res.setHeader('x-store-foo', String(local.foo))", "file": "test/express.text.js", "symbol": "", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 233: request(app)", "file": "test/app.router.js", "symbol": "", "line": 233, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 83: // so in that sense the previous example", "file": "examples/view-locals/index.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 62: exports.application = proto;", "file": "lib/express.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 99: it('should fail without proper password', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "configura o encoding e a limpeza de espaços ao salvar arquivos", "query": "charset trim", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lang": "pt", "candidates": [{"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines [*]", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "configura o encoding e a limpeza de espaços ao salvar arquivos", "query": "charset trim", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lang": "pt", "candidates": [{"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "express", "task": "レスポンスオブジェクトから指定されたヘッダーキーと値のペアが一致しているか検証する関数を作成したい。テストでHTTPレスポンスヘッダーの内容をチェックするために使用します。", "query": "http header validation", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lang": "ja", "candidates": [{"text": "File: test/res.append.js\nLine 107: function shouldHaveHeaderValues (key, values) {", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/config.js\nLine 144: describe('.enable()', function(){", "file": "test/config.js", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 942: var err = new Error('EISDIR, read');", "file": "lib/response.js", "symbol": "", "line": 942, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 291: res.render('user.tmpl', { user: jane });", "file": "test/res.render.js", "symbol": "", "line": 291, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 1: var fs = require('node:fs');", "file": "test/support/tmpl.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 34: function getCookies(res) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 28: var value = data;", "file": "test/support/tmpl.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 30: app.use(express.text())", "file": "test/express.text.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 530: *", "file": "lib/response.js", "symbol": "", "line": 530, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 2: root = true", "file": ".editorconfig", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 274: arr = new Array(arguments.length);", "file": "lib/request.js", "symbol": "", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 20: 'application/json': function(a, b, c){", "file": "test/res.format.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 42: mixin(app, proto, false);", "file": "lib/express.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 122: });", "file": "test/res.location.js", "symbol": "", "line": 122, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 488: next();", "file": "test/Router.js", "symbol": "", "line": 488, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 142: return accept.encodings.apply(accept, arguments);", "file": "lib/request.js", "symbol": "", "line": 142, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 200: 'google.com',", "file": "test/res.location.js", "symbol": "", "line": 200, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 359: })", "file": "test/express.raw.js", "symbol": "", "line": 359, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 540: renderOptions.cache = this.enabled('view cache');", "file": "lib/application.js", "symbol": "", "line": 540, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 43: if (!module.parent) {", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 61: // you would of course implement something real,", "file": "examples/route-middleware/index.js", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 20: * render templates from a database etc.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 123: + ' username and password.'", "file": "examples/auth/index.js", "symbol": "", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 7: var express = require('../../lib/express');", "file": "examples/route-middleware/index.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "レスポンスオブジェクトから指定されたヘッダーキーと値のペアが一致しているか検証する関数を作成したい。テストでHTTPレスポンスヘッダーの内容をチェックするために使用します。", "query": "http header validation", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lang": "ja", "candidates": [{"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\ndefines shouldHaveHeaderValues", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "レスポンスオブジェクトから指定されたヘッダーキーと値のペアが一致しているか検証する関数を作成したい。テストでHTTPレスポンスヘッダーの内容をチェックするために使用します。", "query": "http header validation", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lang": "ja", "candidates": [{"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "How is the indentation method defined for this project?", "query": "indent_style space", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lang": "en", "candidates": [{"text": "File: test/app.engine.js\nLine 16: describe('app', function(){", "file": "test/app.engine.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 104: })", "file": "test/res.append.js", "symbol": "", "line": 104, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 174: var stat = tryStat(path);", "file": "lib/view.js", "symbol": "", "line": 174, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 13: str = str.replace(variableRegExp, generateVariableLookup(options));", "file": "test/support/tmpl.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 11: indent_style = space", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/application.js\nLine 525: var engines = this.engines;", "file": "lib/application.js", "symbol": "", "line": 525, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 54: request(createApp({ limit: '1kb' }))", "file": "test/express.urlencoded.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 497: test.set('Content-Type', 'application/json; charset=x-bogus')", "file": "test/express.json.js", "symbol": "", "line": 497, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 15: // curl http://localhost:3000/user/1/edit (unauthorized since this is not you)", "file": "examples/route-middleware/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 162: }", "file": "lib/application.js", "symbol": "", "line": 162, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 30: next();", "file": "examples/route-middleware/index.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 154: return done(err, res);", "file": "test/res.location.js", "symbol": "", "line": 154, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 323: * @public", "file": "lib/request.js", "symbol": "", "line": 323, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 473: req.originalUrl.replace(/\\/snow(\\/|$)/, '/snow \\u2603$1')", "file": "test/express.static.js", "symbol": "", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 22: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 59: app.locals.user = { name: 'tobi' };", "file": "test/app.engine.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 7: function User(name, age, species) {", "file": "examples/view-locals/user.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 36: res.format(obj);", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 81: res.send(repos);", "file": "examples/web-service/index.js", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 22: User.count = function(fn){", "file": "examples/view-locals/user.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 147: default:", "file": "lib/utils.js", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 26: // You would fetch your user from the db", "file": "examples/route-middleware/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 69: })", "file": "test/config.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 460: * @public", "file": "lib/application.js", "symbol": "", "line": 460, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "How is the indentation method defined for this project?", "query": "indent_style space", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lang": "en", "candidates": [{"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\ndefines indent_style", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "How is the indentation method defined for this project?", "query": "indent_style space", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lang": "en", "candidates": [{"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "task: when the 'x-fn-3' header is set, the response is immediately ended without calling next(). This looks like it's bypassing the rest of the middleware chain. Can you help me understand which endpoint or scenario triggers this behavior?", "query": "setHeader end", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lang": "en", "candidates": [{"text": "File: test/app.router.js\nLine 949: function fn3(err, req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 949, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\nLine 332: *", "file": "lib/request.js", "symbol": "", "line": 332, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 156: });", "file": "lib/view.js", "symbol": "", "line": 156, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 20: .get('/')", "file": "test/req.ip.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 30: app.use(function(req, res, next){", "file": "test/req.ip.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 23: app.locals.user = { name: 'tobi' };", "file": "test/app.engine.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 36: it('should encode \"url\"', function (done) {", "file": "test/res.location.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 24: fn(null, users.length);", "file": "examples/view-locals/user.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 101: *", "file": "lib/request.js", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 449: })", "file": "test/app.router.js", "symbol": "", "line": 449, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 23: };", "file": "test/support/tmpl.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 33: users.push(new User('Loki', 1, 'ferret'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 13: // curl http://localhost:3000/user/0/edit", "file": "examples/route-middleware/index.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 761: val = 's:' + sign(val, secret);", "file": "lib/response.js", "symbol": "", "line": 761, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 32: })", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 47: res.setEncoding('utf8');", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 166: var app = createApp();", "file": "test/res.render.js", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 12: fn(null, str);", "file": "test/app.engine.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 770: app.get('/user/*user', function (req, res) {", "file": "test/app.router.js", "symbol": "", "line": 770, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 392: }", "file": "test/app.render.js", "symbol": "", "line": 392, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 54: var app = express();", "file": "test/app.engine.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 186: function fn3(req, res, next) {", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/application.js\nLine 452: return this.set(setting, true);", "file": "lib/application.js", "symbol": "", "line": 452, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 805: *", "file": "lib/response.js", "symbol": "", "line": 805, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "task: when the 'x-fn-3' header is set, the response is immediately ended without calling next(). This looks like it's bypassing the rest of the middleware chain. Can you help me understand which endpoint or scenario triggers this behavior?", "query": "setHeader end", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lang": "en", "candidates": [{"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn3", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "task: when the 'x-fn-3' header is set, the response is immediately ended without calling next(). This looks like it's bypassing the rest of the middleware chain. Can you help me understand which endpoint or scenario triggers this behavior?", "query": "setHeader end", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lang": "en", "candidates": [{"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Estou tentando entender como o middleware decide se aceita ou não o payload da requisição. Você pode me mostrar a lógica que valida se o tipo de conteúdo é o padrão JSON API?", "query": "content-type vnd.api", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lang": "pt", "candidates": [{"text": "File: lib/request.js\nLine 128: var accept = accepts(this);", "file": "lib/request.js", "symbol": "", "line": 128, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nLine 166: .expect(200, 'saw OPTIONS /', cb);", "file": "test/app.use.js", "symbol": "", "line": 166, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 9: var app = module.exports = express();", "file": "examples/error/index.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 29: it('should accept array of values', function (done) {", "file": "test/res.append.js", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nLine 32: * @return {Function}", "file": "lib/express.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 1: var fs = require('node:fs');", "file": "test/support/tmpl.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 16: var redis = require('redis');", "file": "examples/online/index.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 6: // then:", "file": "examples/search/index.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 25: app.render('user.html', function(err, str){", "file": "test/app.engine.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 107: it('should not accept params in malformed paths', function (done) {", "file": "test/app.router.js", "symbol": "", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nLine 4: * Module dependencies.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 70: exports.Route = Router.Route;", "file": "lib/express.js", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 148: .expect('x-fn-3', 'hit')", "file": "test/app.use.js", "symbol": "", "line": 148, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 217: it('should not accept content-encoding', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 217, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nLine 623: */", "file": "lib/application.js", "symbol": "", "line": 623, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 53: }", "file": "examples/error/index.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 47: * GET users online.", "file": "examples/online/index.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 19: var app = express();", "file": "examples/search/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 116: it('should accept number of bytes', function (done) {", "file": "test/express.raw.js", "symbol": "", "line": 116, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 54: })", "file": "test/express.raw.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 356: function accept (req) {", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/Router.js\nLine 477: it('should accept array of middleware', function (done) {", "file": "test/Router.js", "symbol": "", "line": 477, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nLine 41: });", "file": "examples/error/index.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 5: return res.headers['set-cookie'][0].split(';')[0];", "file": "test/acceptance/auth.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Estou tentando entender como o middleware decide se aceita ou não o payload da requisição. Você pode me mostrar a lógica que valida se o tipo de conteúdo é o padrão JSON API?", "query": "content-type vnd.api", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lang": "pt", "candidates": [{"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\ndefines accept", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Estou tentando entender como o middleware decide se aceita ou não o payload da requisição. Você pode me mostrar a lógica que valida se o tipo de conteúdo é o padrão JSON API?", "query": "content-type vnd.api", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lang": "pt", "candidates": [{"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "Je dois configurer un serveur Express qui valide l'hôte de l'URL dans la query et renvoie une erreur 400 si elle ne correspond pas au domaine attendu. Ensuite, il faut utiliser l'en-tête Location pour rediriger vers cette URL.", "query": "redirect server domain validation", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lang": "fr", "candidates": [{"text": "File: test/req.ip.js\nLine 55: it('should return the addr after trusted proxy, from sub app', function (done) {", "file": "test/req.ip.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 79: assert.equal(app.get('foo'), 'bar');", "file": "test/config.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 10: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 18: res.send(users.map(function(user){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 506: it('should reject non-function', function () {", "file": "test/Router.js", "symbol": "", "line": 506, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 85: }", "file": "test/support/utils.js", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 31: })", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 822: .expect(200)", "file": "test/res.sendFile.js", "symbol": "", "line": 822, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 82: it('should expose app.locals with `name` property', function(done){", "file": "test/res.render.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 28: // Session-persisted message middleware", "file": "examples/auth/index.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 738: .expect(200)", "file": "test/res.sendFile.js", "symbol": "", "line": 738, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 31: throw new Error('something broke!');", "file": "examples/error/index.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 51: });", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 63: ];", "file": "examples/web-service/index.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 665: describe('when the first- byte-pos of the range is greater than the current length', function () {", "file": "test/express.static.js", "symbol": "", "line": 665, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 12: * Module dependencies.", "file": "lib/express.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 77: exports.json = bodyParser.json", "file": "lib/express.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 304: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 66: // the hash against the pass / salt, if there is a match we", "file": "examples/auth/index.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 127: function createRedirectServerForDomain (domain) {", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nLine 51: app: { configurable: true, enumerable: true, writable: true, value: app }", "file": "lib/express.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 21: var querystring = require('node:querystring');", "file": "lib/utils.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 69: ? '.' + this.defaultEngine", "file": "lib/view.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 78: .expect('Location', '/')", "file": "test/acceptance/auth.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Je dois configurer un serveur Express qui valide l'hôte de l'URL dans la query et renvoie une erreur 400 si elle ne correspond pas au domaine attendu. Ensuite, il faut utiliser l'en-tête Location pour rediriger vers cette URL.", "query": "redirect server domain validation", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lang": "fr", "candidates": [{"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\ndefines createRedirectServerForDomain", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Je dois configurer un serveur Express qui valide l'hôte de l'URL dans la query et renvoie une erreur 400 si elle ne correspond pas au domaine attendu. Ensuite, il faut utiliser l'en-tête Location pour rediriger vers cette URL.", "query": "redirect server domain validation", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lang": "fr", "candidates": [{"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "encontrar o middleware que adiciona o cabeçalho personalizado de teste às respostas", "query": "setHeader x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lang": "pt", "candidates": [{"text": "File: examples/view-locals/user.js\nLine 8: this.name = name;", "file": "examples/view-locals/user.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 66: it('should return undefined when unset', function(){", "file": "test/config.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 299: ? 'https'", "file": "lib/request.js", "symbol": "", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 241: describe('when false', function () {", "file": "test/express.json.js", "symbol": "", "line": 241, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 10: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 42: app.set('views', path.join(__dirname, 'fixtures'))", "file": "test/app.engine.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 479: })", "file": "test/res.sendFile.js", "symbol": "", "line": 479, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 66: title: 'Users',", "file": "examples/view-locals/index.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 110: .post('/login')", "file": "test/acceptance/auth.js", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 62: })", "file": "test/config.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 3: var assert = require('node:assert')", "file": "test/res.append.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 41: })", "file": "test/express.json.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 30: }", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nLine 8: describe('when X-Forwarded-For is present', function(){", "file": "test/req.ip.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 188: '/foo/bar',", "file": "test/res.location.js", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 55: return app;", "file": "lib/express.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 44: // less nesting and we have", "file": "examples/view-locals/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nLine 257: }", "file": "lib/utils.js", "symbol": "", "line": 257, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 125: res.redirect('/login');", "file": "examples/auth/index.js", "symbol": "", "line": 125, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 55: });", "file": "examples/online/index.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 304: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 4.0, "target": true, "label": 4}]} {"site": "summarize_neighbors", "repo": "express", "task": "encontrar o middleware que adiciona o cabeçalho personalizado de teste às respostas", "query": "setHeader x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lang": "pt", "candidates": [{"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "encontrar o middleware que adiciona o cabeçalho personalizado de teste às respostas", "query": "setHeader x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lang": "pt", "candidates": [{"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "Comment vérifier si une réponse contient un en-tête spécifique ?", "query": "response header assertion", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lang": "fr", "candidates": [{"text": "File: examples/auth/index.js\nLine 48: // and hash the password ('foobar' is the pass here)", "file": "examples/auth/index.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 16: describe('app', function(){", "file": "test/app.engine.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 80: })", "file": "test/app.engine.js", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 15: // behaves in an asynchronous manner, like if it", "file": "examples/view-locals/user.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 79: exports.static = require('serve-static');", "file": "lib/express.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 45: function shouldHaveHeader (header) {", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 15: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 502: test.set('Content-Type', 'text/plain')", "file": "test/express.text.js", "symbol": "", "line": 502, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 215: View.prototype.render = function(options, fn){", "file": "test/app.render.js", "symbol": "", "line": 215, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 13: str = str.replace(variableRegExp, generateVariableLookup(options));", "file": "test/support/tmpl.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 38: */", "file": "examples/online/index.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 528: test.expect(200, '\"name is 论\"', done)", "file": "test/express.text.js", "symbol": "", "line": 528, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 21: app.use(express.urlencoded())", "file": "examples/auth/index.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 109: function getExpectedClientAddress(server) {", "file": "test/req.ip.js", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 76: res.send(users);", "file": "examples/web-service/index.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 34: function getCookies(res) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 638: .expect(utils.shouldHaveHeader('Last-Modified'))", "file": "test/res.sendFile.js", "symbol": "", "line": 638, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nLine 152: // force callback to be async", "file": "lib/view.js", "symbol": "", "line": 152, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 53: res.send('

    Users online: ' + ids.length + '

    ' + list(ids));", "file": "examples/online/index.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 18: fn(null, users);", "file": "examples/view-locals/user.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 124: *", "file": "lib/utils.js", "symbol": "", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 10: .expect(200, 'viewed 1 times\\n', done)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 63: })", "file": "test/express.raw.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 173: break;", "file": "lib/utils.js", "symbol": "", "line": 173, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Comment vérifier si une réponse contient un en-tête spécifique ?", "query": "response header assertion", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lang": "fr", "candidates": [{"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nsibling in test/support", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Comment vérifier si une réponse contient un en-tête spécifique ?", "query": "response header assertion", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lang": "fr", "candidates": [{"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=742-765\nread parseError for detail", "file": "test/express.json.js", "symbol": "parseError", "line": 742, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "I need a function that converts a value to a JSON string. If the escape flag is true, it should also escape '<', '>', and '&' characters to their unicode escape sequences.", "query": "json stringify escape", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lang": "en", "candidates": [{"text": "File: test/express.static.js\nLine 438: .expect(200, '123456789', done)", "file": "test/express.static.js", "symbol": "", "line": 438, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 15: // instead of the typical (req, res, next),", "file": "examples/error/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 3: var request = require('supertest')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 78: }", "file": "lib/application.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 1025: function stringify (value, replacer, spaces, escape) {", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/web-service/index.js\nLine 86: var name = req.params.name;", "file": "examples/web-service/index.js", "symbol": "", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 5: var users = require('./db');", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 46: app: { configurable: true, enumerable: true, writable: true, value: app }", "file": "lib/express.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 19: callback(err, str);", "file": "test/support/tmpl.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 128: .send(JSON.stringify({ str: buf.toString() }))", "file": "test/express.json.js", "symbol": "", "line": 128, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nLine 12: // curl http://localhost:3000/user/0", "file": "examples/route-middleware/index.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 705: test.write(Buffer.from('1f8b080000000000000bab56cc4d55b2527ab16e97522d00515be1cc0e000000', 'hex'))", "file": "test/express.json.js", "symbol": "", "line": 705, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 90: next();", "file": "examples/view-locals/index.js", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 16: err.name = 'RenderError'", "file": "test/support/tmpl.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 70: .get('/?user%5Bname%5D=tj')", "file": "test/req.query.js", "symbol": "", "line": 70, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 44: .get('/')", "file": "test/res.location.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 348: * For example if the value were \"client, proxy1, proxy2\"", "file": "lib/request.js", "symbol": "", "line": 348, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 47: app.use(error);", "file": "examples/error/index.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 18: fn(null, users);", "file": "examples/view-locals/user.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 454: app.enable('strict routing');", "file": "test/app.router.js", "symbol": "", "line": 454, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 59: assert.ok(res.text === '' || res.text === undefined)", "file": "test/support/utils.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 82: res.format({", "file": "test/res.format.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 289: var app = express();", "file": "test/app.router.js", "symbol": "", "line": 289, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 350: })", "file": "test/app.render.js", "symbol": "", "line": 350, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "I need a function that converts a value to a JSON string. If the escape flag is true, it should also escape '<', '>', and '&' characters to their unicode escape sequences.", "query": "json stringify escape", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lang": "en", "candidates": [{"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "I need a function that converts a value to a JSON string. If the escape flag is true, it should also escape '<', '>', and '&' characters to their unicode escape sequences.", "query": "json stringify escape", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lang": "en", "candidates": [{"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "middleware to redirect unauthenticated users to login", "query": "access denied middleware", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lang": "en", "candidates": [{"text": "File: test/app.engine.js\nLine 3: var assert = require('node:assert')", "file": "test/app.engine.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 40: .expect(shouldHaveHeaderValues('Set-Cookie', ['foo=bar', 'fizz=buzz']))", "file": "test/res.append.js", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 23: process.nextTick(function(){", "file": "examples/view-locals/user.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 686: .set('Range', 'asdf')", "file": "test/express.static.js", "symbol": "", "line": 686, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 5: */", "file": "examples/route-middleware/index.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 536: app.post('/', function (req, res) {", "file": "test/express.json.js", "symbol": "", "line": 536, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 155: })", "file": "test/config.js", "symbol": "", "line": 155, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 246: })", "file": "test/res.format.js", "symbol": "", "line": 246, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 29: return function (res) {", "file": "test/support/utils.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 52: function View(name, options) {", "file": "lib/view.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 19: // online", "file": "examples/online/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 29: app.get('/', function () {", "file": "examples/error/index.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 213: type: ['application/octet-stream', 'application/vnd+octets']", "file": "test/express.raw.js", "symbol": "", "line": 213, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 289: // restrict callback charset", "file": "lib/response.js", "symbol": "", "line": 289, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nLine 34: return value;", "file": "test/support/tmpl.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 5: , fs = require('node:fs');", "file": "test/app.engine.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 26: // You would fetch your user from the db", "file": "examples/route-middleware/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 75: function restrict(req, res, next) {", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nLine 1: # https://editorconfig.org", "file": ".editorconfig", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 89: assert.equal(err.message, 'Failed to lookup view \"rawr.tmpl\" in views directory \"' + path.join(__dirname, 'fixtures') + '\"')", "file": "test/app.render.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 13: str = str.replace(variableRegExp, generateVariableLookup(options));", "file": "test/support/tmpl.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 120: next();", "file": "examples/view-locals/index.js", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 288: res.send('saw ' + req.method + ' ' + req.url);", "file": "test/app.use.js", "symbol": "", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 78: debug('require \"%s\"', mod)", "file": "lib/view.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "middleware to redirect unauthenticated users to login", "query": "access denied middleware", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lang": "en", "candidates": [{"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\ndefines restrict", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "middleware to redirect unauthenticated users to login", "query": "access denied middleware", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lang": "en", "candidates": [{"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "我写了一个中间件函数,用于处理请求。它需要做两件事:首先,向响应头添加一个名为 'x-fn-3' 的头部,值设为 'hit';其次,向客户端发送一个字符串,内容格式为 'saw [HTTP方法] [请求URL] through [原始URL]'。请帮我实现这个功能。", "query": "middleware hit header send response", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lang": "zh", "candidates": [{"text": "File: test/app.router.js\nLine 949: function fn3(err, req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 949, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 232: it('should invoke the callback without error when HEAD', function (done) {", "file": "test/res.sendFile.js", "symbol": "", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 421: it('should persist store when inflated', function (done) {", "file": "test/express.text.js", "symbol": "", "line": 421, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 203: before(function () {", "file": "test/express.text.js", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 8: request(app)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 153: app.enable('hasOwnProperty')", "file": "test/config.js", "symbol": "", "line": 153, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 50: app.get('/', function(req, res, next){", "file": "examples/online/index.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 42: method: 'GET'", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 539: });", "file": "test/Router.js", "symbol": "", "line": 539, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 185: var app = express()", "file": "test/config.js", "symbol": "", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 483: function fn3(req, res, next) {", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-locals/index.js\nLine 21: // naive nesting approach,", "file": "examples/view-locals/index.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 206: var app = createRedirectServerForDomain('google.com');", "file": "test/res.location.js", "symbol": "", "line": 206, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 19: var app = express();", "file": "test/app.engine.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 25: function generateVariableLookup(data) {", "file": "test/support/tmpl.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 1: # https://editorconfig.org", "file": ".editorconfig", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 19: // middleware", "file": "examples/auth/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 50: app.get('/', function(req, res, next){", "file": "examples/online/index.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 65: describe('.get()', function(){", "file": "test/config.js", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 35: // We can also pass exceptions to next()", "file": "examples/error/index.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 581: var from = req.params.from", "file": "test/app.router.js", "symbol": "", "line": 581, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 121: var blog = express();", "file": "test/config.js", "symbol": "", "line": 121, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 469: defineGetter(req, 'fresh', function(){", "file": "lib/request.js", "symbol": "", "line": 469, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "我写了一个中间件函数,用于处理请求。它需要做两件事:首先,向响应头添加一个名为 'x-fn-3' 的头部,值设为 'hit';其次,向客户端发送一个字符串,内容格式为 'saw [HTTP方法] [请求URL] through [原始URL]'。请帮我实现这个功能。", "query": "middleware hit header send response", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lang": "zh", "candidates": [{"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn3", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "我写了一个中间件函数,用于处理请求。它需要做两件事:首先,向响应头添加一个名为 'x-fn-3' 的头部,值设为 'hit';其次,向客户端发送一个字符串,内容格式为 'saw [HTTP方法] [请求URL] through [原始URL]'。请帮我实现这个功能。", "query": "middleware hit header send response", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lang": "zh", "candidates": [{"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Il semblerait qu'un middleware manque d'en-tête personnalisé dans les réponses HTTP lors du passage au middleware suivant.", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lang": "fr", "candidates": [{"text": "File: test/res.format.js\nLine 1: 'use strict'", "file": "test/res.format.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 329: before(function () {", "file": "test/express.static.js", "symbol": "", "line": 329, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 16: .expect('Set-Cookie', /session=/)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 97: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/application.js\nLine 390: * For example if the application was", "file": "lib/application.js", "symbol": "", "line": 390, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 63: });", "file": "test/req.query.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 29: this.path = '/' + options.root + '/master/' + name;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nLine 730: // regressions around this use-case.", "file": "test/express.static.js", "symbol": "", "line": 730, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 59: .get('/logout')", "file": "test/acceptance/auth.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 663: })", "file": "test/express.static.js", "symbol": "", "line": 663, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 240: fn.emit('mount', this);", "file": "lib/application.js", "symbol": "", "line": 240, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\nLine 116: *", "file": "lib/request.js", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 101: });", "file": "test/res.location.js", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 45: var app = createApp('simple');", "file": "test/req.query.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 541: }", "file": "lib/application.js", "symbol": "", "line": 541, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 19: it('should render login form', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 43: console.error('Error initializing Redis:', err);", "file": "examples/search/index.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 79: if (!module.parent) {", "file": "examples/search/index.js", "symbol": "", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 35: };", "file": "test/support/tmpl.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 785: })", "file": "test/express.urlencoded.js", "symbol": "", "line": 785, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 312: .expect(403, '[entity.verify.failed] no leading space', done)", "file": "test/express.text.js", "symbol": "", "line": 312, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Il semblerait qu'un middleware manque d'en-tête personnalisé dans les réponses HTTP lors du passage au middleware suivant.", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lang": "fr", "candidates": [{"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Il semblerait qu'un middleware manque d'en-tête personnalisé dans les réponses HTTP lors du passage au middleware suivant.", "query": "setHeader next", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lang": "fr", "candidates": [{"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Como eu verifico se o cabeçalho de tipo de conteúdo da requisição é um formato de texto específico?", "query": "content-type text/vnd", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lang": "pt", "candidates": [{"text": "File: test/acceptance/auth.js\nLine 18: describe('GET /login',function(){", "file": "test/acceptance/auth.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 45: // if it were above it would not receive errors", "file": "examples/error/index.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 101: app.use(function (req, res) {", "file": "test/req.query.js", "symbol": "", "line": 101, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 128: var accept = accepts(this);", "file": "lib/request.js", "symbol": "", "line": 128, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nLine 426: });", "file": "test/Router.js", "symbol": "", "line": 426, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 99: *", "file": "lib/view.js", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 6: describe('GET /', function () {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 110: return server.address().address === '::'", "file": "test/req.ip.js", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 334: it('should accept null or undefined options', function (done) {", "file": "test/app.render.js", "symbol": "", "line": 334, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 306: })", "file": "test/express.raw.js", "symbol": "", "line": 306, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 258: function accept (req) {", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.router.js\nLine 107: it('should not accept params in malformed paths', function (done) {", "file": "test/app.router.js", "symbol": "", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nLine 36: /**", "file": "examples/online/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 477: it('should accept array of middleware', function (done) {", "file": "test/Router.js", "symbol": "", "line": 477, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 29: it('should accept array of values', function (done) {", "file": "test/res.append.js", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nLine 129: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 382: it('should not advertise accept-ranges', function (done) {", "file": "test/res.sendFile.js", "symbol": "", "line": 382, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 354: res.setHeader('x-store-foo', String(local.foo))", "file": "test/express.raw.js", "symbol": "", "line": 354, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 75: exports.normalizeTypes = function(types) {", "file": "lib/utils.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 94: request(this.app)", "file": "test/express.urlencoded.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 352: describe('caching', function(){", "file": "test/app.render.js", "symbol": "", "line": 352, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 432: describe('lastModified', function () {", "file": "test/express.static.js", "symbol": "", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 7: trim_trailing_whitespace = true", "file": ".editorconfig", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 42: });", "file": "examples/error/index.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Como eu verifico se o cabeçalho de tipo de conteúdo da requisição é um formato de texto específico?", "query": "content-type text/vnd", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lang": "pt", "candidates": [{"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.text.js\ndefines accept", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Como eu verifico se o cabeçalho de tipo de conteúdo da requisição é um formato de texto específico?", "query": "content-type text/vnd", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lang": "pt", "candidates": [{"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "I'm trying to verify if the authentication flow is correctly setting the session token. Where can I find the utility that extracts the primary value from the response header?", "query": "set-cookie split", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lang": "en", "candidates": [{"text": "File: test/app.render.js\nLine 3: var assert = require('node:assert')", "file": "test/app.render.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 361: request(app)", "file": "test/express.static.js", "symbol": "", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 671: if (arguments.length === 2) {", "file": "lib/response.js", "symbol": "", "line": 671, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 15: it('should parse x-www-form-urlencoded', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 363: .send('{\"user\":\"tobi\"}')", "file": "test/express.json.js", "symbol": "", "line": 363, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 832: maxAge: '20d'", "file": "test/res.sendFile.js", "symbol": "", "line": 832, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 278: done", "file": "test/res.location.js", "symbol": "", "line": 278, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 4: function getCookie(res) {", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.text.js\nLine 7: var request = require('supertest')", "file": "test/express.text.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 245: done();", "file": "test/Router.js", "symbol": "", "line": 245, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 11: * Module exports.", "file": "test/support/utils.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 247: request(this.app)", "file": "test/express.json.js", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 53: })", "file": "test/config.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 37: request(app)", "file": "test/express.urlencoded.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 47: res.setEncoding('utf8');", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 75: // this approach is much like the last", "file": "examples/view-locals/index.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 50: if (!module.parent) {", "file": "examples/error/index.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 26: // by mounting this middleware to /api", "file": "examples/web-service/index.js", "symbol": "", "line": 26, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 91: })", "file": "test/express.urlencoded.js", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 88: if (err) return next(err);", "file": "examples/view-locals/index.js", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 50: app.get('/', function(req, res, next){", "file": "examples/online/index.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 68: text: function(){ res.send('hey') },", "file": "test/res.format.js", "symbol": "", "line": 68, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 18: // in different orders etc.", "file": "examples/error/index.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 63: // query the db for the given username", "file": "examples/auth/index.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "I'm trying to verify if the authentication flow is correctly setting the session token. Where can I find the utility that extracts the primary value from the response header?", "query": "set-cookie split", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lang": "en", "candidates": [{"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nsibling in test/acceptance", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\ndefines getCookie", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "I'm trying to verify if the authentication flow is correctly setting the session token. Where can I find the utility that extracts the primary value from the response header?", "query": "set-cookie split", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lang": "en", "candidates": [{"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.engine.js lines=8-31\nread render for detail", "file": "test/app.engine.js", "symbol": "render", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Verify that the parsed JSON object in the response contains exactly a specified number of keys.", "query": "assert key count", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lang": "en", "candidates": [{"text": "File: test/config.js\nLine 198: app.set('foo', 'bar');", "file": "test/config.js", "symbol": "", "line": 198, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 31: /**", "file": "lib/utils.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 128: });", "file": "examples/auth/index.js", "symbol": "", "line": 128, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 41: .end(done)", "file": "test/res.append.js", "symbol": "", "line": 41, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 107: var app = createApp({ limit: '1kb' })", "file": "test/express.text.js", "symbol": "", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 35: users.push(new User('Luna', 1, 'cat'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 30: next();", "file": "examples/route-middleware/index.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 64: exports.response = res;", "file": "lib/express.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 20: }", "file": "test/support/tmpl.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 83: if (typeof fn !== 'function') {", "file": "lib/view.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 304: return proto;", "file": "lib/request.js", "symbol": "", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 169: test.end(function (err) {", "file": "test/res.sendFile.js", "symbol": "", "line": 169, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 42: // You may want to implement specific exceptions", "file": "examples/route-middleware/index.js", "symbol": "", "line": 42, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 503: })", "file": "test/app.router.js", "symbol": "", "line": 503, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 261: *", "file": "lib/utils.js", "symbol": "", "line": 261, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 17: .expect(200, done)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 492: */", "file": "lib/application.js", "symbol": "", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 824: function expectKeyCount (count) {", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/Router.js\nLine 131: assert(!err, err);", "file": "test/Router.js", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 12: .get('/')", "file": "test/acceptance/auth.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 221: it('should expose app.locals', function(done){", "file": "test/res.render.js", "symbol": "", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 209: 'HTTP://google.com\\\\@apple.com',", "file": "test/res.location.js", "symbol": "", "line": 209, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Verify that the parsed JSON object in the response contains exactly a specified number of keys.", "query": "assert key count", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lang": "en", "candidates": [{"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\ndefines expectKeyCount", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "Verify that the parsed JSON object in the response contains exactly a specified number of keys.", "query": "assert key count", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lang": "en", "candidates": [{"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=805-828\nread createApp for detail", "file": "test/express.urlencoded.js", "symbol": "createApp", "line": 805, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "express", "task": "How do I check if the request content type is application/vnd.octet?", "query": "accept octet request", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lang": "en", "candidates": [{"text": "File: test/app.router.js\nLine 107: it('should not accept params in malformed paths', function (done) {", "file": "test/app.router.js", "symbol": "", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nLine 29: it('should accept array of values', function (done) {", "file": "test/res.append.js", "symbol": "", "line": 29, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nLine 75: route.get(function (req, res, next) { next(new Error('should not run')) })", "file": "test/Router.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 334: it('should accept null or undefined options', function (done) {", "file": "test/app.render.js", "symbol": "", "line": 334, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nLine 451: app.enable = function enable(setting) {", "file": "lib/application.js", "symbol": "", "line": 451, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 453: it('should accept string', function (done) {", "file": "test/express.static.js", "symbol": "", "line": 453, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nLine 293: it('should render the template', function(done){", "file": "test/app.render.js", "symbol": "", "line": 293, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 5: var path = require('node:path')", "file": "test/express.static.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 382: it('should not advertise accept-ranges', function (done) {", "file": "test/res.sendFile.js", "symbol": "", "line": 382, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nLine 48: // and hash the password ('foobar' is the pass here)", "file": "examples/auth/index.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 48: assert.strictEqual(str, '

    tobi

    ')", "file": "test/app.engine.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 4: // https://redis.io/", "file": "examples/online/index.js", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 243: function accept (req) {", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/application.js\nLine 380: }", "file": "lib/application.js", "symbol": "", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 303: // the typeof check is just to reduce client error noise", "file": "lib/response.js", "symbol": "", "line": 303, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 46: }", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 37: }).join('; ');", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 37, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 10: res.format({", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 21: online = online(db);", "file": "examples/online/index.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 29: it('should accept array of values', function (done) {", "file": "test/res.append.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 111: it('should accept an instance of URL', function (done) {", "file": "test/res.location.js", "symbol": "", "line": 111, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nLine 227: .set('Accept', 'text/html; q=.5, text/plain')", "file": "test/res.format.js", "symbol": "", "line": 227, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 1038: return '\\\\u003e'", "file": "lib/response.js", "symbol": "", "line": 1038, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 50: self.engine(buf, options, fn);", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "How do I check if the request content type is application/vnd.octet?", "query": "accept octet request", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lang": "en", "candidates": [{"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\ndefines accept", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "How do I check if the request content type is application/vnd.octet?", "query": "accept octet request", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lang": "en", "candidates": [{"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/search/index.js lines=29-52\nread initializeRedis for detail", "file": "examples/search/index.js", "symbol": "initializeRedis", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=483-506\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 483, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "요청이 중단되었을 때 에러를 생성하고 콜백을 호출하는 로직이 어디 있지?", "query": "ECONNABORTED error callback", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lang": "ko", "candidates": [{"text": "File: test/config.js\nLine 11: assert.equal(app.get('foo'), 'bar');", "file": "test/config.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 8: const { Buffer } = require('node:buffer');", "file": "test/express.raw.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 34: return value;", "file": "test/support/tmpl.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 267: */", "file": "lib/request.js", "symbol": "", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 94: var blog = express();", "file": "test/config.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 30: var users = [];", "file": "examples/view-locals/user.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 87: * @private", "file": "lib/application.js", "symbol": "", "line": 87, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 928: function onaborted() {", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.static.js\nLine 734: this.app = express()", "file": "test/express.static.js", "symbol": "", "line": 734, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 59: });", "file": "examples/search/index.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 59: });", "file": "examples/search/index.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 71: })", "file": "test/express.json.js", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 22: it('should mount the app', function(done){", "file": "test/app.use.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 34: assert.strictEqual(body.toString('hex'), buf.toString('hex'))", "file": "test/support/utils.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 32: /**", "file": "lib/request.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 4: * Copyright(c) 2013 Roman Shtylman", "file": "lib/express.js", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 114: app.use(function(req, res){", "file": "test/res.location.js", "symbol": "", "line": 114, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 1: /*!", "file": "lib/view.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 91: test.expect(200, '\"name is 论\"', done)", "file": "test/express.text.js", "symbol": "", "line": 91, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 901: })", "file": "test/app.router.js", "symbol": "", "line": 901, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 35: };", "file": "test/support/tmpl.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 132: app.listen(3000);", "file": "examples/auth/index.js", "symbol": "", "line": 132, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 35: res.locals.message = '';", "file": "examples/auth/index.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 97: app.set('title', 'Express');", "file": "test/config.js", "symbol": "", "line": 97, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "요청이 중단되었을 때 에러를 생성하고 콜백을 호출하는 로직이 어디 있지?", "query": "ECONNABORTED error callback", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lang": "ko", "candidates": [{"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "요청이 중단되었을 때 에러를 생성하고 콜백을 호출하는 로직이 어디 있지?", "query": "ECONNABORTED error callback", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lang": "ko", "candidates": [{"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "미들웨어에서 응답 헤더에 특정 값을 추가하는 로직이 어디에 있는지 확인하고 싶어요. 헤더 이름이 'x-fn-2'로 설정되어 있는 부분을 찾아주세요.", "query": "setHeader x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lang": "ko", "candidates": [{"text": "File: lib/utils.js\nLine 189: * @param {Boolean|String|Number|Array|Function} val", "file": "lib/utils.js", "symbol": "", "line": 189, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nLine 237: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.static.js\nLine 695: this.app.use('/users', express.static(fixtures + '/users'))", "file": "test/express.static.js", "symbol": "", "line": 695, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 204: describe('.render(name, option)', function(){", "file": "test/res.render.js", "symbol": "", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 133: it('should render the template', function(done){", "file": "test/res.render.js", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nLine 45: console.log('Express started on port 3000');", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 274: res.locals.user = { name: 'tobi' };", "file": "test/res.render.js", "symbol": "", "line": 274, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 318: next();", "file": "test/Router.js", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 34: if (!key) return next(error(400, 'api key required'));", "file": "examples/web-service/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 62: })", "file": "test/Router.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 33: users.push(new User('Loki', 1, 'ferret'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 178: app.locals.name = 'tobi';", "file": "test/app.render.js", "symbol": "", "line": 178, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 23: *", "file": "test/support/utils.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 11: }", "file": "examples/view-locals/user.js", "symbol": "", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 24: this.name = name;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 96: .set('Content-Type', 'application/x-www-form-urlencoded')", "file": "test/express.urlencoded.js", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 23: .expect(200, 'viewed 1 times\\n', function (err, res) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 82: })", "file": "test/app.engine.js", "symbol": "", "line": 82, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 314: request(app)", "file": "test/app.router.js", "symbol": "", "line": 314, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 44: // the error handler is placed after routes", "file": "examples/error/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 13: */", "file": "lib/express.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "미들웨어에서 응답 헤더에 특정 값을 추가하는 로직이 어디에 있는지 확인하고 싶어요. 헤더 이름이 'x-fn-2'로 설정되어 있는 부분을 찾아주세요.", "query": "setHeader x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lang": "ko", "candidates": [{"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn2", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "미들웨어에서 응답 헤더에 특정 값을 추가하는 로직이 어디에 있는지 확인하고 싶어요. 헤더 이름이 'x-fn-2'로 설정되어 있는 부분을 찾아주세요.", "query": "setHeader x-fn-2", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lang": "ko", "candidates": [{"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.append.js lines=107-130\nread shouldHaveHeaderValues for detail", "file": "test/res.append.js", "symbol": "shouldHaveHeaderValues", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Wo wird der Fehler abgefangen und als Text in die Antwort geschrieben?", "query": "error response send", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lang": "de", "candidates": [{"text": "File: examples/search/index.js\nLine 31: // connect to Redis", "file": "examples/search/index.js", "symbol": "", "line": 31, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 141: function testRequestedRedirect (app, inputUrl, expected, expectedHost, done) {", "file": "test/res.location.js", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 810: *", "file": "lib/response.js", "symbol": "", "line": 810, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 120: .set('Accept', 'text/html')", "file": "test/res.format.js", "symbol": "", "line": 120, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 19: return ' - ' + user.name + '\\n';", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 80: /**", "file": "lib/utils.js", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 94: function users2(req, res, next) {", "file": "examples/view-locals/index.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 949: function fn3(err, req, res, next) {", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.render.js\nLine 325: var jane = { name: 'jane' };", "file": "test/app.render.js", "symbol": "", "line": 325, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 139: app.use(fn1, fn2, function fn3(req, res) {", "file": "test/app.use.js", "symbol": "", "line": 139, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nLine 119: res.redirect(req.get('Referrer') || '/');", "file": "examples/auth/index.js", "symbol": "", "line": 119, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 52: function View(name, options) {", "file": "lib/view.js", "symbol": "", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 9: var app = express();", "file": "examples/route-middleware/index.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 108: .end(function (err, res) {", "file": "test/express.static.js", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 5: charset = utf-8", "file": ".editorconfig", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 28: // faux database", "file": "examples/view-locals/user.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 78: //", "file": "examples/view-locals/index.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 284: // jsonp", "file": "lib/response.js", "symbol": "", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 167: app.disable('hasOwnProperty')", "file": "test/config.js", "symbol": "", "line": 167, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 49: var fn = function(){}", "file": "test/config.js", "symbol": "", "line": 49, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 63: ];", "file": "examples/web-service/index.js", "symbol": "", "line": 63, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 22: User.count = function(fn){", "file": "examples/view-locals/user.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 22: User.count = function(fn){", "file": "examples/view-locals/user.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 20: }", "file": "test/support/tmpl.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Wo wird der Fehler abgefangen und als Text in die Antwort geschrieben?", "query": "error response send", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lang": "de", "candidates": [{"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\ndefines fn3", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Wo wird der Fehler abgefangen und als Text in die Antwort geschrieben?", "query": "error response send", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lang": "de", "candidates": [{"text": "Next: read test/app.router.js lines=949-972\nread fn3 for detail", "file": "test/app.router.js", "symbol": "fn3", "line": 949, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=985-1008\nread onstream for detail", "file": "lib/response.js", "symbol": "onstream", "line": 985, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=357-380\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 357, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "测试配置文件中有一个始终返回真值的硬编码逻辑,这可能导致配置校验失效,请检查是否应该移除这个恒定的布尔返回值。", "query": "return true", "file": "test/config.js", "symbol": "fn2", "line": 124, "lang": "zh", "candidates": [{"text": "File: lib/response.js\nLine 905: done = options;", "file": "lib/response.js", "symbol": "", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 416: .expect('x-fn-3', 'hit')", "file": "test/app.use.js", "symbol": "", "line": 416, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 853: body = '';", "file": "lib/response.js", "symbol": "", "line": 853, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 102: })", "file": "test/req.ip.js", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nLine 69: *", "file": "lib/utils.js", "symbol": "", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 17: app.set('views', path.join(__dirname, 'views'));", "file": "examples/auth/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 97: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nLine 44: app.locals.user = { name: 'tobi' };", "file": "test/app.engine.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 73: app.use(function(req, res){", "file": "test/res.append.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 287: 'https://google.com\\'.bb.com/1.html',", "file": "test/res.location.js", "symbol": "", "line": 287, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 8: callback(err);", "file": "test/support/tmpl.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 15: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.router.js\nLine 1048: it('should pass rejected promise without value', function (done) {", "file": "test/app.router.js", "symbol": "", "line": 1048, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 47: res.send('Supports: ' + err.types.join(', '))", "file": "test/res.format.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 290: );", "file": "test/res.location.js", "symbol": "", "line": 290, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 34: })", "file": "test/express.static.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 945, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nLine 32: })", "file": "test/app.render.js", "symbol": "", "line": 32, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 6: }", "file": "test/acceptance/auth.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 38: .expect(500, /TypeError: path must be absolute/, done)", "file": "test/res.sendFile.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 50: app.response = Object.create(res, {", "file": "lib/express.js", "symbol": "", "line": 50, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 30: for (var i = 0; i < parts.length; i++) {", "file": "test/support/tmpl.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "测试配置文件中有一个始终返回真值的硬编码逻辑,这可能导致配置校验失效,请检查是否应该移除这个恒定的布尔返回值。", "query": "return true", "file": "test/config.js", "symbol": "fn2", "line": 124, "lang": "zh", "candidates": [{"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\ndefines fn2", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "测试配置文件中有一个始终返回真值的硬编码逻辑,这可能导致配置校验失效,请检查是否应该移除这个恒定的布尔返回值。", "query": "return true", "file": "test/config.js", "symbol": "fn2", "line": 124, "lang": "zh", "candidates": [{"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=57-80\nread shouldNotHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveBody", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=232-255\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "find the handler that sets a completion flag and executes a callback on error", "query": "onerror callback done", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lang": "en", "candidates": [{"text": "File: lib/utils.js\nLine 199: return function(){ return true };", "file": "lib/utils.js", "symbol": "", "line": 199, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 20: function error(err, req, res, next) {", "file": "examples/error/index.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 185: var views = [", "file": "test/res.render.js", "symbol": "", "line": 185, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 156: onerror: logerror.bind(this)", "file": "lib/application.js", "symbol": "", "line": 156, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.sendFile.js\nLine 886: })", "file": "test/res.sendFile.js", "symbol": "", "line": 886, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 28: .expect(200, 'viewed 2 times\\n', done)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 7: describe('.set()', function () {", "file": "test/config.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 15: // curl http://localhost:3000/user/1/edit (unauthorized since this is not you)", "file": "examples/route-middleware/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 110: // keep in mind that middleware may be placed anywhere", "file": "examples/view-locals/index.js", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 44: it('should not parse complex keys', function (done) {", "file": "test/req.query.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 5: module.exports = function renderFile(fileName, options, callback) {", "file": "test/support/tmpl.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 762: it('should support deflate encoding', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 762, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 22: assert.equal(app.set('foo', 'bar'), app);", "file": "test/config.js", "symbol": "", "line": 22, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 135: it('should not stack overflow with a large sync middleware stack', function (done) {", "file": "test/Router.js", "symbol": "", "line": 135, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 9: var extname = path.extname;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 93: app.use(function (req, res) {", "file": "test/res.append.js", "symbol": "", "line": 93, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 948: function onerror(err) {", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.text.js\nLine 28: })", "file": "test/express.text.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 72: app.engine('.html', render);", "file": "test/app.engine.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 56: .get('/')", "file": "test/res.location.js", "symbol": "", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 112: // that you wish to make available to all subsequent", "file": "examples/view-locals/index.js", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 252: *", "file": "lib/application.js", "symbol": "", "line": 252, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 9: [{*.js,*.json,*.yml}]", "file": ".editorconfig", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 109: var headers = res.headers[key.toLowerCase()]", "file": "test/res.append.js", "symbol": "", "line": 109, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "find the handler that sets a completion flag and executes a callback on error", "query": "onerror callback done", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lang": "en", "candidates": [{"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nelsewhere in the tree", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "find the handler that sets a completion flag and executes a callback on error", "query": "onerror callback done", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lang": "en", "candidates": [{"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/view-locals/index.js lines=56-79\nread users for detail", "file": "examples/view-locals/index.js", "symbol": "users", "line": 56, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=75-98\nread getMajorVersion for detail", "file": "test/support/utils.js", "symbol": "getMajorVersion", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=473-496\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 473, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-constructor/github-view.js lines=23-46\nread GithubView for detail", "file": "examples/view-constructor/github-view.js", "symbol": "GithubView", "line": 23, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=486-509\nread fn2 for detail", "file": "test/Router.js", "symbol": "fn2", "line": 486, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=210-233\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 210, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "O gerador de identificação de versão para o corpo das mensagens está falhando ao tentar converter o conteúdo se o formato de codificação não for especificado quando o dado não é um buffer.", "query": "etag generator options", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lang": "pt", "candidates": [{"text": "File: test/express.text.js\nLine 317: verify: function (req, res, buf) {", "file": "test/express.text.js", "symbol": "", "line": 317, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 249: function createETagGenerator (options) {", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/search/index.js\nLine 33: await db.connect();", "file": "examples/search/index.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 65: describe('GET /restricted',function(){", "file": "test/acceptance/auth.js", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 21: */", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 54: res.set('Set-Cookie', 'pet=tobi')", "file": "test/res.append.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 508: assert.throws(router.param.bind(router, 'id', 42), /argument fn must be a function/);", "file": "test/Router.js", "symbol": "", "line": 508, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 53: app.use(function (req, res) {", "file": "test/res.append.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 20: }", "file": "test/support/tmpl.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 62: }", "file": "lib/view.js", "symbol": "", "line": 62, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 44: app.listen(3000);", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 44, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 200: })", "file": "test/express.raw.js", "symbol": "", "line": 200, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 9: fs.readFile(path, 'utf8', function(err, str){", "file": "test/app.engine.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 318: }", "file": "test/express.raw.js", "symbol": "", "line": 318, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 14: // process.nextTick makes sure this function API", "file": "examples/view-locals/user.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 14: // process.nextTick makes sure this function API", "file": "examples/view-locals/user.js", "symbol": "", "line": 14, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 13: })", "file": "test/express.urlencoded.js", "symbol": "", "line": 13, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 537: * res.send('

    hey

    ');", "file": "lib/response.js", "symbol": "", "line": 537, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 51: return function(req, res, next) {", "file": "examples/route-middleware/index.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 10: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 187: '/foo/bar',", "file": "test/res.location.js", "symbol": "", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 518: .get('/foo')", "file": "test/app.use.js", "symbol": "", "line": 518, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 66: var app = express()", "file": "test/res.append.js", "symbol": "", "line": 66, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 222: 'google.com',", "file": "test/res.location.js", "symbol": "", "line": 222, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "O gerador de identificação de versão para o corpo das mensagens está falhando ao tentar converter o conteúdo se o formato de codificação não for especificado quando o dado não é um buffer.", "query": "etag generator options", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lang": "pt", "candidates": [{"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\ndefines createETagGenerator", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "O gerador de identificação de versão para o corpo das mensagens está falhando ao tentar converter o conteúdo se o formato de codificação não for especificado quando o dado não é um buffer.", "query": "etag generator options", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lang": "pt", "candidates": [{"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=249-272\nread createETagGenerator for detail", "file": "lib/utils.js", "symbol": "createETagGenerator", "line": 249, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=258-281\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=60-83\nread authenticate for detail", "file": "examples/auth/index.js", "symbol": "authenticate", "line": 60, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.ip.js lines=109-132\nread getExpectedClientAddress for detail", "file": "test/req.ip.js", "symbol": "getExpectedClientAddress", "line": 109, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "find the middleware that sets a custom header and terminates the response", "query": "setHeader end", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lang": "en", "candidates": [{"text": "File: test/app.router.js\nLine 949: function fn3(err, req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 949, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nLine 646: it('should persist store', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 646, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 71: })", "file": "test/acceptance/auth.js", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 25: }", "file": "test/res.format.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 67: */", "file": "examples/search/index.js", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 34: */", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 6: insert_final_newline = true", "file": ".editorconfig", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 330: this.app = createApp(fixtures, { 'fallthrough': false })", "file": "test/express.static.js", "symbol": "", "line": 330, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 242: function fn3(req, res, next) {", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/req.ip.js\nLine 51: .set('X-Forwarded-For', '10.0.0.2, 10.0.0.3, 10.0.0.1', '10.0.0.4')", "file": "test/req.ip.js", "symbol": "", "line": 51, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 159: describe('with inflate option', function () {", "file": "test/express.raw.js", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 46: // from app.get() etc", "file": "examples/error/index.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 17: text: function(){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 8: request(app)", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 498: })", "file": "test/Router.js", "symbol": "", "line": 498, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 3: module.exports = User;", "file": "examples/view-locals/user.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 76: .expect(200, '{\"user\":\"tobi\"}', done)", "file": "test/express.urlencoded.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 245: }", "file": "test/express.raw.js", "symbol": "", "line": 245, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 663: * @param {String|Object} field", "file": "lib/response.js", "symbol": "", "line": 663, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 83: // so in that sense the previous example", "file": "examples/view-locals/index.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 61: })", "file": "test/config.js", "symbol": "", "line": 61, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 500: request(app)", "file": "test/res.sendFile.js", "symbol": "", "line": 500, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 25: var once = require('once')", "file": "lib/application.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 57: it('should redirect to /', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "find the middleware that sets a custom header and terminates the response", "query": "setHeader end", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lang": "en", "candidates": [{"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn3", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "find the middleware that sets a custom header and terminates the response", "query": "setHeader end", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lang": "en", "candidates": [{"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/user.js lines=7-30\nread User for detail", "file": "examples/view-locals/user.js", "symbol": "User", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=750-773\nread shouldContainInBody for detail", "file": "test/express.json.js", "symbol": "shouldContainInBody", "line": 750, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "这个中间件是在请求响应头里加了一个特定的自定义字段吗?", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lang": "zh", "candidates": [{"text": "File: test/express.static.js\nLine 382: })", "file": "test/express.static.js", "symbol": "", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 490: describe('when \"ignore\"', function () {", "file": "test/res.sendFile.js", "symbol": "", "line": 490, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 176: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-constructor/github-view.js\nLine 12: * Expose `GithubView`.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 244: assert.equal(err.message, 'foo');", "file": "test/Router.js", "symbol": "", "line": 244, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 133: if (host !== domain) {", "file": "test/res.location.js", "symbol": "", "line": 133, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 1: 'use strict'", "file": "examples/view-locals/user.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 24: this.name = name;", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 24, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 6: * MIT Licensed", "file": "lib/application.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 103: index = str.lastIndexOf(';', splitIndex - 1) + 1;", "file": "lib/utils.js", "symbol": "", "line": 103, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 180: .expect('tobi', done);", "file": "test/res.render.js", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nLine 176: case 'extended':", "file": "lib/utils.js", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 181: });", "file": "test/res.location.js", "symbol": "", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 386: function createApp() {", "file": "test/app.render.js", "symbol": "", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 812: res.send(String(req.headers['x-error-property']", "file": "test/express.urlencoded.js", "symbol": "", "line": 812, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 33: next();", "file": "examples/online/index.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 20: }", "file": "test/support/tmpl.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 10: indent_size = 2", "file": ".editorconfig", "symbol": "", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 53: res.send('

    Users online: ' + ids.length + '

    ' + list(ids));", "file": "examples/online/index.js", "symbol": "", "line": 53, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nLine 138: // render, normalizing sync callbacks", "file": "lib/view.js", "symbol": "", "line": 138, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 112: // that you wish to make available to all subsequent", "file": "examples/view-locals/index.js", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "这个中间件是在请求响应头里加了一个特定的自定义字段吗?", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lang": "zh", "candidates": [{"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nsibling in test", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\ndefines fn1", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "这个中间件是在请求响应头里加了一个特定的自定义字段吗?", "query": "setHeader x-fn-1", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lang": "zh", "candidates": [{"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=25-48\nread generateVariableLookup for detail", "file": "test/support/tmpl.js", "symbol": "generateVariableLookup", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/Router.js lines=463-486\nread no for detail", "file": "test/Router.js", "symbol": "no", "line": 463, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/express.js lines=36-59\nread createApplication for detail", "file": "lib/express.js", "symbol": "createApplication", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 4.0, "target": true, "label": 4}]} {"site": "project_search", "repo": "express", "task": "Fehlerbericht: Ein Middleware-Handler setzt einen spezifischen Response-Header und beendet die Antwort sofort, ohne die nächste Funktion in der Kette aufzurufen.", "query": "setHeader res.end", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lang": "de", "candidates": [{"text": "File: test/config.js\nLine 190: describe('.disabled()', function(){", "file": "test/config.js", "symbol": "", "line": 190, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 862: res.end('success')", "file": "test/app.router.js", "symbol": "", "line": 862, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 45: };", "file": "examples/auth/index.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 111: assert.strictEqual(headers.length, values.length, 'should have ' + values.length + ' occurrences of \"' + key + '\"')", "file": "test/res.append.js", "symbol": "", "line": 111, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 85: })", "file": "test/req.ip.js", "symbol": "", "line": 85, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 203: var app = express()", "file": "test/config.js", "symbol": "", "line": 203, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 283: /**", "file": "lib/request.js", "symbol": "", "line": 283, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 46: .post('/')", "file": "test/express.json.js", "symbol": "", "line": 46, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 67: var app = createApp(false);", "file": "test/req.query.js", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 35: return res.headers['set-cookie'].map(function (val) {", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 949: function fn3(err, req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 949, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\nLine 105: * req.accepts('text/html');", "file": "lib/request.js", "symbol": "", "line": 105, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 214: function fn3(req, res, next) {", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.sendFile.js\nLine 30: .expect(500, /TypeError: path must be a string to res.sendFile/, done)", "file": "test/res.sendFile.js", "symbol": "", "line": 30, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 77: router.get('/foo', function (req, res, next) { next(new Error('should not run')) })", "file": "test/Router.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 43: };", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 75: describe('when \"query parser\" enabled', function () {", "file": "test/req.query.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 170: router.use(function(err, req, res, next){", "file": "test/res.format.js", "symbol": "", "line": 170, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 158: describe('in router', function(){", "file": "test/res.format.js", "symbol": "", "line": 158, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 18: res.append('Set-Cookie', 'fizz=buzz')", "file": "test/res.append.js", "symbol": "", "line": 18, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nLine 20: * render templates from a database etc.", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 258: * res.jsonp({ user: 'tj' });", "file": "lib/response.js", "symbol": "", "line": 258, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 89: console.log('Express started on port 3000');", "file": "examples/route-middleware/index.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 99: test.expect(200, getExpectedClientAddress(test._server), done)", "file": "test/req.ip.js", "symbol": "", "line": 99, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Fehlerbericht: Ein Middleware-Handler setzt einen spezifischen Response-Header und beendet die Antwort sofort, ohne die nächste Funktion in der Kette aufzurufen.", "query": "setHeader res.end", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lang": "de", "candidates": [{"text": "File: test/res.render.js\nsibling in test", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nsibling in test", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\ndefines fn3", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nsibling in test", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Fehlerbericht: Ein Middleware-Handler setzt einen spezifischen Response-Header und beendet die Antwort sofort, ohne die nächste Funktion in der Kette aufzurufen.", "query": "setHeader res.end", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lang": "de", "candidates": [{"text": "Next: read examples/web-service/index.js lines=15-38\nread error for detail", "file": "examples/web-service/index.js", "symbol": "error", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=7-30\nread trim_trailing_whitespace for detail", "file": ".editorconfig", "symbol": "trim_trailing_whitespace", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=92-115\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=134-157\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 134, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "特定の権限がないとアクセスできないようにするミドルウェアの作り方は?", "query": "middleware role check", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lang": "ja", "candidates": [{"text": "File: test/express.static.js\nLine 759: app.use(express.static(fixtures))", "file": "test/express.static.js", "symbol": "", "line": 759, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 221: test.expect(200, '{\"name\":\"论\"}', done)", "file": "test/express.json.js", "symbol": "", "line": 221, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 1192: router.use(function (req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 1192, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 65: })", "file": "test/app.engine.js", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 25: }", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 500: .expect('x-fn-2', 'hit')", "file": "test/app.use.js", "symbol": "", "line": 500, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 188: var test = request(app).post('/')", "file": "test/express.json.js", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 28: .type('urlencoded')", "file": "test/acceptance/auth.js", "symbol": "", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 159: *", "file": "lib/request.js", "symbol": "", "line": 159, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 29: if (err) return done(err);", "file": "test/app.render.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 362: it('should adjust FQDN req.url with multiple handlers', function (done) {", "file": "test/Router.js", "symbol": "", "line": 362, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 9: 'use strict';", "file": "lib/express.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 362: })", "file": "test/app.use.js", "symbol": "", "line": 362, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 90: });", "file": "test/req.query.js", "symbol": "", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 502: return true", "file": "test/express.urlencoded.js", "symbol": "", "line": 502, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 38: }", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 38, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nLine 34: users.push(new User('Jane', 6, 'ferret'));", "file": "examples/view-locals/user.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nLine 15: .get('/')", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 76: assert.ok(err)", "file": "test/app.render.js", "symbol": "", "line": 76, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nLine 75: });", "file": "test/res.render.js", "symbol": "", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 94: app.use(function(req, res, next){", "file": "test/req.ip.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 315: });", "file": "lib/request.js", "symbol": "", "line": 315, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 50: function andRestrictTo(role) {", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/request.js\nLine 83: };", "file": "lib/request.js", "symbol": "", "line": 83, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "特定の権限がないとアクセスできないようにするミドルウェアの作り方は?", "query": "middleware role check", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lang": "ja", "candidates": [{"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nelsewhere in the tree", "file": "test/app.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\ndefines andRestrictTo", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nelsewhere in the tree", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nelsewhere in the tree", "file": "test/req.query.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "特定の権限がないとアクセスできないようにするミドルウェアの作り方は?", "query": "middleware role check", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lang": "ja", "candidates": [{"text": "Next: read test/app.use.js lines=181-204\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 181, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=64-87\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=382-405\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 382, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=36-59\nread andRestrictToSelf for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictToSelf", "line": 36, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/route-middleware/index.js lines=50-73\nread andRestrictTo for detail", "file": "examples/route-middleware/index.js", "symbol": "andRestrictTo", "line": 50, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=129-152\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 129, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=400-423\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 400, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=69-92\nread shouldNotHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldNotHaveHeader", "line": 69, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=1025-1048\nread stringify for detail", "file": "lib/response.js", "symbol": "stringify", "line": 1025, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/route-middleware/index.js lines=25-48\nread loadUser for detail", "file": "examples/route-middleware/index.js", "symbol": "loadUser", "line": 25, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Como o código trata o encerramento da stream e lida com erros como ECONNRESET?", "query": "onfinish stream error", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lang": "pt", "candidates": [{"text": "File: test/res.render.js\nLine 330: res.end(html);", "file": "test/res.render.js", "symbol": "", "line": 330, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 544: test.expect(415, '[encoding.unsupported] unsupported content encoding \"nulls\"', done)", "file": "test/express.text.js", "symbol": "", "line": 544, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 89: console.log('Express started on port 3000');", "file": "examples/route-middleware/index.js", "symbol": "", "line": 89, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 94: var blog = express();", "file": "test/config.js", "symbol": "", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 139: // but uses a route instead:", "file": "examples/view-locals/index.js", "symbol": "", "line": 139, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 9: var app = module.exports = express();", "file": "examples/web-service/index.js", "symbol": "", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 65: describe('GET /restricted',function(){", "file": "test/acceptance/auth.js", "symbol": "", "line": 65, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 4: [*]", "file": ".editorconfig", "symbol": "", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 210: 'HTTP://google.com\\\\@apple.com',", "file": "test/res.location.js", "symbol": "", "line": 210, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 2: * express", "file": "lib/utils.js", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 34: app.get('/next', function(req, res, next){", "file": "examples/error/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 17: .set('Content-Type', 'text/plain')", "file": "test/express.text.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 967: function onfinish(err) {", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/config.js\nLine 67: var app = express();", "file": "test/config.js", "symbol": "", "line": 67, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 59: app.set('trust proxy', fn)", "file": "test/config.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 176: if (stat && stat.isFile()) {", "file": "lib/view.js", "symbol": "", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 410: .expect(403, '[entity.verify.failed] no arrays', done)", "file": "test/express.json.js", "symbol": "", "line": 410, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nLine 2: root = true", "file": ".editorconfig", "symbol": "", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 328: return this;", "file": "lib/application.js", "symbol": "", "line": 328, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 43: .set('Content-Type', 'application/octet-stream')", "file": "test/express.raw.js", "symbol": "", "line": 43, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 184: it('should default to false for prototype values', function () {", "file": "test/config.js", "symbol": "", "line": 184, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 3: * Copyright(c) 2009-2013 TJ Holowaychuk", "file": "lib/utils.js", "symbol": "", "line": 3, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 7: var assert = require('node:assert');", "file": "test/support/utils.js", "symbol": "", "line": 7, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 71: .expect(200, '{}', done);", "file": "test/req.query.js", "symbol": "", "line": 71, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Como o código trata o encerramento da stream e lida com erros como ECONNRESET?", "query": "onfinish stream error", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lang": "pt", "candidates": [{"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nelsewhere in the tree", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nelsewhere in the tree", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nelsewhere in the tree", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nelsewhere in the tree", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nelsewhere in the tree", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nsibling in lib", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "Como o código trata o encerramento da stream e lida com erros como ECONNRESET?", "query": "onfinish stream error", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lang": "pt", "candidates": [{"text": "Next: read .editorconfig lines=2-25\nread root for detail", "file": ".editorconfig", "symbol": "root", "line": 2, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=955-978\nread onend for detail", "file": "lib/response.js", "symbol": "onend", "line": 955, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=948-971\nread onerror for detail", "file": "lib/response.js", "symbol": "onerror", "line": 948, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=234-257\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 234, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=284-307\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 284, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=824-847\nread expectKeyCount for detail", "file": "test/express.urlencoded.js", "symbol": "expectKeyCount", "line": 824, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=923-946\nread sendfile for detail", "file": "lib/response.js", "symbol": "sendfile", "line": 923, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=377-400\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 377, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=905-928\nread createApp for detail", "file": "test/res.sendFile.js", "symbol": "createApp", "line": 905, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=967-990\nread onfinish for detail", "file": "lib/response.js", "symbol": "onfinish", "line": 967, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=501-524\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 501, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 2.0, "target": false, "label": 2}]} {"site": "project_search", "repo": "express", "task": "Estoy revisando cómo se están enviando las respuestas de prueba en las rutas. ¿Podrías mostrarme el middleware que devuelve ese texto plano directamente?", "query": "res.send string", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lang": "es", "candidates": [{"text": "File: test/express.urlencoded.js\nLine 432: })", "file": "test/express.urlencoded.js", "symbol": "", "line": 432, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 486: function fn2(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 486, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nLine 187: })", "file": "test/express.raw.js", "symbol": "", "line": 187, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 945: function fn2(req, res, next) {", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/response.js\nLine 407: // transfer", "file": "lib/response.js", "symbol": "", "line": 407, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 102: */", "file": "lib/view.js", "symbol": "", "line": 102, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nLine 310: .set('Content-Type', 'text/plain')", "file": "test/express.text.js", "symbol": "", "line": 310, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nLine 77: app.use(express.json())", "file": "test/express.json.js", "symbol": "", "line": 77, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nLine 112: : '127.0.0.1';", "file": "test/req.ip.js", "symbol": "", "line": 112, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 188: })", "file": "test/config.js", "symbol": "", "line": 188, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 361: // reverse the order (to farthest -> closest)", "file": "lib/request.js", "symbol": "", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 12: * Module dependencies.", "file": "lib/request.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nLine 16: // otherwise they behave exactly like regular", "file": "examples/error/index.js", "symbol": "", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 518: .get('/')", "file": "test/express.urlencoded.js", "symbol": "", "line": 518, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 97: function fn2(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 97, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nLine 270: });", "file": "lib/utils.js", "symbol": "", "line": 270, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 359: request(app)", "file": "test/app.use.js", "symbol": "", "line": 359, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 459: // set Content-Disposition when file is sent", "file": "lib/response.js", "symbol": "", "line": 459, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 598: };", "file": "lib/response.js", "symbol": "", "line": 598, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 34: }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 5: * Copyright(c) 2014-2015 Douglas Christopher Wilson", "file": "lib/express.js", "symbol": "", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 8: callback(err);", "file": "test/support/tmpl.js", "symbol": "", "line": 8, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nLine 96: })", "file": "test/res.append.js", "symbol": "", "line": 96, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 124: function fn2() { return true }", "file": "test/config.js", "symbol": "", "line": 124, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "Estoy revisando cómo se están enviando las respuestas de prueba en las rutas. ¿Podrías mostrarme el middleware que devuelve ese texto plano directamente?", "query": "res.send string", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lang": "es", "candidates": [{"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.location.js\nsibling in test", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.append.js\nsibling in test", "file": "test/res.append.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\ndefines fn2", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_next_actions", "repo": "express", "task": "Estoy revisando cómo se están enviando las respuestas de prueba en las rutas. ¿Podrías mostrarme el middleware que devuelve ese texto plano directamente?", "query": "res.send string", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lang": "es", "candidates": [{"text": "Next: read test/app.router.js lines=21-44\nread handler2 for detail", "file": "test/app.router.js", "symbol": "handler2", "line": 21, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/Router.js lines=481-504\nread fn1 for detail", "file": "test/Router.js", "symbol": "fn1", "line": 481, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=372-395\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 372, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=10-33\nread indent_size for detail", "file": ".editorconfig", "symbol": "indent_size", "line": 10, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=242-265\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 242, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/support/utils.js lines=45-68\nread shouldHaveHeader for detail", "file": "test/support/utils.js", "symbol": "shouldHaveHeader", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=722-745\nread createApp for detail", "file": "test/express.json.js", "symbol": "createApp", "line": 722, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=877-900\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 877, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=17-40\nread ferrets for detail", "file": "examples/view-locals/index.js", "symbol": "ferrets", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.render.js lines=361-384\nread createApp for detail", "file": "test/res.render.js", "symbol": "createApp", "line": 361, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=5-28\nread charset for detail", "file": ".editorconfig", "symbol": "charset", "line": 5, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=94-117\nread users2 for detail", "file": "examples/view-locals/index.js", "symbol": "users2", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Die Funktion, die die Anforderung verarbeitet, wirft fälschlicherweise eine Fehlermeldung aus, anstatt sie korrekt zu verarbeiten.", "query": "request error throw", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lang": "de", "candidates": [{"text": "File: test/res.location.js\nLine 111: it('should accept an instance of URL', function (done) {", "file": "test/res.location.js", "symbol": "", "line": 111, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/view-constructor/github-view.js\nLine 47: res.setEncoding('utf8');", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 47, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 564: * if a match is not made. If you provide", "file": "lib/response.js", "symbol": "", "line": 564, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 382: it('should not advertise accept-ranges', function (done) {", "file": "test/res.sendFile.js", "symbol": "", "line": 382, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.json.js\nLine 152: it('should accept number of bytes', function (done) {", "file": "test/express.json.js", "symbol": "", "line": 152, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nLine 1: var fs = require('node:fs');", "file": "test/support/tmpl.js", "symbol": "", "line": 1, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 74: app4.use(function(err, req, res, next){", "file": "test/res.format.js", "symbol": "", "line": 74, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 453: };", "file": "lib/application.js", "symbol": "", "line": 453, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nLine 268: function accept (req) {", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.use.js\nLine 126: it('should accept multiple arguments', function (done) {", "file": "test/app.use.js", "symbol": "", "line": 126, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nLine 81: * Parse accept params `str` returning an", "file": "lib/utils.js", "symbol": "", "line": 81, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nLine 35: // populate search", "file": "examples/search/index.js", "symbol": "", "line": 35, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nLine 288: * @param {String} ext", "file": "lib/application.js", "symbol": "", "line": 288, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 232: var count = 0;", "file": "test/app.render.js", "symbol": "", "line": 232, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 25: app.render('user.html', function(err, str){", "file": "test/app.engine.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 81: exports.urlencoded = bodyParser.urlencoded", "file": "lib/express.js", "symbol": "", "line": 81, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 171: send: function (val) {", "file": "test/Router.js", "symbol": "", "line": 171, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 107: it('should not accept params in malformed paths', function (done) {", "file": "test/app.router.js", "symbol": "", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nLine 621: .get('/nums.txt')", "file": "test/express.static.js", "symbol": "", "line": 621, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nLine 19: }", "file": "examples/web-service/index.js", "symbol": "", "line": 19, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 27: var parts = path.split('.');", "file": "test/support/tmpl.js", "symbol": "", "line": 27, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 6: , url = require('node:url');", "file": "test/res.location.js", "symbol": "", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 20: }", "file": "test/support/tmpl.js", "symbol": "", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 100: app.use(function(req, res, next){", "file": "test/res.format.js", "symbol": "", "line": 100, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Die Funktion, die die Anforderung verarbeitet, wirft fälschlicherweise eine Fehlermeldung aus, anstatt sie korrekt zu verarbeiten.", "query": "request error throw", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lang": "de", "candidates": [{"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\ndefines accept", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nsibling in test", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.use.js\nsibling in test", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nsibling in test", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nelsewhere in the tree", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Die Funktion, die die Anforderung verarbeitet, wirft fälschlicherweise eine Fehlermeldung aus, anstatt sie korrekt zu verarbeiten.", "query": "request error throw", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lang": "de", "candidates": [{"text": "Next: read test/app.render.js lines=386-409\nread createApp for detail", "file": "test/app.render.js", "symbol": "createApp", "line": 386, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=243-266\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 243, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.text.js lines=549-572\nread createApp for detail", "file": "test/express.text.js", "symbol": "createApp", "line": 549, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=788-811\nread createManyParams for detail", "file": "test/express.urlencoded.js", "symbol": "createManyParams", "line": 788, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=186-209\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 186, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/acceptance/cookie-sessions.js lines=34-57\nread getCookies for detail", "file": "test/acceptance/cookie-sessions.js", "symbol": "getCookies", "line": 34, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=256-279\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 256, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/app.use.js lines=395-418\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 395, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=237-260\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 237, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/tmpl.js lines=6-29\nread onReadFile for detail", "file": "test/support/tmpl.js", "symbol": "onReadFile", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=268-291\nread accept for detail", "file": "test/express.raw.js", "symbol": "accept", "line": 268, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.json.js lines=356-379\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 356, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=1210-1233\nread supportsRegexp for detail", "file": "test/app.router.js", "symbol": "supportsRegexp", "line": 1210, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=423-446\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 423, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "Where is the utility that handles catching errors during the view rendering process?", "query": "render try catch", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lang": "en", "candidates": [{"text": "File: lib/application.js\nLine 625: function tryRender(view, options, callback) {", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/app.engine.js\nLine 29: })", "file": "test/app.engine.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 55: });", "file": "examples/online/index.js", "symbol": "", "line": 55, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nLine 223: })", "file": "test/express.urlencoded.js", "symbol": "", "line": 223, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 78: //", "file": "examples/view-locals/index.js", "symbol": "", "line": 78, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 12: // curl http://localhost:3000/user/0", "file": "examples/route-middleware/index.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 561: it('should fail when adding the trailing slash', function (done) {", "file": "test/app.router.js", "symbol": "", "line": 561, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 739: })", "file": "test/app.router.js", "symbol": "", "line": 739, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 147: var calls = [];", "file": "test/app.router.js", "symbol": "", "line": 147, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 36: })", "file": "examples/view-locals/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 920: };", "file": "lib/response.js", "symbol": "", "line": 920, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 164: text: function(){ res.send('hey') },", "file": "test/res.format.js", "symbol": "", "line": 164, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 17: text: function(){", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 17, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 980: callback();", "file": "lib/response.js", "symbol": "", "line": 980, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 15: exports.shouldHaveBody = shouldHaveBody", "file": "test/support/utils.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nLine 636: .set('Range', 'bytes=0-4')", "file": "test/express.static.js", "symbol": "", "line": 636, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 141: })", "file": "test/config.js", "symbol": "", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 92: .post('/login')", "file": "test/acceptance/auth.js", "symbol": "", "line": 92, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 59: res.send('default')", "file": "test/res.format.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 131: it('should be able to invoke other formatter', function (done) {", "file": "test/res.format.js", "symbol": "", "line": 131, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 73: app.set('view engine', '.html');", "file": "test/app.engine.js", "symbol": "", "line": 73, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 72: });", "file": "examples/route-middleware/index.js", "symbol": "", "line": 72, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 54: request(app)", "file": "test/app.use.js", "symbol": "", "line": 54, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 537: request(app)", "file": "test/app.use.js", "symbol": "", "line": 537, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "Where is the utility that handles catching errors during the view rendering process?", "query": "render try catch", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lang": "en", "candidates": [{"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nelsewhere in the tree", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nsibling in lib", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nelsewhere in the tree", "file": "test/app.router.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nelsewhere in the tree", "file": "test/res.location.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nelsewhere in the tree", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.static.js\nelsewhere in the tree", "file": "test/express.static.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.render.js\nelsewhere in the tree", "file": "test/res.render.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nelsewhere in the tree", "file": "examples/auth/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nsibling in lib", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nelsewhere in the tree", "file": "test/app.use.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/view.js\nsibling in lib", "file": "lib/view.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nelsewhere in the tree", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.text.js\nelsewhere in the tree", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/application.js\ndefines tryRender", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "Where is the utility that handles catching errors during the view rendering process?", "query": "render try catch", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lang": "en", "candidates": [{"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=428-451\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 428, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.format.js lines=182-205\nread test for detail", "file": "test/res.format.js", "symbol": "test", "line": 182, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=214-237\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=11-34\nread indent_style for detail", "file": ".editorconfig", "symbol": "indent_style", "line": 11, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.urlencoded.js lines=513-536\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 513, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.json.js lines=370-393\nread accept for detail", "file": "test/express.json.js", "symbol": "accept", "line": 370, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=6-29\nread insert_final_newline for detail", "file": ".editorconfig", "symbol": "insert_final_newline", "line": 6, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=86-109\nread count2 for detail", "file": "examples/view-locals/index.js", "symbol": "count2", "line": 86, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.sendFile.js lines=90-113\nread handleHeaders for detail", "file": "test/res.sendFile.js", "symbol": "handleHeaders", "line": 90, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=938-961\nread ondirectory for detail", "file": "lib/response.js", "symbol": "ondirectory", "line": 938, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read test/acceptance/auth.js lines=4-27\nread getCookie for detail", "file": "test/acceptance/auth.js", "symbol": "getCookie", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/response.js lines=962-985\nread onfile for detail", "file": "lib/response.js", "symbol": "onfile", "line": 962, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=89-112\nread acceptParams for detail", "file": "lib/utils.js", "symbol": "acceptParams", "line": 89, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "The configuration setup is currently returning a boolean false by default instead of the expected truthy value, which is causing downstream initialization to fail.", "query": "config default false", "file": "test/config.js", "symbol": "fn1", "line": 123, "lang": "en", "candidates": [{"text": "File: test/res.sendFile.js\nLine 630: res.sendFile(path.resolve(fixtures, 'user.html'), {", "file": "test/res.sendFile.js", "symbol": "", "line": 630, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nLine 36: /**", "file": "examples/online/index.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 80: // Skipping HTTP QUERY tests below Node 22, QUERY wasn't fully supported by Node until 22", "file": "test/support/utils.js", "symbol": "", "line": 80, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.use.js\nLine 92: function fn1(req, res, next) {", "file": "test/app.use.js", "symbol": "", "line": 92, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.router.js\nLine 941: function fn1(req, res, next) {", "file": "test/app.router.js", "symbol": "", "line": 941, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/Router.js\nLine 464: throw new Error('should not be called')", "file": "test/Router.js", "symbol": "", "line": 464, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/auth.js\nLine 110: .post('/login')", "file": "test/acceptance/auth.js", "symbol": "", "line": 110, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/auth/index.js\nLine 12: var app = module.exports = express();", "file": "examples/auth/index.js", "symbol": "", "line": 12, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 29: var resolve = path.resolve;", "file": "lib/view.js", "symbol": "", "line": 29, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 398: next();", "file": "test/Router.js", "symbol": "", "line": 398, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nLine 247: */", "file": "lib/utils.js", "symbol": "", "line": 247, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 429: .expect('Cache-Control', 'public, max-age=0')", "file": "test/res.sendFile.js", "symbol": "", "line": 429, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 48: })", "file": "test/res.format.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 224: );", "file": "test/res.location.js", "symbol": "", "line": 224, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nLine 481: function fn1(req, res, next) {", "file": "test/Router.js", "symbol": "", "line": 481, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nLine 40: exports.etag = createETagGenerator({ weak: false })", "file": "lib/utils.js", "symbol": "", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 58: assert(next === c)", "file": "test/res.format.js", "symbol": "", "line": 58, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 202: .expect('hey', done);", "file": "test/res.format.js", "symbol": "", "line": 202, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 177: return path;", "file": "lib/view.js", "symbol": "", "line": 177, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 123: function fn1() { return false }", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/acceptance/auth.js\nLine 108: it('should succeed with proper credentials', function(done){", "file": "test/acceptance/auth.js", "symbol": "", "line": 108, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nLine 57: User.all(function(err, users){", "file": "examples/view-locals/index.js", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nLine 33: }", "file": "examples/route-middleware/index.js", "symbol": "", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nLine 25: */", "file": "lib/express.js", "symbol": "", "line": 25, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_neighbors", "repo": "express", "task": "The configuration setup is currently returning a boolean false by default instead of the expected truthy value, which is causing downstream initialization to fail.", "query": "config default false", "file": "test/config.js", "symbol": "fn1", "line": 123, "lang": "en", "candidates": [{"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\n@param {Object} obj @param {String} name @param {Function} getter @private", "file": "lib/request.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nsibling in test", "file": "test/res.format.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.text.js\nsibling in test", "file": "test/express.text.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nsibling in test", "file": "test/res.sendFile.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\ndefines fn1", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: .editorconfig\nelsewhere in the tree", "file": ".editorconfig", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "The configuration setup is currently returning a boolean false by default instead of the expected truthy value, which is causing downstream initialization to fail.", "query": "config default false", "file": "test/config.js", "symbol": "fn1", "line": 123, "lang": "en", "candidates": [{"text": "Next: read test/support/utils.js lines=79-102\nread shouldSkipQuery for detail", "file": "test/support/utils.js", "symbol": "shouldSkipQuery", "line": 79, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/res.location.js lines=141-164\nread testRequestedRedirect for detail", "file": "test/res.location.js", "symbol": "testRequestedRedirect", "line": 141, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=945-968\nread fn2 for detail", "file": "test/app.router.js", "symbol": "fn2", "line": 945, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=941-964\nread fn1 for detail", "file": "test/app.router.js", "symbol": "fn1", "line": 941, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=9-32\nread [{*.js,*.json,*.yml}]\n for detail", "file": ".editorconfig", "symbol": "[{*.js,*.json,*.yml}]\n", "line": 9, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.static.js lines=804-827\nread createApp for detail", "file": "test/express.static.js", "symbol": "createApp", "line": 804, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=204-227\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 204, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/application.js lines=615-638\nread logerror for detail", "file": "lib/application.js", "symbol": "logerror", "line": 615, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/req.query.js lines=94-117\nread createApp for detail", "file": "test/req.query.js", "symbol": "createApp", "line": 94, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=367-390\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 367, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read test/express.urlencoded.js lines=487-510\nread accept for detail", "file": "test/express.urlencoded.js", "symbol": "accept", "line": 487, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=304-327\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 304, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=852-875\nread fn for detail", "file": "test/app.router.js", "symbol": "fn", "line": 852, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/res.location.js lines=127-150\nread createRedirectServerForDomain for detail", "file": "test/res.location.js", "symbol": "createRedirectServerForDomain", "line": 127, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=433-456\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 433, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}]} {"site": "project_search", "repo": "express", "task": "I'm reviewing the test configuration file and need to locate the default fallback function that explicitly returns false. Please show me the definition of this boolean-returning helper.", "query": "default false function", "file": "test/config.js", "symbol": "fn", "line": 107, "lang": "en", "candidates": [{"text": "File: test/express.text.js\nLine 180: test.set('Content-Type', 'text/plain')", "file": "test/express.text.js", "symbol": "", "line": 180, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 116: var file = basename(loc);", "file": "lib/view.js", "symbol": "", "line": 116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 214: var app = express()", "file": "test/app.router.js", "symbol": "", "line": 214, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nLine 59: });", "file": "examples/search/index.js", "symbol": "", "line": 59, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/view.js\nLine 81: var fn = require(mod).__express", "file": "lib/view.js", "symbol": "", "line": 81, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.render.js\nLine 380: })", "file": "test/app.render.js", "symbol": "", "line": 380, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.engine.js\nLine 64: done();", "file": "test/app.engine.js", "symbol": "", "line": 64, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.sendFile.js\nLine 176: describe('.sendFile(path, fn)', function () {", "file": "test/res.sendFile.js", "symbol": "", "line": 176, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: lib/utils.js\nLine 220: * @param {String} charset", "file": "lib/utils.js", "symbol": "", "line": 220, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\nLine 162: var etagFn = app.get('etag fn')", "file": "lib/response.js", "symbol": "", "line": 162, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.static.js\nLine 144: request(this.app)", "file": "test/express.static.js", "symbol": "", "line": 144, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/request.js\nLine 231: var queryparse = this.app.get('query parser fn');", "file": "lib/request.js", "symbol": "", "line": 231, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/res.render.js\nLine 300: describe('.render(name, options, fn)', function(){", "file": "test/res.render.js", "symbol": "", "line": 300, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nLine 362: it('should work with Infinity limit', function (done) {", "file": "test/express.urlencoded.js", "symbol": "", "line": 362, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.format.js\nLine 45: app2.use(function(err, req, res, next){", "file": "test/res.format.js", "symbol": "", "line": 45, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/tmpl.js\nLine 36: }", "file": "test/support/tmpl.js", "symbol": "", "line": 36, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.router.js\nLine 1116: var app = express();", "file": "test/app.router.js", "symbol": "", "line": 1116, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/support/utils.js\nLine 48: }", "file": "test/support/utils.js", "symbol": "", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\nLine 107: function fn() { return false }", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: test/res.format.js\nLine 88: describe('.format(obj)', function(){", "file": "test/res.format.js", "symbol": "", "line": 88, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.query.js\nLine 57: });", "file": "test/req.query.js", "symbol": "", "line": 57, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nLine 15: },", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 15, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/res.location.js\nLine 195: var app = createRedirectServerForDomain('google.com');", "file": "test/res.location.js", "symbol": "", "line": 195, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/app.render.js\nLine 9: describe('.render(name, fn)', function(){", "file": "test/app.render.js", "symbol": "", "line": 9, "lexical": 2.0, "target": false, "label": 2}]} {"site": "summarize_neighbors", "repo": "express", "task": "I'm reviewing the test configuration file and need to locate the default fallback function that explicitly returns false. Please show me the definition of this boolean-returning helper.", "query": "default false function", "file": "test/config.js", "symbol": "fn", "line": 107, "lang": "en", "candidates": [{"text": "File: examples/online/index.js\nelsewhere in the tree", "file": "examples/online/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-constructor/github-view.js\nelsewhere in the tree", "file": "examples/view-constructor/github-view.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.raw.js\nsibling in test", "file": "test/express.raw.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/acceptance/auth.js\nelsewhere in the tree", "file": "test/acceptance/auth.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/Router.js\nsibling in test", "file": "test/Router.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/express.urlencoded.js\nsibling in test", "file": "test/express.urlencoded.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/app.engine.js\nsibling in test", "file": "test/app.engine.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: examples/route-middleware/index.js\nelsewhere in the tree", "file": "examples/route-middleware/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/utils.js\nelsewhere in the tree", "file": "lib/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/response.js\npipe the send file stream", "file": "lib/response.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/content-negotiation/index.js\nelsewhere in the tree", "file": "examples/content-negotiation/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/acceptance/cookie-sessions.js\nelsewhere in the tree", "file": "test/acceptance/cookie-sessions.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/req.ip.js\nsibling in test", "file": "test/req.ip.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/tmpl.js\nelsewhere in the tree", "file": "test/support/tmpl.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/application.js\nelsewhere in the tree", "file": "lib/application.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/error/index.js\nelsewhere in the tree", "file": "examples/error/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/express.json.js\nsibling in test", "file": "test/express.json.js", "symbol": "", "line": 0, "lexical": 2.0, "target": false, "label": 2}, {"text": "File: test/support/utils.js\nAssert that a supertest response does not have a header. @param {string} header Header name to check @returns {function}", "file": "test/support/utils.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/web-service/index.js\nelsewhere in the tree", "file": "examples/web-service/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/view-locals/user.js\nelsewhere in the tree", "file": "examples/view-locals/user.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: lib/express.js\nelsewhere in the tree", "file": "lib/express.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: examples/search/index.js\nelsewhere in the tree", "file": "examples/search/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}, {"text": "File: test/config.js\ndefines fn", "file": "test/config.js", "symbol": "", "line": 0, "lexical": 4.0, "target": true, "label": 4}, {"text": "File: examples/view-locals/index.js\nelsewhere in the tree", "file": "examples/view-locals/index.js", "symbol": "", "line": 0, "lexical": 0.0, "target": false, "label": 0}]} {"site": "summarize_next_actions", "repo": "express", "task": "I'm reviewing the test configuration file and need to locate the default fallback function that explicitly returns false. Please show me the definition of this boolean-returning helper.", "query": "default false function", "file": "test/config.js", "symbol": "fn", "line": 107, "lang": "en", "candidates": [{"text": "Next: read test/app.use.js lines=176-199\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 176, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.text.js lines=272-295\nread accept for detail", "file": "test/express.text.js", "symbol": "accept", "line": 272, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/view-locals/index.js lines=48-71\nread count for detail", "file": "examples/view-locals/index.js", "symbol": "count", "line": 48, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/express.raw.js lines=492-515\nread createApp for detail", "file": "test/express.raw.js", "symbol": "createApp", "line": 492, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/error/index.js lines=20-43\nread error for detail", "file": "examples/error/index.js", "symbol": "error", "line": 20, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/request.js lines=521-544\nread defineGetter for detail", "file": "lib/request.js", "symbol": "defineGetter", "line": 521, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/view.js lines=52-75\nread View for detail", "file": "lib/view.js", "symbol": "View", "line": 52, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=405-428\nread fn3 for detail", "file": "test/app.use.js", "symbol": "fn3", "line": 405, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/support/utils.js lines=28-51\nread shouldHaveBody for detail", "file": "test/support/utils.js", "symbol": "shouldHaveBody", "line": 28, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.router.js lines=16-39\nread handler1 for detail", "file": "test/app.router.js", "symbol": "handler1", "line": 16, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/auth/index.js lines=75-98\nread restrict for detail", "file": "examples/auth/index.js", "symbol": "restrict", "line": 75, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/content-negotiation/index.js lines=33-56\nread format for detail", "file": "examples/content-negotiation/index.js", "symbol": "format", "line": 33, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=299-322\nread fn1 for detail", "file": "test/app.use.js", "symbol": "fn1", "line": 299, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=209-232\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 209, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=123-146\nread fn1 for detail", "file": "test/config.js", "symbol": "fn1", "line": 123, "lexical": 2.0, "target": false, "label": 2}, {"text": "Next: read lib/response.js lines=928-951\nread onaborted for detail", "file": "lib/response.js", "symbol": "onaborted", "line": 928, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=107-130\nread fn for detail", "file": "test/config.js", "symbol": "fn", "line": 107, "lexical": 4.0, "target": true, "label": 4}, {"text": "Next: read lib/application.js lines=625-648\nread tryRender for detail", "file": "lib/application.js", "symbol": "tryRender", "line": 625, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read lib/utils.js lines=267-290\nread parseExtendedQueryString for detail", "file": "lib/utils.js", "symbol": "parseExtendedQueryString", "line": 267, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read .editorconfig lines=4-27\nread [*]\n for detail", "file": ".editorconfig", "symbol": "[*]\n", "line": 4, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read examples/online/index.js lines=40-63\nread list for detail", "file": "examples/online/index.js", "symbol": "list", "line": 40, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.render.js lines=264-287\nread View for detail", "file": "test/app.render.js", "symbol": "View", "line": 264, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/app.use.js lines=97-120\nread fn2 for detail", "file": "test/app.use.js", "symbol": "fn2", "line": 97, "lexical": 0.0, "target": false, "label": 0}, {"text": "Next: read test/config.js lines=124-147\nread fn2 for detail", "file": "test/config.js", "symbol": "fn2", "line": 124, "lexical": 2.0, "target": false, "label": 2}]}