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

salien-script-js

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

salien-script-js - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"name": "salien-script-js",
"version": "0.0.7",
"version": "0.0.8",
"description": "Scripting the Steam Salien Sale minigame, the proper way.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -89,8 +89,7 @@ /**

const updateCheck = async (name, pauseLog) => {
const updateCheck = async name => {
let hasUpdate = null;
try {
hasUpdate = await checkForUpdate(pkg);
this.isUpdateChecked = true;
hasUpdate = await checkForUpdate(pkg, { interval: 120000 });
} catch (err) {

@@ -100,10 +99,5 @@ logger(name, ` ${chalk.bgRed(' UpdateCheck ')}`, chalk.red(`Failed to check for updates: ${err}`));

if (hasUpdate) {
logger(name, ` ${chalk.bgMagenta(' UpdateCheck ')}`, `The latest version is ${hasUpdate.latest}. Please update.`);
if (await hasUpdate) {
logger(name, ` ${chalk.bgMagenta(' UpdateCheck ')}`, `The latest version is ${hasUpdate.latest}. Please update!`);
}
if (pauseLog) {
// pause for 3 seconds after update check
await delay(3000);
}
};

@@ -110,0 +104,0 @@

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