Socket
Socket
Sign inDemoInstall

stackexchange

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stackexchange - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

12

lib/query.js

@@ -19,9 +19,9 @@ 'use strict';

function parseBody (buffer, callback) {
try {
zlib.unzip(buffer, function Unzipped (error, body) {
zlib.unzip(buffer, function Unzipped (error, body) {
try {
callback(error, JSON.parse(body.toString()));
});
} catch (error) {
callback(error);
}
} catch (error) {
callback(error);
}
});
}

@@ -28,0 +28,0 @@

{
"name": "stackexchange",
"version": "0.0.2",
"version": "0.0.3",
"description": "Node.js implementation of the stackexchange/stackoverflow API",
"main": "index.js",
"main": "./lib/stackoverflow.js",
"scripts": {

@@ -7,0 +7,0 @@ "test": "make test"

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