Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

cycles

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cycles - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+3
-3
cli.js

@@ -26,3 +26,3 @@ #!/usr/bin/env node

function sleep(obj, str, reverse) {
function log(obj, str, reverse) {
var arr = Object.keys(obj).map(function (el) {

@@ -41,6 +41,6 @@ return ' ' + chalk.dim(el + ' cycles ') + chalk.bold(obj[el]);

if (cli.flags.wake) {
sleep(cycles.wake(cli.flags.wake), 'Fall asleep at the end of a cycle to feel more refreshed in the morning.', true);
log(cycles.wake(cli.flags.wake), 'Fall asleep at a certain time to feel more refreshed in the morning.', true);
return;
}
sleep(cycles.sleep(cli.input[0] || ''), 'Wake up at the end of a cycle to feel more refreshed in the morning.');
log(cycles.sleep(cli.input[0] || ''), 'Wake up at the end of a cycle to feel more refreshed in the morning.');
{
"name": "cycles",
"version": "1.0.1",
"version": "1.0.2",
"description": "Calculate sleep cycles to wake up more refreshed.",

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