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

anticrash

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anticrash - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

.cache/replit/__replit_disk_meta.json

@@ -1,1 +0,1 @@

{"nonce":2383541616068848800,"last_updated":{"seconds":1682889635,"nanos":37905000}}
{"nonce":8227193093898104453,"last_updated":{"seconds":1682890204,"nanos":107423000}}

@@ -11,4 +11,3 @@ const { EventEmitter } = require(`events`);

var SlashCopyRights_Time = Time;
var SlashCopyRights_Client = Client;

@@ -18,6 +17,3 @@

console.log(`> [anticrash loaded]`.green)
if (!Time) { throw new ReferenceError(`ReplitKill System : No specific time has been set, the time has been reset to 10s, which is a default`.red)
} else
if (Time < 5000) { throw new ReferenceError('The time should be more than 5 seconds'.red)
} else
if (!client) {

@@ -56,7 +52,7 @@ throw new ReferenceError(`> [anticrash] : discord.client() is invalid!`.red)

setInterval(async () => {
if (!SlashCopyRights_Client || !SlashCopyRights_Client.user) {
if (!client || !client.user) {
process.kill(1);
console.log('#Client Not Login, Process Kill');
} else return;
}, SlashCopyRights_Time || 10000);
}, 10000);
}

@@ -63,0 +59,0 @@ }

{
"name": "anticrash",
"version": "1.0.7",
"version": "1.0.8",
"description": "",

@@ -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