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

disconnect

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disconnect - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

HISTORY.md

@@ -0,1 +1,5 @@

1.0.1 / 2016-11-03
==================
* Fixed issue with `database().search()` when using a `Promise`
1.0.0 / 2016-10-27

@@ -2,0 +6,0 @@ ==================

8

lib/database.js

@@ -164,8 +164,8 @@ 'use strict';

var obj = {};
if(arguments.length <= 2){
if(typeof params === 'function'){ callback = params; } // No extra search params, the callback is the second function param
}else{
if((arguments.length === 2) && (typeof params === 'function')){
callback = params;
}else if(params){
obj = params;
}
if(query){ obj.q = query; }
obj.q = query||'';
return client.get({url: util.addParams('/database/search', obj), authLevel: 1}, callback);

@@ -172,0 +172,0 @@ };

{
"name": "disconnect",
"description": "A full featured Discogs API v2.0 client library",
"version": "1.0.0",
"version": "1.0.1",
"keywords": ["discogs", "api", "client", "oauth"],

@@ -6,0 +6,0 @@ "homepage": "https://github.com/bartve/disconnect",

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