Comparing version 0.1.0 to 0.1.1
var crypto = require('crypto') | ||
var uid = require('uid') | ||
@@ -14,3 +15,3 @@ var ignoreMethods = { | ||
var salt = crypto.randomBytes(12).toString('base64') | ||
var salt = uid() | ||
@@ -17,0 +18,0 @@ return this._csrf = salt + ';' |
{ | ||
"name": "csurf", | ||
"description": "CSRF middleware", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": { | ||
@@ -11,2 +11,5 @@ "name": "Jonathan Ong", | ||
}, | ||
"dependencies": { | ||
"uid": "~0.0.2" | ||
}, | ||
"license": "MIT", | ||
@@ -13,0 +16,0 @@ "repository": { |
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
3969
65
1
+ Addeduid@~0.0.2
+ Addeduid@0.0.2(transitive)