New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

check-password-strength

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

check-password-strength - npm Package Compare versions

Comparing version

to
1.0.8

{
"name": "check-password-strength",
"version": "1.0.7",
"version": "1.0.8",
"description": "A NPM Password strength checker based from Javascript RegExp. Check passphrase if it's \"Weak\", \"Medium\" or \"Strong\"",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,2 +6,4 @@

[![Build Status](https://travis-ci.org/deanilvincent/check-password-strength.svg?branch=master)](https://travis-ci.org/deanilvincent/check-password-strength)
## Installation

@@ -8,0 +10,0 @@

@@ -10,3 +10,3 @@ const app = require('../index')

it("Should return strength id 1 if password is medium", () => {
assert.equal(app('Asdf1234').id, 1)
assert.equal(app('Asdfasdf2020').id, 1)
})

@@ -13,0 +13,0 @@