simple-get
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -7,3 +7,3 @@ module.exports = simpleGet | ||
var url = require('url') | ||
var unzipResponse = require('unzip-response') | ||
var unzipResponse = require('unzip-response') // excluded from browser build | ||
var objectAssign = require('object-assign') | ||
@@ -47,3 +47,3 @@ | ||
cb(null, unzipResponse(res)) | ||
cb(null, typeof unzipResponse === 'function' ? unzipResponse(res) : res) | ||
}) | ||
@@ -50,0 +50,0 @@ req.on('error', cb) |
{ | ||
"name": "simple-get", | ||
"description": "Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines.", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"author": { | ||
@@ -10,2 +10,5 @@ "name": "Feross Aboukhadijeh", | ||
}, | ||
"browser": { | ||
"unzip-response": false | ||
}, | ||
"bugs": { | ||
@@ -12,0 +15,0 @@ "url": "https://github.com/feross/simple-get/issues" |
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
15739