express-form
Advanced tools
Comparing version 0.11.1 to 0.11.2
# express-form changelog | ||
## v0.11.1 (2013/04/09) | ||
## v0.11.1 (2014/04/09) | ||
* tighten up newly-added `isEmail()` regex | ||
@@ -5,0 +5,0 @@ |
@@ -17,2 +17,3 @@ var validator = require("validator") | ||
this.__required = false; | ||
this.__trimmed = false; | ||
@@ -34,3 +35,4 @@ this.add = function(func) { | ||
if (options.autoTrim) { | ||
if (options.autoTrim && !self.__trimmed) { | ||
self.__trimmed = true; | ||
stack.unshift(function (value) { | ||
@@ -37,0 +39,0 @@ if (object.isString(value)) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Form validation and data filtering for Express", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"homepage": "http://dandean.github.com/express-form", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -1,12 +0,10 @@ | ||
# express-form | ||
# express-form [![Build Status](https://travis-ci.org/freewil/express-form.svg?branch=express-2.x)](https://travis-ci.org/freewil/express-form) | ||
Express Form provides data filtering and validation as route middleware to your Express applications. | ||
[![Build Status](https://travis-ci.org/freewil/express-form.png?branch=express-2.x)](https://travis-ci.org/freewil/express-form) | ||
## Install | ||
* **Express 2.x** `npm install express-form@0.9.x` | ||
* **Express 2.x** `npm install express-form@0.11.x` | ||
* **Express 3.x** `npm install express-form@0.10.x` | ||
* **Express 3.x** `npm install express-form@0.12.x` | ||
@@ -13,0 +11,0 @@ ## Usage |
78809
1752
399