http-string-parser
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
25683
42
1