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

clockify

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clockify - npm Package Compare versions

Comparing version 0.11.6 to 0.11.7

5

bin/model.js

@@ -391,3 +391,5 @@ "use strict";

const isEndOfMonth = cal[eventMonthName].days.length == eventDayNumber;
if (isEndOfMonth && isLastEvent) {
const isLastEventInDay = "?";
if (isEndOfMonth || isLastEvent) {
console.log({ isEndOfMonth, isLastEvent });
cal[eventMonthName].fullDate =

@@ -397,2 +399,3 @@ `${firstEventDate.year}-${eventMonthNumber}`;

cal[eventMonthName].duration / cal[eventMonthName].days.length;
console.log({ hpd: cal[eventMonthName].hoursPerDay });
}

@@ -399,0 +402,0 @@ });

7

bin/server.js

@@ -204,5 +204,8 @@ "use strict";

let data = "";
let notifyMsg = "";
Object.entries(resp.data).forEach((month) => {
const [monthName, monthData] = month;
data += `\n${monthName}: ${utils_1.default.secToTimeStr(monthData.duration * 60 * 60)} | ${monthData.hoursPerDay.toFixed(2)} hours per day`;
const monthTitle = `\n${monthName}: ${utils_1.default.secToTimeStr(monthData.duration * 60 * 60)} | ${monthData.hoursPerDay.toFixed(2)} hours per day`;
data += monthTitle;
notifyMsg += monthTitle;
if (monthData.duration > 0) {

@@ -215,3 +218,3 @@ monthData.days.forEach((day, index) => {

socket.write(JSON.stringify({ err: false, data }));
utils_1.default.notify("activities duration", data, "green");
utils_1.default.notify("activities duration", notifyMsg, "green");
}),

@@ -218,0 +221,0 @@ // duration of all activities

{
"name": "clockify",
"version": "0.11.6",
"version": "0.11.7",
"description": "A time tracker to make sure that you really spent the time you think you spent working, studying, etc.",

@@ -5,0 +5,0 @@ "license": "MIT",

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