New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simple-keep-pc-awake

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-keep-pc-awake - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

37

index.js

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

return Object.entries(welcomeSubheading).map(([key, value]) => `${key}: ${gradient(["#11998e", "#38ef7d"])(value)}`);
return Object.entries(welcomeSubheading).map(
([key, value]) => `${key}: ${gradient(["#11998e", "#38ef7d"])(value)}`
);
};

@@ -136,7 +138,31 @@

...getWelcomeSubheadings(),
`Move offset: ${gradient(["#CAC531", "#F3F9A7"])(getMoveOffset().toString() + " pixels")}`,
`Max idle time: ${gradient(["#CAC531", "#F3F9A7"])(getMaxIdleTime().seconds.toString() + " seconds")}`,
`Move offset: ${gradient(["#CAC531", "#F3F9A7"])(
getMoveOffset().toString() + " pixels"
)}`,
`Max idle time: ${gradient(["#CAC531", "#F3F9A7"])(
getMaxIdleTime().seconds.toString() + " seconds"
)}`,
].join(" | ") + "\n"
);
console.log(
chalk.bgYellow.red(
"##############################################################################################################################\n"
)
);
console.log(
chalk.bold.red(
`The package has been renamed to ${chalk.underline.yellow(
"keep-me-up"
)} and this version will no longer be maintained. Please use ${chalk.underline.green(
"npx keep-me-up"
)} from now on.`
)
);
console.log(
chalk.bgYellow.red(
"\n##############################################################################################################################\n"
)
);
/** Save settings so we don't do unnecessary operations */

@@ -177,3 +203,6 @@ const maxIdleTime = getMaxIdleTime();

const prevPosition = await mouse.getPosition();
const coordinates = new Point(prevPosition.x + moveOffset, prevPosition.y + moveOffset);
const coordinates = new Point(
prevPosition.x + moveOffset,
prevPosition.y + moveOffset
);
await mouse.setPosition(coordinates);

@@ -180,0 +209,0 @@

2

package.json
{
"name": "simple-keep-pc-awake",
"version": "1.2.0",
"version": "1.2.1",
"description": "A simple way to keep your PC awake with no configuration and setup.",

@@ -5,0 +5,0 @@ "main": "index.js",

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