Comparing version 1.8.1 to 1.8.2
@@ -0,1 +1,7 @@ | ||
1.8.2 / 2015-05-09 | ||
================== | ||
* deps: csrf@~3.0.0 | ||
- deps: uid-safe@~2.0.0 | ||
1.8.1 / 2015-05-03 | ||
@@ -2,0 +8,0 @@ ================== |
@@ -11,8 +11,9 @@ /*! | ||
* Module dependencies. | ||
* @private | ||
*/ | ||
var Cookie = require('cookie'); | ||
var csrfTokens = require('csrf'); | ||
var createError = require('http-errors'); | ||
var sign = require('cookie-signature').sign; | ||
var Tokens = require('csrf'); | ||
@@ -45,3 +46,3 @@ /** | ||
// token repo | ||
var tokens = csrfTokens(options); | ||
var tokens = new Tokens(options); | ||
@@ -48,0 +49,0 @@ // ignored methods |
{ | ||
"name": "csurf", | ||
"description": "CSRF token middleware", | ||
"version": "1.8.1", | ||
"version": "1.8.2", | ||
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)", | ||
@@ -14,3 +14,3 @@ "contributors": [ | ||
"cookie-signature": "1.0.6", | ||
"csrf": "~2.0.7", | ||
"csrf": "~3.0.0", | ||
"http-errors": "~1.3.1" | ||
@@ -17,0 +17,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
16750
224
+ Addedcsrf@3.0.6(transitive)
+ Addedrandom-bytes@1.0.0(transitive)
+ Addedrndm@1.2.0(transitive)
+ Addedtsscmp@1.0.5(transitive)
+ Addeduid-safe@2.1.4(transitive)
- Removedbase64-url@1.2.1(transitive)
- Removedcsrf@2.0.7(transitive)
- Removednative-or-bluebird@1.1.2(transitive)
- Removedrndm@1.1.1(transitive)
- Removedscmp@1.0.0(transitive)
- Removeduid-safe@1.1.0(transitive)
Updatedcsrf@~3.0.0