unexpected-http
Advanced tools
Comparing version 4.6.0 to 4.6.1
@@ -86,3 +86,3 @@ /*global window, setTimeout, clearTimeout, Uint8Array*/ | ||
host: httpRequest.host || (typeof window === 'object' && typeof window.location !== 'undefined' ? window.location.hostname : 'localhost'), | ||
port: httpRequest.port || (typeof window === 'object' && typeof window.location !== 'undefined' ? window.location.port : window.location.protocol === 'https:' ? 443 : 80) || (httpRequest.encrypted ? 443 : 80), | ||
port: httpRequest.port || (typeof window === 'object' && (typeof window.location !== 'undefined' ? window.location.port : window.location.protocol === 'https:' ? 443 : 80)) || (httpRequest.encrypted ? 443 : 80), | ||
method: httpRequest.method, | ||
@@ -89,0 +89,0 @@ path: httpRequest.path + (httpRequest.search || ''), |
{ | ||
"name": "unexpected-http", | ||
"version": "4.6.0", | ||
"version": "4.6.1", | ||
"description": "Unexpected plugin for testing http servers", | ||
@@ -5,0 +5,0 @@ "main": "lib/unexpectedHttp.js", |
Sorry, the diff of this file is too big to display
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
1185634