Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unexpected-http

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unexpected-http - npm Package Compare versions

Comparing version 4.6.0 to 4.6.1

2

lib/unexpectedHttp.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc