Socket
Socket
Sign inDemoInstall

http-string-parser

Package Overview
Dependencies
0
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

4

lib/parser.js

@@ -7,3 +7,3 @@ // Generated by CoffeeScript 1.6.3

request = {};
lines = requestString.split('\r\n');
lines = requestString.split(/\r?\n/);
parsedRequestLine = parseRequestLine(lines.shift());

@@ -28,3 +28,3 @@ request['method'] = parsedRequestLine['method'];

response = {};
lines = responseString.split('\r\n');
lines = responseString.split(/\r?\n/);
parsedStatusLine = parseStatusLine(lines.shift());

@@ -31,0 +31,0 @@ response['protocolVersion'] = parsedStatusLine['protocol'];

{
"name": "http-string-parser",
"version": "0.0.5",
"version": "0.0.6",
"description": "Parse HTTP Request and Response from String",

@@ -14,4 +14,3 @@ "main": "lib/parser.js",

},
"dependencies": {
},
"dependencies": {},
"devDependencies": {

@@ -18,0 +17,0 @@ "coffee-script": "1.6.3",

# http-string-parser
[![NPM Version](https://img.shields.io/npm/v/http-string-parser.svg)](https://www.npmjs.com/package/http-string-parser)
[![Build Status](https://travis-ci.org/apiaryio/http-string-parser.png)](https://travis-ci.org/apiaryio/http-string-parser)

@@ -9,3 +10,3 @@ [![Dependency Status](https://david-dm.org/apiaryio/http-string-parser.png)](https://david-dm.org/apiaryio/http-string-parser)

##Parse HTTP Messages
## Parse HTTP Messages
```javascript

@@ -12,0 +13,0 @@ var parser = require('http-string-parser');

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc