express-mung
Advanced tools
Comparing version 0.4.2 to 0.4.4
@@ -45,3 +45,3 @@ 'use strict'; | ||
if (json === null) | ||
return res.status(204); | ||
return res.status(204).end(); | ||
@@ -48,0 +48,0 @@ // If scalar value, then text/plain |
{ | ||
"name": "express-mung", | ||
"version": "0.4.2", | ||
"version": "0.4.4", | ||
"description": "Transform an express response (or make until no good)", | ||
@@ -21,2 +21,5 @@ "main": "index.js", | ||
"author": "Richard Schneider <makaretu@gmail.com>", | ||
"contributors": [ | ||
"Ido Schachter <ido.schachter@ironsrc.com>" | ||
], | ||
"license": "MIT", | ||
@@ -23,0 +26,0 @@ "bugs": { |
@@ -0,0 +0,0 @@ # express-mung [![Build Status](https://travis-ci.org/richardschneider/express-prefer.svg)](https://travis-ci.org/richardschneider/express-mung) |
@@ -44,3 +44,3 @@ 'use strict'; | ||
.use(mung.json(remove)) | ||
.get('/', (req, res) => res.status(200).json({ a: 'a' }).end()); | ||
.get('/', (req, res) => res.status(200).json({ a: 'a' })); | ||
request(server) | ||
@@ -47,0 +47,0 @@ .get('/') |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
19970