http-browserify
Advanced tools
Comparing version 1.4.1 to 1.5.0
@@ -34,2 +34,6 @@ var Stream = require('stream'); | ||
xhr.onerror = function(event) { | ||
self.emit('error', new Error('Network error')); | ||
}; | ||
self._headers = {}; | ||
@@ -60,2 +64,6 @@ | ||
}); | ||
res.on('error', function (err) { | ||
self.emit('error', err); | ||
}); | ||
@@ -62,0 +70,0 @@ xhr.onreadystatechange = function () { |
{ | ||
"name": "http-browserify", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"description": "http module compatability for browserify", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
12
9
621672
6789