Socket
Socket
Sign inDemoInstall

stackexchange

Package Overview
Dependencies
73
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.3 to 1.2.4

4

lib/methods/answers.js

@@ -18,3 +18,3 @@ 'use strict';

*/
function answers (criteria, callback, ids) {
function answers (criteria, callback, ids) {
ids = ids || [];

@@ -54,3 +54,3 @@ query('answers/' + ids.join(';'), criteria, callback);

if(!criteria['key'] || !criteria['access_token']) {
return callback(new Error('answers.upvote lacks key and/or access token as criteria'));
return callback(new Error('answers.downvote lacks key and/or access token as criteria'));
}

@@ -57,0 +57,0 @@ undo = undo? "/undo" : "";

@@ -36,5 +36,4 @@ 'use strict';

}
return callback(undefined, body);
})();
};
{
"name": "stackexchange",
"version": "1.2.3",
"version": "1.2.4",
"description": "Node.js implementation of the stackexchange/stackoverflow API",

@@ -5,0 +5,0 @@ "main": "./lib/stackexchange",

Sorry, the diff of this file is not supported yet

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