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 0.7.0 to 0.7.1

4

HISTORY.md

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

0.7.1 / 2016-01-26
==================
* Added `database().labelReleases()` function
0.7.0 / 2016-01-25

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

@@ -87,3 +87,20 @@ 'use strict';

};
/**
* Get label release data
* @param {(number|string)} label - The Discogs label ID
* @param {object} [params] - Paging params
* @param {function} [callback] - Callback function
*/
database.labelReleases = function(label, params, callback){
var path = '/labels/'+label+'/releases';
if((arguments.length === 2) && (typeof params === 'function')){
callback = params;
}else{
path = util.addParams(path, params);
}
client.get(path, callback);
};
/**

@@ -90,0 +107,0 @@ * Get an image

2

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

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

@@ -149,3 +149,3 @@ ## About

// Data contains the raw binary image data
require('fs').writeFile(file, data, 'binary', function(err){
require('fs').writeFile('/tmp/image.jpg', data, 'binary', function(err){
console.log('Image saved!');

@@ -152,0 +152,0 @@ });

Sorry, the diff of this file is not supported yet

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