CODEFOSSIL · fossil record
expressjs/express
What this repository's own history says about its code, at 9efc29e.
6,177commits
396authors
17years of history (since 2009)
600definitions today
The oldest code still here
When each definition first appeared under its current name, followed back through moves. 66 definitions have a dated origin.
- createApplicationlib/express.js:36 — .
- req.headerlib/request.js:64 — Refactored req/res proto assignments
- req.acceptslib/request.js:127 — Refactored req/res proto assignments
- req.islib/request.js:269 — Refactored req/res proto assignments
- res.sendlib/response.js:126 — Refactored req/res proto assignments
- res.downloadlib/response.js:437 — Refactored req/res proto assignments
- res.contentTypelib/response.js:507 — Refactored req/res proto assignments
- res.attachmentlib/response.js:608 — Refactored req/res proto assignments
- res.headerlib/response.js:670 — Refactored req/res proto assignments
- res.clearCookielib/response.js:714 — Refactored req/res proto assignments
codefossil fossils
Untouched the longest
5 definitions have never changed since they were written.
- res.getlib/response.js:701 — Added `res.get(field)` as an alternative to `res.header(field)`
- req.acceptslib/request.js:127 — Refactored req/res proto assignments
- req.acceptsEncodingslib/request.js:140 — refactor req.is and req.accepts*
- defineGetterlib/request.js:521 — Replace __defineGetter__ with Object.defineProperty
- View.lookuplib/view.js:104 — added index lookup support back
- tryStatlib/view.js:197 — Add support for app.set('views', array)
- setCharsetlib/utils.js:225 — set proper charset in content-type for res.send
- sendfilelib/response.js:923 — Invoke callback for sendfile when client aborts
- View.resolvelib/view.js:169 — Add support for app.set('views', array)
- app.routelib/application.js:256 — remove app.router and refactor middleware processing
codefossil fossils --order untouched
Fixed most often
Functions ranked by the commits that fixed them. Fixes are recognised from wording, reverts and bug labels, so most are inferences.
- res.sendlib/response.js:126 — latest: fix(res.send): preserve ETag generation with Transfer-Encoding (#7459)
- res.redirectlib/response.js:814 — latest: fix: don't render redirect values in anchor href
- app.defaultConfigurationlib/application.js:90 — latest: Fix "trust proxy" setting to inherit when app is mounted
- res.jsonlib/response.js:236 — latest: perf: fix arguments reassign deopt in some res methods
- res.jsonplib/response.js:264 — latest: Fix handling of undefined in res.jsonp
- res.cookielib/response.js:747 — latest: Fix behavior of null/undefined as "maxAge" in res.cookie
- res.locationlib/response.js:796 — latest: Improved fix for open redirect allow list bypass
- sendfilelib/response.js:923 — latest: Fix ECONNRESET errors from res.sendFile usage
- app.uselib/application.js:190 — latest: Fix regression for empty string path in app.use
- res.setlib/response.js:669 — latest: Fix error when res.set cannot add charset to Content-Type
codefossil hotspots --symbols
Where history concentrates
Files ranked by change frequency × churn × fix commits.
- lib/response.js396 commits, 5324 lines changed, 67 fix commits
- lib/application.js183 commits, 2803 lines changed, 17 fix commits
- lib/request.js177 commits, 2453 lines changed, 17 fix commits
- lib/view.js104 commits, 2167 lines changed, 16 fix commits
- lib/utils.js107 commits, 1951 lines changed, 12 fix commits
- lib/express.js153 commits, 1084 lines changed, 10 fix commits
- examples/auth/index.js45 commits, 543 lines changed, 3 fix commits
- examples/error-pages/index.js33 commits, 552 lines changed, 4 fix commits
- examples/downloads/index.js27 commits, 246 lines changed, 4 fix commits
- examples/mvc/index.js23 commits, 236 lines changed, 0 fix commits
codefossil hotspots
Workarounds whose reason may be gone
Code changed by commits about compatibility, deprecation or workarounds, and silent since. Candidates to look at, never verdicts (INFERRED).
- method res.jsonp (lib/response.js:264)commit 4e1e252 says "deprecate": deprecate res.json(obj, status)
- method res.vary (lib/response.js:877)commit 6d65ae5 says "compatibility": with backwards compatibility
- variable resolve (lib/response.js:33)commit 1150ca7 says "deprecation": Fix incorrect deprecation warnings on res.download
- function createApplication (lib/express.js:36)commit af10438 says "deprecation": Fix internal utils.merge deprecation warnings
- method res.clearCookie (lib/response.js:714)commit af10438 says "deprecation": Fix internal utils.merge deprecation warnings
- method res.status (lib/response.js:65)commit 4847d0e says "Deprecate": Deprecate string and non-integer arguments to res.status
- method res.redirect (lib/response.js:814)commit 56ffab0 says "compat": add backwards compat for res.redirect() status. Closes #1336
codefossil dead-intent