Socket
Socket
Sign inDemoInstall

express

Package Overview
Dependencies
18
Maintainers
0
Versions
276
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

7

History.md
2.1.1 / 2011-03-29
==================
* Added; expose `err.view` object when failing to locate a view
* Fixed `res.partial()` call `next(err)` when no callback is given [reported by aheckmann]
* Fixed; `res.send(undefined)` responds with 204 [aheckmann]
2.1.0 / 2011-03-24

@@ -3,0 +10,0 @@ ==================

2

lib/express.js

@@ -30,3 +30,3 @@

exports.version = '2.1.0';
exports.version = '2.1.1';

@@ -33,0 +33,0 @@ /**

@@ -54,3 +54,3 @@

// allow 0 args as 204
if (!arguments.length) body = status = 204;
if (!arguments.length || undefined === body) body = status = 204;

@@ -57,0 +57,0 @@ // determine content type

@@ -182,4 +182,5 @@

} else {
throw err;
this.req.next(err);
}
return;
}

@@ -224,3 +225,4 @@

fn(err);
// unwind to root call
// unwind to root call to prevent
// several next(err) calls
} else if (sub) {

@@ -309,3 +311,5 @@ throw err;

if (app.enabled('hints')) hintAtViewPaths(orig, options);
throw new Error('failed to locate view "' + orig.view + '"');
var err = new Error('failed to locate view "' + orig.view + '"');
err.view = orig;
throw err;
}

@@ -312,0 +316,0 @@

{
"name": "express",
"description": "Sinatra inspired web development framework",
"version": "2.1.0",
"version": "2.1.1",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -18,2 +18,3 @@ "contributors": [

"keywords": ["framework", "sinatra", "web", "rest", "restful"],
"repository": "git://github.com/visionmedia/express",
"main": "index",

@@ -20,0 +21,0 @@ "bin": { "express": "./bin/express" },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc