Skip to content
Myr

Merge tag '4.16.4'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Douglas Christopher Wilson · committed by Douglas Christopher Wilson · parents 659fcc1, dc538f6 · Browse files · 32 files+286 added−129 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

32 files+286 added−129 removed

  • tests:+104 added−54 removed
  • other:+182 added−75 removed

32 files+286 added−129 removed

modified:examples/auth/index.js+1 added-1 removed
modified:examples/cookies/index.js+1 added-1 removed
modified:examples/error/index.js+1 added-1 removed
3 unmodified lines
45var express = require('../../');6var logger = require('morgan');7var app = module.exports = express();8var test = app.get('env') == 'test';8var test = app.get('env') === 'test'910if (!test) app.use(logger('dev'));1112// error handling middleware have an arity of 4
39 unmodified lines
modified:examples/error-pages/index.js+2 added-2 removed
4 unmodified lines
5var express = require('../../');6var path = require('path');7var app = module.exports = express();8var logger = require('morgan');9var silent = 'test' == process.env.NODE_ENV;9var silent = process.env.NODE_ENV === 'test'1011// general config12app.set('views', path.join(__dirname, 'views'));13app.set('view engine', 'ejs');
4 unmodified lines
18app.enable('verbose errors');1920// disable them in production21// use $ NODE_ENV=production node examples/error-pages22if ('production' == app.settings.env) app.disable('verbose errors');22if (app.settings.env === 'production') app.disable('verbose errors')2324silent || app.use(logger('dev'));2526// Routes
75 unmodified lines
modified:examples/multi-router/index.js+1 added-1 removed
modified:examples/route-map/index.js+1 added-1 removed
2 unmodified lines
3 */45var express = require('../../lib/express');67var verbose = process.env.NODE_ENV != 'test';7var verbose = process.env.NODE_ENV !== 'test'89var app = module.exports = express();1011app.map = function(a, route){
61 unmodified lines
modified:examples/route-middleware/index.js+2 added-2 removed
32 unmodified lines
3334function andRestrictToSelf(req, res, next) {35 // If our authenticated user is the user we are viewing36 // then everything is fine :)37 if (req.authenticatedUser.id == req.user.id) {37 if (req.authenticatedUser.id === req.user.id) {38 next();39 } else {40 // You may want to implement specific exceptions41 // such as UnauthorizedError or similar so that you
4 unmodified lines
46}4748function andRestrictTo(role) {49 return function(req, res, next) {50 if (req.authenticatedUser.role == role) {50 if (req.authenticatedUser.role === role) {51 next();52 } else {53 next(new Error('Unauthorized'));54 }
34 unmodified lines
modified:examples/search/public/client.js+1 added-1 removed
3 unmodified lines
4search.addEventListener('keyup', function(){5 var xhr = new XMLHttpRequest;6 xhr.open('GET', '/search/' + search.value, true);7 xhr.onreadystatechange = function(){8 if (4 == xhr.readyState) {8 if (xhr.readyState === 4) {9 code.textContent = xhr.responseText;10 }11 };12 xhr.send();
1 unmodified line
modified:examples/view-locals/index.js+1 added-1 removed
11 unmodified lines
1213// filter ferrets only1415function ferrets(user) {16 return user.species == 'ferret';16 return user.species === 'ferret'17}1819// naive nesting approach,20// delegating errors to next(err)
133 unmodified lines
modified:examples/web-service/index.js+6 added-3 removed
47 unmodified lines
4849// these two objects will serve as our faux database5051var repos = [52 { name: 'express', url: 'http://github.com/expressjs/express' }53 , { name: 'stylus', url: 'http://github.com/learnboost/stylus' }54 , { name: 'cluster', url: 'http://github.com/learnboost/cluster' }52 { name: 'express', url: 'https://github.com/expressjs/express' },53 { name: 'stylus', url: 'https://github.com/learnboost/stylus' },54 { name: 'cluster', url: 'https://github.com/learnboost/cluster' }55];5657var users = [58 { name: 'tobi' }
9 unmodified lines
6869// we now can assume the api key is valid,70// and simply expose the data7172// example: http://localhost:3000/api/users/?api-key=foo73app.get('/api/users', function(req, res, next){74 res.send(users);75});7677// example: http://localhost:3000/api/repos/?api-key=foo78app.get('/api/repos', function(req, res, next){79 res.send(repos);80});8182// example: http://localhost:3000/api/user/tobi/repos/?api-key=foo83app.get('/api/user/:name/repos', function(req, res, next){84 var name = req.params.name;85 var user = userRepos[name];86
29 unmodified lines
modified:test/acceptance/error-pages.js+1 added-4 removed
50 unmodified lines
51 it('should respond with 404', function(done){52 request(app)53 .get('/404')54 .set('Accept','application/json')55 .end(function(err, res){56 res.body.should.eql({ error: 'Not found' });57 done()58 })55 .expect(404, { error: 'Not found' }, done)56 })57 })5859 describe('GET /500', function(){
40 unmodified lines
modified:test/acceptance/multi-router.js+1 added-1 removed
4 unmodified lines
5 describe('GET /',function(){6 it('should respond with root handler', function(done){7 request(app)8 .get('/')9 .expect(200, 'Hello form root route.', done)9 .expect(200, 'Hello from root route.', done)10 })11 })1213 describe('GET /api/v1/',function(){
31 unmodified lines
modified:test/acceptance/web-service.js+2 added-2 removed
51 unmodified lines
52 request(app)53 .get('/api/repos?api-key=foo')54 .expect('Content-Type', 'application/json; charset=utf-8')55 .expect(/"name":"express"/)56 .expect(/"url":"http:\/\/github.com\/expressjs\/express"/)56 .expect(/"url":"https:\/\/github.com\/expressjs\/express"/)57 .expect(200, done)58 })59 })60 })
20 unmodified lines
81 request(app)82 .get('/api/user/loki/repos?api-key=foo')83 .expect('Content-Type', 'application/json; charset=utf-8')84 .expect(/"name":"stylus"/)85 .expect(/"url":"http:\/\/github.com\/learnboost\/stylus"/)85 .expect(/"url":"https:\/\/github.com\/learnboost\/stylus"/)86 .expect(200, done)87 })8889 it('should 404 with unknown user', function(done){
16 unmodified lines
modified:test/app.router.js+2 added-6 removed
39 unmodified lines
40 it('should include ' + method.toUpperCase(), function(done){41 var app = express();4243 app[method]('/foo', function(req, res){44 if ('head' == method) {45 res.end();46 } else {47 res.end(method);48 }44 res.send(method)45 });4647 request(app)48 [method]('/foo')53 .expect('head' == method ? '' : method, done);49 .expect(200, done)50 })5152 it('should reject numbers for app.' + method, function(){53 var app = express();
1031 unmodified lines
modified:test/mocha.opts-1 removed
1--require should2--slow 203--growl
modified:test/req.signedCookies.js+1 added-1 removed
9 unmodified lines
1011 app.use(cookieParser('secret'));1213 app.use(function(req, res){14 if ('/set' == req.path) {14 if (req.path === '/set') {15 res.cookie('obj', { foo: 'bar' }, { signed: true });16 res.end();17 } else {18 res.send(req.signedCookies);
18 unmodified lines
modified:test/req.xhr.js+4 added-16 removed
13 unmodified lines
1415 request(app)16 .get('/')17 .set('X-Requested-With', 'xmlhttprequest')18 .expect(200)19 .end(function(err, res){20 done(err);21 })18 .expect(200, done)19 })2021 it('should case-insensitive', function(done){22 var app = express();
5 unmodified lines
2829 request(app)30 .get('/')31 .set('X-Requested-With', 'XMLHttpRequest')35 .expect(200)36 .end(function(err, res){37 done(err);38 })32 .expect(200, done)33 })3435 it('should return false otherwise', function(done){36 var app = express();
5 unmodified lines
4243 request(app)44 .get('/')45 .set('X-Requested-With', 'blahblah')52 .expect(200)53 .end(function(err, res){54 done(err);55 })46 .expect(200, done)47 })4849 it('should return false when not present', function(done){50 var app = express();
4 unmodified lines
55 });5657 request(app)58 .get('/')68 .expect(200)69 .end(function(err, res){70 done(err);71 })59 .expect(200, done)60 })61 })62})
modified:test/res.download.js+12 added-1 removed
12var after = require('after');3var assert = require('assert');4var Buffer = require('safe-buffer').Buffer5var express = require('..');6var request = require('supertest');78describe('res', function(){
95 unmodified lines
104 .get('/')105 .expect(200)106 .expect('Content-Disposition', 'attachment; filename="document"')107 .expect('Cache-Control', 'public, max-age=14400')107 .expect('tobi')108 .expect(shouldHaveBody(Buffer.from('tobi')))109 .end(done)110 })111112 describe('when options.headers contains Content-Disposition', function () {
72 unmodified lines
185 })186 })187})188189function shouldHaveBody (buf) {190 return function (res) {191 var body = !Buffer.isBuffer(res.body)192 ? Buffer.from(res.text)193 : res.body194 assert.ok(body, 'response has body')195 assert.strictEqual(body.toString('hex'), buf.toString('hex'))196 }197}198199function shouldNotHaveHeader(header) {200 return function (res) {201 assert.ok(!(header.toLowerCase() in res.headers), 'should not have header ' + header);202 };
1 unmodified line
modified:test/res.format.js+3 added-3 removed
15 unmodified lines
16 res.send('<p>hey</p>');17 },1819 'application/json': function(a, b, c){20 assert(req == a);21 assert(res == b);22 assert(next == c);20 assert(req === a)21 assert(res === b)22 assert(next === c)23 res.send({ message: 'hey' });24 }25 });26});
194 unmodified lines
modified:test/res.json.js+1 added-1 removed
127 unmodified lines
128 it('should be passed to JSON.stringify()', function(done){129 var app = express();130131 app.set('json replacer', function(key, val){132 return '_' == key[0]132 return key[0] === '_'133 ? undefined134 : val;135 });136
34 unmodified lines
modified:test/res.jsonp.js+1 added-1 removed
267 unmodified lines
268 it('should be passed to JSON.stringify()', function(done){269 var app = express();270271 app.set('json replacer', function(key, val){272 return '_' == key[0]272 return key[0] === '_'273 ? undefined274 : val;275 });276
48 unmodified lines
modified:test/res.redirect.js+13 added-2 removed
12var assert = require('assert')3var express = require('..');4var request = require('supertest');5var utils = require('./support/utils');6
63 unmodified lines
70 });7172 request(app)73 .head('/')74 .expect(302)75 .expect('Location', 'http://google.com')74 .expect(302, '', done)76 .expect(shouldNotHaveBody())77 .end(done)78 })79 })8081 describe('when accepting html', function(){
102 unmodified lines
184185 request(app)186 .get('/')187 .set('Accept', 'application/octet-stream')188 .expect(302)189 .expect('location', 'http://google.com')190 .expect('content-length', '0')191 .expect(utils.shouldNotHaveHeader('Content-Type'))188 .expect(302, '', done)192 .expect(shouldNotHaveBody())193 .end(done)194 })195 })196})197198function shouldNotHaveBody () {199 return function (res) {200 assert.ok(res.text === '' || res.text === undefined)201 }202}
modified:test/res.send.js+35 added-2 removed
12var assert = require('assert')3var Buffer = require('safe-buffer').Buffer4var express = require('..');5var methods = require('methods');6var request = require('supertest');
135 unmodified lines
142 });143144 request(app)145 .get('/')146 .expect(200)147 .expect('Content-Type', 'application/octet-stream')146 .expect(200, 'hello', done);148 .expect(shouldHaveBody(Buffer.from('hello')))149 .end(done)150 })151152 it('should set ETag', function (done) {153 var app = express();
59 unmodified lines
213 });214215 request(app)216 .head('/')214 .expect('', done);217 .expect(200)218 .expect(shouldNotHaveBody())219 .end(done)220 })221 })222223 describe('when .statusCode is 204', function(){
89 unmodified lines
313 .get('/?callback=foo')314 .expect('{"foo":"bar"}', done);315 })316317 it('should be chainable', function (done) {318 var app = express()319320 app.use(function (req, res) {321 assert.equal(res.send('hey'), res)322 })323324 request(app)325 .get('/')326 .expect(200, 'hey', done)327 })328329 describe('"etag" setting', function () {330 describe('when enabled', function () {331 it('should send ETag', function (done) {332 var app = express();
198 unmodified lines
531 })532 })533 })534})535536function shouldHaveBody (buf) {537 return function (res) {538 var body = !Buffer.isBuffer(res.body)539 ? Buffer.from(res.text)540 : res.body541 assert.ok(body, 'response has body')542 assert.strictEqual(body.toString('hex'), buf.toString('hex'))543 }544}545546function shouldNotHaveBody () {547 return function (res) {548 assert.ok(res.text === '' || res.text === undefined)549 }550}
modified:test/res.sendFile.js+24 added-6 removed
12var after = require('after');3var assert = require('assert')4var Buffer = require('safe-buffer').Buffer5var express = require('../')6 , request = require('supertest')7var onFinished = require('on-finished');8var path = require('path');
87 unmodified lines
96 .end(done);97 })9899 it('should not error if the client aborts', function (done) {98 var cb = after(1, done);100 var app = express();101 var cb = after(2, done)102 var error = null103104 app.use(function (req, res) {105 setImmediate(function () {106 res.sendFile(path.resolve(fixtures, 'name.txt'));107 server.close(cb)108 setTimeout(function () {109 cb(error)110 }, 10)105 });111 })112 test.abort();113 });114115 app.use(function (err, req, res, next) {110 err.code.should.be.empty()111 cb();116 error = err117 next(err)118 });119120 var server = app.listen()121 var test = request(server).get('/')116 test.expect(200, cb);122 test.end()123 })124125 describe('with "cacheControl" option', function () {126 it('should enable cacheControl by default', function (done) {
28 unmodified lines
155 var app = createApp(path.resolve(__dirname, 'fixtures/.name'), { dotfiles: 'allow' });156157 request(app)158 .get('/')153 .expect(200, 'tobi', done);159 .expect(200)160 .expect(shouldHaveBody(Buffer.from('tobi')))161 .end(done)162 });163 });164165 describe('with "headers" option', function () {
205 unmodified lines
371 });372373 return app;374}375376function shouldHaveBody (buf) {377 return function (res) {378 var body = !Buffer.isBuffer(res.body)379 ? Buffer.from(res.text)380 : res.body381 assert.ok(body, 'response has body')382 assert.strictEqual(body.toString('hex'), buf.toString('hex'))383 }384}
modified:test/Router.js+4 added-7 removed
5 unmodified lines
6 , assert = require('assert');78describe('Router', function(){9 it('should return a function with router methods', function() {10 var router = Router();11 assert(typeof router == 'function');1210 var router = new Router();14 assert(typeof router == 'function');11 assert(typeof router === 'function')1216 assert(typeof router.get == 'function');17 assert(typeof router.handle == 'function');18 assert(typeof router.use == 'function');13 assert(typeof router.get === 'function')14 assert(typeof router.handle === 'function')15 assert(typeof router.use === 'function')16 });1718 it('should support .use of other routers', function(done){19 var router = new Router();
551 unmodified lines
deleted:.eslintrc-8 removed
1{2 "rules": {3 "eol-last": "error",4 "indent": ["error", 2, { "SwitchCase": 1 }],5 "no-trailing-spaces": "error",6 "no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }]7 }8}
added:.eslintrc.yml+8 added
1root: true23rules:4 eol-last: error5 eqeqeq: [error, allow-null]6 indent: [error, 2, { SwitchCase: 1 }]7 no-trailing-spaces: error8 no-unused-vars: [error, { vars: all, args: none, ignoreRestSiblings: true }]
modified:.travis.yml+40 added-15 removed
3 unmodified lines
4 - "0.12"5 - "1.8"6 - "2.5"7 - "3.3"8 - "4.8"8 - "4.9"9 - "5.12"10 - "6.11"10 - "6.14"11 - "7.10"12 - "8.4"12 - "8.12"13matrix:14 include:15 - node_js: "8"16 env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"15 - node_js: "9"16 env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"17 - node_js: "10"18 env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"19 allow_failures:20 # Allow the nightly installs to fail21 - env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"22sudo: false23cache:24 directories:25 - node_modules26before_install:27 # Skip updating shrinkwrap / lock28 - "npm config set shrinkwrap false"2927 # Configure npm28 - |29 # Skip updating shrinkwrap / lock30 npm config set shrinkwrap false31 # Remove all non-test dependencies31 - "npm rm --save-dev connect-redis"3232 - |33 # Remove example dependencies34 npm rm --silent --save-dev connect-redis35 # Setup Node.js version-specific dependencies36 - |37 # mocha for testing38 # - use 3.x for Node.js < 639 if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 6 ]]; then40 npm install --silent --save-dev mocha@3.5.341 fi42 - |43 # supertest for http calls44 # - use 2.0.0 for Node.js < 445 if [[ "$(cut -d. -f1 <<< "$TRAVIS_NODE_VERSION")" -lt 4 ]]; then46 npm install --silent --save-dev supertest@2.0.047 fi48 # Update Node.js modules34 - "test ! -d node_modules || npm prune"35 - "test ! -d node_modules || npm rebuild"49 - |50 # Prune and rebuild node_modules51 if [[ -d node_modules ]]; then52 npm prune53 npm rebuild54 fi55script:37 - "npm run test-ci"38 - "npm run lint"39after_script: "npm install coveralls@2.10.0 && cat ./coverage/lcov.info | coveralls"56 # Run test script57 - npm run test-ci58 # Run linting59 - npm run lint60after_script:61 - |62 # Upload coverage to coveralls63 npm install --save-dev coveralls@2.10.064 coveralls < ./coverage/lcov.info
modified:appveyor.yml+42 added-10 removed
3 unmodified lines
4 - nodejs_version: "0.12"5 - nodejs_version: "1.8"6 - nodejs_version: "2.5"7 - nodejs_version: "3.3"8 - nodejs_version: "4.8"8 - nodejs_version: "4.9"9 - nodejs_version: "5.12"10 - nodejs_version: "6.11"10 - nodejs_version: "6.14"11 - nodejs_version: "7.10"12 - nodejs_version: "8.4"12 - nodejs_version: "8.12"13cache:14 - node_modules15install:16 - ps: Install-Product node $env:nodejs_version17 - npm config set shrinkwrap false18 - npm rm --save-dev connect-redis19 - if exist node_modules npm prune20 - if exist node_modules npm rebuild16 # Install Node.js17 - ps: >-18 try { Install-Product node $env:nodejs_version -ErrorAction Stop }19 catch { Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) }20 # Configure npm21 - ps: |22 # Skip updating shrinkwrap / lock23 npm config set shrinkwrap false24 # Remove all non-test dependencies25 - ps: |26 # Remove example dependencies27 npm rm --silent --save-dev connect-redis28 # Setup Node.js version-specific dependencies29 - ps: |30 # mocha for testing31 # - use 3.x for Node.js < 632 if ($env:nodejs_version.split(".")[0] -lt 6) {33 npm install --silent --save-dev mocha@3.5.334 }35 - ps: |36 # supertest for http calls37 # - use 2.0.0 for Node.js < 438 if ($env:nodejs_version.split(".")[0] -lt 4) {39 npm install --silent --save-dev supertest@2.0.040 }41 # Update Node.js modules42 - ps: |43 # Prune & rebuild node_modules44 if (Test-Path -Path node_modules) {45 npm prune46 npm rebuild47 }48 # Install Node.js modules49 - npm install50build: off51test_script:52 # Output version data53 - ps: |24 - node --version25 - npm --version54 node --version55 npm --version56 # Run test script57 - npm run test-ci58 # Run linting59 - npm run lint60version: "{build}"
modified:History.md+48 added-1 removed
15.x2===34This incorporates all changes after 4.15.5 up to 4.16.2.4This incorporates all changes after 4.15.5 up to 4.16.4.56 * remove:7 - `path-to-regexp` dependency8 * deps: debug@3.1.0
97 unmodified lines
106 - `req.query` is now a getter instead of a plain property107 * add:108 - `app.router` is a reference to the base router1091104.16.4 / 2018-10-10111===================112113 * Fix issue where `"Request aborted"` may be logged in `res.sendfile`114 * Fix JSDoc for `Router` constructor115 * deps: body-parser@1.18.3116 - Fix deprecation warnings on Node.js 10+117 - Fix stack trace for strict json parse error118 - deps: depd@~1.1.2119 - deps: http-errors@~1.6.3120 - deps: iconv-lite@0.4.23121 - deps: qs@6.5.2122 - deps: raw-body@2.3.3123 - deps: type-is@~1.6.16124 * deps: proxy-addr@~2.0.4125 - deps: ipaddr.js@1.8.0126 * deps: qs@6.5.2127 * deps: safe-buffer@5.1.21281294.16.3 / 2018-03-12130===================131132 * deps: accepts@~1.3.5133 - deps: mime-types@~2.1.18134 * deps: depd@~1.1.2135 - perf: remove argument reassignment136 * deps: encodeurl@~1.0.2137 - Fix encoding `%` as last character138 * deps: finalhandler@1.1.1139 - Fix 404 output for bad / missing pathnames140 - deps: encodeurl@~1.0.2141 - deps: statuses@~1.4.0142 * deps: proxy-addr@~2.0.3143 - deps: ipaddr.js@1.6.0144 * deps: send@0.16.2145 - Fix incorrect end tag in default error & redirects146 - deps: depd@~1.1.2147 - deps: encodeurl@~1.0.2148 - deps: statuses@~1.4.0149 * deps: serve-static@1.13.2150 - Fix incorrect end tag in redirects151 - deps: encodeurl@~1.0.2152 - deps: send@0.16.2153 * deps: statuses@~1.4.0154 * deps: type-is@~1.6.16155 - deps: mime-types@~2.1.181561574.16.2 / 2017-10-09158===================159160 * Fix `TypeError` in `res.send` when given `Buffer` and `ETag` header set
3370 unmodified lines
modified:package.json+25 added-25 removed
25 unmodified lines
26 "app",27 "api"28 ],29 "dependencies": {30 "accepts": "~1.3.4",30 "accepts": "~1.3.5",31 "array-flatten": "2.1.1",32 "body-parser": "1.18.2",32 "body-parser": "1.18.3",33 "content-disposition": "0.5.2",34 "content-type": "~1.0.4",35 "cookie": "0.3.1",36 "cookie-signature": "1.0.6",37 "debug": "3.1.0",38 "depd": "~1.1.1",39 "encodeurl": "~1.0.1",38 "depd": "~1.1.2",39 "encodeurl": "~1.0.2",40 "escape-html": "~1.0.3",41 "etag": "~1.8.1",42 "finalhandler": "1.1.0",42 "finalhandler": "1.1.1",43 "fresh": "0.5.2",44 "merge-descriptors": "1.0.1",45 "methods": "~1.1.2",46 "on-finished": "~2.3.0",47 "parseurl": "~1.3.2",48 "path-is-absolute": "1.0.1",49 "proxy-addr": "~2.0.2",50 "qs": "6.5.1",49 "proxy-addr": "~2.0.4",50 "qs": "6.5.2",51 "range-parser": "~1.2.0",52 "router": "~1.3.2",53 "safe-buffer": "5.1.1",54 "send": "0.16.1",55 "serve-static": "1.13.1",53 "safe-buffer": "5.1.2",54 "send": "0.16.2",55 "serve-static": "1.13.2",56 "setprototypeof": "1.1.0",57 "statuses": "~1.3.1",58 "type-is": "~1.6.15",57 "statuses": "~1.4.0",58 "type-is": "~1.6.16",59 "utils-merge": "1.0.1",60 "vary": "~1.1.2"61 },62 "devDependencies": {63 "after": "0.8.2",64 "connect-redis": "3.4.0",65 "cookie-parser": "~1.4.3",66 "cookie-session": "1.3.2",66 "ejs": "2.5.7",67 "ejs": "2.6.1",68 "eslint": "2.13.1",69 "express-session": "1.15.6",70 "hbs": "4.0.1",71 "istanbul": "0.4.5",71 "marked": "0.3.6",72 "method-override": "2.3.10",73 "mocha": "3.5.3",74 "morgan": "1.9.0",75 "multiparty": "4.1.3",72 "marked": "0.5.1",73 "method-override": "3.0.0",74 "mocha": "5.2.0",75 "morgan": "1.9.1",76 "multiparty": "4.2.1",77 "pbkdf2-password": "1.2.1",77 "should": "13.1.0",78 "supertest": "1.2.0",79 "connect-redis": "~2.4.1",78 "should": "13.2.3",79 "supertest": "3.3.0",80 "vhost": "~3.0.2"81 },82 "engines": {83 "node": ">= 0.10.0"
6 unmodified lines
90 "lib/"91 ],92 "scripts": {93 "lint": "eslint .",94 "test": "mocha --require test/support/env --reporter spec --bail --check-leaks --no-exit test/ test/acceptance/",95 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks --no-exit test/ test/acceptance/",96 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks --no-exit test/ test/acceptance/",97 "test-tap": "mocha --require test/support/env --reporter tap --check-leaks --no-exit test/ test/acceptance/"94 "test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/ test/acceptance/",95 "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/ test/acceptance/",96 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/ test/acceptance/",97 "test-tap": "mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/"98 }99}
modified:Readme.md+2 added-2 removed
125 unmodified lines
126```127128## People129130The original author of Express is [TJ Holowaychuk](https://github.com/tj) [![TJ's Gratipay][gratipay-image-visionmedia]][gratipay-url-visionmedia]130The original author of Express is [TJ Holowaychuk](https://github.com/tj)131132The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson) [![Doug's Gratipay][gratipay-image-dougwilson]][gratipay-url-dougwilson]132The current lead maintainer is [Douglas Christopher Wilson](https://github.com/dougwilson)133134[List of all contributors](https://github.com/expressjs/express/graphs/contributors)135136## License
17 unmodified lines