Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ssn

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssn - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

.npmignore

2

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc