Skip to content
Myr

deps: connect@2.20.2

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 · parent 9db1367 · Browse files · 5 files+22 added−2 removed
This commit

State

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

Diff stats

5 files+22 added−2 removed

  • tests:+4 added−0 removed
  • other:+18 added−2 removed

5 files+22 added−2 removed

modified:examples/mvc/index.js+1 added-1 removed
modified:test/acceptance/mvc.js+3 added
31 unmodified lines
32 describe('PUT /pet/2', function(){33 it('should update the pet', function(done){34 request(app)35 .put('/pet/3')36 .set('Content-Type', 'application/x-www-form-urlencoded')37 .send({ pet: { name: 'Boots' } })38 .end(function(err, res){39 if (err) return done(err);40 request(app)
54 unmodified lines
95 describe('PUT /user/:id', function(){96 it('should update the user', function(done){97 request(app)98 .put('/user/1')99 .set('Content-Type', 'application/x-www-form-urlencoded')100 .send({ user: { name: 'Tobo' }})101 .end(function(err, res){102 if (err) return done(err);103 request(app)
6 unmodified lines
110 describe('POST /user/:id/pet', function(){111 it('should create a pet for user', function(done){112 request(app)113 .post('/user/2/pet')114 .set('Content-Type', 'application/x-www-form-urlencoded')115 .send({ pet: { name: 'Snickers' }})116 .expect('Location', '/user/2')117 .expect(302, function(err, res){118 if (err) return done(err)
7 unmodified lines
modified:test/support/env.js+1 added
modified:History.md+16 added
1unreleased2==========34 * deps: buffer-crc32@0.2.35 * deps: connect@2.20.26 - deprecate `verify` option to `json` -- use `body-parser` module directly7 - deprecate `verify` option to `urlencoded` -- use `body-parser` module directly8 - deprecate things with `depd` module9 - use `finalhandler` for final response handling10 - use `media-typer` to parse `content-type` for charset11 - deps: body-parser@1.4.312 - deps: connect-timeout@1.1.113 - deps: cookie-parser@1.3.114 - deps: csurf@1.2.215 - deps: errorhandler@1.1.016 - deps: express-session@1.4.017 - deps: multiparty@3.2.918 - deps: serve-index@1.1.219 - deps: type-is@1.3.120 - deps: vhost@2.0.021223.10.5 / 2014-06-1123===================24
1444 unmodified lines
modified:package.json+1 added-1 removed