Comparing version 1.20.0 to 1.20.1
@@ -37,14 +37,2 @@ #!/usr/bin/env node | ||
// Adjust help output for set command | ||
// as it has two optional arguments, | ||
// which cannot be handled by commander | ||
const outputHelp = program.outputHelp.bind(program) | ||
program.outputHelp = function (cb) { | ||
cb = cb || function (passthru) { return passthru } | ||
const newCb = function (text) { | ||
return cb(text).replace('set [options] [stamp] <key> [value]', 'set [options] [stamp] <key> <value>') | ||
} | ||
outputHelp(newCb) | ||
} | ||
let datadir | ||
@@ -51,0 +39,0 @@ program.on('option:datadir', function (value) { |
{ | ||
"name": "clocker", | ||
"version": "1.20.0", | ||
"version": "1.20.1", | ||
"description": "track project hours", | ||
@@ -12,3 +12,3 @@ "bin": { | ||
"dependencies": { | ||
"commander": "^6.0.0", | ||
"commander": "^7.1.0", | ||
"editor": "^1.0.0", | ||
@@ -15,0 +15,0 @@ "json-stable-stringify": "^1.0.0", |
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
123732
2175
+ Addedcommander@7.2.0(transitive)
- Removedcommander@6.2.1(transitive)
Updatedcommander@^7.1.0