CODEFOSSIL · express
app.use
method in lib/application.js:190 · Born 2011-10-07 (DERIVED, confidence 1.00)
Changed refactor: Remove Object.setPrototypeOf polyfill (#6081)
8cb53ea· Phillip BartaChanged Use Array.flat instead of array-flatten (#5677)
d106bf5· Mick A.Changed Improve error messages when non-function provided as middleware
2df1ad2· Hrvoje ŠimićChanged Fix typo in variable name setPrototypeOf
c087a45· asaf davidChanged Use setprototypeof module to replace __proto__ setting
6022567· Douglas Christopher WilsonChanged Add app.router reference back
509ebb1· Douglas Christopher WilsonChanged Pass context to .forEach instead of closure
dfa7ee4· lemmyChanged Fix regression for empty string path in app.use
3c1a964· Douglas Christopher Wilson fix · INFERREDChanged Fix app.use to accept array of middleware without path
cf41a8f· Douglas Christopher Wilson fix · INFERREDChanged Support mounted app as any argument to app.use()
17cea29· Fabien FranzenChanged Fix subapp.mountpath regression for app.use(subapp)
3e32721· Douglas Christopher Wilson fix · INFERREDChanged Accept multiple callbacks to app.use()
997a558· Douglas Christopher WilsonChanged Support non-string path in app.use(path, fn)
1c3bd36· Douglas Christopher WilsonChanged remove app.router and refactor middleware processing
f41d09a· Roman ShtylmanChanged move .app to req's & res's prototypes
a3c9eac· Max MelentievChanged delete unused variables
534fbdb· VitalyChanged remove unused variables
dadf57c· Roman ShtylmanChanged restore req/res proto
58d522d· TJ HolowaychukChanged removed debug() for .use()
18fa2c9· TJ HolowaychukChanged Added DEBUG=express:application support
2a40571· Tj HolowaychukChanged app.path()
17a831e· Tj HolowaychukChanged removed "root" setting
87b991c· Tj HolowaychukChanged .parent tests
5d593f2· Tj HolowaychukChanged Added: emit "mount" event on the app being mounted
b6611c8· Tj HolowaychukChanged Removed implementation of app.mounted(callback)
aab08d7· Tj HolowaychukChanged misc refactoring
1334a74· Tj HolowaychukChanged tweak res.redirect() mount route logic
43d9f6e· Tj HolowaychukBorn using connect.proto.use
667ed6f· Tj Holowaychuk