Socket
Socket
Sign inDemoInstall

trev

Package Overview
Dependencies
8
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

14

index.js

@@ -50,14 +50,4 @@ const fetch = require("node-fetch");

let subreddit = choice(this.subreddits.${curcat}.${category});
let r = await getsubreddit(subreddit);
let tentatives = 0;
while (r[0] === undefined && tentatives < 5) {
let r = await getsubreddit(subreddit);
tentatives++;
}
if (tentatives >= 5) {
if(this.verbose) console.log("[-] Broken subreddit: " + subreddit);
return undefined;
}
if (!r) return undefined;
return this.formatRedditRes(r);
let result = await this.getCustomSubreddit(subreddit);
return result;
}`);

@@ -64,0 +54,0 @@ }

2

package.json
{
"name": "trev",
"version": "2.0.0",
"version": "2.0.1",
"description": "Getting random nsfw images, hentai images and memes from reddit. Fast and tons of features supported.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc