password-generator
Advanced tools
Comparing version 2.2.3 to 2.3.0
@@ -1,2 +0,14 @@ | ||
var argv = require('yargs-parser')(process.argv.slice(2)); | ||
var argv = process.argv.slice(2).reduce( | ||
function parseArg(memo, arg, idx, rawArgs) { | ||
var nextArg = rawArgs[idx + 1]; | ||
if (arg[0] === '-') { | ||
var equalIdx = arg.indexOf('='); | ||
if (equalIdx === -1) { | ||
memo[arg[1]] = nextArg && nextArg[0] === '-' ? true : nextArg; | ||
} else { | ||
memo[arg[1]] = arg.slice(equalIdx + 1).trim(); | ||
} | ||
} | ||
return memo; | ||
}, {}); | ||
@@ -3,0 +15,0 @@ var puts = console.log; |
{ | ||
"name": "password-generator", | ||
"version": "2.2.3", | ||
"version": "2.3.0", | ||
"description": "Memorable password generator. For the command line, Node.js and the browser.", | ||
@@ -28,8 +28,6 @@ "author": "Bermi Ferrer <bermi@bermilabs.com>", | ||
}, | ||
"dependencies": { | ||
"yargs-parser": "^16.0.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"expect.js": "^0.3.1", | ||
"grunt": "^1.0.4", | ||
"grunt": "^1.1.0", | ||
"grunt-contrib-concat": "^1.0.1", | ||
@@ -39,8 +37,19 @@ "grunt-contrib-jshint": "^2.1.0", | ||
"grunt-contrib-watch": "^1.1.0", | ||
"mocha": "6.2.2" | ||
"mocha": "7.2.0" | ||
}, | ||
"scripts": { | ||
"test": "make test", | ||
"beforeBump": "grunt build && git add dist/*" | ||
"precommit": "grunt build && git add dist/*" | ||
}, | ||
"release-it": { | ||
"hooks": { | ||
"before:bump": "npm run precommit" | ||
} | ||
}, | ||
"files": [ | ||
"/lib", | ||
"/index.js", | ||
"/index.d.ts", | ||
"/bin/password-generator" | ||
], | ||
"typings": "index.d.ts", | ||
@@ -47,0 +56,0 @@ "main": "index", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
1
12933
8
156
1
- Removedyargs-parser@^16.0.0
- Removedcamelcase@5.3.1(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedyargs-parser@16.1.0(transitive)