Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clocker

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clocker - npm Package Compare versions

Comparing version 1.14.0 to 1.14.1

39

bin/cmd.js

@@ -251,9 +251,4 @@ #!/usr/bin/env node

if (argv.verbose && row.value.message) {
var lines = row.value.message.split('\n');
console.log();
lines.forEach(function (line) {
console.log(' ' + line);
});
console.log();
if (argv.verbose) {
printMessage(row.value.message)
}

@@ -383,2 +378,5 @@ }));

printEntry(row.key, start, end, elapsed, row.value.type, row.value.archive);
if(argv.verbose) {
printMessage(row.value.message)
}

@@ -572,13 +570,24 @@ sumsByType[row.value.type] ? sumsByType[row.value.type] += elapsed : sumsByType[row.value.type] = elapsed;

function printDate(date) {
var monthNames = [
"January", "February", "March",
"April", "May", "June", "July",
"August", "September", "October",
"November", "December"
];
function printDate (date) {
var monthNames = [
"January", "February", "March",
"April", "May", "June", "July",
"August", "September", "October",
"November", "December"
];
return date.getDate() + ' ' + monthNames[date.getMonth()] + ' ' + date.getFullYear();
return date.getDate() + ' ' + monthNames[date.getMonth()] + ' ' + date.getFullYear();
}
function printMessage (message) {
if (message) {
var lines = message.split('\n');
console.log();
lines.forEach(function (line) {
console.log(' ' + line);
});
console.log();
}
}
function addData (obj) {

@@ -585,0 +594,0 @@ var data = minimist(argv['--']);

@@ -27,4 +27,5 @@ usage:

clocker report {--reportDay DATE}
clocker report {-v, --reportDay DATE}
Show all logged hours of a specific day.
In verbose mode (-v), also show clocked messages.
If no --reportDay is set, the current day will be used.

@@ -31,0 +32,0 @@

{
"name": "clocker",
"version": "1.14.0",
"version": "1.14.1",
"description": "track project hours",

@@ -5,0 +5,0 @@ "bin": {

Sorry, the diff of this file is not supported yet

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