Comparing version 0.5.2 to 0.5.3
@@ -214,3 +214,3 @@ var sprintf = require('sprintf').sprintf; | ||
exports.generate = function (state) { | ||
state = state || this.states[Math.floor(Math.random() * (states.length - 1))]; | ||
state = state || this.states[Math.floor(Math.random() * (this.states.length - 1))]; | ||
state = state.toUpperCase().trim();; | ||
@@ -217,0 +217,0 @@ if ( this.states.indexOf(state) === undefined ) { |
{ | ||
"name": "ssn", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "Validate and generate fake SSN", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -56,2 +56,3 @@ # fake-ssn-node | ||
* 0.5.2 Updated markdown | ||
* 0.5.3 fixed bug with random states selection | ||
@@ -58,0 +59,0 @@ ## Legal |
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
16446
6
73