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.4.2 to 2.4.3

6

History.md
2.4.3 / 2011-07-14
==================
* Added docs for `status` option special-case. Closes #739
* Fixed `options.filename`, exposing the view path to template engines
2.4.2. / 2011-07-06

@@ -3,0 +9,0 @@ ==================

2

lib/express.js

@@ -31,3 +31,3 @@

exports.version = '2.4.2';
exports.version = '2.4.3';

@@ -34,0 +34,0 @@ /**

@@ -64,2 +64,3 @@

// compile
options.filename = view.path;
view.fn = view.templateEngine.compile(view.contents, options);

@@ -417,3 +418,2 @@ cache[cid] = view;

view = exports.compile(view, app.cache, cid, options);
options.filename = view.path;

@@ -420,0 +420,0 @@ // layout helper

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

@@ -6,0 +6,0 @@ "contributors": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc