Socket
Socket
Sign inDemoInstall

snoowrap

Package Overview
Dependencies
53
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.7.0

7

lib/constants.js

@@ -22,4 +22,7 @@ module.exports = {

TrophyList: 'TrophyList',
subreddit_settings: 'subreddit_settings',
modaction: 'modaction'
subreddit_settings: 'SubredditSettings',
modaction: 'ModAction',
wikipage: 'WikiPage',
wikipagesettings: 'WikiPageSettings',
wikipagelisting: 'WikiPageListing'
},

@@ -26,0 +29,0 @@ USERNAME_REGEX: /^[\w-]{1,20}$/,

@@ -6,5 +6,5 @@ // Defines the default config values. For more information on these, see the documentation for snoowrap#config()

continue_after_ratelimit_error: false,
retry_error_codes: [502, 503, 504],
retry_error_codes: [502, 503, 504, 522],
max_retry_attempts: 3,
suppress_warnings: false
};
{
"name": "snoowrap",
"version": "0.6.0",
"version": "0.7.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "A Node.js wrapper for the reddit API",

@@ -111,4 +111,6 @@ # snoowrap

---
Note: snoowrap uses the `Proxy` object introduced in ES6. Since this is not yet included in Node by default, you will need to run your project with the `--harmony-proxies` flag. E.g. `node --harmony-proxies yourProject.js`
snoowrap is currently in active development; while it provides shortcuts for a large number of API endpoints, it is not yet feature-complete. See [here](https://not-an-aardvark.github.io/snoowrap) for full documentation.

Sorry, the diff of this file is too big to display

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