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

flower-password-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flower-password-cli - npm Package Compare versions

Comparing version

to
1.1.0

8

app.js

@@ -10,2 +10,3 @@ #!/usr/bin/env node

const FpCode = require('node-flower-password');
const Clip = require('cliparoo');

@@ -16,2 +17,3 @@

const inputPassword = {

@@ -49,2 +51,3 @@ 'type': 'password',

main();

@@ -123,3 +126,6 @@

function showCode(password, key, length) {
return console.log('\r\n' + Chalk.white.bold(`Code: `) + Chalk.cyan(FpCode(password, key, length)) + '\r\n');
let code = FpCode(password, key, length);
return Clip(code, function(err) {
return console.log('\r\n' + Chalk.white.bold(`Code: `) + Chalk.cyan(code) + '\r\n');
});
}

@@ -126,0 +132,0 @@

3

package.json
{
"name": "flower-password-cli",
"version": "1.0.0",
"version": "1.1.0",
"description": "The FlowerPassword.js command line utility.",

@@ -30,2 +30,3 @@ "bin": {

"chalk": "^1.1.3",
"cliparoo": "^1.1.1",
"inquirer": "^1.2.2",

@@ -32,0 +33,0 @@ "node-flower-password": "^1.0.0",