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.3 to 1.0.4

autokill.js

2

.cache/replit/__replit_disk_meta.json

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

{"nonce":8669868190284562109,"last_updated":{"seconds":1682885332,"nanos":262447000}}
{"nonce":7516623245751173462,"last_updated":{"seconds":1682886887,"nanos":615780000}}

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

{"version":2,"languages":{"nodejs-npm":{"specfileHash":"257bee97dfb75d13700a54a2242fc134","lockfileHash":"b2ab5f8a8ec626e9fbfd859883f13155"}}}
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"f1dc8e77fd552d429a501b51f4a5a683","lockfileHash":"809535f1c29adfe345d1cc389eac8564","guessedImports":["colors"],"guessedImportsHash":"7a3eb6787bcf1ceb166f4ba231bcaf43"}}}
const { EventEmitter } = require(`events`);
require("./autokill")
const colors = require(`colors`);

@@ -26,3 +27,3 @@ class antiCrash extends EventEmitter {

async function catching() {
console.log(`> [anticrash] : [discord-anticrash] is now preventing bot termination.`.blue)
console.log(`> [anticrash] : [anticrash] is now preventing bot termination.`.blue)
process.on(`unhandledRejection`, (reason, p) => {

@@ -29,0 +30,0 @@ console.log(`> [anticrash] : Unhandled Rejection/Catch`.red);

{
"name": "anticrash",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

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

@@ -68,6 +68,19 @@ # discord-anticrash

```
# Install
```shell
$ npm i anticrash
```
## Example Code
```javascript
const client = new Discord.Client({ intents: [Intents] });
const { ReplitKill } = require('anticrash');
ReplitKill({ Client: client, Time: 5000 });
```
#### New Updates
- 1.0.3
- 1.0.4
- Added more Badges to the README
- Added this section you are currently reading
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