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.2.0 to 1.2.1

5

HISTORY.md

@@ -0,2 +1,7 @@

1.2.1 / 2017-09-04
==================
* Fixed bug in image downloads (and any url different from `api.discogs.com`)
1.2.0 / 2017-06-07
==================
* Query parameter is now optional for `database.search()`

@@ -3,0 +8,0 @@ * Implemented different request limits for authenticated and non-authenticated clients

8

lib/client.js

@@ -152,5 +152,5 @@ 'use strict';

var data = options.data || null,
method = options.method || 'GET',
urlParts = url.parse(options.url),
encoding = options.encoding || 'utf8';
method = options.method || 'GET',
urlParts = url.parse(options.url),
encoding = options.encoding || 'utf8';

@@ -162,3 +162,3 @@ // Build request headers

'Accept-Encoding': 'gzip,deflate',
'Host': this.config.host,
'Host': urlParts.host || this.config.host,
'Connection': 'close',

@@ -165,0 +165,0 @@ 'Content-Length': 0

{
"name": "disconnect",
"description": "A full featured Discogs API v2.0 client library",
"version": "1.2.0",
"version": "1.2.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