deps: finalhandler@~1.0.0

This commit is contained in:
Douglas Christopher Wilson 2017-02-18 22:14:58 -05:00
parent 485b6f86ac
commit 92c859dd05
3 changed files with 9 additions and 2 deletions

View File

@ -8,6 +8,13 @@ unreleased
- Fix error when running under React Native
- Use same color for same namespace
- deps: ms@0.7.2
* deps: finalhandler@~1.0.0
- Fix exception when `err` cannot be converted to a string
- Fully URL-encode the pathname in the 404
- Only include the pathname in the 404 message
- Send complete HTML document
- Set `Content-Security-Policy: default-src 'self'` header
- deps: debug@2.6.1
* deps: qs@6.3.1
- Fix array parsing from skipping empty values
- Fix compacting nested arrays

View File

@ -38,7 +38,7 @@
"encodeurl": "~1.0.1",
"escape-html": "~1.0.3",
"etag": "~1.7.0",
"finalhandler": "0.5.1",
"finalhandler": "~1.0.0",
"fresh": "0.3.0",
"merge-descriptors": "1.0.1",
"methods": "~1.1.2",

View File

@ -77,7 +77,7 @@ describe('app.router', function(){
request(app)
.get('/')
.expect(404, 'Cannot GET /\n', cb);
.expect(404, cb)
request(app)
.delete('/')