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

password-generator

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

password-generator - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

2

lib/password-generator.js

@@ -39,3 +39,3 @@ /*

if (!memorable) {
for (i = 33; 126 > i; i += 1) {
for (i = 33; i <= 126; i += 1) {
char = String.fromCharCode(i);

@@ -42,0 +42,0 @@ if (char.match(pattern)) {

{
"name": "password-generator",
"version": "2.2.2",
"version": "2.2.3",
"description": "Memorable password generator. For the command line, Node.js and the browser.",

@@ -42,3 +42,3 @@ "author": "Bermi Ferrer <bermi@bermilabs.com>",

"test": "make test",
"precommit": "grunt build && git add dist/*"
"beforeBump": "grunt build && git add dist/*"
},

@@ -45,0 +45,0 @@ "typings": "index.d.ts",

@@ -71,4 +71,9 @@ (function (root) {

it('should allow ~ character', function () {
var pass = generatePassword(2, false, /[~]/);
expect(pass.length).to.be(2);
expect(pass).to.be('~~');
});
});
}(this));
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