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

messy

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

messy - npm Package Compare versions

Comparing version 6.3.1 to 6.4.0

3

lib/HttpRequest.js

@@ -10,3 +10,2 @@ /*global btoa*/

this.encrypted = false;
this.port = 80;
Message.call(this, obj);

@@ -81,2 +80,4 @@ }

this.port = 443;
} else {
this.port = 80;
}

@@ -83,0 +84,0 @@ if (typeof auth !== 'undefined') {

{
"name": "messy",
"version": "6.3.1",
"version": "6.4.0",
"description": "Object model for HTTP and RFC822 messages",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -179,2 +179,6 @@ /*global describe, it*/

it('should leave host and port as undefined when not given', function () {
expect(new HttpRequest('GET /').port, 'to be undefined');
});
describe('with a url passed in the request line', function () {

@@ -181,0 +185,0 @@ it('should support a localhost url', function () {

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