Comparing version 3.0.2 to 3.0.3
3.0.3 / 2012-11-13 | ||
================== | ||
* update connect | ||
* update cookie module | ||
* fix cookie max-age | ||
3.0.2 / 2012-11-08 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -48,4 +48,2 @@ /** | ||
app.defaultConfiguration = function(){ | ||
var self = this; | ||
// default settings | ||
@@ -107,3 +105,3 @@ this.enable('x-powered-by'); | ||
app.use = function(route, fn){ | ||
var app, handle; | ||
var app; | ||
@@ -409,3 +407,3 @@ // default route to '/' | ||
app[method] = function(path){ | ||
if ('get' == method && 1 == arguments.length) return this.set(path); | ||
if ('get' == method && 1 == arguments.length) return this.set(path); | ||
var args = [method].concat([].slice.call(arguments)); | ||
@@ -412,0 +410,0 @@ if (!this._usedRouter) this.use(this.router); |
@@ -23,3 +23,3 @@ /** | ||
exports.version = '3.0.2'; | ||
exports.version = '3.0.3'; | ||
@@ -26,0 +26,0 @@ /** |
@@ -14,3 +14,2 @@ /** | ||
, statusCodes = http.STATUS_CODES | ||
, send = connect.static.send | ||
, cookie = require('cookie') | ||
@@ -583,2 +582,3 @@ , send = require('send') | ||
if (null == options.path) options.path = '/'; | ||
options.maxAge /= 1000; | ||
this.set('Set-Cookie', cookie.serialize(name, String(val), options)); | ||
@@ -585,0 +585,0 @@ return this; |
{ | ||
"name": "express", | ||
"description": "Sinatra inspired web development framework", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -13,7 +13,7 @@ "contributors": [ | ||
"dependencies": { | ||
"connect": "2.6.2", | ||
"connect": "2.7.0", | ||
"commander": "0.6.1", | ||
"range-parser": "0.0.4", | ||
"mkdirp": "0.3.3", | ||
"cookie": "0.0.4", | ||
"cookie": "0.0.5", | ||
"crc": "0.2.0", | ||
@@ -20,0 +20,0 @@ "fresh": "0.1.0", |
@@ -20,6 +20,2 @@ ![express logo](http://f.cl.ly/items/0V2S1n0K1i3y1c122g04/Screen%20Shot%202012-04-11%20at%209.59.42%20AM.png) | ||
To install the 3.0 alpha: | ||
$ npm install -g express@3.0 | ||
## Quick Start | ||
@@ -26,0 +22,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112844
2261
180
+ Addedconnect@2.7.0(transitive)
+ Addedcookie@0.0.5(transitive)
- Removedconnect@2.6.2(transitive)
- Removedcookie@0.0.4(transitive)
Updatedconnect@2.7.0
Updatedcookie@0.0.5