Comparing version 1.6.0 to 1.6.1
Changelog | ||
========= | ||
1.6.1 | ||
----- | ||
- Support for hostname on more recent versions of express | ||
1.6.0 | ||
@@ -5,0 +9,0 @@ ----- |
@@ -6,3 +6,3 @@ function requestInfo (req) { | ||
var port = !portNumber || portNumber === 80 || portNumber === 443 ? '' : ':' + portNumber; | ||
var full_url = req.protocol + "://" + req.host + port + req.url; | ||
var full_url = req.protocol + "://" + (req.hostname || req.host) + port + req.url; | ||
var request = { | ||
@@ -9,0 +9,0 @@ url: full_url, |
{ | ||
"name": "bugsnag", | ||
"description": "Bugsnag notifier for node.js scripts", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"main": "./lib/bugsnag.js", | ||
@@ -6,0 +6,0 @@ "homepage": "http://bugsnag.com", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
72734
1