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

reddit-simple-client

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reddit-simple-client - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

src/classes/RedditComment.js

2

package.json
{
"name": "reddit-simple-client",
"version": "1.0.5",
"version": "1.0.6",
"description": "Simple module for interacting with Reddit, using an unauthenticated client",

@@ -5,0 +5,0 @@ "main": "src/RedditClient.js",

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

const RedditComment = require('./classes/RedditComment.js');
const RedditPost = require('./classes/RedditPost.js');
const https = require('https');

@@ -109,3 +111,3 @@

post = post.data;
return {
return new RedditPost({
body: post.selftext,

@@ -123,3 +125,3 @@ subreddit: post.subreddit,

permalink: post.permalink
};
});
});

@@ -139,3 +141,3 @@ }

comment = comment.data;
return {
return new RedditComment({
body: comment.body,

@@ -153,3 +155,3 @@ subreddit: comment.subreddit,

permalink: comment.permalink
};
});
});

@@ -156,0 +158,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