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

messy

Package Overview
Dependencies
Maintainers
1
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 4.0.1 to 4.1.0

LICENSE

2

lib/Headers.js

@@ -164,3 +164,3 @@ var foldHeaderLine = require('./foldHeaderLine'),

Headers.prototype.getNames = function (headerName) {
Headers.prototype.getNames = function () {
return Object.keys(this.valuesByName);

@@ -167,0 +167,0 @@ };

@@ -28,2 +28,5 @@ var Message = require('./Message'),

}
if (typeof obj.encrypted !== 'undefined') {
this.encrypted = obj.encrypted;
}
this.requestLine.populateFromObject(obj);

@@ -30,0 +33,0 @@ return this;

{
"name": "messy",
"version": "4.0.1",
"version": "4.1.0",
"description": "Object model for HTTP and RFC822 messages",

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

@@ -10,1 +10,6 @@ messy

[![Dependency Status](https://david-dm.org/papandreou/messy.png)](https://david-dm.org/papandreou/messy)
License
-------
Messy is licensed under a standard 3-clause BSD license -- see the `LICENSE` file for details.

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

it('should accept encrypted as a parameter to the constructor', function () {
expect(new HttpRequest({encrypted: true}), 'to have properties', {encrypted: true});
});
it('should accept the request line as an option to the constructor', function () {

@@ -29,0 +33,0 @@ expect(new HttpRequest({requestLine: 'GET /foo HTTP/1.1'}), 'to have properties', {

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