Comparing version 2.0.1 to 2.1.0
21
cli.js
@@ -11,11 +11,16 @@ #!/usr/bin/env node | ||
Examples | ||
$ nicepass 8 | ||
plummet observed electra dripping | ||
$ nicepass | ||
circularly transportal hypotenuse browsing framework | ||
$ nicepass 05bd809ef433872f | ||
annoying malleably vapory mirk | ||
$ nicepass 10 | ||
workaholism washday liposoluble pinyon crosstalk | ||
$ nicepass 79446c84988885a444af | ||
lauderdale indisposition overgraze microcosm encomia | ||
$ nicepass 'wigglier singing bicyclist clasher barrow haltering twirler asap' | ||
fba4cb24113123240d975fcfea1d085d | ||
`); | ||
`, { | ||
inferType: true | ||
}); | ||
@@ -26,3 +31,3 @@ const input = cli.input[0]; | ||
if (!input || typeof input === 'number') { | ||
const size = input || 8; | ||
const size = input || 10; | ||
const arr = niceware.generatePassphrase(size); | ||
@@ -61,4 +66,4 @@ | ||
} catch (err) { | ||
console.error(err.message); | ||
} catch (error) { | ||
console.error(error.message); | ||
} |
{ | ||
"name": "nicepass", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "Generate human-readable passphrases", | ||
@@ -38,12 +38,11 @@ "license": "MIT", | ||
"dependencies": { | ||
"meow": "^3.7.0", | ||
"niceware": "^1.0.4" | ||
"meow": "^6.0.0", | ||
"niceware": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.17.0", | ||
"execa": "^0.6.0", | ||
"xo": "^0.17.1" | ||
"ava": "^3.2.0", | ||
"execa": "^4.0.0", | ||
"xo": "^0.25.3" | ||
}, | ||
"xo": { | ||
"esnext": true, | ||
"rules": { | ||
@@ -50,0 +49,0 @@ "padded-blocks": 0 |
@@ -21,11 +21,14 @@ # nicepass [![Build Status](https://travis-ci.org/awcross/nicepass.svg?branch=master)](https://travis-ci.org/awcross/nicepass) | ||
Usage | ||
$ nicepass <number|hex|phrase> | ||
$ nicepass <string|number> | ||
Examples | ||
$ nicepass 8 | ||
plummet observed electra dripping | ||
$ nicepass | ||
circularly transportal hypotenuse browsing framework | ||
$ nicepass 05bd809ef433872f | ||
annoying malleably vapory mirk | ||
$ nicepass 10 | ||
workaholism washday liposoluble pinyon crosstalk | ||
$ nicepass 79446c84988885a444af | ||
lauderdale indisposition overgraze microcosm encomia | ||
$ nicepass 'wigglier singing bicyclist clasher barrow haltering twirler asap' | ||
@@ -32,0 +35,0 @@ fba4cb24113123240d975fcfea1d085d |
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
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
4418
49
46
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@types/minimist@1.2.5(transitive)
+ Added@types/normalize-package-data@2.4.4(transitive)
+ Addedarrify@1.0.1(transitive)
+ Addedcamelcase@5.3.1(transitive)
+ Addedcamelcase-keys@6.2.2(transitive)
+ Addeddecamelize-keys@1.1.1(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedhard-rejection@2.1.0(transitive)
+ Addedindent-string@4.0.0(transitive)
+ Addedis-plain-obj@1.1.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedkind-of@6.0.3(transitive)
+ Addedlines-and-columns@1.2.4(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedmap-obj@4.3.0(transitive)
+ Addedmeow@6.1.1(transitive)
+ Addedmin-indent@1.0.1(transitive)
+ Addedminimist-options@4.1.0(transitive)
+ Addedniceware@2.0.2(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedparse-json@5.2.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedquick-lru@4.0.1(transitive)
+ Addedread-pkg@5.2.0(transitive)
+ Addedread-pkg-up@7.0.1(transitive)
+ Addedredent@3.0.0(transitive)
+ Addedstrip-indent@3.0.0(transitive)
+ Addedtrim-newlines@3.0.1(transitive)
+ Addedtype-fest@0.13.10.6.00.8.1(transitive)
+ Addedyargs-parser@18.1.3(transitive)
- Removedarray-find-index@1.0.2(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedcamelcase-keys@2.1.0(transitive)
- Removedcurrently-unhandled@0.4.1(transitive)
- Removedfind-up@1.1.2(transitive)
- Removedget-stdin@4.0.1(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedindent-string@2.1.0(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedis-utf8@0.2.1(transitive)
- Removedload-json-file@1.1.0(transitive)
- Removedloud-rejection@1.6.0(transitive)
- Removedmeow@3.7.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedniceware@1.0.7(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedparse-json@2.2.0(transitive)
- Removedpath-exists@2.1.0(transitive)
- Removedpath-type@1.1.0(transitive)
- Removedpify@2.3.0(transitive)
- Removedpinkie@2.0.4(transitive)
- Removedpinkie-promise@2.0.1(transitive)
- Removedread-pkg@1.1.0(transitive)
- Removedread-pkg-up@1.0.1(transitive)
- Removedredent@1.0.0(transitive)
- Removedrepeating@2.0.1(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-bom@2.0.0(transitive)
- Removedstrip-indent@1.0.1(transitive)
- Removedtrim-newlines@1.0.0(transitive)
Updatedmeow@^6.0.0
Updatedniceware@^2.0.0