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.6.0 to 6.6.1

2

lib/HttpRequest.js

@@ -54,3 +54,3 @@ /*global btoa*/

}, this);
this.requestLine.populateFromObject(obj);
this.requestLine.populateFromObject(_.omit(obj, 'url'));
return this;

@@ -57,0 +57,0 @@ };

{
"name": "messy",
"version": "6.6.0",
"version": "6.6.1",
"description": "Object model for HTTP and RFC822 messages",

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

@@ -20,2 +20,7 @@ /*global describe, it*/

it('should parse a request url with a query string', function () {
var httpRequest = new HttpRequest({ url: 'GET /foo?quux=baz' });
expect(httpRequest.requestLine.url, 'to equal', '/foo?quux=baz');
});
it('should parse a request line followed by headers', function () {

@@ -22,0 +27,0 @@ var httpRequest = new HttpRequest('GET /foo HTTP/1.1\r\nHost: foo.com\r\n');

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