Comparing version 0.4.1 to 0.4.2
@@ -25,3 +25,3 @@ (function() { | ||
if (err) return next(err); | ||
if (~((_ref = res.headers['content-type']) != null ? _ref.indexOf('json' || !format) : void 0)) { | ||
if (~((_ref = res.headers['content-type']) != null ? _ref.indexOf('json') : void 0) || !format) { | ||
try { | ||
@@ -28,0 +28,0 @@ body = JSON.parse(body); |
{ | ||
"name": "discogs", | ||
"description": "Simple client for Discogs API", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"author": "Linus G Thiel <linus@hanssonlarsson.se> (http://hanssonlarsson.se/)", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -7,3 +7,3 @@ Discogs: A simple JavaScript wrapper for the Discogs API | ||
## Version | ||
0.4.1 | ||
0.4.2 | ||
@@ -10,0 +10,0 @@ ## Requirements |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39444