hubkit
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "hubkit", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/pkaminski/hubkit", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -276,2 +276,7 @@ if (typeof require !== 'undefined') { | ||
} | ||
} else if (options.media === 'raw' && res.type !== 'text/plain') { | ||
// retry if github disregards 'raw' | ||
handleError(new Error( | ||
formatError('Hubkit', 'GitHub disregarded the \'raw\' media type') | ||
), res); | ||
} else { | ||
@@ -278,0 +283,0 @@ var nextUrl; |
{ | ||
"name": "hubkit", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "GitHub API library for JavaScript, promise-based, for both NodeJS and the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
183588
719